/development/testrunner/tests/ |
D | android_mk_tests.py | 31 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/ |
D | find_unused_resources.rb | 92 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/ |
D | adb_mounter.py | 40 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)
|
D | folder_mounter.py | 36 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)
|
D | image_mounter.py | 34 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)
|
D | base_mounter.py | 22 def __init__(self, filename, cleanup_func=None): argument 23 self._filename = filename
|
/development/gsi/gsi_util/gsi_util/commands/ |
D | pull.py | 31 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/ |
D | prop_dumper.py | 26 with file_accessor.prepare_file(filename_in_mount) as filename: 27 if filename: 28 with open(filename) as fp:
|
D | xml_dumper.py | 26 with file_accessor.prepare_file(filename_in_mount) as filename: 27 if filename: 28 self._tree = ET.parse(filename)
|
/development/tools/repo_diff/ |
D | git_commits_not_upstreamed.py | 44 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/ |
D | gen_all.py | 35 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/ |
D | instrumentation_test.py | 289 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))
|
D | test_walker.py | 161 for filename in os.listdir(path): 162 self._FindSubTests(os.path.join(path, filename), tests,
|
/development/gsi/gsi_util/ |
D | build.py | 91 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/ |
D | ImageResizer.java | 148 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/ |
D | mk_sources_zip.py | 137 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/ |
D | android_mk.py | 159 def CreateAndroidMK(path, filename=AndroidMK.FILENAME): argument 169 mk_path = os.path.join(path, filename)
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduBody.java | 188 public PduPart getPartByFileName(String filename) { in getPartByFileName() argument 189 return mPartMapByFileName.get(filename); in getPartByFileName()
|
/development/tools/winscope/ |
D | webpack.config.js | 26 filename: 'build.js' property
|
/development/scripts/ |
D | compare-installed-size.py | 59 filename = components[-1]
|
/development/vndk/tools/header-checker/header-abi-util/src/ |
D | collect_exported_headers.cpp | 63 llvm::StringRef file_name(llvm::sys::path::filename(file_path)); in CollectExportedHeaderSet()
|
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/ |
D | ImageKeyboard.java | 253 @NonNull String filename) { in getFileForResource() argument 254 final File outputFile = new File(outputDir, filename); in getFileForResource()
|
/development/apps/OBJViewer/com/android/objviewer/ |
D | OBJViewer.java | 314 public InputStream readFile(String filename) in onCreate() 316 return am.open(filename); in onCreate()
|
/development/vndk/tools/sourcedr/sourcedr/blueprint/ |
D | blueprint.py | 782 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/ |
D | device.py | 416 def install(self, filename, replace=False): argument 420 cmd.append(filename)
|