/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedStoragePermissionTest.java | 84 installApp(APK_USES_STORAGE_DEFAULT_22, null /*whitelistedPermissions*/); in testTargetingSdk22DefaultWhitelistedHasFullAccess() 94 installApp(APK_USES_STORAGE_OPT_IN_22, null /*whitelistedPermissions*/); in testTargetingSdk22OptInWhitelistedHasIsolatedAccess() 104 installApp(APK_USES_STORAGE_DEFAULT_28, null /*whitelistedPermissions*/); in testTargetingSdk28DefaultWhitelistedHasFullAccess() 114 installApp(APK_USES_STORAGE_OPT_IN_28, null /*whitelistedPermissions*/); in testTargetingSdk28OptInWhitelistedHasIsolatedAccess() 124 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet()); in testTargetingSdk29DefaultWhitelistedHasIsolatedAccess() 134 installApp(APK_USES_STORAGE_DEFAULT_29, null /*whitelistedPermissions*/); in testTargetingSdk29DefaultNotWhitelistedHasIsolatedAccess() 144 installApp(APK_USES_STORAGE_OPT_OUT_29, null /*whitelistedPermissions*/); in testTargetingSdk29OptOutWhitelistedHasFullAccess() 154 installApp(APK_USES_STORAGE_OPT_OUT_29, Collections.emptySet()); in testTargetingSdk29OptOutNotWhitelistedHasIsolatedAccess() 163 installApp(APK_USES_STORAGE_DEFAULT_29, null); in testTargetingSdk29CanOptOutViaUpdate() 164 installApp(APK_USES_STORAGE_OPT_OUT_29, null); in testTargetingSdk29CanOptOutViaUpdate() [all …]
|
D | RestrictedPermissionsTest.java | 197 installApp(APK_USES_SMS_CALL_LOG_22, whitelistedPermissions, null /*grantedPermissions*/); in testSomeRestrictedPermissionsWhitelistedAtInstall22() 207 installApp(APK_USES_SMS_CALL_LOG_22, Collections.emptySet(), in testNoneRestrictedPermissionWhitelistedAtInstall22() 217 installApp(APK_USES_LOCATION_29, null, new ArraySet<>(Arrays.asList(ACCESS_FINE_LOCATION, in testLocationBackgroundPermissionWhitelistedAtInstall29() 225 installApp(APK_USES_LOCATION_29, Collections.emptySet(), in testLocationBackgroundPermissionNotWhitelistedAtInstall29() 233 installApp(APK_USES_LOCATION_22, null, new ArraySet<>(Arrays.asList(ACCESS_FINE_LOCATION, in testLocationBackgroundPermissionWhitelistedAtInstall22() 241 installApp(APK_USES_LOCATION_22, Collections.emptySet(), in testLocationBackgroundPermissionNotWhitelistedAtInstall22() 273 installApp(APK_USES_STORAGE_DEFAULT_29, Collections.emptySet(), grantedPermissions); in testCanGrantSoftRestrictedNotWhitelistedPermissions() 612 installApp(APK_USES_SMS_CALL_LOG_29, whitelistedPermissions, grantedPermissions); in installRestrictedPermissionUserApp() 621 private void installApp(@NonNull String app, @Nullable Set<String> whitelistedPermissions) in installApp() method in RestrictedPermissionsTest 623 installApp(app, whitelistedPermissions, null /*grantedPermissions*/); in installApp() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | RemovePermissionTest.java | 129 private void installApp(String apk) throws InterruptedException { in installApp() method in RemovePermissionTest 156 installApp(ADVERSARIAL_PERMISSION_DEFINER_APK_NAME); in runtimePermissionShouldBeRevokedIfRemoved() 157 installApp(ADVERSARIAL_PERMISSION_USER_APK_NAME); in runtimePermissionShouldBeRevokedIfRemoved() 165 installApp(VICTIM_PERMISSION_DEFINER_APK_NAME); in runtimePermissionShouldBeRevokedIfRemoved() 171 installApp(RUNTIME_PERMISSION_DEFINER_APK_NAME); in runtimePermissionShouldRemainGrantedAfterAppUpdate() 172 installApp(RUNTIME_PERMISSION_USER_APK_NAME); in runtimePermissionShouldRemainGrantedAfterAppUpdate() 179 installApp(RUNTIME_PERMISSION_DEFINER_APK_NAME); in runtimePermissionShouldRemainGrantedAfterAppUpdate() 185 installApp(ADVERSARIAL_PERMISSION_USER_APK_NAME); in runtimePermissionDependencyTest() 194 installApp(ADVERSARIAL_PERMISSION_DEFINER_APK_NAME); in runtimePermissionDependencyTest() 205 installApp(INSTALL_PERMISSION_DEFINER_APK_NAME); in installPermissionShouldBeRevokedIfRemoved() [all …]
|
D | PermissionGroupChange.java | 144 private void installApp(String apk) { in installApp() method in PermissionGroupChange 170 installApp("CtsAppThatRequestsPermissionAandB"); in permissionGroupShouldNotBeAutoGrantedIfNewMember() 179 installApp("CtsAppThatRequestsPermissionAandC"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
|
D | PermissionUpdateListenerTest.java | 58 public static void installApp() throws PackageManager.NameNotFoundException { in installApp() method in PermissionUpdateListenerTest
|
D | RevokePermissionTest.kt | 40 fun installApp() { in installApp() method in android.permission.cts.RevokePermissionTest
|
D | OneTimePermissionTest.java | 87 public void installApp() { in installApp() method in OneTimePermissionTest
|
D | PermissionControllerTest.java | 107 public static void installApp() { in installApp() method in PermissionControllerTest
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 74 private void installApp(String appName) throws Exception { in installApp() method in CtsAngleDeveloperOptionHostTest 106 installApp(ANGLE_DRIVER_TEST_APP); in testEnableAngleForAll() 107 installApp(ANGLE_DRIVER_TEST_SEC_APP); in testEnableAngleForAll() 132 installApp(ANGLE_DRIVER_TEST_APP); in testUseDefaultDriver() 150 installApp(ANGLE_DRIVER_TEST_APP); in testUseAngleDriver() 168 installApp(ANGLE_DRIVER_TEST_APP); in testUseNativeDriver() 186 installApp(ANGLE_DRIVER_TEST_APP); in testSettingsLengthMismatch() 187 installApp(ANGLE_DRIVER_TEST_SEC_APP); in testSettingsLengthMismatch() 210 installApp(ANGLE_DRIVER_TEST_APP); in testUseInvalidDriver() 227 installApp(ANGLE_DRIVER_TEST_APP); in testUpdateDriverValues() [all …]
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | PreserveLegacyStorageHostTest.java | 42 protected void installApp(String appFileName) throws Exception { in installApp() method in PreserveLegacyStorageHostTest 61 installApp(LEGACY_29_APK); in testPreserveLegacy() 67 installApp(PRESERVE_30_APK); in testPreserveLegacy()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | InstantAppUserTest.java | 181 installApp(USER_APK); in testInstallFull() 226 installApp(NORMAL_APK); in installTestPackages() 227 installApp(IMPLICIT_APK); in installTestPackages() 229 installApp(USER_TEST_APK); in installTestPackages() 246 private void installApp(String apk) throws Exception { in installApp() method in InstantAppUserTest
|
D | EphemeralTest.java | 297 installApp(NORMAL_APK, "com.android.cts.normalapp"); in testEphemeralGetInstaller02() 307 installApp(NORMAL_APK, "com.android.cts.normalapp"); in testEphemeralGetInstaller03() 598 private void installApp(String apk) throws Exception { in installApp() method in EphemeralTest 604 private void installApp(String apk, String installer) throws Exception { in installApp() method in EphemeralTest 632 installApp(NORMAL_APK); in installTestPackages() 633 installApp(UNEXPOSED_APK); in installTestPackages() 634 installApp(IMPLICIT_APK); in installTestPackages()
|
D | RoleSecurityTest.java | 57 installApp(ROLE_SECURITY_TEST_APP_APK); in cannotGetSmsRoleHolderForAnotherUser() 70 private void installApp(String fileName) throws Exception { in installApp() method in RoleSecurityTest
|
/cts/hostsidetests/usb/src/com/android/cts/usb/ |
D | TestUsbTest.java | 74 private void installApp(boolean installAsInstantApp) in installApp() method in TestUsbTest 123 installApp(true); in testInstantAppsCannotReadSerial() 134 installApp(false); in testUsbSerialReadOnDeviceMatches()
|
/cts/tests/tests/permission3/src/android/permission3/cts/ |
D | PermissionTest30WithBluetooth.kt | 62 fun installApp() { in installApp() method in android.permission3.cts.PermissionTest30WithBluetooth 122 installApp() in testRevokedCompatPersistsOnReinstall()
|
D | PermissionUsageInfoTest.kt | 38 fun installApp() { in installApp() method in android.permission3.cts.PermissionUsageInfoTest
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | BypassDatabaseOperationsTest.java | 28 import static android.scopedstorage.cts.lib.TestUtils.installApp; 157 installApp(APP_FM_BYPASS_DATABASE_OPS); in testManageExternalStorage_WithBypassFlag_BypassesDatabase() 175 installApp(APP_FM_TARGETS_30); in testManageExternalStorage_targets30_BypassesDatabase()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiLocationInfoTest.java | 104 installApp(WIFI_LOCATION_TEST_APP_APK_PATH); in setUp() 168 private void installApp(String apk) throws InterruptedException { in installApp() method in WifiLocationInfoTest
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleShellCommandTest.kt | 64 fun installApp() { in installApp() method
|
D | RoleControllerManagerTest.kt | 57 fun installApp() { in installApp() method in android.app.role.cts.RoleControllerManagerTest
|
D | RoleManagerTest.java | 158 public void installApp() throws Exception { in installApp() method in RoleManagerTest
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMediaHostSideTest.java | 97 protected void installApp(String appFileName) in installApp() method in BaseMediaHostSideTest
|
D | MediaExtractorHostSideTest.java | 53 installApp(DEVICE_SIDE_TEST_APK); in setUp()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 559 public static void installApp(TestApp testApp) throws Exception { in installApp() method in TestUtils 560 installApp(testApp, /* grantStoragePermission */ false); in installApp() 567 installApp(testApp, /* grantStoragePermission */ true); in installAppWithStoragePermissions() 573 public static void installApp(TestApp testApp, boolean grantStoragePermission) in installApp() method in TestUtils
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AutoRevokeTest.kt | 362 private fun installApp() { in <lambda>() method
|