Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 38) sorted by relevance

12

/development/testrunner/tests/
Dandroid_mk_tests.py31 filename='Android_native.mk')
37 filename='Android_gtestlib.mk')
42 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk')
48 filename='Android_java.mk')
57 filename='Android_native.mk')
66 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk')
73 filename='Android_native.mk')
80 filename='Android_native.mk')
/development/tools/findunused/
Dfind_unused_resources.rb92 Dir.glob(glob).each { |filename|
93 File.open(filename) { |file|
97 @@globalJavaIdUses[id] = FilePosition.new(filename, file.lineno)
111 Dir.glob("#{dir}/res/**/*.xml").each { |filename|
112 if ! (filename =~ /attrs.xml$/)
113 File.open(filename) { |file|
116 strings[id] = FilePosition.new(filename, file.lineno)
119 layouts[id] = FilePosition.new(filename, file.lineno)
123 xmlIdUses[id] = FilePosition.new(filename, file.lineno)
131 Dir.glob("#{dir}/AndroidManifest.xml").each { |filename|
[all …]
/development/gsi/gsi_util/gsi_util/mounters/
Dadb_mounter.py40 def _make_parent_dirs(filename): argument
42 dir_path = os.path.dirname(filename)
51 filename = os.path.join(self._temp_dir, filename_in_storage)
53 filename_in_storage, filename)
55 self._make_parent_dirs(filename)
56 if not adb_utils.pull(filename, filename_in_storage, self._serial_num):
60 return base_mounter.MounterFile(filename)
Dfolder_mounter.py36 filename = os.path.join(self._folder_dir, filename_in_storage)
38 filename_in_storage, filename)
39 if not os.path.isfile(filename):
42 return base_mounter.MounterFile(filename)
Dimage_mounter.py34 def _make_parent_dirs(filename): argument
36 dir_path = os.path.dirname(filename)
81 for filename in cls._SYSTEM_FILES:
82 file_spec = os.path.join('/', filename)
88 for filename in cls._SYSTEM_FILES:
89 file_spec = os.path.join('/system', filename)
Dbase_mounter.py22 def __init__(self, filename, cleanup_func=None): argument
23 self._filename = filename
/development/tools/repo_diff/service/repodiff/persistence/filesystem/
Djson.go11 func WriteJsonSerializableToFile(jsonEntity interface{}, filename string) error {
19 filename,
25 func ReadFileAsJson(filename string, outputEntityAddress interface{}) error {
26 fileContents, err := ioutil.ReadFile(filename)
Dunix.go41 for _, filename := range filenames {
42 findProjectsCmd := fmt.Sprintf("find %s | grep %s", directory, filename)
/development/vndk/tools/image-diff-tool/
Ddiff.py99 filename, prefixes = pat.split('=', 1)
102 ignored_lines[filename.lower()].extend(prefixes)
106 def diff_with_ignored_lines(filename, prefixes): argument
118 pathname = os.path.join(target, filename)
131 def whitelist_filter(filename): argument
132 norm_filename = filename.lower()
138 return diff_with_ignored_lines(filename, ignored_prefixes)
165 for path, filename in paths:
167 artifact_sha1_target_map[filename][sha1].append(target_basename)
169 def pretty_print(sha1, filename, targets): argument
[all …]
/development/gsi/gsi_util/gsi_util/commands/
Dpull.py31 with file_accessor.prepare_file(source) as filename:
32 if not filename:
35 logging.debug('Copy %s -> %s', filename, dest)
36 shutil.copy(filename, dest)
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py26 with file_accessor.prepare_file(filename_in_mount) as filename:
27 if filename:
28 with open(filename) as fp:
Dxml_dumper.py26 with file_accessor.prepare_file(filename_in_mount) as filename:
27 if filename:
28 self._tree = ET.parse(filename)
/development/vndk/tools/header-checker/tests/
Dgen_all.py27 for filename in filenames:
28 if not patt.match(filename):
29 print('ignore:', filename)
32 input_path = os.path.join(base, filename)
/development/tools/repo_diff/
Dgit_commits_not_upstreamed.py44 def __call__(self, filename): argument
47 if os.path.isfile(os.path.join(self.working_dir, filename)):
50 '--', filename])
83 commits_per_file = [finder(filename) for filename in diff_files]
/development/testrunner/test_defs/
Dinstrumentation_test.py291 def _IsJavaFileName(self, filename): argument
293 return os.path.splitext(filename)[1] == '.java'
325 filename = os.path.basename(java_file_path)
326 class_name = os.path.splitext(filename)[0]
342 for filename in os.listdir(path):
343 if self._IsJavaFileName(filename):
344 return self._GetPackageNameFromFile(os.path.join(path, filename))
Dtest_walker.py161 for filename in os.listdir(path):
162 self._FindSubTests(os.path.join(path, filename), tests,
/development/gsi/gsi_util/
Dbuild.py93 def _build_zipfile(filename): argument
94 print 'Archive to {}...'.format(filename)
95 with zipfile.ZipFile(filename, mode='w') as zf:
/development/vndk/tools/sourcedr/files/
Dlist_app_shared_uid.py66 for filename in filenames:
67 name, ext = os.path.splitext(filename)
69 return os.path.join(base, filename)[prefix_len:]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java148 public static Bitmap decodeSampledBitmapFromFile(String filename, in decodeSampledBitmapFromFile() argument
154 BitmapFactory.decodeFile(filename, options); in decodeSampledBitmapFromFile()
166 return BitmapFactory.decodeFile(filename, options); in decodeSampledBitmapFromFile()
/development/build/tools/
Dmk_sources_zip.py137 for filename in os.listdir(srcdir):
138 filepath = os.path.join(srcdir, filename)
139 if filename.endswith(".java") and os.path.isfile(filepath):
161 if not filename in p.IGNORE_DIR:
/development/testrunner/
Dandroid_mk.py159 def CreateAndroidMK(path, filename=AndroidMK.FILENAME): argument
169 mk_path = os.path.join(path, filename)
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduBody.java188 public PduPart getPartByFileName(String filename) { in getPartByFileName() argument
189 return mPartMapByFileName.get(filename); in getPartByFileName()
/development/tools/winscope/src/
Ddecode.js269 function dataFile(filename, timeline, data, blobUrl, type) { argument
271 filename: filename,
/development/scripts/
Dcompare-installed-size.py59 filename = components[-1]
/development/tools/winscope/
Dwebpack.config.js35 filename: 'build.js' property

12