/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/ |
D | XmlSuiteResultFormatterTest.java | 97 String content = FileUtil.readStringFromFile(res); in testBasicFormat() local 98 assertXmlContainsNode(content, "Result"); in testBasicFormat() 100 assertXmlContainsNode(content, "Result/Summary"); in testBasicFormat() 101 assertXmlContainsAttribute(content, "Result/Summary", "pass", "2"); in testBasicFormat() 102 assertXmlContainsAttribute(content, "Result/Summary", "failed", "0"); in testBasicFormat() 103 assertXmlContainsAttribute(content, "Result/Summary", "modules_done", "2"); in testBasicFormat() 104 assertXmlContainsAttribute(content, "Result/Summary", "modules_total", "2"); in testBasicFormat() 106 assertXmlContainsNode(content, "Result/Module"); in testBasicFormat() 107 assertXmlContainsAttribute(content, "Result/Module", "name", "module1"); in testBasicFormat() 108 assertXmlContainsAttribute(content, "Result/Module", "abi", "armeabi-v7a"); in testBasicFormat() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/ |
D | GCSConfigurationFactoryTest.java | 72 String content = null; in setUp() 74 content = HOST_CONFIG; in setUp() 76 content = AVD_HOST_CONFIG; in setUp() 78 content = COMMON_CONFIG; in setUp() 80 content = INVALID_CONFIG; in setUp() 82 if (content != null) { in setUp() 83 return new ByteArrayInputStream(content.getBytes()); in setUp() 104 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream() local 105 Assert.assertEquals(HOST_CONFIG, content); in testGetConfigStream() 124 String content = StreamUtil.getStringFromStream(input); in testGetConfigStream_bundled() local [all …]
|
D | GCSConfigurationServerTest.java | 58 String content = null; in setUp() 60 content = CONFIG; in setUp() 62 content = HOST_CONFIG_MAPPING; in setUp() 64 if (content != null) { in setUp() 65 return new ByteArrayInputStream(content.getBytes()); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationUtilTest.java | 65 String content = FileUtil.readStringFromFile(tmpXml); in testDumpClassToXml() local 66 assertTrue(content.length() > 100); in testDumpClassToXml() 67 assertTrue(content.contains("<configuration>")); in testDumpClassToXml() 68 assertTrue(content.contains("<option name=\"adb-path\" value=\"adb\" />")); in testDumpClassToXml() 70 content.contains( in testDumpClassToXml() 108 String content = FileUtil.readStringFromFile(tmpXml); in testDumpClassToXml_filtered() local 109 assertTrue(content.contains("<configuration>")); in testDumpClassToXml_filtered() 111 content.contains( in testDumpClassToXml_filtered() 115 content.contains( in testDumpClassToXml_filtered()
|
D | ConfigurationTest.java | 637 String content = FileUtil.readStringFromFile(test); in testDumpXml() local 638 assertTrue(content.length() > 100); in testDumpXml() 639 assertTrue(content.contains("<configuration>")); in testDumpXml() 640 assertTrue(content.contains("<test class")); in testDumpXml() 658 String content = FileUtil.readStringFromFile(test); in testDumpXml_withFilter() local 659 assertTrue(content.length() > 100); in testDumpXml_withFilter() 660 assertTrue(content.contains("<configuration>")); in testDumpXml_withFilter() 661 assertFalse(content.contains("<test class")); in testDumpXml_withFilter() 681 String content = FileUtil.readStringFromFile(test); in testDumpXml_multi_device() local 682 assertTrue(content.length() > 100); in testDumpXml_multi_device() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | KeyValueConfigPreparer.java | 67 String content = config.toString(); in setUp() local 71 if (content.contains(externalStorageString)) { in setUp() 74 content = content.replace(externalStorageString, externalStoragePath); in setUp() 78 device.pushString(content, mPath); in setUp()
|
/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/ |
D | DeviceSetupService.java | 23 import android.content.Context; 24 import android.content.Intent;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | TarUtilTest.java | 124 final String content = "I'LL BE ZIPPED"; in testGzipDir_unGzip() local 129 FileUtil.writeToFile(content, tmpFile); in testGzipDir_unGzip() 137 assertEquals(content, FileUtil.readStringFromFile(unzipped.listFiles()[0])); in testGzipDir_unGzip()
|
D | BugreportTest.java | 59 InputStream content = new ByteArrayInputStream(BUGREPORT_CONTENT.getBytes()); in setUp() local 60 FileUtil.writeToFile(content, bugreport); in setUp() 163 InputStream content = new ByteArrayInputStream(BUGREPORT_CONTENT.getBytes()); in testBugreportz_noMainFile() local 164 FileUtil.writeToFile(content, bugreport); in testBugreportz_noMainFile()
|
D | GCSFileDownloaderFuncTest.java | 102 String content = StreamUtil.getStringFromStream(inputStream); in testDownloadFile() local 103 Assert.assertEquals(FILE_CONTENT, content); in testDownloadFile()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestMapping.java | 106 String content = String.join("", Files.readAllLines(path, StandardCharsets.UTF_8)); in TestMapping() local 107 if (content != null) { in TestMapping() 108 JSONTokener tokener = new JSONTokener(content); in TestMapping()
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | ContentInfo.java | 35 public Asn1OpaqueObject content; field in ContentInfo
|
D | EncapsulatedContentInfo.java | 39 public ByteBuffer content; field in EncapsulatedContentInfo
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | SubprocessResultsReporterTest.java | 73 String content = FileUtil.readStringFromFile(tmpReportFile); in testPrintEvent_printToFile() local 75 + "TEST_RUN_ENDED {\"time\":100}\n", content); in testPrintEvent_printToFile()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTest.java | 376 String content = in loadFilter() local 378 if (content != null && !content.isEmpty()) { in loadFilter() 380 JSONObject filter = new JSONObject(content); in loadFilter() 388 CLog.e("Error with content of the filter file %s: %s", filterFile, content); in loadFilter()
|
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiMonitorService.java | 22 import android.content.Context; 23 import android.content.Intent;
|
D | WifiConnector.java | 19 import android.content.Context; 20 import android.content.SharedPreferences;
|
D | WifiUtil.java | 20 import android.content.Context;
|
/tools/metalava/ |
D | README.md | 141 …e/core/java/android/content/res/AssetManager.java:166: error: Replaced Kitkat with KitKat in docum… 212 | android.content.Intent | 104 | 214 | android.content.Context | 61 | 221 | android.content.SharedPreferences | 26 | 222 | android.content.SharedPreferences.Editor | 26 | 242 | Intent.Intent(android.content.Context, Class<?>) | 21 |
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 203 String content = String.format(TEST_CONFIG, objType, obj.getClass().getCanonicalName()); in createTmpConfig() local 204 FileUtil.writeToFile(content, configFile); in createTmpConfig()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 584 contentInfo.content = new Asn1OpaqueObject(Asn1DerEncoder.encode(signedData)); in generateSignatureBlock()
|
D | V1SchemeVerifier.java | 470 Asn1BerParser.parse(contentInfo.content.getEncoded(), SignedData.class); in verifySigBlockAgainstSigFile()
|
/tools/acloud/ |
D | LICENSE | 142 origin of the Work and reproducing the content of the NOTICE file.
|
/tools/apksig/ |
D | LICENSE | 154 origin of the Work and reproducing the content of the NOTICE file.
|
/tools/tradefederation/core/res/jacoco/ |
D | jacocoant.jar | META-INF/MANIFEST.MF
META-INF/MTNMINDS.SF
META-INF/MTNMINDS ... |