/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | TelecomServiceImpl.java | 175 UserHandle callingUserHandle = Binder.getCallingUserHandle(); 333 callingPackage, Binder.getCallingUserHandle())) { 961 Binder.getCallingUserHandle())) { 1081 UserHandle userHandle = Binder.getCallingUserHandle(); 1130 UserHandle callingUserHandle = Binder.getCallingUserHandle(); 1172 Binder.getCallingUserHandle())) { 1259 Binder.getCallingUserHandle()); 1321 Binder.getCallingUserHandle()); 1363 Binder.getCallingUserHandle()); 1420 Binder.getCallingUserHandle()); [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/slice/ |
H A D | SliceManagerService.java | 148 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices() 169 int user = Binder.getCallingUserHandle().getIdentifier(); in pinSlice() 187 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in unpinSlice() 201 return hasFullSliceAccess(pkg, Binder.getCallingUserHandle().getIdentifier()); in hasSliceAccess() 208 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in getPinnedSpecs() 215 int user = Binder.getCallingUserHandle().getIdentifier(); in grantSlicePermission() 223 int user = Binder.getCallingUserHandle().getIdentifier(); in revokeSlicePermission() 269 int userId = Binder.getCallingUserHandle().getIdentifier(); in grantPermissionFromUser() 414 int user = Binder.getCallingUserHandle().getIdentifier(); in enforceCrossUser() 425 Binder.getCallingUserHandle().getIdentifier()); in enforceAccess()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | StatusBarManager.java | 242 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable() 262 final int userId = Binder.getCallingUserHandle().getIdentifier(); in disable2() 471 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setDisabledForSetup() 497 final int userId = Binder.getCallingUserHandle().getIdentifier(); in setExpansionDisabledForSimNetworkLock() 520 final int userId = Binder.getCallingUserHandle().getIdentifier(); in getDisableInfo()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | RingtonePlayer.java | 127 final UserHandle user = Binder.getCallingUserHandle(); 203 final UserHandle user = Binder.getCallingUserHandle(); 210 final UserHandle user = Binder.getCallingUserHandle();
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | TelecomServiceImplTest.java | 189 Binder.getCallingUserHandle()); 192 Binder.getCallingUserHandle()); 498 packageNameToUse, "cs"), "test", Binder.getCallingUserHandle()); in testRegisterPhoneAccount() 513 packageNameToUse, "cs"), "asdf", Binder.getCallingUserHandle()); in testRegisterPhoneAccountWithoutModifyPermission() 531 packageNameToUse, "cs"), "asdf", Binder.getCallingUserHandle()); in testRegisterPhoneAccountWithoutModifyPermissionFailure() 548 packageNameToUse, "cs"), "asdf", Binder.getCallingUserHandle()); in testRegisterPhoneAccountWithoutSimSubscriptionPermissionFailure() 568 packageNameToUse, "cs"), "asdf", Binder.getCallingUserHandle()); in testRegisterPhoneAccountWithoutMultiUserPermissionFailure() 606 packageNameToUse, "cs"), "test", Binder.getCallingUserHandle()); in testUnregisterPhoneAccount() 904 Binder.getCallingUserHandle())).thenReturn(null); in testIsVoicemailNumberAccountNotVisibleFailure() 913 eq(Binder.getCallingUserHandle()))) in testGetVoicemailNumberWithNullAccountHandle() [all …]
|
H A D | CreateConnectionProcessorTest.java | 679 eq(Binder.getCallingUserHandle()))).thenReturn(wrapper); in makeConnectionServiceWrapper() 685 Binder.getCallingUserHandle()); in makeQuickAccountHandle()
|
/aosp12/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
H A D | ShadowBinder.java | 58 public static UserHandle getCallingUserHandle() { in getCallingUserHandle() method in ShadowBinder
|
/aosp12/frameworks/base/services/people/java/com/android/server/people/ |
H A D | PeopleService.java | 181 Binder.getCallingUserHandle().getIdentifier())); 188 Binder.getCallingUserHandle().getIdentifier()); 195 Binder.getCallingUserHandle().getIdentifier());
|
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbSerialReader.java | 78 UserHandle user = Binder.getCallingUserHandle(); in getSerial()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServices.java | 164 Binder.getCallingUserHandle().getIdentifier()); in verifyCaller() 270 UserHandle userHandle = getCallingUserHandle(); in updateStatusIcon()
|
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 190 return Binder.getCallingUserHandle().getIdentifier(); in binderGetCallingUserId() 1415 int callingUserId = Binder.getCallingUserHandle().getIdentifier(); in getUserForAncestralSerialNumber() 1449 Binder.getCallingUserHandle().getIdentifier(), in setAncestralSerialNumber() 1545 int userId = Binder.getCallingUserHandle().getIdentifier(); in excludeKeysFromRestore() 1590 if (Binder.getCallingUserHandle().getIdentifier() != userId) { in enforceCallingPermissionOnUserId()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImpl.java | 782 public UserHandle getCallingUserHandle() { 783 return Binder.getCallingUserHandle(); 874 UserHandle getCallingUserHandle();
|
H A D | LauncherAppsService.java | 232 Log.d(TAG, "Adding listener from " + Binder.getCallingUserHandle()); in addOnAppsChangedListener() 254 Log.d(TAG, "Removing listener from " + Binder.getCallingUserHandle()); in removeOnAppsChangedListener()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
H A D | AndroidMockitoHelperTest.java | 177 assertThat(Binder.getCallingUserHandle()).isEqualTo(UserHandle.of(TEST_USER_ID)); in testMockBinderGetCallingUserHandle()
|
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
H A D | AndroidMockitoHelper.java | 255 doReturn(UserHandle.of(userId)).when(() -> Binder.getCallingUserHandle()); in mockBinderGetCallingUserHandle()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceTestable.java | 304 return context.binder.getCallingUserHandle(); in binderGetCallingUserHandle()
|
H A D | DpmMockContext.java | 140 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in DpmMockContext.MockBinder
|
/aosp12/packages/modules/Scheduling/service/java/com/android/server/scheduling/ |
H A D | RebootReadinessManagerService.java | 278 Binder.getCallingUserHandle(), mReadyToReboot); in markRebootPending()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 341 public static final @NonNull UserHandle getCallingUserHandle() { in getCallingUserHandle() method in Binder
|
/aosp12/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountSyncSettings.java | 168 onAccountsUpdate(Binder.getCallingUserHandle()); in onResume()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplTest.java | 644 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in CrossProfileAppsServiceImplTest.TestInjector
|
/aosp12/frameworks/base/services/core/java/com/android/server/media/projection/ |
H A D | MediaProjectionManagerService.java | 290 final UserHandle callingUser = Binder.getCallingUserHandle(); in createProjection()
|
/aosp12/frameworks/base/services/robotests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplRoboTest.java | 709 public UserHandle getCallingUserHandle() { in getCallingUserHandle() method in CrossProfileAppsServiceImplRoboTest.TestInjector
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 4875 pkg, getCallingUserHandle().getIdentifier()); 4928 Binder.getCallingUserHandle(), 4990 pkg, getCallingUserHandle().getIdentifier(), granted); 5098 return mListeners.getAllowedPackages(getCallingUserHandle().getIdentifier()); 5120 return getAllowedNotificationAssistantForUser(getCallingUserHandle().getIdentifier()); 5152 getCallingUserHandle().getIdentifier()); 5169 getCallingUserHandle().getIdentifier()); 5176 listener, getCallingUserHandle().getIdentifier(), granted, userSet); 5183 assistant, getCallingUserHandle().getIdentifier(), granted); 5219 getCallingUserHandle().getIdentifier()); [all …]
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarProjectionService.java | 403 final int userHandleId = Binder.getCallingUserHandle().getIdentifier(); in updateProjectionStatus()
|