Home
last modified time | relevance | path

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

12345

/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/tradefederation/core/tests/src/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.java95 File file = getFileForUri(uri); in query() local
138 File file = getFileForUri(uri); in insert() local
158 File file = getFileForUri(uri); in delete() local
169 File file = getFileForUri(uri); in update() local
188 final File file = getFileForUri(uri); in openFile() local
203 private Object[] getRow(String[] columns, File file, String metadata) { in getRow()
211 private Object getColumnValue(String columnName, File file, String metadata) { in getColumnValue()
227 private String getType(@NonNull File file) { in getType()
/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/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/dexter/slicer/
Dcommon.cc28 void _checkFailed(const char* expr, int line, const char* file) { in _checkFailed()
40 void _weakCheckFailed(const char* expr, int line, const char* file) { in _weakCheckFailed()
/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/tradefederation/core/src/com/android/tradefed/testtype/
DNoisyDryRunTest.java74 private List<CommandLine> testCommandFile(ITestInvocationListener listener, File file) { in testCommandFile()
99 void checkFileWithTimeout(File file) throws IOException { in checkFileWithTimeout()
112 private boolean checkFile(File file) { in checkFile()
/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/tests/src/com/android/tradefed/targetprep/
DInstallAllTestZipAppsSetupTest.java104 File file = new File(zip); in testGetZipFile() local
201 final String file = "TEST"; in testInstallFailure() local
222 final String file = "TEST"; in testInstallFailureNoStop() local
/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/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt78 val file = File(dir, "src/test/pkg/sub1/sub2") in <lambda>() constant
DBaselineTest.kt134 val file = File(dir, "src/test/pkg/sub1/sub2") in <lambda>() constant
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
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/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java59 final File file = downloader.download(resource); in getBuild() local
60 buildInfo.setFile(resource.getName(), file, DEFAULT_FILE_VERSION); in getBuild() local
DTestOutputUploader.java55 public String uploadFile(File file, final String destinationPath) throws IOException { in uploadFile()
98 private List<String> buildUploadCommandArgs(File file, String uploadUrl) { in buildUploadCommandArgs()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java127 public static boolean mkdirsRWX(File file) { in mkdirsRWX()
151 public static boolean chmodRWXRecursively(File file) { in chmodRWXRecursively()
178 public static boolean chmod(File file, String perms) { in chmod()
198 public static boolean chmodGroupRW(File file) { in chmodGroupRW()
223 public static boolean chmodGroupRWX(File file) { in chmodGroupRWX()
259 public static void setReadableRecursive(File file) { in setReadableRecursive()
669 private static void verifyDiskSpace(File file) { in verifyDiskSpace()
808 public static void deleteFile(File file) { in deleteFile()
1056 public static void gzipFile(File file, File gzipFile) throws IOException { in gzipFile()
1067 public static long calculateCrc32(File file) throws IOException { in calculateCrc32()
[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.java69 CommandLine(File file, int lineNumber) { in CommandLine()
75 CommandLine(Collection<? extends String> c, File file, int lineNumber) { in CommandLine()
253 private void scanFile(File file) throws IOException, ConfigurationException { in scanFile()
353 public List<CommandLine> parseFile(File file) throws IOException, in parseFile()
514 BufferedReader createCommandFileReader(File file) throws IOException { in createCommandFileReader()
/tools/test/connectivity/acts/framework/acts/libs/
Dyaml_writer.py42 def safe_dump(content, file): argument
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java129 private void runSingleRustFile(ITestInvocationListener listener, File file) { in runSingleRustFile()
159 private void countTests(File file, String filter, Set<String> foundTests) { in countTests()
184 private void runTestWithFilter(ITestInvocationListener listener, File file, String filter) in runTestWithFilter()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheTest.java226 File file = null; in testFetchRemoteFile_cacheMissing() local
300 File file = FileUtil.createTempFile("test-cache-file", ".txt", subDir); in testCacheRebuild() local
377 File file = Paths.get(fileCopy.getAbsolutePath(), relativePath).toFile(); in assertFetchRemoteFile() local
/tools/metalava/src/main/java/com/android/tools/metalava/
DCommandArgsPreprocessor.kt131 val file = arg.substring(1) in dumpArgv() constant
156 val file = "$PROGRAM_NAME-rerun-${timestamp}_$uniqueInt" // no extension in createRerunScriptBaseFilename() constant
/tools/tradefederation/core/src/com/android/tradefed/util/
DGoogleApiClientUtil.java67 File file, Collection<String> scopes) throws IOException, GeneralSecurityException { in createCredentialFromJsonKeyFile()
72 GoogleCredential doCreateCredentialFromJsonKeyFile(File file, Collection<String> scopes) in doCreateCredentialFromJsonKeyFile()

12345