Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 31) 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)
52 logging.info('Prepare file %s -> %s', filename_in_storage, filename)
54 self._make_parent_dirs(filename)
55 if not adb_utils.pull(filename, filename_in_storage, self._serial_num):
59 return base_mounter.MounterFile(filename)
Dfolder_mounter.py36 filename = os.path.join(self._folder_dir, filename_in_storage)
37 logging.debug('Prepare file %s -> %s', filename_in_storage, filename)
38 if not os.path.isfile(filename):
41 return base_mounter.MounterFile(filename)
Dimage_mounter.py34 def _make_parent_dirs(filename): argument
36 dir_path = os.path.dirname(filename)
80 for filename in cls._SYSTEM_FILES:
81 file_spec = os.path.join('/', filename)
87 for filename in cls._SYSTEM_FILES:
88 file_spec = os.path.join('/system', filename)
Dbase_mounter.py22 def __init__(self, filename, cleanup_func=None): argument
23 self._filename = filename
/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/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/vndk/tools/header-checker/tests/
Dgen_all.py35 for filename in filenames:
36 if not patt.match(filename):
37 print('ignore:', filename)
40 input_path = os.path.join(base, filename)
/development/testrunner/test_defs/
Dinstrumentation_test.py289 def _IsJavaFileName(self, filename): argument
291 return os.path.splitext(filename)[1] == '.java'
323 filename = os.path.basename(java_file_path)
324 class_name = os.path.splitext(filename)[0]
340 for filename in os.listdir(path):
341 if self._IsJavaFileName(filename):
342 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.py91 def _build_zipfile(filename): argument
92 print 'Archive to {}...'.format(filename)
93 with zipfile.ZipFile(filename, mode='w') as zf:
/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/
Dwebpack.config.js26 filename: 'build.js' property
/development/scripts/
Dcompare-installed-size.py59 filename = components[-1]
/development/vndk/tools/header-checker/header-abi-util/src/
Dcollect_exported_headers.cpp63 llvm::StringRef file_name(llvm::sys::path::filename(file_path)); in CollectExportedHeaderSet()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java253 @NonNull String filename) { in getFileForResource() argument
254 final File outputFile = new File(outputDir, filename); in getFileForResource()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java314 public InputStream readFile(String filename) in onCreate()
316 return am.open(filename); in onCreate()
/development/vndk/tools/sourcedr/sourcedr/blueprint/
Dblueprint.py782 subs.extend(os.path.join(rootdir, filename)
783 for filename in env['build'].eval(env))
840 def _scan_and_parse_all_file_recursive(self, filename, path, env, evaluate): argument
864 if filename in filenames:
866 path = os.path.join(basedir, filename)
/development/python-packages/adb/
Ddevice.py416 def install(self, filename, replace=False): argument
420 cmd.append(filename)

12