Home
last modified time | relevance | path

Searched refs:getCallingUserHandle (Results 1 – 25 of 50) sorted by relevance

12

/aosp14/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceManagerService.java147 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices()
168 int user = Binder.getCallingUserHandle().getIdentifier(); in pinSlice()
186 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in unpinSlice()
200 return hasFullSliceAccess(pkg, Binder.getCallingUserHandle().getIdentifier()); in hasSliceAccess()
207 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in getPinnedSpecs()
214 int user = Binder.getCallingUserHandle().getIdentifier(); in grantSlicePermission()
222 int user = Binder.getCallingUserHandle().getIdentifier(); in revokeSlicePermission()
274 int userId = Binder.getCallingUserHandle().getIdentifier(); in grantPermissionFromUser()
420 int user = Binder.getCallingUserHandle().getIdentifier(); in enforceCrossUser()
431 Binder.getCallingUserHandle().getIdentifier()); in enforceAccess()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java128 final UserHandle user = Binder.getCallingUserHandle();
217 final UserHandle user = Binder.getCallingUserHandle();
224 final UserHandle user = Binder.getCallingUserHandle();
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DRadioServiceUserController.java41 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in isCurrentOrSystemUser()
/aosp14/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBinder.java58 public static UserHandle getCallingUserHandle() { in getCallingUserHandle() method in ShadowBinder
/aosp14/frameworks/base/services/people/java/com/android/server/people/
H A DPeopleService.java182 Binder.getCallingUserHandle().getIdentifier()));
189 Binder.getCallingUserHandle().getIdentifier());
196 Binder.getCallingUserHandle().getIdentifier());
/aosp14/frameworks/base/core/java/android/app/
H A DStatusBarManager.java623 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable()
643 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable2()
875 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setDisabledForSetup()
901 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setExpansionDisabledForSimNetworkLock()
924 final int userId = Binder.getCallingUserHandle().getIdentifier(); in getDisableInfo()
H A DUiAutomationConnection.java119 Binder.getCallingUserHandle().getIdentifier(), flags); in connect()
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
H A DRadioServiceUserControllerTest.java56 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in setUp()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java207 return Binder.getCallingUserHandle().getIdentifier(); in binderGetCallingUserId()
1466 int callingUserId = Binder.getCallingUserHandle().getIdentifier(); in getUserForAncestralSerialNumber()
1500 Binder.getCallingUserHandle().getIdentifier(), in setAncestralSerialNumber()
1596 int userId = Binder.getCallingUserHandle().getIdentifier(); in excludeKeysFromRestore()
1611 int userId = Binder.getCallingUserHandle().getIdentifier(); in reportDelayedRestoreResult()
1664 if (Binder.getCallingUserHandle().getIdentifier() != userId) { in enforceCallingPermissionOnUserId()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSerialReader.java78 UserHandle user = Binder.getCallingUserHandle(); in getSerial()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DStatusHints.java56 mIcon = validateAccountIconUserBoundary(icon, Binder.getCallingUserHandle()); in StatusHints()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServices.java191 Binder.getCallingUserHandle().getIdentifier()); in verifyCaller()
318 UserHandle userHandle = getCallingUserHandle(); in updateStatusIcon()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/local/
H A DPackageManagerLocalImpl.java64 return withFilteredSnapshot(Binder.getCallingUid(), Binder.getCallingUserHandle()); in withFilteredSnapshot()
/aosp14/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
H A DWallpaperEffectsGenerationManagerService.java157 Binder.getCallingUserHandle().getIdentifier(), false, ALLOW_NON_FULL, in runForUser()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileAppsServiceImpl.java808 public UserHandle getCallingUserHandle() {
809 return Binder.getCallingUserHandle();
900 UserHandle getCallingUserHandle();
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DUiAutomationManager.java100 accessibilityServiceInfo.getId(), Binder.getCallingUserHandle().getIdentifier()); in registerUiTestAutomationServiceLocked()
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/virtual/
H A DVirtualDeviceManagerService.java338 final UserHandle userHandle = getCallingUserHandle(); in createVirtualDevice()
472 final UserHandle userHandle = getCallingUserHandle(); in getAssociationInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A DTunerSession.java69 mUserId = Binder.getCallingUserHandle().getIdentifier(); in TunerSession()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerSession.java73 mUserId = Binder.getCallingUserHandle().getIdentifier(); in TunerSession()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceTestable.java283 return context.binder.getCallingUserHandle(); in binderGetCallingUserHandle()
H A DDpmMockContext.java141 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in DpmMockContext.MockBinder
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
H A DTunerSessionHidlTest.java117 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in setup()
403 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in tune_forSystemUser()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java345 Binder.getCallingUserHandle())) { in sendMessage()
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
H A DTunerSessionTest.java145 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in setup()
437 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in tune_forSystemUser()
/aosp14/frameworks/base/core/java/android/os/
H A DBinder.java387 public static final @NonNull UserHandle getCallingUserHandle() { in getCallingUserHandle() method in Binder

12