/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | BuildTestsZipUtilsTest.java | 46 File apkFile = in testGetApkFile_notFound() local 54 assertNull(apkFile); in testGetApkFile_notFound() 71 File apkFile = in testGetApkFile_fromTestDir() local 79 assertNotNull(apkFile); in testGetApkFile_fromTestDir() 80 assertEquals(apk, apkFile); in testGetApkFile_fromTestDir() 102 File apkFile = in testGetApkFile_fromTestDir_testCase() local 110 assertNotNull(apkFile); in testGetApkFile_fromTestDir_testCase() 111 assertEquals(apk, apkFile); in testGetApkFile_fromTestDir_testCase() 133 File apkFile = in testGetApkFile_fromTestDir_differentModule_testCase() local 141 assertNotNull(apkFile); in testGetApkFile_fromTestDir_differentModule_testCase() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | AppSetup.java | 114 for (VersionedFile apkFile : apps) { in setUp() 116 AaptParser aaptParser = doAaptParse(apkFile.getFile()); in setUp() 121 apkFile.getFile().getName()), in setUp() 128 apkFile.toString(), device.getSerialNumber(), in setUp() 136 apkFile.getFile(), true, args.toArray(new String[args.size()])); in setUp() 144 apkFile.getFile().getName(), device.getSerialNumber(), result), in setUp() 149 addPackageNameToUninstall(apkFile.getFile(), device); in setUp() 169 AaptParser doAaptParse(File apkFile) { in doAaptParse() argument 170 return AaptParser.parse(apkFile); in doAaptParse() 173 private void addPackageNameToUninstall(File apkFile, ITestDevice device) in addPackageNameToUninstall() argument [all …]
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | OldApkReadTest.java | 30 File apkFile = ApkZFileTestUtils.getResource("/testData/packaging/test.apk"); in testReadOldApk() local 31 assertTrue(apkFile.exists()); in testReadOldApk() 33 try (ZFile zf = new ZFile(apkFile, new ZFileOptions())) { in testReadOldApk()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstaller.java | 39 File apkFile = null; in getLocalPathForFilename() local 41 apkFile = testInfo.getDependencyFile(apkFileName, true); in getLocalPathForFilename() 49 return apkFile; in getLocalPathForFilename()
|
/tools/tradefederation/contrib/src/com/android/monkey/ |
D | AppPkgInjector.java | 70 for (VersionedFile apkFile : appBuild.getAppPackageFiles()) { in setUp() 71 AaptParser aapt = AaptParser.parse(apkFile.getFile()); in setUp() 76 "aapt parse of %s failed", apkFile.getFile().getAbsolutePath()), in setUp() 85 apkFile.getFile().getAbsolutePath()), in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | AaptParser.java | 132 public static AaptParser parse(File apkFile) { in parse() argument 142 apkFile.getAbsolutePath()); in parse() 152 apkFile.getAbsoluteFile(), result.getStdout()); in parse() 164 apkFile.getAbsolutePath(), in parse() 176 apkFile.getAbsoluteFile(), result.getStdout()); in parse()
|
D | BuildTestsZipUtils.java | 147 File apkFile = buildInfo.stageRemoteFile(apkFileName, testsDir); in getApkFile() local 148 if (apkFile != null) { in getApkFile() 149 return apkFile; in getApkFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/helper/ |
D | TelephonyHelper.java | 91 File apkFile = null; in getSimInfo() local 94 apkFile = extractTelephonyUtilApk(); in getSimInfo() 95 if (apkFile == null) { in getSimInfo() 98 final String error = device.installPackage(apkFile, true); in getSimInfo() 134 FileUtil.deleteFile(apkFile); in getSimInfo()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 1263 final String apkFile = "foo.apk"; in testInstallPackages() local 1266 EasyMock.expect(mMockIDevice.syncPackageToDevice(EasyMock.contains(apkFile))).andReturn( in testInstallPackages() 1267 apkFile); in testInstallPackages() 1277 EasyMock.contains(apkFile)); in testInstallPackages() 1281 mMockIDevice.removeRemotePackage(apkFile); in testInstallPackages() 1285 assertNull(mTestDevice.installPackage(new File(apkFile), new File(certFile), true, "-l")); in testInstallPackages() 1306 final String apkFile = "foo.apk"; in testInstallPackages_timeout() local 1309 EasyMock.expect(mMockIDevice.syncPackageToDevice(EasyMock.contains(apkFile))) in testInstallPackages_timeout() 1310 .andReturn(apkFile); in testInstallPackages_timeout() 1322 EasyMock.contains(apkFile)); in testInstallPackages_timeout() [all …]
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/ |
D | PerformanceTest.java | 152 File apkFile = findApk(mApk.getFileName()); in setUp() local 158 apkFile); in setUp() 159 CLog.i("Installing %s on %s.", apkFile.getName(), mDevice.getSerialNumber()); in setUp() 160 mDevice.installPackage(apkFile, true); in setUp() 170 File apkFile = findApk(mApk.getFileName()); in run() local 176 apkFile); in run()
|
/tools/tradefederation/contrib/src/com/android/aetest/tradefed/targetprep/ |
D | AeTestManagedProfileCreator.java | 139 File apkFile = in getApk() local 147 if (apkFile == null) { in getApk() 152 return apkFile; in getApk()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/ |
D | SuiteApkInstallerTest.java | 99 File apkFile = FileUtil.createTempFile("apk-test", ".apk", tmpDir); in testGetTestsDir_notDir() local 101 File res = mPreparer.getLocalPathForFilename(mTestInfo, apkFile.getName()); in testGetTestsDir_notDir() 103 assertEquals(apkFile.getAbsolutePath(), res.getAbsolutePath()); in testGetTestsDir_notDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | AppSetupTest.java | 162 AaptParser doAaptParse(File apkFile) { in testSetup_noPackageName() 198 AaptParser doAaptParse(File apkFile) { in testSetup_checkMinSdk_failParsing() 230 AaptParser doAaptParse(File apkFile) { in testSetup_checkMinSdk_apiLow() 260 AaptParser doAaptParse(File apkFile) { in testSetup_checkMinSdk_apiOk()
|
D | TestAppInstallSetupTest.java | 512 File apkFile = Files.createFile(directoryPath.resolve("base.apk")).toFile(); in setUp_directoryContainingSingleApk_installsFile() local 520 assertThat(installs).containsExactly(ImmutableSet.of(apkFile)); in setUp_directoryContainingSingleApk_installsFile() 606 File apkFile = (File) EasyMock.getCurrentArguments()[0]; in runSetUpAndCaptureInstalls() local 607 installs.add(ImmutableSet.of(apkFile)); in runSetUpAndCaptureInstalls()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 434 TestInformation testInfo, String deviceSpecFilePath, File apkFile) in installSingleModuleUsingBundletool() argument 437 File apks = apkFile; in installSingleModuleUsingBundletool() 443 String.format("Extraction for %s failed. No apk/apex is extracted.", apkFile), in installSingleModuleUsingBundletool()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | SigningCertificateLineage.java | 171 public static SigningCertificateLineage readFromApkFile(File apkFile) in readFromApkFile() argument 173 try (RandomAccessFile f = new RandomAccessFile(apkFile, "r")) { in readFromApkFile()
|
D | ApkVerifier.java | 95 File apkFile, in ApkVerifier() argument 100 mApkFile = apkFile; in ApkVerifier()
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |