/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2021_0478.java | 37 String apkName = "CVE-2021-0478.apk"; in testPocCVE_2021_0478() local 38 String appPath = AdbUtils.TMP_PATH + apkName; in testPocCVE_2021_0478() 46 pocPusher.pushFile(apkName, appPath); in testPocCVE_2021_0478()
|
D | CVE_2021_0523.java | 51 String apkName = "CVE-2021-0523.apk"; in testPocCVE_2021_0523() local 52 String appPath = AdbUtils.TMP_PATH + apkName; in testPocCVE_2021_0523() 62 pocPusher.pushFile(apkName, appPath); in testPocCVE_2021_0523()
|
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/ |
D | CtsExtractNativeLibsHostTestBase.java | 98 final void installPackage(boolean isIncremental, String apkName) throws Exception { in installPackage() argument 99 installPackage(isIncremental, apkName, ""); in installPackage() 102 final void installPackage(boolean isIncremental, String apkName, String abi) throws Exception { in installPackage() argument 104 installPackageIncremental(apkName, abi); in installPackage() 106 installPackageLegacy(apkName, abi); in installPackage() 229 private void installPackageIncremental(String apkName, String abi) throws Exception { in installPackageIncremental() argument 231 final File apk = buildHelper.getTestFile(apkName); in installPackageIncremental() 233 final File v4Signature = buildHelper.getTestFile(apkName + IDSIG_SUFFIX); in installPackageIncremental()
|
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/ |
D | ApkPackageNameCheck.java | 129 String apkName = apk.getName(); in testApkPackageNames() local 130 File apkFile = new File(testcases, apkName); in testApkPackageNames() 138 String put = packageNames.put(packageName, apkName); in testApkPackageNames() 141 if (put != null && !apkName.equals(put) && !EXCEPTION_LIST.contains(packageName)) { in testApkPackageNames() 144 config.getName(), packageName, apkName, put)); in testApkPackageNames()
|
/cts/hostsidetests/packagemanager/domainverification/host/src/com/android/cts/packagemanager/verify/domain/host/ |
D | DomainVerificationHostUtils.kt | 29 apkName: DomainUtils.ApkName, in <lambda>() 33 copyResourceToHostFile(apkName.value, tempFolder.newFile()), in <lambda>()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PkgInstallSignatureVerificationTest.java | 1438 private void assertInstallV4FromBuildSucceeds(String apkName) throws Exception { in assertInstallV4FromBuildSucceeds() argument 1439 String installResult = installV4PackageFromBuild(apkName); in assertInstallV4FromBuildSucceeds() 1441 fail("Failed to install " + apkName + ": " + installResult); in assertInstallV4FromBuildSucceeds() 1517 private void assertInstallFromBuildSucceeds(String apkName) throws Exception { in assertInstallFromBuildSucceeds() argument 1518 String result = installApkFromBuild(apkName); in assertInstallFromBuildSucceeds() 1519 assertNull("failed to install " + apkName + ", Reason: " + result, result); in assertInstallFromBuildSucceeds() 1522 private void assertInstallFromBuildFails(String apkName) throws Exception { in assertInstallFromBuildFails() argument 1523 String result = installApkFromBuild(apkName); in assertInstallFromBuildFails() 1524 assertNotNull("Successfully installed " + apkName + " when failure was expected", result); in assertInstallFromBuildFails() 1527 private String installApkFromBuild(String apkName) throws Exception { in installApkFromBuild() argument [all …]
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerHostSideTransferTest.java | 149 protected int setupManagedProfileOnDeviceOwner(String apkName, String adminReceiverClassName) in setupManagedProfileOnDeviceOwner() argument 151 return setupManagedProfile(apkName, adminReceiverClassName); in setupManagedProfileOnDeviceOwner() 154 protected int setupManagedProfile(String apkName, String adminReceiverClassName) in setupManagedProfile() argument 157 installAppAsUser(apkName, userId); in setupManagedProfile()
|
D | QuietModeHostsideTest.java | 244 private void installCrossProfileApp(String apkName, boolean grantPermissions) in installCrossProfileApp() argument 246 installAppAsUser(apkName, grantPermissions, mPrimaryUserId); in installCrossProfileApp() 247 installAppAsUser(apkName, grantPermissions, mProfileId); in installCrossProfileApp()
|
D | DeviceOwnerPlusProfileOwnerTest.java | 363 private int setupManagedProfile(String apkName, String packageName, in setupManagedProfile() argument 366 installAppAsUser(apkName, userId); in setupManagedProfile()
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | Utils.java | 42 public static String pushApkToRemote(String apkName, String remoteDirPath, IBuildInfo ctsBuild, in pushApkToRemote() argument 45 final File apk = buildHelper.getTestFile(apkName); in pushApkToRemote() 46 final File signature = buildHelper.getTestFile(apkName + SIGNATURE_FILE_SUFFIX); in pushApkToRemote()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppProvider.java | 144 private String getApkNameWithoutSuffix(String apkName) { in getApkNameWithoutSuffix() argument 145 return apkName.split("\\.", 2)[0]; in getApkNameWithoutSuffix()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | DeviceUtils.java | 139 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp() argument 141 CLog.d("Installing app " + apkName); in installTestApp() 144 buildHelper.getTestFile(apkName), /*reinstall=*/true, /*grantPermissions=*/true); in installTestApp() 145 assertWithMessage("Failed to install " + apkName + ": " + result).that(result).isNull(); in installTestApp()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestCaseReport.java | 206 for (String apkName : apkList) { in parseApkTestCase() 208 String apkPath = Paths.get(tsPath, apkName).toString(); in parseApkTestCase() 217 tsPkgBuilder.setName(apkName); in parseApkTestCase() 232 tClassBuilder.setApk(apkName); in parseApkTestCase() 255 tClassBuilder.setApk(apkName); in parseApkTestCase() 272 tClassBuilder.setApk(apkName); in parseApkTestCase()
|
/cts/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/ |
D | LoadingProgressTest.java | 106 for (String apkName : new File(apkDir).list()) { in testReadAllBytes() 107 final String apkPath = apkDir + "/" + apkName; in testReadAllBytes()
|
/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/ |
D | SignedConfigHostTest.java | 140 private void installPackage(String apkName, String... extraArgs) in installPackage() argument 142 assertThat(getDevice().installPackage(getTestApk(apkName), false, extraArgs)).isNull(); in installPackage()
|
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/ |
D | IncrementalInstallTest.java | 399 private boolean checkNativeLibInApkCompression(String apkName, String nativeLibName, in checkNativeLibInApkCompression() argument 403 File apk = new File(getFilePathFromBuildInfo(apkName)); in checkNativeLibInApkCompression()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ChecksumsTest.java | 1155 private void installApkWithChecksums(String apkName, String checksumsName, Checksum[] checksums) in installApkWithChecksums() argument 1158 installApkWithChecksums(TEST_FIXED_APK, apkName, checksumsName, checksums)); in installApkWithChecksums() 1161 private Intent installApkWithChecksums(String apk, String apkName, in installApkWithChecksums() argument 1163 return installApkWithChecksums(apk, apkName, checksumsName, checksums, NO_SIGNATURE); in installApkWithChecksums() 1166 private Intent installApkWithChecksums(String apk, String apkName, in installApkWithChecksums() argument 1175 writeFileToSession(session, apkName, apk); in installApkWithChecksums()
|
D | PackageManagerTest.java | 337 final String apkName = mContext.getPackageName(); in testGetInfo() local 338 assertEquals(apkName, mPackageManager.getPackageArchiveInfo(apkRoute, 0).packageName); in testGetInfo() 667 final String apkName = mContext.getPackageName(); in testGetPackageArchiveInfo() local 674 apkName, pkgInfo.packageName); in testGetPackageArchiveInfo()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1152 for (String apkName : new File(apkDir).list()) { in testLoadingApks() 1153 final String apkPath = apkDir + "/" + apkName; in testLoadingApks()
|