/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollector.java | 42 String ext = FileUtil.getExtension(metricFile.getName()).toLowerCase(); in processMetricFile() local 43 if (".hprof".equals(ext)) { in processMetricFile() 45 } else if (".mp4".equals(ext)) { in processMetricFile() 47 } else if (".pb".equals(ext)) { in processMetricFile() 49 } else if (".png".equals(ext)) { in processMetricFile() 51 } else if (".perfetto-trace".equals(ext)) { in processMetricFile() 53 } else if (".zip".equals(ext)) { in processMetricFile() 55 } else if (".uix".equals(ext)) { in processMetricFile() 57 } else if (".textproto".equals(ext) in processMetricFile() 60 } else if (".trace".equals(ext)) { in processMetricFile() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | DeviceFileReporter.java | 59 final String ext = "." + type.getFileExt(); 60 if (DATA_TYPE_REVERSE_MAP.containsKey(ext)) { 64 DATA_TYPE_REVERSE_MAP.put(ext, type); in DATA_TYPE_REVERSE_MAP.put() argument 215 String ext = FileUtil.getExtension(filename); in getDataType() local 216 CLog.v("Found raw extension \"%s\"", ext); in getDataType() 219 if (ext == null) { in getDataType() 222 ext = ext.toLowerCase(); in getDataType() 224 if (DATA_TYPE_REVERSE_MAP.containsKey(ext)) { in getDataType() 225 final LogDataType newType = DATA_TYPE_REVERSE_MAP.get(ext); in getDataType() 229 CLog.v("Failed to find a reverse map for extension \"%s\"", ext); in getDataType()
|
D | LogFileSaver.java | 247 public File saveLogDataRaw(String dataName, String ext, InputStream dataStream) in saveLogDataRaw() argument 255 File logFile = FileUtil.createTempFile(saneDataName + "_", "." + ext, mInvLogDir); in saveLogDataRaw()
|
/tools/doc_generation/ |
D | switcher4.py | 146 ext = os.path.splitext(file_) 147 ext = ext[1] 148 if not ext: 151 elif ext != ".html": 195 ext = os.path.splitext (file_) 196 ext = ext[1] 197 if not ext: 200 elif ext != ".html":
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | glExtensions_test.cpp | 104 for (auto& ext : neededExts) { in TEST() local 105 if (std::find(availableExts.begin(), availableExts.end(), ext) == availableExts.end()) in TEST() 106 ADD_FAILURE() << "Could not find the GL extension: " << ext; in TEST() 134 for (auto& ext : neededExts) { in TEST() local 135 if (std::find(availableExts.begin(), availableExts.end(), ext) == availableExts.end()) in TEST() 136 ADD_FAILURE() << "Could not find the EGL extension: " << ext; in TEST()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ShortName.java | 71 ShortName(String name, String ext) { in ShortName() argument 72 this.name = toCharArray(name, ext); in ShortName() 86 private static char[] toCharArray(String name, String ext) { in toCharArray() argument 88 checkValidExt(ext); in toCharArray() 93 System.arraycopy(ext.toCharArray(), 0, result, 8, ext.length()); in toCharArray() 194 private static void checkValidExt(String ext) { in checkValidExt() argument 195 checkString(ext, "extension", 0, 3); in checkValidExt()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZFileNotificationTest.java | 386 ZFileExtension ext = Mockito.mock(ZFileExtension.class); in notifyOnceEntriesWritten() local 388 zf.addZFileExtension(ext); in notifyOnceEntriesWritten() 393 Mockito.verify(ext, Mockito.times(0)).entriesWritten(); in notifyOnceEntriesWritten() 396 Mockito.verify(ext, Mockito.times(1)).entriesWritten(); in notifyOnceEntriesWritten() 402 ZFileExtension ext = Mockito.mock(ZFileExtension.class); in notifyTwiceEntriesWrittenIfCdChanged() local 406 Mockito.doNothing().when(ext).entriesWritten(); in notifyTwiceEntriesWrittenIfCdChanged() 408 }).when(ext).entriesWritten(); in notifyTwiceEntriesWrittenIfCdChanged() 410 zf.addZFileExtension(ext); in notifyTwiceEntriesWrittenIfCdChanged() 415 Mockito.verify(ext, Mockito.times(0)).entriesWritten(); in notifyTwiceEntriesWrittenIfCdChanged() 418 Mockito.verify(ext, Mockito.times(2)).entriesWritten(); in notifyTwiceEntriesWrittenIfCdChanged()
|
/tools/apksig/ |
D | android_plugin_for_gradle.gradle | 11 version = rootProject.ext.buildVersion 13 project.ext.pomName = 'Android Tools apksig library' 14 project.ext.pomDesc = 'Library for signing APKs and for checking that APK signatures verify on Andr…
|
/tools/metalava/metalava/src/testdata/prebuilts-sdk-test/ |
D | README.md | 9 - finalized SDK extensions "R-ext" version 1 (android-30-ext1) 10 - finalized Android API 31 "Android S" and SDK extensions "S-ext", version 2, at the same time (and… 11 - finalized SDK extensions "S-ext", version 3 (android-31-ext3)
|
/tools/aadevtools/validation/ |
D | get_file_dir.sh | 22 ext=$2 24 cd ${dir} && fList=$(find "${dir}" -name "*.${ext}")
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiToExtensionsMap.kt | 133 for (ext in extensions) { in getSdkIdentifiers() constant 135 sdkIdentifiers.find { it.shortname == ext } in getSdkIdentifiers() 136 ?: throw IllegalStateException("unknown extension SDK \"$ext\"") in getSdkIdentifiers() 278 for (ext in allSeenExtensions) { in fromXml() method 279 if (!allSdkNames.contains(ext)) { in fromXml() 280 throw IllegalArgumentException("bad SDK definitions: undefined SDK $ext") in fromXml()
|
/tools/external_updater/ |
D | archive_utils.py | 88 for ext, func in ARCHIVE_TYPES.items(): 89 if filename.endswith(ext):
|
/tools/asuite/aidegen/lib/ |
D | ide_common_util.py | 182 _, ext = os.path.splitext(os.path.basename(project_path)) 183 if ext and _IML_EXTENSION == ext.lower():
|
/tools/asuite/adevice/src/ |
D | restart_chooser.rs | 45 let ext = Path::new(filename).extension().and_then(OsStr::to_str).unwrap_or(""); in can_soft_restart_based_on_filename() localVariable 46 SOFT_RESTART_FILE_EXTS.contains(&ext) in can_soft_restart_based_on_filename()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | SubprocessReportingHelper.java | 95 final String ext = FileUtil.getExtension(configName); in buildSubprocessReporterJar() local 96 final String configFileName = Strings.isNullOrEmpty(ext) ? configName + ".xml" : configName; in buildSubprocessReporterJar()
|
D | SubprocessConfigBuilder.java | 114 final String ext = FileUtil.getExtension(mOriginalConfig); in build() local 116 if (Strings.isNullOrEmpty(ext)) { in build()
|
/tools/trebuchet/ |
D | build.gradle | 18 ext.kotlin_version = "1.5.10"
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZFile.java | 963 notify(ext -> ext.removed(entry)); in delete() 1160 notify(ext -> { in update() 1161 ext.entriesWritten(); in update() 1179 notify(ext -> { in update() 1180 ext.updated(); in update() 1288 notify(ext -> { in close() 1289 ext.closed(); in close() 1885 notify(ext -> ext.added(newEntry, replaceStore)); in addToEntries()
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_runner.py | 155 def is_testfile_name(name, ext): argument 156 if ext == '.py':
|
/tools/aadevtools/dev/resource/ |
D | change_report-new_vs_old_codebase.csv | 1 file,ext,text,state,new_file,new_size,new_line,new_group,new_add,new_remove,new_replace,old_file,ol…
|
/tools/acloud/setup/ |
D | mkcert.py | 44 _CERT_CRT_EXT = ";".join(f"echo \"{ext}\"" for ext in [
|
/tools/aadevtools/dev/ |
D | change_report.py | 85 self.ext = os.path.splitext(self.name)[1].lstrip('.') 220 FileStat.no_comma(diff_stat.name), diff_stat.ext,
|
/tools/asuite/aidegen/project/ |
D | project_splitter.py | 427 ext = os.path.splitext(jar)[-1] 429 if check_path in jar and ext in file_exts:
|
/tools/test/openhst/ |
D | README.md | 46 1. Download [protoc.ext (3.11.4 version)](https://github.com/protocolbuffers/protobuf/releases/dow…
|
/tools/repohooks/tools/ |
D | cpplint.py | 914 _hpp_headers = {ext.strip() for ext in val.split(',')} 946 extensions = [ext.strip() for ext in val.split(',')] 2475 for ext in GetHeaderExtensions(): 2477 headerfile = basefilename + '.' + ext 4963 ('%s.%s' % (test_suffix.lstrip('_'), ext) 4964 for test_suffix, ext in itertools.product(_test_suffixes, GetNonHeaderExtensions())), 4965 ('%s.%s' % (suffix, ext) 4966 for suffix, ext in itertools.product(['inl', 'imp', 'internal'], GetHeaderExtensions()))): 5102 for ext in GetHeaderExtensions(): 5104 headerfile = basefilename + '.' + ext
|