/tools/security/remote_provisioning/hwtrust/ |
D | Cargo.lock | 8 source = "registry+https://github.com/rust-lang/crates.io-index" 17 source = "registry+https://github.com/rust-lang/crates.io-index" 23 source = "registry+https://github.com/rust-lang/crates.io-index" 32 source = "registry+https://github.com/rust-lang/crates.io-index" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 53 source = "registry+https://github.com/rust-lang/crates.io-index" 59 source = "registry+https://github.com/rust-lang/crates.io-index" 65 source = "registry+https://github.com/rust-lang/crates.io-index" 71 source = "registry+https://github.com/rust-lang/crates.io-index" 77 source = "registry+https://github.com/rust-lang/crates.io-index" [all …]
|
/tools/platform-compat/javatest/android/processor/compat/changeid/ |
D | ChangeIdProcessorTest.java | 109 JavaFileObject[] source = { in testCompatConfigXmlOutput() local 160 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput() 168 JavaFileObject[] source = { in testCompatConfigXmlOutput_multiplePackages() local 208 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_multiplePackages() 219 JavaFileObject[] source = { in testCompatConfigXmlOutput_innerClass() local 245 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_innerClass() 253 JavaFileObject[] source = { in testCompatConfigXmlOutput_interface() local 277 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_interface() 285 JavaFileObject[] source = { in testCompatConfigXmlOutput_enum() local 310 .compile(ObjectArrays.concat(mAnnotations, source, JavaFileObject.class)); in testCompatConfigXmlOutput_enum() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | OptionCopierTest.java | 136 OptionSource source = new OptionSource(); in testCopyOptions_string() local 138 OptionCopier.copyOptions(source, dest); in testCopyOptions_string() 139 assertEquals(source.mMyOption, dest.mDestOption); in testCopyOptions_string() 145 OptionSource source = new OptionSource(); in testCopyOptions_int() local 147 OptionCopier.copyOptions(source, dest); in testCopyOptions_int() 148 assertEquals(source.mMyIntOption, dest.mDestIntOption); in testCopyOptions_int() 154 OptionSource source = new OptionSource(); in testCopyOptions_collection() local 155 source.mStringCollection.add("foo"); in testCopyOptions_collection() 158 OptionCopier.copyOptions(source, dest); in testCopyOptions_collection() 167 OptionSource source = new OptionSource(); in testCopyOptions_enum() local [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFromTextTest.kt | 27 val source = in Loading a signature file and writing the API back out() constant 40 check(format = FileFormat.V2, signatureSource = source, api = source) in Loading a signature file and writing the API back out() 45 val source = in Handle lambdas as default values() constant 58 signatureSource = source, in Handle lambdas as default values() 59 api = source, in Handle lambdas as default values() 65 val source = in Invoking function with multiple parameters as parameter default value() constant 77 signatureSource = source, in Invoking function with multiple parameters as parameter default value() 78 api = source, in Invoking function with multiple parameters as parameter default value() 84 val source = in Handle enum constants as default values() constant 108 check(format = FileFormat.V3, signatureSource = source, api = source) in Handle enum constants as default values() [all …]
|
D | JavadocTest.kt | 30 @Language("JAVA") source: String, in checkStubs() 42 stubFiles = arrayOf(java(source)), in checkStubs() 148 source = in Relative documentation links in stubs() 252 source = in Check allowReadingComments = false() 329 source = in Rewrite relative documentation links in doc-stubs() 424 source = in Rewrite relative documentation links in doc-stubs 2() 503 source = in Rewrite relative documentation links in doc-stubs 3() 576 source = in Rewrite relative documentation links in doc-stubs but preserve custom link text() 675 source = in Rewrite relative documentation links in doc-stubs 4() 751 source = in Rewrite relative documentation links in doc-stubs 5() [all …]
|
/tools/netsim/rust/daemon/src/wifi/packets/ |
D | ieee80211.rs | 120 Ieee80211Child::Ieee80211ToAp(hdr) => hdr.source, in get_source() 121 Ieee80211Child::Ieee80211FromAp(hdr) => hdr.source, in get_source() 122 Ieee80211Child::Ieee80211Ibss(hdr) => hdr.source, in get_source() 123 Ieee80211Child::Ieee80211Wds(hdr) => hdr.source, in get_source() 153 source: Option<MacAddress>, in with_address() 158 frame.with_address(source, destination).try_into().unwrap() in with_address() 161 frame.with_address(source, destination).try_into().unwrap() in with_address() 164 frame.with_address(source, destination).try_into().unwrap() in with_address() 167 frame.with_address(source, destination).try_into().unwrap() in with_address() 192 source: frame_to_ap.source, in into_from_ap() [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 207 fun shortenAnnotation(source: String): String { in shortenAnnotation() 209 source == "@java.lang.Deprecated" -> "@Deprecated" in shortenAnnotation() 210 source.startsWith(ANDROID_ANNOTATION_PREFIX, 1) -> { in shortenAnnotation() 211 "@" + source.substring(ANDROID_ANNOTATION_PREFIX.length + 1) in shortenAnnotation() 213 source.startsWith(ANDROIDX_ANNOTATION_PREFIX, 1) -> { in shortenAnnotation() 214 "@" + source.substring(ANDROIDX_ANNOTATION_PREFIX.length + 1) in shortenAnnotation() 216 else -> source in shortenAnnotation() 224 fun unshortenAnnotation(source: String): String { in unshortenAnnotation() 226 source == "@Deprecated" -> "@java.lang.Deprecated" in unshortenAnnotation() 231 source.startsWith("@SystemService") || in unshortenAnnotation() [all …]
|
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/ |
D | TestUtils.kt | 24 fun source(to: String, source: String): TestFile { in source() method 25 return TestFiles.source(to, source.trimIndent()) in source() 28 fun html(to: String, @Language("HTML") source: String): TestFile { in html() 29 return TestFiles.source(to, source.trimIndent()) in html() 32 fun java(to: String, @Language("JAVA") source: String): TestFile { in java() 33 return TestFiles.java(to, source.trimIndent()) in java() 36 fun java(@Language("JAVA") source: String): TestFile { in java() 37 return TestFiles.java(source.trimIndent()) in java() 40 fun kotlin(@Language("kotlin") source: String): TestFile { in kotlin() 41 return TestFiles.kotlin(source.trimIndent()) in kotlin() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtilsLite.java | 277 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { in sliceFromTo() argument 284 int capacity = source.capacity(); in sliceFromTo() 285 if (end > source.capacity()) { in sliceFromTo() 288 int originalLimit = source.limit(); in sliceFromTo() 289 int originalPosition = source.position(); in sliceFromTo() 291 source.position(0); in sliceFromTo() 292 source.limit(end); in sliceFromTo() 293 source.position(start); in sliceFromTo() 294 ByteBuffer result = source.slice(); in sliceFromTo() 295 result.order(source.order()); in sliceFromTo() [all …]
|
D | AndroidBinXmlParser.java | 792 private static ByteBuffer sliceFromTo(ByteBuffer source, long start, long end) { in sliceFromTo() argument 799 int capacity = source.capacity(); in sliceFromTo() 800 if (end > source.capacity()) { in sliceFromTo() 803 return sliceFromTo(source, (int) start, (int) end); in sliceFromTo() 812 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { in sliceFromTo() argument 819 int capacity = source.capacity(); in sliceFromTo() 820 if (end > source.capacity()) { in sliceFromTo() 823 int originalLimit = source.limit(); in sliceFromTo() 824 int originalPosition = source.position(); in sliceFromTo() 826 source.position(0); in sliceFromTo() [all …]
|
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/lint/checks/infrastructure/ |
D | ClassName.kt | 19 import com.android.tools.metalava.model.source.utils.DOT_JAVA 20 import com.android.tools.metalava.model.source.utils.DOT_KT 30 class ClassName(source: String, extension: String = DOT_JAVA) { 35 val withoutComments = stripComments(source, extension) 45 fun stripComments(source: String, extension: String, stripLineComments: Boolean = true): String { in packageNameWithDefault() 46 val sb = StringBuilder(source.length) in packageNameWithDefault() 59 for (c in source) { in packageNameWithDefault() 160 fun getPackage(source: String): String? { in getPackage() 161 val matcher = PACKAGE_PATTERN.matcher(source) in getPackage() 169 fun getClassName(source: String): String? { in getClassName() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 502 public static byte[] toDer(Object source, Asn1Type targetType, Asn1Type targetElementType) in toDer() argument 504 Class<?> sourceType = source.getClass(); in toDer() 506 ByteBuffer buf = ((Asn1OpaqueObject) source).getEncoded(); in toDer() 513 return encode(source); in toDer() 520 if (source instanceof ByteBuffer) { in toDer() 521 ByteBuffer buf = (ByteBuffer) source; in toDer() 524 } else if (source instanceof byte[]) { in toDer() 525 value = (byte[]) source; in toDer() 536 if (source instanceof Integer) { in toDer() 537 return toInteger((Integer) source); in toDer() [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 82 source = in Generate stubs for fields with initial values() 155 source = in Generate stubs for various modifier scenarios() 214 source = in Check throws list() 257 source = in Test final instance fields() 386 source = in Preserve file header comments() 424 source = in Parameter Names in Java() 465 source = in DocOnly members should be omitted() 521 source = in DocOnly members should be included when requested() 616 source = in Picking super class throwables() 694 source = in Rewriting implements class references() [all …]
|
/tools/trebuchet/trebuchet/traceutils/src/ |
D | TraceUtils.kt | 27 fun validateSrcDest(source: File, destDir: File) { in <lambda>() 28 if (!source.exists()) { in <lambda>() 29 throw IllegalArgumentException("No such file '$source'") in <lambda>() 73 var next = reader.source.next() in copy() 76 next = reader.source.next() in copy() 80 fun extract(source: File, destDir: File) { in extract() 81 validateSrcDest(source, destDir) in extract() 84 findTraces(InputStreamAdapter(source), onlyKnownFormats = false) { in extract() 101 val source = File(args[0]) in main() constant 103 extract(source, destDir) in main()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | StreamUtilTest.java | 49 try (final InputStreamSource source = new ByteArrayInputStreamSource(contentBytes)) { in testGetByteArrayListFromSource() argument 50 final InputStream stream = source.createInputStream(); in testGetByteArrayListFromSource() 86 try (InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes())) { in testGetStringFromSource() argument 87 final InputStream stream = source.createInputStream(); in testGetStringFromSource() 101 try (InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes())) { in testGetBufferedReaderFromInputStream() argument 102 output = StreamUtil.getBufferedReaderFromStreamSrc(source); in testGetBufferedReaderFromInputStream() 118 final InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes()); in testCountLinesFromSource() local 119 assertEquals(3, StreamUtil.countLinesFromSource(source)); in testCountLinesFromSource() 154 final String source = getLargeText(); in testCalculateCrc32() local 156 ByteArrayInputStream inputSource = new ByteArrayInputStream(source.getBytes()); in testCalculateCrc32() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/config/ |
D | OptionDef.java | 29 public final String source; field in OptionDef 32 public OptionDef(String optionName, String optionValue, String source) { in OptionDef() argument 33 this(optionName, null, optionValue, source, null); in OptionDef() 36 public OptionDef(String optionName, String optionKey, String optionValue, String source) { in OptionDef() argument 37 this(optionName, optionKey, optionValue, source, null); in OptionDef() 41 String optionName, String optionKey, String optionValue, String source, String type) { in OptionDef() argument 45 this.source = source; in OptionDef()
|
/tools/treble/hacksaw/bind/ |
D | local.go | 52 func (p localBinder) BindReadOnly(source string, destination string) error { 54 source, err := filepath.EvalSymlinks(source) 62 err = p.mounter.Mount(source, destination, 67 err = p.mounter.Mount(source, destination, 72 func (p localBinder) BindReadWrite(source string, destination string) error { 74 source, err := filepath.EvalSymlinks(source) 82 err = p.mounter.Mount(source, destination,
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500_handover_simulator.py | 62 source = self._get_handover_manager(source_technology) 63 self._prepare_handover(source, self._lte) 66 self._perform_handover(source, self._lte) 78 source = self._get_handover_manager(source_technology) 79 self._prepare_handover(source, self._wcdma) 81 self._perform_handover(source, self._wcdma) 83 def _prepare_handover(self, source, destination): argument 91 if source.is_attached: 99 source.handover_destination = destination.application_name 100 if source.is_internal_handover: [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/ |
D | MakeAnnotationsPackagePrivateCommandTest.kt | 65 val source = stubAnnotationsDir in Test copying private annotations from one of the stubs() constant 70 source.path, in Test copying private annotations from one of the stubs() 149 val source = newFolder("annotations-copy") in Test stub-annotations containing unknown annotation() constant 150 stubAnnotationsDir.copyRecursively(source) in Test stub-annotations containing unknown annotation() 151 assertTrue(source.path, source.isDirectory) in Test stub-annotations containing unknown annotation() 152 inputFile("android/annotation/Unknown.java", fooSource, source) in Test stub-annotations containing unknown annotation() 157 source.path, in Test stub-annotations containing unknown annotation()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/internal/ |
D | RewriteAnnotations.kt | 39 fun modifyAnnotationSources(codebase: Codebase?, source: File, target: File, pkg: String = "") { in modifyAnnotationSources() 40 val fileName = source.name in modifyAnnotationSources() 44 if (hasSourceRetention(source, codebase, qualifiedName)) { in modifyAnnotationSources() 50 target.writeText(source.readText(UTF_8).replace("\npublic @interface", "\n@interface")) in modifyAnnotationSources() 51 } else if (source.isDirectory) { in modifyAnnotationSources() 53 source.listFiles()?.forEach { in modifyAnnotationSources() 64 source: File, in hasSourceRetention() 84 error("$source: Found annotation with unknown desired retention: $qualifiedName") in hasSourceRetention()
|
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/sampling/engine/ |
D | assembly_line_test.py | 99 builder.source(first_source) 102 builder.source(second_source) 112 builder.source(dummy_source, input_stream=input_stream) 121 builder.source(dummy_source) 130 return_value = builder.source(mock.Mock()) 149 builder.source(dummy_transformer).build() 161 builder.source(dummy_source) 173 builder.source(dummy_source) 183 builder.source(mock.Mock()) 192 builder.source(mock.Mock()).build() [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/ |
D | plot_utils.py | 62 source = ColumnDataSource( 78 dt = DataTable(source=s2, 94 plot.line('x', 'y', source=source, line_width=2) 95 plot.circle('x', 'y', source=source, size=0.5, fill_color='color') 107 source.selected.js_on_change( 109 CustomJS(args=dict(source=source, mytable=dt),
|
/tools/acloud/ |
D | setup.py | 45 def GenerateProto(source): argument 56 output = source.replace(".proto", "_pb2.py") 59 os.path.exists(source) and 60 os.path.getmtime(source) > os.path.getmtime(output)): 63 if not os.path.exists(source): 64 sys.stderr.write("Can't find required file: %s\n" % source) 74 protoc_command = [PROTOC, "-I%s" % ACLOUD_DIR, "--python_out=.", source]
|
/tools/test/openhst/resources/ |
D | device_config.common.ascii_proto | 2 source: "LOGCAT" 13 source: "/dev/kmsg" 24 source: "/sdcard/captured_dsp_audio.wav" 29 source: "LOGCAT" 35 source: "LOGCAT" 42 source: "LOGCAT" 48 source: "LOGCAT" 55 source: "LOGCAT" 61 source: "LOGCAT" 71 source: "LOGCAT"
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | StoredEntry.java | 194 private ProcessedAndRawByteSources source; field in StoredEntry 215 @Nullable ProcessedAndRawByteSources source) in StoredEntry() argument 232 source == null, in StoredEntry() 240 this.source = createSourceFromZip(cdh.getOffset()); in StoredEntry() 248 source, in StoredEntry() 250 this.source = source; in StoredEntry() 261 this.source.getProcessedByteSource().isEmpty(), in StoredEntry() 334 return source.getProcessedByteSource().openStream(); in open() 402 source.close(); in delete() 625 ProcessedAndRawByteSources oldSource = source; in replaceSourceFromZip() [all …]
|