Home
last modified time | relevance | path

Searched refs:getCurrentUserHandle (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/TrustAgent/src/com/android/car/trust/
DCarBleTrustAgent.java86 addEscrowToken(token, getCurrentUserHandle());
89 isEscrowTokenActive(handle, getCurrentUserHandle());
92 removeEscrowToken(handle, getCurrentUserHandle());
247 unlockUserWithToken(handle, token, getCurrentUserHandle()); in unlock()
301 private UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in CarBleTrustAgent
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java127 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_IncomingCall()
157 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_OutgoingCall()
193 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_NoEmergency()
243 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_SystemDialer_Emergency()
310 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_FallBackToSystem()
431 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testUnbindDueToCallDisconnect()
480 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setupMocks()
DCallScreeningServiceFilterTest.java96 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java166 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
181 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update()
196 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete()
222 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openFile()
DCallLogProvider.java238 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
399 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update()
436 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete()
DContactMetadataProvider.java128 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
DContactsProvider2.java3610 " User=" + UserUtils.getCurrentUserHandle(getContext())); in deleteInTransaction()
4025 " User=" + UserUtils.getCurrentUserHandle(getContext())); in updateInTransaction()
5516 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
5553 .getCurrentUserHandle(getContext()); in isCallerFromSameUser()
5671 " User=" + UserUtils.getCurrentUserHandle(getContext())); in queryDirectoryAuthority()
8691 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openAssetFile()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java349 mCallsManager.getCurrentUserHandle()); in connect()
761 mCallsManager.getCurrentUserHandle()); in onCallAdded()
1100 mCallsManager.getCurrentUserHandle().getIdentifier()); in getDefaultDialerComponent()
1162 mCallsManager.getCurrentUserHandle().getIdentifier())) { in getInCallServiceComponents()
1231 mCallsManager.getCurrentUserHandle().getIdentifier())); in getInCallServiceType()
1446 mCallsManager.getCurrentUserHandle().getIdentifier()); in doesConnectedDialerSupportRinging()
DRingtoneFactory.java58 getWorkProfileContextForUser(mCallsManager.getCurrentUserHandle()) : in getRingtone()
59 getContextForUserHandle(mCallsManager.getCurrentUserHandle()); in getRingtone()
DCurrentUserProxy.java28 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
DCallsManager.java743 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in CallsManager
3166 extras, getCurrentUserHandle(), null /* originalIntent */); in requestHandover()
3239 getCurrentUserHandle().getIdentifier()); in broadcastUnregisterIntent()
3262 getCurrentUserHandle().getIdentifier()); in broadcastRegisterIntent()
DVideoProviderProxy.java562 UserHandle currentUserHandle = mCurrentUserProxy.getCurrentUserHandle(); in canUseCamera()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java43 public static int getCurrentUserHandle(Context context) { in getCurrentUserHandle() method in UserUtils
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuard.java61 final UserHandle currentHandle = new UserHandle(UserUtils.getCurrentUserHandle(mContext)); in isCrossProfileAllowed()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java214 intent, 0, mCallsManager.getCurrentUserHandle().getIdentifier()); in bindService()