Home
last modified time | relevance | path

Searched refs:INTERACT_ACROSS_USERS (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/user/
DCarUserManagerPermissionTest.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
97 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS); in testAddListenerPermission()
110 assertThat(e.getMessage()).contains(INTERACT_ACROSS_USERS); in testRemoveListenerPermission()
/packages/services/Car/car-lib/api/
Dtest-current.txt55 …method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manif…
57 …method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manif…
Dsystem-current.txt1138 …method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manif…
1139 …method @RequiresPermission(anyOf={android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manif…
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
346 @RequiresPermission(anyOf = {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
392 @RequiresPermission(anyOf = {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPermissionsTest.java44 context.checkSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS)); in testPermissionGranted_interactAcrossUsersOnR()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DUserIdManager.java217 && context.checkSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS) in isDeviceSupported()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DUserIdManagerTest.java145 when(mockContext.checkSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS)) in testGetUserIds_deviceWithoutPermission()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/
DAutoRevokePermissions.kt517 Manifest.permission.INTERACT_ACROSS_USERS, pkg) == PERMISSION_GRANTED || in Context()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1814 checkAtLeastOnePermission(message, android.Manifest.permission.INTERACT_ACROSS_USERS, in checkInteractAcrossUsersPermission()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS;
5433 || context.checkCallingPermission(INTERACT_ACROSS_USERS) == PERMISSION_GRANTED; in doesCallerHoldInteractAcrossUserPermission()
6112 INTERACT_ACROSS_USERS); in queryLocal() local
6861 INTERACT_ACROSS_USERS); in queryLocal() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java1514 mockManageUsersPermission(android.Manifest.permission.INTERACT_ACROSS_USERS, false); in testGetInitialUser_invalidPermission()