Home
last modified time | relevance | path

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

/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
211 String ext = FileUtil.getExtension(filename); in getDataType() local
212 CLog.v("Found raw extension \"%s\"", ext); in getDataType()
215 if (ext == null) return defaultType; in getDataType()
216 ext = ext.toLowerCase(); in getDataType()
218 if (DATA_TYPE_REVERSE_MAP.containsKey(ext)) { in getDataType()
219 final LogDataType newType = DATA_TYPE_REVERSE_MAP.get(ext); in getDataType()
223 CLog.v("Failed to find a reverse map for extension \"%s\"", ext); in getDataType()
DLogFileSaver.java213 public File saveLogDataRaw(String dataName, String ext, InputStream dataStream) in saveLogDataRaw() argument
217 File logFile = FileUtil.createTempFile(saneDataName + "_", "." + ext, in saveLogDataRaw()
DFileSystemLogSaver.java155 private File saveLogDataInternal(String dataName, String ext, InputStream dataStream) in saveLogDataInternal() argument
159 File log = FileUtil.createTempFile(saneDataName + "_", "." + ext, mLogReportDir); in saveLogDataInternal()
/tools/metalava/
Dbuild.gradle2 ext.gradle_version = '3.4.0-beta01'
3 ext.studio_version = '26.4.0-beta01'
4 ext.kotlin_version = '1.3.20'
91 ext.distDir = file(System.env.DIST_DIR).getCanonicalFile()
92 ext.distsDir = ext.distDir
95 version = "${version}.${ext.distDir.name}"
98 ext.distDir = file('../../out/dist')
99 ext.distsDir = ext.distDir
/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/test/graphicsbenchmark/functional_tests/native/
DglExtensions_test.cpp101 for (auto& ext : neededExts) { in TEST() local
102 if (std::find(availableExts.begin(), availableExts.end(), ext) == availableExts.end()) in TEST()
103 ADD_FAILURE() << "Could not find the GL extension: " << ext; in TEST()
129 for (auto& ext : neededExts) { in TEST() local
130 if (std::find(availableExts.begin(), availableExts.end(), ext) == availableExts.end()) in TEST()
131 ADD_FAILURE() << "Could not find the EGL extension: " << ext; in TEST()
/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/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerLogCollector.java42 String ext = FileUtil.getExtension(metricFile.getName()).toLowerCase(); in processMetricFile() local
43 if (".png".equals(ext)) { in processMetricFile()
46 if (".pb".equals(ext)) { in processMetricFile()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java962 notify(ext -> ext.removed(entry)); in delete()
1159 notify(ext -> { in update()
1160 ext.entriesWritten(); in update()
1178 notify(ext -> { in update()
1179 ext.updated(); in update()
1287 notify(ext -> { in close()
1288 ext.closed(); in close()
1884 notify(ext -> ext.added(newEntry, replaceStore)); in addToEntries()
/tools/external_updater/
Darchive_utils.py89 for ext, func in ARCHIVE_TYPES.items():
90 if filename.endswith(ext):
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java161 String ext = null; in parseClass() local
186 ext = JAVA_LANG_ENUM; in parseClass()
214 ext = token; in parseClass()
218 api.mapClassToSuper(cl, ext); in parseClass()
220 isInterface && ext != null && !token.equals("{")) { in parseClass()
236 if (JAVA_LANG_ENUM.equals(ext)) { in parseClass()
/tools/asuite/aidegen/lib/
Dide_util.py761 _, ext = os.path.splitext(os.path.basename(project_path))
762 if ext and _IML_EXTENSION == ext.lower():
/tools/test/connectivity/acts/framework/acts/
Dutils.py202 name, ext = os.path.splitext(fname)
203 if file_predicate(name, ext):
204 file_list.append((dirPath, name, ext))
Dtest_runner.py167 def is_testfile_name(name, ext): argument
168 if ext == ".py":
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileUtil.java1165 String ext = ""; in getContentType() local
1167 ext = filePath.substring(index + 1); in getContentType()
1171 if (ext.equals(dataType.getFileExt())) { in getContentType()
/tools/trebuchet/
Dbuild.gradle18 ext.kotlin_version = "1.2.51"
/tools/repohooks/tools/
Dpylintrc402 ext-import-graph=