Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 169) sorted by relevance

1234567

/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFFactory.java23 @Override DataSource create(RandomAccessFile file) { in create()
27 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create()
32 @Override DataSource create(RandomAccessFile file) { in create()
36 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create()
41 abstract DataSource create(RandomAccessFile file); in create()
42 abstract DataSource create(RandomAccessFile file, long offset, long size); in create()
/tools/metalava/metalava-testing/src/test/java/com/android/tools/metalava/testing/
DMutableBaselineFileTest.kt33 val file = projectDir.resolve(PROJECT_BASELINE_FILE) in Update file() constant
84 val file = projectDir.resolve(PROJECT_BASELINE_FILE) in Write empty() constant
100 val file = projectDir.resolve(PROJECT_BASELINE_FILE) in Write empty after removing last failure() constant
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestDescriptionsFileTest.java37 File file = tdf.getFile(); in getFile_empty() local
49 File file = tdf.getFile(); in getFile_oneEntry() local
61 File file = tdf.getFile(); in getFile_caching() local
86 File file = tdf.getFile(); in fromFile_empty() local
101 File file = tdf.getFile(); in fromFile() local
/tools/tradefederation/core/util_apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java93 File file = getFileForUri(uri); in query() local
134 File file = getFileForUri(uri); in insert() local
153 File file = getFileForUri(uri); in delete() local
160 File file = getFileForUri(uri); in update() local
178 final File file = getFileForUri(uri); in openFile() local
193 private Object[] getRow(String[] columns, File file, String metadata) { in getRow()
201 private Object getColumnValue(String columnName, File file, String metadata) { in getColumnValue()
217 private String getType(File file) { in getType()
/tools/dexter/slicer/
Dcommon.cc41 void _checkFailed(const char* expr, int line, const char* file) { in _checkFailed()
51 const char* file) { in _checkFailedOp()
61 const char* file) { in _checkFailedOp()
77 void _weakCheckFailed(const char* expr, int line, const char* file) { in _weakCheckFailed()
/tools/tradefederation/core/common_util/com/android/tradefed/result/
DFileInputStreamSource.java36 public FileInputStreamSource(File file) { in FileInputStreamSource()
47 public FileInputStreamSource(File file, boolean deleteFileOnCancel) { in FileInputStreamSource()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/lint/
DApiLintOptionsTest.kt63 val file = in createOptions() constant
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/
DCachedFileContents.java58 private File file; field in CachedFileContents
88 public CachedFileContents(@Nonnull File file) { in CachedFileContents()
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtaDeviceBuildInfo.java165 public void setBaselineTargetFileZip(File file, String version) { in setBaselineTargetFileZip()
168 public void setTargetTargetFileZip(File file, String version) { in setTargetTargetFileZip()
178 public void setBaselineOtatoolsZip(File file, String version) { in setBaselineOtatoolsZip()
181 public void setTargetOtatoolsZip(File file, String version) { in setTargetOtatoolsZip()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterBuildProviderTest.java77 File file = new File(zipDir, name); in setUp() local
127 final File file = FileUtil.createTempFile("ClusterBuildProvider", ".tar.gz"); in createTarGzipResource() local
172 File file = new File(mRootDir, RESOURCE_KEY); in verifyDownloadedResource() local
259 File file = new File(mRootDir, ZIP_KEY); in testGetBuild_decompressTestResources_withMountZip() local
384 File file = new File(mRootDir, EXTRA_RESOURCE_KEY); in testGetBuild() local
DClusterLogSaverTest.java90 final File file = new File(dir, name); in createMockFile() local
97 File file = createMockFile(path, name); in createMockZipFile() local
103 private Set<String> getZipEntries(File file) throws IOException { in getZipEntries()
117 final File file = in testFindTestContextFile() local
201 final File file = in testFindTestContextFile_existingEnvVar() local
/tools/apksig/src/main/java/com/android/apksig/util/
DDataSources.java47 public static DataSource asDataSource(RandomAccessFile file) { in asDataSource()
55 public static DataSource asDataSource(RandomAccessFile file, long offset, long size) { in asDataSource()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DRandomAccessFileDataSink.java38 public RandomAccessFileDataSink(RandomAccessFile file) { in RandomAccessFileDataSink()
46 public RandomAccessFileDataSink(RandomAccessFile file, long startPosition) { in RandomAccessFileDataSink()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DInstallAllTestZipAppsSetupTest.java111 File file = new File(zip); in testGetZipFile() local
207 final String file = "TEST"; in testInstallFailure() local
224 final String file = "TEST"; in testInstallFailureNoStop() local
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DExtendedFile.java39 public ExtendedFile(File file, String buildId, String buildTarget) { in ExtendedFile()
45 public ExtendedFile(File file, String buildId, String buildTarget, String branch) { in ExtendedFile()
51 File file, String buildId, String buildTarget, String branch, String remoteFilePath) { in ExtendedFile()
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DKotlinTestUtils.kt28 val file = File(path) in getKotlinStdlibPaths() constant
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/components/
DChooseTrace.kt34 val file = File(fd.directory, filename) in selectFile() constant
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DZFileDataSource.java36 private final ZFile file; field in ZFileDataSource
55 public ZFileDataSource(@Nonnull ZFile file) { in ZFileDataSource()
66 public ZFileDataSource(@Nonnull ZFile file, long offset, long size) { in ZFileDataSource()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java130 File file; in getBuild() local
137 buildInfo.setFile(resource.getName(), file, DEFAULT_FILE_VERSION); in getBuild() local
143 private static void validateTestResourceFile(File workDir, File file) in validateTestResourceFile()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptionsTest.kt82 val file = in createOptions() constant
126 val file = in check compatibility removed api released() constant
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt46 val file = File(dir, "src/test/pkg/sub1/sub2") in <lambda>() constant
/tools/netsim/src/util/
Dlog.cc24 void BtsLogDefault(int priority, const char *file, int lineNumber, in BtsLogDefault()
70 void __BtsLog(int priority, const char *file, int line, const char *fmt, ...) { in __BtsLog()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java134 public static boolean mkdirsRWX(File file) { in mkdirsRWX()
158 public static boolean chmodRWXRecursively(File file) { in chmodRWXRecursively()
185 public static boolean chmod(File file, String perms) { in chmod()
205 public static boolean chmodGroupRW(File file) { in chmodGroupRW()
230 public static synchronized boolean ensureGroupRWX(File file) { in ensureGroupRWX()
247 public static boolean chmodGroupRWX(File file) { in chmodGroupRWX()
284 public static void setReadableRecursive(File file) { in setReadableRecursive()
748 private static void verifyDiskSpace(File file) { in verifyDiskSpace()
887 public static void deleteFile(File file) { in deleteFile()
1175 public static void gzipFile(File file, File gzipFile) throws IOException { in gzipFile()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCentralDirectory.java184 private final ZFile file; field in CentralDirectory
203 CentralDirectory(@Nonnull ZFile file) { in CentralDirectory()
224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData()
259 @Nonnull ZFile file) { in makeFromEntries()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java70 CommandLine(File file, int lineNumber) { in CommandLine()
76 CommandLine(Collection<? extends String> c, File file, int lineNumber) { in CommandLine()
254 private void scanFile(File file) throws IOException, ConfigurationException { in scanFile()
354 public List<CommandLine> parseFile(File file) throws IOException, in parseFile()
515 BufferedReader createCommandFileReader(File file) throws IOException { in createCommandFileReader()

1234567