/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | FileReadSandbox.kt | 138 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 …]
|
D | Driver.kt | 16 @file:JvmName("Driver") in <lambda>() 365 file = previousApiFile, in processFlags() 395 source.listFiles()?.forEach { file -> in processFlags() method 396 RewriteAnnotations().copyAnnotations(codebase, file, File(it, file.name)) in processFlags() 402 val writeStubsFile: (File) -> Unit = { file -> in processFlags() method 413 file.writeText(contents) in processFlags() 454 source.listFiles()?.forEach { file -> in processNonCodebaseFlags() method 455 rewrite.modifyAnnotationSources(null, file, File(privateAnnotationsTarget, file.name)) in processNonCodebaseFlags() 470 file = convert.fromApiFile, in processNonCodebaseFlags() 484 file = baseFile, in processNonCodebaseFlags() [all …]
|
D | RewriteAnnotations.kt | 36 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>() 144 private fun rewriteAnnotations(file: File) { in <lambda>() 146 file.isDirectory -> file.listFiles()?.forEach { rewriteAnnotations(it) } in <lambda>() 147 file.path.endsWith(DOT_CLASS) -> rewriteClassFile(file) in <lambda>() 148 file.path.endsWith(DOT_JAR) -> rewriteJar(file) in <lambda>() [all …]
|
D | Options.kt | 936 builder.file = stringToExistingFile(nextArg) in <lambda>() 998 val file = stringToExistingFile(nextArg) in <lambda>() constant in com.android.tools.metalava.Options 999 if (file.isFile) { in <lambda>() 1001 migrateNullsFrom = file in <lambda>() 1008 val file = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant in com.android.tools.metalava.Options 1009 mutableCompatibilityChecks.add(CheckRequest(file, ApiType.PUBLIC_API)) in <lambda>() 1013 val file = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant 1014 mutableCompatibilityChecks.add(CheckRequest(file, ApiType.REMOVED)) in <lambda>() 1018 val file = stringToExistingFile(getValue(args, ++index)) in <lambda>() constant in com.android.tools.metalava.Options 1019 baseApiForCompatCheck = file in <lambda>() [all …]
|
D | Baseline.kt | 47 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 …]
|
D | ConvertJarsToSignatureFiles.kt | 149 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/loggers/protos/ |
D | bluetooth_metric_pb2.py | 31 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/test/connectivity/acts_tests/acts_contrib/test_utils/bt/protos/ |
D | bluetooth_pb2.py | 30 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/proto/ |
D | internal_user_log_pb2.py | 35 file=DESCRIPTOR, 45 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 52 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 59 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 66 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 87 file=DESCRIPTOR, 97 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 104 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 111 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 118 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), [all …]
|
D | external_user_log_pb2.py | 35 file=DESCRIPTOR, 59 file=DESCRIPTOR, 69 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 76 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 97 file=DESCRIPTOR, 107 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 114 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 135 file=DESCRIPTOR, 145 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), 152 serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), [all …]
|
/tools/asuite/atest/tools/asuite/atest/tf_proto/ |
D | test_record_pb2.py | 35 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 …]
|
D | metric_measurement_pb2.py | 31 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/ndkports/openssl/ |
D | build.gradle.kts | 35 source.set(project.file("src.tar.gz")) in <lambda>() 101 for (file in buildDirectory.walk()) { in <lambda>() constant 102 if (!file.isFile) { in <lambda>() 106 if (file.extension in ignoredExtensions) { in <lambda>() 110 push(file, file.relativeTo(buildDirectory)) in <lambda>() 112 for (file in testSrc.walk()) { in <lambda>() constant 113 if (file.extension == "conf") { in <lambda>() 115 file, deviceTestRelPath.resolve(file.relativeTo(testSrc)) in <lambda>() 127 for (file in testSrc.walk()) { in <lambda>() constant 129 .resolve(file.relativeTo(testSrc)) in <lambda>() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/loggers/protos/ |
D | power_metric_pb2.py | 32 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/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiSourceFileItem.kt | 48 val file: PsiFile, constant 50 ) : SourceFileItem, PsiItem(codebase, file, PsiModifierItem(codebase), documentation = "") { 66 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() [all …]
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/gen/ |
D | metrics_pb2.py | 32 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/ |
D | CachedFileContents.java | 58 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/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceFromRAFFactory.java | 23 @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/test/connectivity/acts/framework/acts/libs/testtracker/protos/gen/ |
D | testtracker_result_pb2.py | 31 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/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 36 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/asuite/atest/tf_proto/ |
D | log_file.proto | 5 * 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/dexter/slicer/ |
D | common.cc | 41 void _checkFailed(const char* expr, int line, const char* file) { in _checkFailed() argument 44 ss << expr << "] at " << file << ":" << line; in _checkFailed() 51 const char* file) { in _checkFailedOp() argument 55 ss << "] at " << file << ":" << line; in _checkFailedOp() 61 const char* file) { in _checkFailedOp() argument 65 ss << "] at " << file << ":" << line; in _checkFailedOp() 77 void _weakCheckFailed(const char* expr, int line, const char* file) { in _weakCheckFailed() argument 78 auto failure_id = std::make_pair(line, file); in _weakCheckFailed() 82 ss << expr << "] at " << file << ":"; in _weakCheckFailed()
|
/tools/apksig/src/apksigner/java/com/android/apksigner/ |
D | help_lineage.txt | 10 --in Input SigningCertificateLineage. This file contains a binary representation of 41 (2) private key file in PKCS #8 format and certificate file in X.509 format 53 KeyStore initialized from the specified file. NONE means 54 no file is needed by KeyStore, which is the case for some 66 file:<file> password provided in the named 67 file, as a single line 73 When the same file (including standard input) is used for 75 the file one line at a time. Passwords are read in the 85 file:<file> password provided in the named 86 file, as a single line [all …]
|
D | help_rotate.txt | 9 --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). 59 KeyStore initialized from the specified file. NONE means 60 no file is needed by KeyStore, which is the case for some 72 file:<file> password provided in the named 73 file, as a single line 79 When the same file (including standard input) is used for 81 the file one line at a time. Passwords are read in the 91 file:<file> password provided in the named [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | StoredEntry.java | 170 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 …]
|