Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java302 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testCarModeAppRemoval()
323 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testRandomAppRemovalInCarMode()
341 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testAutomotiveProjectionAppRemoval()
358 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_IncomingCall()
389 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_OutgoingCall()
426 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_NoEmergency()
478 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_SystemDialer_Emergency()
553 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_SystemDialer_Crash()
637 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_FallBackToSystem()
725 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NullBinding_FallBackToSystem()
[all …]
DCallRedirectionProcessorTest.java125 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
136 when(mCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setUp()
DCallDiagnosticServiceControllerTest.java109 when(mContextProxy.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
DCallScreeningServiceFilterTest.java125 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailContentProvider.java204 " User=" + UserUtils.getCurrentUserHandle(getContext())); in query()
220 " User=" + UserUtils.getCurrentUserHandle(getContext())); in update()
236 " User=" + UserUtils.getCurrentUserHandle(getContext())); in delete()
263 " User=" + UserUtils.getCurrentUserHandle(getContext())); in openFile()
DCallLogProvider.java472 " User=" + UserUtils.getCurrentUserHandle(getContext())); in queryInternal()
934 " User=" + UserUtils.getCurrentUserHandle(getContext())); in updateInternal()
972 " User=" + UserUtils.getCurrentUserHandle(getContext())); in deleteInternal()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DResolverWrapperActivity.java145 protected UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ResolverWrapperActivity
146 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
DChooserWrapperActivity.java258 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ChooserWrapperActivity
259 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
DIChooserWrapper.java43 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
DResolverActivityTest.java371 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(0)); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
389 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_workTabUsesExpectedAdapter()
406 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_personalTabUsesExpectedAdapter()
/packages/services/Telecomm/src/com/android/server/telecom/
DRingtoneFactory.java71 getWorkProfileContextForUser(mCallsManager.getCurrentUserHandle()) : in getRingtone()
72 getContextForUserHandle(mCallsManager.getCurrentUserHandle()); in getRingtone()
DCurrentUserProxy.java28 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
DInCallController.java467 mCallsManager.getCurrentUserHandle()); in connect()
1153 mCallsManager.getCurrentUserHandle()); in onCallAdded()
1628 mCallsManager.getCurrentUserHandle().getIdentifier()); in getDefaultDialerComponent()
1713 Context userContext = mContext.createContextAsUser(mCallsManager.getCurrentUserHandle(), in getInCallServiceComponents()
1720 mCallsManager.getCurrentUserHandle().getIdentifier())) { in getInCallServiceComponents()
1836 mCallsManager.getCurrentUserHandle().getIdentifier())); in getInCallServiceType()
2107 mCallsManager.getCurrentUserHandle().getIdentifier()); in doesConnectedDialerSupportRinging()
2122 mCallsManager.getCurrentUserHandle().getIdentifier()); in doesConnectedDialerSupportRinging()
DTelecomSystem.java295 public UserHandle getCurrentUserHandle() { in TelecomSystem()
296 return mCallsManager.getCurrentUserHandle(); in TelecomSystem()
DCallDiagnosticServiceController.java67 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
378 boolean bound = bindCallDiagnosticService(mContextProxy.getCurrentUserHandle(), in maybeBindCallDiagnosticService()
DVideoProviderProxy.java585 UserHandle currentUserHandle = mCurrentUserProxy.getCurrentUserHandle(); in canUseCamera()
DCallsManager.java1163 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in CallsManager
5141 mPhoneAccountRegistrar.getPhoneAccount(handoverToHandle, getCurrentUserHandle());
5158 call.setInitiatingUser(getCurrentUserHandle());
5296 getCurrentUserHandle().getIdentifier());
5319 getCurrentUserHandle().getIdentifier());
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActivity.java863 mChooserMultiProfilePagerAdapter.getCurrentUserHandle(),
899 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
1054 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
1082 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
1392 UserHandle currentUserHandle = mChooserMultiProfilePagerAdapter.getCurrentUserHandle();
1542 .equals(mChooserMultiProfilePagerAdapter.getCurrentUserHandle())) {
DResolverActivity.java1002 if (mMultiProfilePagerAdapter.getCurrentUserHandle().equals(workUser)) {
1024 UserHandle currentUserHandle = mMultiProfilePagerAdapter.getCurrentUserHandle();
1500 if (!mMultiProfilePagerAdapter.getCurrentUserHandle().equals(getUser())) {
1643 startActivityAsUser(in, mMultiProfilePagerAdapter.getCurrentUserHandle());
2180 if (mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()
DAbstractMultiProfilePagerAdapter.java149 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in AbstractMultiProfilePagerAdapter
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DUserUtils.java42 public static int getCurrentUserHandle(Context context) { in getCurrentUserHandle() method in UserUtils
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DDisconnectedCallNotifier.java145 clearNotification(mCallsManager.getCurrentUserHandle()); in onCallStateChanged()
149 if (userHandle == null) userHandle = mCallsManager.getCurrentUserHandle(); in onCallStateChanged()
/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/callredirection/
DCallRedirectionProcessorHelper.java100 intent, 0, mCallsManager.getCurrentUserHandle().getIdentifier()); in getComponentName()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java321 mCallsManager.getCurrentUserHandle(), mPackageName, connection)) { in bindCallScreeningService()

12