Home
last modified time | relevance | path

Searched refs:APP2 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionControllerTest.java88 private static final String APP2 = "android.permission.cts.appthatrequestcustompermission"; field in PermissionControllerTest
117 runShellCommand("pm uninstall " + APP2); in uninstallApp()
408 sUiAutomation.grantRuntimePermission(APP2, CUSTOM_PERMISSION); in getAppPermissionsForCustomApp()
409 PermissionUtils.grantPermission(APP2, BODY_SENSORS); in getAppPermissionsForCustomApp()
410 PermissionUtils.grantPermission(APP2, READ_CONTACTS); in getAppPermissionsForCustomApp()
411 PermissionUtils.grantPermission(APP2, WRITE_CALENDAR); in getAppPermissionsForCustomApp()
417 sController.getAppPermissions(APP2, futurePermissionInfos::complete, null); in getAppPermissionsForCustomApp()
418 runtimePermissions = PermissionUtils.getRuntimePermissions(APP2); in getAppPermissionsForCustomApp()
427 assertRuntimePermissionLabelsAreValid(runtimePermissions, permissionInfos, 4, APP2); in getAppPermissionsForCustomApp()
432 grantPermission(APP2, READ_CALENDAR); in revokePermissionAutomaticallyExtendsToWholeGroup()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/storage/
DStorageAppListTest.kt65 AppRecordWithSize(APP2, 1L), in <lambda>()
84 AppRecordWithSize(APP2, 1L), in <lambda>()
104 AppRecordWithSize(app = APP2, size = 3L), in getComparator_sortsByDescendingSize()
117 assertThat(result[0].record.app).isSameInstanceAs(APP2) in getComparator_sortsByDescendingSize()
131 val APP2 = ApplicationInfo().apply { in <lambda>() constant
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/applications/specialaccess/
DDataSaverControllerTest.kt87 ).thenReturn(intArrayOf(APP1.uid, APP2.uid)) in <lambda>()
111 val APP2 = ApplicationInfo().apply { uid = 10002 } in <lambda>() constant
129 listOf(APP1, APP2, APP3)