Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DResolverWrapperActivity.java109 protected UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ResolverWrapperActivity
110 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
H A DChooserWrapperActivity.java212 protected UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in ChooserWrapperActivity
213 return mMultiProfilePagerAdapter.getCurrentUserHandle(); in getCurrentUserHandle()
H A DResolverActivityTest.java433 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(0)); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
453 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_workTabUsesExpectedAdapter()
472 assertThat(activity.getCurrentUserHandle().getIdentifier(), is(10)); in testWorkTab_personalTabUsesExpectedAdapter()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DRingtoneFactory.java71 getWorkProfileContextForUser(mCallsManager.getCurrentUserHandle()) : in getRingtone()
72 getContextForUserHandle(mCallsManager.getCurrentUserHandle()); in getRingtone()
H A DCurrentUserProxy.java28 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
H A DTelecomSystem.java294 public UserHandle getCurrentUserHandle() { in TelecomSystem()
295 return mCallsManager.getCurrentUserHandle(); in TelecomSystem()
H A DInCallController.java462 mCallsManager.getCurrentUserHandle()); in connect()
1141 mCallsManager.getCurrentUserHandle()); in onCallAdded()
1620 mCallsManager.getCurrentUserHandle().getIdentifier()); in getDefaultDialerComponent()
1702 mCallsManager.getCurrentUserHandle().getIdentifier())) { in getInCallServiceComponents()
1813 mCallsManager.getCurrentUserHandle().getIdentifier())); in getInCallServiceType()
2084 mCallsManager.getCurrentUserHandle().getIdentifier()); in doesConnectedDialerSupportRinging()
2099 mCallsManager.getCurrentUserHandle().getIdentifier()); in doesConnectedDialerSupportRinging()
H A DCallDiagnosticServiceController.java67 UserHandle getCurrentUserHandle(); in getCurrentUserHandle() method
378 boolean bound = bindCallDiagnosticService(mContextProxy.getCurrentUserHandle(), in maybeBindCallDiagnosticService()
H A DVideoProviderProxy.java585 UserHandle currentUserHandle = mCurrentUserProxy.getCurrentUserHandle(); in canUseCamera()
H A DCallsManager.java1158 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in CallsManager
5061 mPhoneAccountRegistrar.getPhoneAccount(handoverToHandle, getCurrentUserHandle());
5078 call.setInitiatingUser(getCurrentUserHandle());
5216 getCurrentUserHandle().getIdentifier());
5239 getCurrentUserHandle().getIdentifier());
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A 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()
H A DCallLogProvider.java395 " User=" + UserUtils.getCurrentUserHandle(getContext())); in queryInternal()
797 " User=" + UserUtils.getCurrentUserHandle(getContext())); in updateInternal()
835 " User=" + UserUtils.getCurrentUserHandle(getContext())); in deleteInternal()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DInCallControllerTests.java279 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testCarModeAppRemoval()
300 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testRandomAppRemovalInCarMode()
318 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testAutomotiveProjectionAppRemoval()
335 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_IncomingCall()
367 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NoServicesFound_OutgoingCall()
405 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_NoEmergency()
458 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_SystemDialer_Emergency()
535 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_SystemDialer_Crash()
622 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_DefaultDialer_FallBackToSystem()
712 when(mMockCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in testBindToService_NullBinding_FallBackToSystem()
[all …]
H A DCallRedirectionProcessorTest.java125 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
136 when(mCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setUp()
H A DCallDiagnosticServiceControllerTest.java109 when(mContextProxy.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
H A DCallScreeningServiceFilterTest.java125 when(mCallsManager.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp()
H A DNewOutgoingCallIntentBroadcasterTest.java105 when(mCallsManager.getCurrentUserHandle()).thenReturn(mUserHandle); in setUp()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DUserUtils.java43 public static int getCurrentUserHandle(Context context) { in getCurrentUserHandle() method in UserUtils
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DDisconnectedCallNotifier.java145 clearNotification(mCallsManager.getCurrentUserHandle()); in onCallStateChanged()
149 if (userHandle == null) userHandle = mCallsManager.getCurrentUserHandle(); in onCallStateChanged()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
H A DEnterprisePolicyGuard.java61 final UserHandle currentHandle = new UserHandle(UserUtils.getCurrentUserHandle(mContext)); in isCrossProfileAllowed()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
H A DCallRedirectionProcessorHelper.java100 intent, 0, mCallsManager.getCurrentUserHandle().getIdentifier()); in getComponentName()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java941 if (!mMultiProfilePagerAdapter.getCurrentUserHandle().equals(getUser())) {
1250 return mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()
1260 UserHandle currentUserHandle = mMultiProfilePagerAdapter.getCurrentUserHandle();
1383 startActivityAsUser(in, mMultiProfilePagerAdapter.getCurrentUserHandle());
1902 if (mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()
1998 if (mMultiProfilePagerAdapter.getCurrentUserHandle()
H A DChooserActivity.java1743 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
1808 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
2337 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
2363 mChooserMultiProfilePagerAdapter.getCurrentUserHandle());
2696 UserHandle currentUserHandle = mChooserMultiProfilePagerAdapter.getCurrentUserHandle();
2876 .equals(mChooserMultiProfilePagerAdapter.getCurrentUserHandle())) {
H A DAbstractMultiProfilePagerAdapter.java196 public UserHandle getCurrentUserHandle() { in getCurrentUserHandle() method in AbstractMultiProfilePagerAdapter
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
H A DCallScreeningServiceFilter.java319 mCallsManager.getCurrentUserHandle(), mPackageName, connection)) { in bindCallScreeningService()

12