Home
last modified time | relevance | path

Searched refs:installApp (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedStoragePermissionTest.java84 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 …]
DRestrictedPermissionsTest.java197 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/
DRemovePermissionTest.java129 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 …]
DPermissionGroupChange.java144 private void installApp(String apk) { in installApp() method in PermissionGroupChange
170 installApp("CtsAppThatRequestsPermissionAandB"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
179 installApp("CtsAppThatRequestsPermissionAandC"); in permissionGroupShouldNotBeAutoGrantedIfNewMember()
DPermissionUpdateListenerTest.java58 public static void installApp() throws PackageManager.NameNotFoundException { in installApp() method in PermissionUpdateListenerTest
DRevokePermissionTest.kt40 fun installApp() { in installApp() method in android.permission.cts.RevokePermissionTest
DOneTimePermissionTest.java87 public void installApp() { in installApp() method in OneTimePermissionTest
DPermissionControllerTest.java107 public static void installApp() { in installApp() method in PermissionControllerTest
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleDeveloperOptionHostTest.java74 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/
DPreserveLegacyStorageHostTest.java42 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/
DInstantAppUserTest.java181 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
DEphemeralTest.java297 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()
DRoleSecurityTest.java57 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/
DTestUsbTest.java74 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/
DPermissionTest30WithBluetooth.kt62 fun installApp() { in installApp() method in android.permission3.cts.PermissionTest30WithBluetooth
122 installApp() in testRevokedCompatPersistsOnReinstall()
DPermissionUsageInfoTest.kt38 fun installApp() { in installApp() method in android.permission3.cts.PermissionUsageInfoTest
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DBypassDatabaseOperationsTest.java28 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/
DWifiLocationInfoTest.java104 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/
DRoleShellCommandTest.kt64 fun installApp() { in installApp() method
DRoleControllerManagerTest.kt57 fun installApp() { in installApp() method in android.app.role.cts.RoleControllerManagerTest
DRoleManagerTest.java158 public void installApp() throws Exception { in installApp() method in RoleManagerTest
/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java97 protected void installApp(String appFileName) in installApp() method in BaseMediaHostSideTest
DMediaExtractorHostSideTest.java53 installApp(DEVICE_SIDE_TEST_APK); in setUp()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java559 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/
DAutoRevokeTest.kt362 private fun installApp() { in <lambda>() method

12