Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java143 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices()
164 int user = Binder.getCallingUserHandle().getIdentifier(); in pinSlice()
182 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in unpinSlice()
191 return hasFullSliceAccess(pkg, Binder.getCallingUserHandle().getIdentifier()); in hasSliceAccess()
198 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in getPinnedSpecs()
205 int user = Binder.getCallingUserHandle().getIdentifier(); in grantSlicePermission()
213 int user = Binder.getCallingUserHandle().getIdentifier(); in revokeSlicePermission()
262 int userId = Binder.getCallingUserHandle().getIdentifier(); in grantPermissionFromUser()
407 int user = Binder.getCallingUserHandle().getIdentifier(); in enforceCrossUser()
418 Binder.getCallingUserHandle().getIdentifier()); in enforceAccess()
/frameworks/base/core/java/android/app/
DStatusBarManager.java234 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable()
254 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable2()
379 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setDisabledForSetup()
405 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setDisabledForSimNetworkLock()
429 final int userId = Binder.getCallingUserHandle().getIdentifier(); in getDisableInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java123 final UserHandle user = Binder.getCallingUserHandle();
197 final UserHandle user = Binder.getCallingUserHandle();
204 final UserHandle user = Binder.getCallingUserHandle();
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java255 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in CrossProfileAppsServiceImpl.InjectorImpl
256 return Binder.getCallingUserHandle(); in getCallingUserHandle()
300 UserHandle getCallingUserHandle(); in getCallingUserHandle() method
DLauncherAppsService.java191 Log.d(TAG, "Adding listener from " + Binder.getCallingUserHandle()); in addOnAppsChangedListener()
213 Log.d(TAG, "Removing listener from " + Binder.getCallingUserHandle()); in removeOnAppsChangedListener()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBinder.java58 public static UserHandle getCallingUserHandle() { in getCallingUserHandle() method in ShadowBinder
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java150 Binder.getCallingUserHandle().getIdentifier()); in verifyCaller()
256 UserHandle userHandle = getCallingUserHandle(); in updateStatusIcon()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java149 if (Binder.getCallingUserHandle().getIdentifier() != userId) { in enforceCallingPermissionOnUserId()
487 Binder.getCallingUserHandle().getIdentifier(), in setAncestralSerialNumber()
504 int callingUserId = Binder.getCallingUserHandle().getIdentifier(); in getUserForAncestralSerialNumber()
DTrampoline.java130 return Binder.getCallingUserHandle().getIdentifier(); in binderGetCallingUserId()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java276 return context.binder.getCallingUserHandle(); in binderGetCallingUserHandle()
DDpmMockContext.java138 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in DpmMockContext.MockBinder
DDevicePolicyManagerTest.java4830 final UserHandle callerUser = callerContext.binder.getCallingUserHandle(); in verifyCanGetOwnerInstalledCaCerts()
4900 final UserHandle callerUser = callerContext.binder.getCallingUserHandle(); in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java539 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/core/java/android/os/
DBinder.java311 public static final @NonNull UserHandle getCallingUserHandle() { in getCallingUserHandle() method in Binder
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java285 final UserHandle callingUser = Binder.getCallingUserHandle(); in createProjection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java358 final int callerId = Binder.getCallingUserHandle().getIdentifier();
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3719 pkg, getCallingUserHandle().getIdentifier());
3772 Binder.getCallingUserHandle(),
3834 pkg, getCallingUserHandle().getIdentifier(), granted);
3930 return mListeners.getAllowedPackages(getCallingUserHandle().getIdentifier());
3952 return getAllowedNotificationAssistantForUser(getCallingUserHandle().getIdentifier());
3960 getCallingUserHandle().getIdentifier());
3977 getCallingUserHandle().getIdentifier());
3984 listener, getCallingUserHandle().getIdentifier(), granted);
3991 assistant, getCallingUserHandle().getIdentifier(), granted);
5560 pkg, Binder.getCallingUserHandle().getIdentifier());
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java776 Binder.getCallingUserHandle()); in isPrintingEnabled()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java444 detectionService, Binder.getCallingUserHandle(), config); in startRecognitionForService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java1761 final int userId = Binder.getCallingUserHandle().getIdentifier();
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java1465 Binder.getCallingUserHandle()); in isMountDisallowed()
1473 Binder.getCallingUserHandle()); in isMountDisallowed()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2223 int userId = Binder.getCallingUserHandle().getIdentifier(); in removeAccountExplicitly()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java5778 Binder.getCallingPid(), Binder.getCallingUserHandle()); in createInputConsumer()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2045 return Binder.getCallingUserHandle(); in binderGetCallingUserHandle()
/frameworks/base/config/
Dboot-image-profile.txt11216 HSPLandroid/os/Binder;->getCallingUserHandle()Landroid/os/UserHandle;

12