Home
last modified time | relevance | path

Searched refs:INTERACT_ACROSS_USERS_FULL (Results 1 – 25 of 45) sorted by relevance

12

/packages/services/Car/tests/UserSwitchMonitorApp/
DAndroid.bp31 // Needed to get MANAGE_USERS and INTERACT_ACROSS_USERS_FULL permissions
50 // Needed to get MANAGE_USERS and INTERACT_ACROSS_USERS_FULL permissions
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarding.kt20 import android.Manifest.permission.INTERACT_ACROSS_USERS_FULL
97 if (isPermissionGranted(INTERACT_ACROSS_USERS_FULL, packageUid) == PERMISSION_GRANTED) { in isPermissionGranted()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerRealDocumentsTest.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
127 uiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL); in testRealIndexing()
DAppsIndexerManagerServiceTest.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
126 mUiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL); in setUp()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacProxyManagerTest.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
184 runAsShell(NETWORK_SETTINGS, INTERACT_ACROSS_USERS_FULL, () -> { in testSetCurrentProxyScriptUrl()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerManagerServiceTest.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
79 mUiAutomation.adoptShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL); in setUp()
DEnterpriseContactsTest.java23 import static com.android.bedstead.permissions.CommonPermissions.INTERACT_ACROSS_USERS_FULL;
118 @EnsureHasPermission({INTERACT_ACROSS_USERS_FULL, WRITE_CONTACTS})
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DHealthConnectPermissionHelper.java19 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
440 mContext.checkCallingOrSelfPermission(INTERACT_ACROSS_USERS_FULL) in handleIncomingUser()
455 + INTERACT_ACROSS_USERS_FULL in handleIncomingUser()
/packages/modules/Media/apex/service/java/com/android/server/media/
DMediaCommunicationService.java18 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
504 INTERACT_ACROSS_USERS_FULL, pid, uid) == PackageManager.PERMISSION_GRANTED; in handleIncomingUser()
514 + callingUserId + "), or with " + INTERACT_ACROSS_USERS_FULL + " permission"); in handleIncomingUser()
548 INTERACT_ACROSS_USERS_FULL, pid, uid) == PackageManager.PERMISSION_GRANTED) in CallbackRecord()
/packages/services/Car/tests/SampleRearViewCamera/
DAndroid.bp26 // Needs for the INTERNAL_SYSTEM_WINDOW and INTERACT_ACROSS_USERS_FULL permissions (signature).
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DNotificationAccessDetails.java245 Manifest.permission.INTERACT_ACROSS_USERS_FULL, callingPackageName) in hasInteractAcrossUsersPermission()
248 + Manifest.permission.INTERACT_ACROSS_USERS_FULL); in hasInteractAcrossUsersPermission()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java316 Manifest.permission.INTERACT_ACROSS_USERS_FULL, callingPid, callingUid) in handleIncomingUser()
341 + Manifest.permission.INTERACT_ACROSS_USERS_FULL); in handleIncomingUser()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/helpers/
DPackageManagerHelperUnitTest.java103 .adoptShellPermissionIdentity(Manifest.permission.INTERACT_ACROSS_USERS_FULL); in testGetApplicationInfoForSharedLibrary()
/packages/modules/Permission/service/java/com/android/permission/util/
DUserUtils.java55 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, message); in enforceCrossUserPermission()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DDexParserUnitTest.java56 .adoptShellPermissionIdentity(Manifest.permission.INTERACT_ACROSS_USERS_FULL); in setUp()
DSdkSandboxRestrictionManagerUnitTest.java55 .adoptShellPermissionIdentity(Manifest.permission.INTERACT_ACROSS_USERS_FULL); in setUp()
DSdkSandboxServiceProviderImplUnitTest.java76 Manifest.permission.INTERACT_ACROSS_USERS_FULL, in setup()
DLoadSdkSessionUnitTest.java68 .adoptShellPermissionIdentity(Manifest.permission.INTERACT_ACROSS_USERS_FULL); in setup()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java210 when(mContext.checkPermission(eq(Manifest.permission.INTERACT_ACROSS_USERS_FULL), in setupScenario()
214 when(mContext.checkPermission(eq(Manifest.permission.INTERACT_ACROSS_USERS_FULL), in setupScenario()
/packages/services/Car/libs/car-helper-lib/src/com/android/car/internal/user/
DUserHelper.java73 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL,
/packages/modules/Permission/tests/functional/safetycenter/multiusers/src/android/safetycenter/functional/multiusers/
DSafetyCenterMultiUsersTest.kt20 import android.Manifest.permission.INTERACT_ACROSS_USERS_FULL
1623 return callWithShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL) { in getContextForUser()
1643 callWithShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL) { in SafetyCenterManager()
1652 callWithShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL) { in SafetyCenterManager()
1658 callWithShellPermissionIdentity(INTERACT_ACROSS_USERS_FULL) { in SafetyCenterManager()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java20 import static android.Manifest.permission.INTERACT_ACROSS_USERS_FULL;
841 @RequiresPermission(anyOf = {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
856 @RequiresPermission(anyOf = {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
920 @RequiresPermission(anyOf = {INTERACT_ACROSS_USERS, INTERACT_ACROSS_USERS_FULL})
/packages/modules/Scheduling/tests/src/com/android/cts/scheduling/
DRebootReadinessManagerTest.java298 Manifest.permission.INTERACT_ACROSS_USERS_FULL); in adoptShellPermissions()
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothManagerServiceTest.java103 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL);
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java837 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, null); in getBrowserRoleHolder()
878 android.Manifest.permission.INTERACT_ACROSS_USERS_FULL, null); in setBrowserRoleHolder()

12