Home
last modified time | relevance | path

Searched refs:callingUserHandle (Results 1 – 8 of 8) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java299 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
303 .getOutgoingPhoneAccountForScheme(uriScheme, callingUserHandle);
333 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
335 callingUserHandle);
351 UserHandle callingUserHandle = Binder.getCallingUserHandle();
355 accountHandle, callingUserHandle);
404 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
414 includeDisabledAccounts, callingUserHandle,
440 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
444 .getSelfManagedPhoneAccounts(callingUserHandle));
[all …]
DConnectionServiceWrapper.java126 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in handleCreateConnectionComplete() local
141 validateAccountIconUserBoundary(icon, callingUserHandle)); in handleCreateConnectionComplete()
170 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in handleCreateConferenceComplete() local
179 validateAccountIconUserBoundary(icon, callingUserHandle)); in handleCreateConferenceComplete()
561 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in addConferenceCall() local
566 .validateAccountIconUserBoundary(icon, callingUserHandle)); in addConferenceCall()
729 final UserHandle callingUserHandle = Binder.getCallingUserHandle(); in queryRemoteConnectionServices() local
736 .queryRemoteConnectionServices(callingUserHandle, callingPackage, in queryRemoteConnectionServices()
834 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in setStatusHints() local
843 icon, callingUserHandle)); in setStatusHints()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java236 UserHandle callingUserHandle = UserHandle.getUserHandleForUid(callingUid); in verifyCaller() local
239 .createContextAsUser(mContext, callingUserHandle); in verifyCaller()
304 UserHandle callingUserHandle = UserHandle.getUserHandleForUid(callingUid); in handleIncomingUser() local
305 if (callingUserHandle.equals(targetUserHandle)) { in handleIncomingUser()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarOccupantConnectionService.java665 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in getCallingClientId() local
666 int callingUserId = callingUserHandle.getIdentifier(); in getCallingClientId()
668 mOccupantZoneService.getOccupantZoneForUser(callingUserHandle); in getCallingClientId()
DCarRemoteDeviceService.java677 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in getCallingClientId() local
678 int callingUserId = callingUserHandle.getIdentifier(); in getCallingClientId()
680 mOccupantZoneService.getOccupantZoneForUser(callingUserHandle); in getCallingClientId()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java1719 UserHandle callingUserHandle = getCallingUserHandle(); in writeMigrationData() local
1724 enforceIsForegroundUser(callingUserHandle); in writeMigrationData()
1732 getDataMigrationManager(callingUserHandle) in writeMigrationData()
2359 private void enforceIsForegroundUser(UserHandle callingUserHandle) { in enforceIsForegroundUser() argument
2360 if (!callingUserHandle.equals(mCurrentForegroundUser)) { in enforceIsForegroundUser()
2363 + callingUserHandle.getIdentifier() in enforceIsForegroundUser()
2422 UserHandle callingUserHandle = UserHandle.getUserHandleForUid(callingUid); in verifyPackageNameFromUid() local
2423 Context callingUserContext = mContext.createContextAsUser(callingUserHandle, 0); in verifyPackageNameFromUid()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java556 UserHandle callingUserHandle = Binder.getCallingUserHandle(); in getResourceOveruseStats() local
557 int callingUserId = callingUserHandle.getIdentifier(); in getResourceOveruseStats()
563 return new ResourceOveruseStats.Builder("", callingUserHandle).build(); in getResourceOveruseStats()
566 new ResourceOveruseStats.Builder(genericPackageName, callingUserHandle); in getResourceOveruseStats()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5842 UserHandle callingUserHandle = UserHandle.getUserHandleForUid(Binder.getCallingUid()); in doesCallingProviderUseCurrentUsersContacts() local
5844 boolean isCallerFromSameUser = callingUserHandle.equals(currentUserHandle); in doesCallingProviderUseCurrentUsersContacts()
5846 (UserUtils.shouldUseParentsContacts(getContext(), callingUserHandle) && in doesCallingProviderUseCurrentUsersContacts()
5847 UserUtils.isParentUser(getContext(), currentUserHandle, callingUserHandle)); in doesCallingProviderUseCurrentUsersContacts()