Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/loggers/protos/
Dbluetooth_metric_pb2.py31 file=DESCRIPTOR,
71 file=DESCRIPTOR,
101 file=DESCRIPTOR,
132 file=DESCRIPTOR,
142 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
149 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
156 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
163 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
170 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
177 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DFileReadSandbox.kt138 fun <T : File?> allowAccess(file: T): T { in <lambda>()
139 if (file == null) { in <lambda>()
140 return file in <lambda>()
142 val path = file.absolutePath in <lambda>()
144 if (file.isDirectory) { in <lambda>()
151 return file in <lambda>()
156 var parent = file.parentFile in <lambda>()
171 return file in <lambda>()
174 fun isAccessAllowed(file: File): Boolean { in <lambda>()
175 if (!file.exists()) { in <lambda>()
[all …]
DDriver.kt16 @file:JvmName("Driver") in <lambda>()
381 file = previousApiFile, in processFlags()
411 source.listFiles()?.forEach { file -> in processFlags() method
412 RewriteAnnotations().copyAnnotations(codebase, file, File(it, file.name)) in processFlags()
418 val writeStubsFile: (File) -> Unit = { file -> in processFlags() method
429 file.writeText(contents) in processFlags()
479 source.listFiles()?.forEach { file -> in processNonCodebaseFlags() method
480 rewrite.modifyAnnotationSources(null, file, File(privateAnnotationsTarget, file.name)) in processNonCodebaseFlags()
495 file = convert.fromApiFile, in processNonCodebaseFlags()
509 file = baseFile, in processNonCodebaseFlags()
[all …]
DRewriteAnnotations.kt36 import java.nio.file.attribute.FileTime in <lambda>()
103 for (file in files) { in <lambda>() method
105 if (file.isDirectory) { in <lambda>()
106 val android = File(file, "android${File.separator}annotation/") in <lambda>()
109 val androidx = File(file, "androidx${File.separator}annotation/") in <lambda>()
117 rewriteAnnotations(file) in <lambda>()
143 private fun rewriteAnnotations(file: File) { in <lambda>()
145 file.isDirectory -> file.listFiles()?.forEach { rewriteAnnotations(it) } in <lambda>()
146 file.path.endsWith(DOT_CLASS) -> rewriteClassFile(file) in <lambda>()
147 file.path.endsWith(DOT_JAR) -> rewriteJar(file) in <lambda>()
[all …]
DOptions.kt997 builder.file = stringToExistingFile(nextArg) in <lambda>()
1059 val file = stringToExistingFile(nextArg) in <lambda>() constant in com.android.tools.metalava.Options
1060 if (file.isFile) { in <lambda>()
1062 migrateNullsFrom = file in <lambda>()
1069 val file = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant in com.android.tools.metalava.Options
1070 … mutableCompatibilityChecks.add(CheckRequest(file, ApiType.PUBLIC_API, ReleaseType.DEV)) in <lambda>()
1090 val file = stringToExistingFile(nextArg) in <lambda>() constant
1091 if (file.isFile) { in <lambda>()
1093 … mutableCompatibilityChecks.add(CheckRequest(file, ApiType.PUBLIC_API, ReleaseType.DEV)) in <lambda>()
1100 val file = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant in com.android.tools.metalava.Options
[all …]
DBaseline.kt47 val file: File?, in <lambda>() constant in com.android.tools.metalava.Baseline
56 var silentUpdate: Boolean = updateFile != null && updateFile.path == file?.path, in <lambda>()
64 if (file?.isFile == true && (!silentUpdate || merge)) { in <lambda>()
83 fun mark(file: File, message: String, issue: Issues.Issue): Boolean { in <lambda>()
84 val elementId = getBaselineKey(file) in <lambda>()
176 val file = VfsUtilCore.virtualToIoFile(virtualFile) in <lambda>() constant
177 return getBaselineKey(file) in <lambda>()
183 private fun getBaselineKey(file: File): String { in <lambda>()
184 val path = file.path in <lambda>()
200 val file = this.file ?: return in <lambda>() constant
[all …]
DConvertJarsToSignatureFiles.kt149 private fun markDeprecated(codebase: Codebase, file: File, path: String) { in <lambda>()
151 file.name.endsWith(SdkConstants.DOT_JAR) -> try { in <lambda>()
152 ZipFile(file).use { jar -> in <lambda>()
165 … options.stdout.println("Could not read jar file entry ${entry.name} from $file: $e") in <lambda>()
171 options.stdout.println("Could not read jar file contents from $file: $e") in <lambda>()
173 file.isDirectory -> { in <lambda>()
174 val listFiles = file.listFiles() in <lambda>()
179 file.path.endsWith(SdkConstants.DOT_CLASS) -> { in <lambda>()
180 val bytes = file.readBytes() in <lambda>()
181 markDeprecated(codebase, bytes, file.path) in <lambda>()
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/
Dbluetooth_pb2.py30 file=DESCRIPTOR,
76 file=DESCRIPTOR,
192 file=DESCRIPTOR,
254 file=DESCRIPTOR,
289 file=DESCRIPTOR,
319 file=DESCRIPTOR,
349 file=DESCRIPTOR,
379 file=DESCRIPTOR,
414 file=DESCRIPTOR,
440 file=DESCRIPTOR,
[all …]
/tools/asuite/atest/tools/asuite/atest/tf_proto/
Dtest_record_pb2.py35 file=DESCRIPTOR,
70 file=DESCRIPTOR,
143 file=DESCRIPTOR,
152 serialized_options=None, file=DESCRIPTOR),
159 serialized_options=None, file=DESCRIPTOR),
180 file=DESCRIPTOR,
189 serialized_options=None, file=DESCRIPTOR),
196 serialized_options=None, file=DESCRIPTOR),
217 file=DESCRIPTOR,
226 serialized_options=None, file=DESCRIPTOR),
[all …]
Dmetric_measurement_pb2.py31 file=DESCRIPTOR,
62 file=DESCRIPTOR,
94 file=DESCRIPTOR,
103 serialized_options=None, file=DESCRIPTOR),
110 serialized_options=None, file=DESCRIPTOR),
117 serialized_options=None, file=DESCRIPTOR),
124 serialized_options=None, file=DESCRIPTOR),
131 serialized_options=None, file=DESCRIPTOR),
138 serialized_options=None, file=DESCRIPTOR),
163 file=DESCRIPTOR,
[all …]
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/
Dpower_metric_pb2.py32 file=DESCRIPTOR,
42 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
49 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
56 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
63 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
70 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
77 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
84 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
91 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
98 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
[all …]
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/gen/
Dmetrics_pb2.py32 file=DESCRIPTOR,
42 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
49 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
56 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
63 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
70 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
77 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
84 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
91 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
113 file=DESCRIPTOR,
[all …]
/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() argument
89 this.file = file; in CachedFileContents()
102 lastClosed = file.lastModified(); in closed()
103 size = file.length(); in closed()
117 if (!file.exists()) { in isValid()
121 if (valid && file.lastModified() != lastClosed) { in isValid()
125 if (valid && file.length() != size) { in isValid()
160 return Files.hash(file, Hashing.crc32()); in hashFile()
174 return file; in getFile()
/tools/test/connectivity/acts/framework/acts/libs/testtracker/protos/gen/
Dtesttracker_result_pb2.py31 file=DESCRIPTOR,
90 file=DESCRIPTOR,
99 serialized_options=None, file=DESCRIPTOR),
106 serialized_options=None, file=DESCRIPTOR),
113 serialized_options=None, file=DESCRIPTOR),
120 serialized_options=None, file=DESCRIPTOR),
127 serialized_options=None, file=DESCRIPTOR),
134 serialized_options=None, file=DESCRIPTOR),
141 serialized_options=None, file=DESCRIPTOR),
166 file=DESCRIPTOR,
[all …]
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceFromRAFFactory.java23 @Override DataSource create(RandomAccessFile file) { in create() argument
24 return DataSources.asDataSource(file); in create()
27 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() argument
28 return DataSources.asDataSource(file, offset, size); in create()
32 @Override DataSource create(RandomAccessFile file) { in create() argument
33 return DataSources.asDataSource(file.getChannel()); in create()
36 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() argument
37 return DataSources.asDataSource(file.getChannel(), offset, size); in create()
41 abstract DataSource create(RandomAccessFile file); in create() argument
42 abstract DataSource create(RandomAccessFile file, long offset, long size); in create() argument
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt193 val file = File(path) in <lambda>() constant
194 val name = file.name in <lambda>()
199 paths.add(file.path) in <lambda>()
517 sources.forEach { file -> in <lambda>() method
522 signatureFile.writeText(file.trimIndent()) in <lambda>()
606 val file = File(project, "prev-api-lint.txt") in <lambda>() constant
607 file.writeText(apiLint.trimIndent()) in <lambda>()
608 arrayOf(ARG_API_LINT, file.path) in <lambda>()
619 val file = File(project, "current-api.txt") in <lambda>() constant
620 file.writeText(checkCompatibilityApi.trimIndent()) in <lambda>()
[all …]
/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() argument
56 this.file = file; in ZFileDataSource()
66 public ZFileDataSource(@Nonnull ZFile file, long offset, long size) { in ZFileDataSource() argument
69 this.file = file; in ZFileDataSource()
79 return file.directSize(); in size()
97 return new ZFileDataSource(file, this.offset + offset, size); in slice()
113 int readSize = file.directRead(chunkOffsetInFile, buf, 0, chunkSize); in feed()
135 file.directFullyRead(this.offset + offset, dest); in copyTo()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_lineage.txt10 --in Input SigningCertificateLineage. This file contains a binary representation of
37 (2) private key file in PKCS #8 format and certificate file in X.509 format
49 KeyStore initialized from the specified file. NONE means
50 no file is needed by KeyStore, which is the case for some
62 file:<file> password provided in the named
63 file, as a single line
69 When the same file (including standard input) is used for
71 the file one line at a time. Passwords are read in the
81 file:<file> password provided in the named
82 file, as a single line
[all …]
Dhelp_rotate.txt9 --in Input SigningCertificateLineage. This file contains a binary representation of
38 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate
39 file in X.509 format (see --key and --cert).
52 KeyStore initialized from the specified file. NONE means
53 no file is needed by KeyStore, which is the case for some
65 file:<file> password provided in the named
66 file, as a single line
72 When the same file (including standard input) is used for
74 the file one line at a time. Passwords are read in the
84 file:<file> password provided in the named
[all …]
Dhelp_sign.txt12 --in Input APK file to sign. This is an alternative to
14 options. Unless --out is specified, this file will be
18 APK is signed in-place, overwriting the input file.
117 KeyStore key alias or basename of key file is used.
124 KeyStore (see --ks), or (2) private key file in PKCS #8 format and certificate
125 file in X.509 format (see --key and --cert).
128 KeyStore initialized from the specified file. NONE means
129 no file is needed by KeyStore, which is the case for some
141 file:<file> password provided in the named
142 file, as a single line
[all …]
/tools/asuite/atest/tf_proto/
Dlog_file.proto5 * you may not use this file except in compliance with the License.
21 // Represents a single log file
23 // The local path of the log file
25 // The remote path of the log file once logged
27 // The type of the log file (For example: Logcat, screenshot)
29 // Whether the file is a text file
31 // whether the file is compressed or not
33 // Size of the file in bytes
35 // The actual mime content type of the file
/tools/repohooks/rh/
Dhooks.py76 for file in self.get('PREUPLOAD_FILES'):
78 ret.append(file)
82 prefix + file for file in self.get('PREUPLOAD_FILES'))
129 return [x.file for x in self.diff if x.status != 'D']
286 _match_regex_list(d.file, include_list) and
287 not _match_regex_list(d.file, exclude_list)):
353 data = rh.git.get_file_content(commit, d.file)
358 files=(d.file,)))
828 data = rh.git.get_file_content(commit, d.file)
831 fixup_func = _fixup_func_caller([gofmt, '-w', d.file])
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DStoredEntry.java170 private ZFile file; field in StoredEntry
214 @Nonnull ZFile file, in StoredEntry() argument
218 this.file = file; in StoredEntry()
220 verifyLog = file.makeVerifyLog(); in StoredEntry()
400 file.delete(this, notify); in delete()
434 file.directFullyRead(cdh.getOffset(), localHeader); in readLocalHeader()
444 if (file.areTimestampsIgnored()) { in readLocalHeader()
471 file.directFullyRead(fileNameStart, fileNameData); in readLocalHeader()
485 file.directFullyRead(localExtraStart, localExtraRaw); in readLocalHeader()
505 file.directFullyRead(ddStart, ddData); in readDataDescriptorRecord()
[all …]
DCentralDirectory.java184 private final ZFile file; field in CentralDirectory
203 CentralDirectory(@Nonnull ZFile file) { in CentralDirectory() argument
205 this.file = file; in CentralDirectory()
207 verifyLog = file.getVerifyLog(); in CentralDirectory()
224 static CentralDirectory makeFromData(@Nonnull ByteBuffer bytes, int count, @Nonnull ZFile file) in makeFromData() argument
229 CentralDirectory directory = new CentralDirectory(file); in makeFromData()
259 @Nonnull ZFile file) { in makeFromEntries() argument
260 CentralDirectory directory = new CentralDirectory(file); in makeFromEntries()
300 if (file.areTimestampsIgnored()) { in readEntry()
367 fileName, encodedFileName, uncompressedSize, compressInfo, flags, file); in readEntry()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiCompilationUnit.kt66 if (file is PsiJavaFile) { in getHeaderComments()
67 val pkg = file.packageStatement ?: return null in getHeaderComments()
68 return file.text.substring(0, pkg.startOffset) in getHeaderComments()
69 } else if (file is KtFile) { in getHeaderComments()
70 var curr: PsiElement? = file.firstChild in getHeaderComments()
94 if (file is PsiJavaFile) { in getImportStatements()
95 val importList = file.importList in getImportStatements()
132 } else if (file is KtFile) { in getImportStatements()
133 for (importDirective in file.importDirectives) { in getImportStatements()
214 if (file is PsiClassOwner) { in classes()
[all …]

12345678910>>...14