Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/slice/
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()
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DRadioServiceUserController.java41 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in isCurrentOrSystemUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java133 final UserHandle user = Binder.getCallingUserHandle();
210 final UserHandle user = Binder.getCallingUserHandle();
217 final UserHandle user = Binder.getCallingUserHandle();
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBinder.java58 public static UserHandle getCallingUserHandle() { in getCallingUserHandle() method in ShadowBinder
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java183 Binder.getCallingUserHandle(), destAddr)) { in sendDataForSubscriber()
286 Binder.getCallingUserHandle(), destAddr)) { in sendTextForSubscriber()
373 Binder.getCallingUserHandle(), destAddr)) { in sendTextForSubscriberWithOptions()
412 Binder.getCallingUserHandle(), destAddr)) { in sendMultipartTextForSubscriber()
451 Binder.getCallingUserHandle(), destAddr)) { in sendMultipartTextForSubscriberWithOptions()
595 final UserHandle user = Binder.getCallingUserHandle(); in isSmsSimPickActivityNeeded()
996 Binder.getCallingUserHandle(), number)) { in sendVisualVoicemailSmsForSubscriber()
1234 Binder.getCallingUserHandle()) in enforceTelephonyFeatureWithException()
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java195 Binder.getCallingUserHandle().getIdentifier()));
202 Binder.getCallingUserHandle().getIdentifier());
209 Binder.getCallingUserHandle().getIdentifier());
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
DRadioServiceUserControllerTest.java56 doReturn(mUserHandleMock).when(() -> Binder.getCallingUserHandle()); in setUp()
/frameworks/base/core/java/android/app/
DStatusBarManager.java640 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable()
660 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable2()
892 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setDisabledForSetup()
918 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setExpansionDisabledForSimNetworkLock()
941 final int userId = Binder.getCallingUserHandle().getIdentifier(); in getDisableInfo()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSerialReader.java78 UserHandle user = Binder.getCallingUserHandle(); in getSerial()
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java56 mIcon = validateAccountIconUserBoundary(icon, Binder.getCallingUserHandle()); in StatusHints()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java207 return Binder.getCallingUserHandle().getIdentifier(); in binderGetCallingUserId()
1466 int callingUserId = Binder.getCallingUserHandle().getIdentifier(); in getUserForAncestralSerialNumber()
1500 Binder.getCallingUserHandle().getIdentifier(), in setAncestralSerialNumber()
1622 int userId = Binder.getCallingUserHandle().getIdentifier(); in excludeKeysFromRestore()
1637 int userId = Binder.getCallingUserHandle().getIdentifier(); in reportDelayedRestoreResult()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java197 Binder.getCallingUserHandle().getIdentifier()); in verifyCaller()
329 UserHandle userHandle = getCallingUserHandle(); in updateStatusIcon()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerService.java157 Binder.getCallingUserHandle().getIdentifier(), false, ALLOW_NON_FULL, in runForUser()
/frameworks/base/services/core/java/com/android/server/pm/local/
DPackageManagerLocalImpl.java68 return withFilteredSnapshot(Binder.getCallingUid(), Binder.getCallingUserHandle()); in withFilteredSnapshot()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java814 public UserHandle getCallingUserHandle() {
815 return Binder.getCallingUserHandle();
906 UserHandle getCallingUserHandle();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java406 @NonNull public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in SubscriptionManagerService.BinderWrapper
407 return Binder.getCallingUserHandle(); in getCallingUserHandle()
1894 return getSubscriptionInfoStreamAsUser(BINDER_WRAPPER.getCallingUserHandle()) in getAllSubInfoList()
2071 ? UserHandle.ALL : BINDER_WRAPPER.getCallingUserHandle()) in getActiveSubscriptionInfoList()
2116 ? UserHandle.ALL : BINDER_WRAPPER.getCallingUserHandle()).length; in getActiveSubInfoCount()
2229 return getSubscriptionInfoStreamAsUser(BINDER_WRAPPER.getCallingUserHandle()) in getAccessibleSubscriptionInfoList()
3053 return getDefaultSubIdAsUser(BINDER_WRAPPER.getCallingUserHandle().getIdentifier()); in getDefaultSubId()
3183 return getDefaultVoiceSubIdAsUser(BINDER_WRAPPER.getCallingUserHandle().getIdentifier()); in getDefaultVoiceSubId()
3241 return getDefaultSmsSubIdAsUser(BINDER_WRAPPER.getCallingUserHandle().getIdentifier()); in getDefaultSmsSubId()
4654 Binder.getCallingUserHandle()) in enforceTelephonyFeatureWithException()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java107 Binder.getCallingUserHandle().getIdentifier()); in registerUiTestAutomationServiceLocked()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java71 mUserId = Binder.getCallingUserHandle().getIdentifier(); in TunerSession()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java73 mUserId = Binder.getCallingUserHandle().getIdentifier(); in TunerSession()
/frameworks/opt/car/services/updatableServices/src/com/android/internal/car/updatable/
DCarServiceHelperServiceUpdatableImpl.java418 Binder.getCallingUserHandle().getIdentifier()); in requiresDisplayCompat()
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DVirtualDeviceManagerService.java448 final UserHandle userHandle = getCallingUserHandle(); in createVirtualDevice()
647 final UserHandle userHandle = getCallingUserHandle(); in getAssociationInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java271 return context.binder.getCallingUserHandle(); in binderGetCallingUserHandle()
DDpmMockContext.java141 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in DpmMockContext.MockBinder
/frameworks/base/services/contextualsearch/java/com/android/server/contextualsearch/
DContextualSearchManagerService.java449 final int callingUserId = Binder.getCallingUserHandle().getIdentifier(); in startContextualSearch()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java345 Binder.getCallingUserHandle()) in sendMessage()

123