Home
last modified time | relevance | path

Searched defs:source (Results 1 – 25 of 131) sorted by relevance

123456

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt27 val source = in Loading a signature file and writing the API back out() constant
45 val source = in Handle lambdas as default values() constant
65 val source = in Invoking function with multiple parameters as parameter default value() constant
84 val source = in Handle enum constants as default values() constant
113 val source = in Handle complex expressions as default values() constant
145 val source = in Annotation signatures requiring more complicated token matching() constant
160 val source = in Multiple extends() constant
238 val source = constant
280 val source = constant
308 val source = constant
[all …]
DJDiffXmlTest.kt175 val source = in Test generics, superclasses and interfaces() constant
340 val source = in Test enums() constant
/tools/platform-compat/javatest/android/processor/compat/changeid/
DChangeIdProcessorTest.java109 JavaFileObject[] source = { in testCompatConfigXmlOutput() local
168 JavaFileObject[] source = { in testCompatConfigXmlOutput_multiplePackages() local
219 JavaFileObject[] source = { in testCompatConfigXmlOutput_innerClass() local
253 JavaFileObject[] source = { in testCompatConfigXmlOutput_interface() local
285 JavaFileObject[] source = { in testCompatConfigXmlOutput_enum() local
318 JavaFileObject[] source = { in testBothDisabledAndEnabledAfter() local
343 JavaFileObject[] source = { in testBothDisabledAndEnabledSince() local
369 JavaFileObject[] source = { in testBothLoggingOnlyAndEnabledAfter() local
394 JavaFileObject[] source = { in testBothLoggingOnlyAndEnabledSince() local
419 JavaFileObject[] source = { in testBothLoggingOnlyAndDisabled() local
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DOptionCopierTest.java136 OptionSource source = new OptionSource(); in testCopyOptions_string() local
145 OptionSource source = new OptionSource(); in testCopyOptions_int() local
154 OptionSource source = new OptionSource(); in testCopyOptions_collection() local
167 OptionSource source = new OptionSource(); in testCopyOptions_enum() local
176 OptionSource source = new OptionSource(); in testCopyOptions_enumCollection() local
189 OptionSource source = new OptionSource(); in testCopyOptions_enumMap() local
201 OptionSource source = new OptionSource(); in testCopyOptions_wrongType() local
214 OptionSource source = new OptionSource(); in testCopyOptions_collectionToPrimitive() local
228 OptionCollectionWrongTypeDest source = new OptionCollectionWrongTypeDest(); in testCopyOptions_primitiveToCollection_null() local
247 OptionCollectionWrongTypeDest source = new OptionCollectionWrongTypeDest(); in testCopyOptions_primitiveToCollection() local
[all …]
/tools/tradefederation/core/common_util/com/android/tradefed/config/
DOptionDef.java29 public final String source; field in OptionDef
32 public OptionDef(String optionName, String optionValue, String source) { in OptionDef()
36 public OptionDef(String optionName, String optionKey, String optionValue, String source) { in OptionDef()
41 String optionName, String optionKey, String optionValue, String source, String type) { in OptionDef()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DStreamUtilTest.java49 try (final InputStreamSource source = new ByteArrayInputStreamSource(contentBytes)) { in testGetByteArrayListFromSource()
86 try (InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes())) { in testGetStringFromSource()
101 try (InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes())) { in testGetBufferedReaderFromInputStream()
118 final InputStreamSource source = new ByteArrayInputStreamSource(contents.getBytes()); in testCountLinesFromSource() local
154 final String source = getLargeText(); in testCalculateCrc32() local
169 final String source = "testtesttesttesttest"; in testCalculateMd5() local
184 final String source = "testtesttesttesttest"; in testCalculateBase64Md5() local
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DExecutorCompressor.java49 public ListenableFuture<CompressionResult> compress( in compress()
70 protected abstract CompressionResult immediateCompress(@Nonnull CloseableByteSource source) in immediateCompress()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DCompressionResult.java37 private final CloseableByteSource source; field in CompressionResult
51 public CompressionResult(@Nonnull CloseableByteSource source, @Nonnull CompressionMethod method, in CompressionResult()
DCompressor.java37 ListenableFuture<CompressionResult> compress(@Nonnull CloseableByteSource source); in compress()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/testutils/
DStringToStreamAdapter.kt25 val source = this in makeReader() constant
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/utils/
DSourceSetUtils.kt29 val source = file.readText(Charsets.UTF_8) in findPackage() constant
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DMetricFilePostProcessor.java146 try (InputStreamSource source = new FileInputStreamSource(aggregateTestResultsFile, in processRunMetricsAndLogs()
149 source); in processRunMetricsAndLogs() local
169 try (InputStreamSource source = new FileInputStreamSource(metricFile, in writeMetricFile()
171 testLog(metricFile.getName(), LogDataType.CB_METRICS_FILE, source); in writeMetricFile() local
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/
DMakeAnnotationsPackagePrivateCommandTest.kt65 val source = stubAnnotationsDir in Test copying private annotations from one of the stubs() constant
149 val source = newFolder("annotations-copy") in Test stub-annotations containing unknown annotation() constant
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCodeCoverageTest.java82 try (FileInputStreamSource source = new FileInputStreamSource(coverageFile)) { in run()
86 source); in run() local
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DFilePullerLogCollector.java39 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { in processMetricFile()
67 testLog(FileUtil.getBaseName(metricFile.getName()), type, source); in processMetricFile() local
DDebugHostLogOnFailureCollector.java46 try (InputStreamSource source = getLogger().getLog()) { in onTestRunStart()
69 try (InputStreamSource source = getLogger().getLog()) { in onTestFail()
DDeviceTraceCollector.java111 try (FileInputStreamSource source = new FileInputStreamSource(entry.getKey(), true)) { in logTraceFiles()
112 super.testLog(entry.getValue(), LogDataType.PERFETTO, source); in logTraceFiles() local
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/
DTestUtils.kt24 fun source(to: String, source: String): TestFile { in source() method
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipCompressionStrategy.java32 public File compress(File source) throws IOException { in compress()
DICompressionStrategy.java34 public File compress(File source) throws IOException; in compress()
/tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
Dhelpers.py24 def validate_key(key, dictionary, expected_type, source): argument
/tools/acloud/
Dsetup.py45 def GenerateProto(source): argument
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DSnapshotInputStreamSourceTest.java54 InputStreamSource source = in testCancel() local
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessorTest.java49 private Compilation compile(JavaFileObject source) { in compile()
57 private CsvReader compileAndReadCsv(JavaFileObject source, String filename) throws IOException { in compileAndReadCsv()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java216 try (InputStreamSource source = new FileInputStreamSource(convertedMetricFile, in processMetricFile()
218 testLog(convertedMetricFile.getName(), getLogDataType(), source); in processMetricFile() local
319 try (InputStreamSource source = new FileInputStreamSource(metricFile, true)) { in processMetricFile()
322 testLog(metricFile.getName(), LogDataType.GZIP, source); in processMetricFile() local
328 testLog(metricFile.getName(), LogDataType.PERFETTO, source); in processMetricFile() local

123456