Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 30) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerLogCollector.java42 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/
DDeviceFileReporter.java59 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()
DLogFileSaver.java247 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/
Dswitcher4.py146 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/
DglExtensions_test.cpp104 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/
DShortName.java71 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/
DZFileNotificationTest.java386 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/
Dandroid_plugin_for_gradle.gradle11 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/
DREADME.md9 - 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/
Dget_file_dir.sh22 ext=$2
24 cd ${dir} && fList=$(find "${dir}" -name "*.${ext}")
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiToExtensionsMap.kt133 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/
Darchive_utils.py88 for ext, func in ARCHIVE_TYPES.items():
89 if filename.endswith(ext):
/tools/asuite/aidegen/lib/
Dide_common_util.py182 _, ext = os.path.splitext(os.path.basename(project_path))
183 if ext and _IML_EXTENSION == ext.lower():
/tools/asuite/adevice/src/
Drestart_chooser.rs45 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/
DSubprocessReportingHelper.java95 final String ext = FileUtil.getExtension(configName); in buildSubprocessReporterJar() local
96 final String configFileName = Strings.isNullOrEmpty(ext) ? configName + ".xml" : configName; in buildSubprocessReporterJar()
DSubprocessConfigBuilder.java114 final String ext = FileUtil.getExtension(mOriginalConfig); in build() local
116 if (Strings.isNullOrEmpty(ext)) { in build()
/tools/trebuchet/
Dbuild.gradle18 ext.kotlin_version = "1.5.10"
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java963 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/
Dtest_runner.py155 def is_testfile_name(name, ext): argument
156 if ext == '.py':
/tools/aadevtools/dev/resource/
Dchange_report-new_vs_old_codebase.csv1 file,ext,text,state,new_file,new_size,new_line,new_group,new_add,new_remove,new_replace,old_file,ol…
/tools/acloud/setup/
Dmkcert.py44 _CERT_CRT_EXT = ";".join(f"echo \"{ext}\"" for ext in [
/tools/aadevtools/dev/
Dchange_report.py85 self.ext = os.path.splitext(self.name)[1].lstrip('.')
220 FileStat.no_comma(diff_stat.name), diff_stat.ext,
/tools/asuite/aidegen/project/
Dproject_splitter.py427 ext = os.path.splitext(jar)[-1]
429 if check_path in jar and ext in file_exts:
/tools/test/openhst/
DREADME.md46 1. Download [protoc.ext (3.11.4 version)](https://github.com/protocolbuffers/protobuf/releases/dow…
/tools/repohooks/tools/
Dcpplint.py914 _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

12