Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
skia
tools
skpbench
_adb_path.py
Go to the documentation of this file.
1
# Copyright 2016 Google Inc.
2
#
3
# Use of this source code is governed by a BSD-style license that can be
4
# found in the LICENSE file.
5
6
from
_adb
import
Adb
7
import
re
8
import
subprocess
9
10
__ADB =
None
11
12
def
init
(device_serial, adb_binary):
13
global
__ADB
14
__ADB =
Adb
(device_serial, adb_binary)
15
16
def
join
(*pathnames):
17
return
'/'
.
join
(pathnames)
18
19
def
basename
(pathname):
20
return
pathname.rsplit(
'/'
, maxsplit=1)[-1]
21
22
def
find_skps
(skps):
23
# root first, in case skps reside in a protected directory
24
__ADB.root()
25
escapedskps = [re.sub(
r'([^a-zA-Z0-9_/\.\*\?\[\!\]])'
,
r'\\\1'
, x)
26
for
x
in
skps]
27
return
__ADB.check(
'''\
28
for
PATHNAME
in
%s; do
29
if
[ -d
"$PATHNAME"
]; then
30
find
"$PATHNAME"
-maxdepth 1 -name
'*.skp'
-o -name
'*.mskp'
31
else
32
echo
"$PATHNAME"
33
fi
34
done
''' % ' '.join(escapedskps)).splitlines()
tools.skpbench._adb.Adb
Definition:
_adb.py:12
tools.skpbench._adb_path.join
def join(*pathnames)
Definition:
_adb_path.py:16
tools.skpbench._adb_path.find_skps
def find_skps(skps)
Definition:
_adb_path.py:22
tools.skpbench._adb_path.init
def init(device_serial, adb_binary)
Definition:
_adb_path.py:12
tools.skpbench._adb_path.basename
def basename(pathname)
Definition:
_adb_path.py:19
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4