Searched refs:mRoleManagerAdapter (Results 1 – 7 of 7) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DefaultDialerCacheTest.java | 66 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in DefaultDialerCacheTest 78 mContext, mMockDefaultDialerManager, mRoleManagerAdapter, in setUp() 101 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER0))).thenReturn(DIALER1); in setUp() 102 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER1))).thenReturn(DIALER2); in setUp() 103 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER2))).thenReturn(DIALER3); in setUp() 124 verify(mRoleManagerAdapter, times(4)) in testThreeUsers() 126 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 128 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 142 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER0))).thenReturn(DIALER2); in testDialer1PackageChanged() 144 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER0)); in testDialer1PackageChanged() [all …]
|
D | TelecomSystemTest.java | 213 @Mock RoleManagerAdapter mRoleManagerAdapter; field in TelecomSystemTest 516 when(mRoleManagerAdapter.getCallCompanionApps()).thenReturn(Collections.emptyList()); in setupTelecomSystem() 517 when(mRoleManagerAdapter.getDefaultCallScreeningApp(any(UserHandle.class))) in setupTelecomSystem() 519 when(mRoleManagerAdapter.getBTInCallService()).thenReturn(new String[] {"bt_pkg"}); in setupTelecomSystem() 576 mRoleManagerAdapter, in setupTelecomSystem()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 97 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in NewOutgoingCallIntentBroadcasterTest 113 when(mCallsManager.getRoleManagerAdapter()).thenReturn(mRoleManagerAdapter); in setUp()
|
D | CallsManagerTest.java | 304 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in CallsManagerTest 346 doNothing().when(mRoleManagerAdapter).setCurrentUserHandle(any()); in setUp() 382 mRoleManagerAdapter, in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DefaultDialerCache.java | 140 private final RoleManagerAdapter mRoleManagerAdapter; field in DefaultDialerCache 150 mRoleManagerAdapter = roleManagerAdapter; in DefaultDialerCache() 180 return mRoleManagerAdapter.getBTInCallService(); in getBTInCallServicePackages() 232 mRoleManagerAdapter.observeDefaultDialerApp(executor, observer); in observeDefaultDialerApplication() 255 mRoleManagerAdapter.getDefaultDialerApp(userId); in refreshCacheForUser() 305 return mRoleManagerAdapter; in getRoleManagerAdapter()
|
D | CallsManager.java | 480 private final RoleManagerAdapter mRoleManagerAdapter; field in CallsManager 721 mRoleManagerAdapter = roleManagerAdapter; in CallsManager() 806 return mRoleManagerAdapter; in getRoleManagerAdapter() 2273 mRoleManagerAdapter. in startOutgoingCall() 2277 mRoleManagerAdapter. in startOutgoingCall() 2525 mRoleManagerAdapter.getDefaultCallScreeningApp( in bindForOutgoingCallerId() 2682 String callRedirectionApp = mRoleManagerAdapter.getDefaultCallRedirectionApp( 2725 mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp)); 2788 mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp)); 5672 mRoleManagerAdapter.setCurrentUserHandle(userHandle); [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | SipTransportController.java | 321 private final RoleManagerAdapter mRoleManagerAdapter; field in SipTransportController 374 mRoleManagerAdapter = new RoleManagerAdapterImpl(context); in SipTransportController() 390 mRoleManagerAdapter = roleManagerAdapter; in SipTransportController() 902 newSmsRolePackageName = mRoleManagerAdapter.getRoleHolders(RoleManager.ROLE_SMS) in updateRoleCache() 1072 mRoleManagerAdapter.addOnRoleHoldersChangedListenerAsUser(mExecutorService, this, 1081 mRoleManagerAdapter.removeOnRoleHoldersChangedListenerAsUser(this, UserHandle.SYSTEM);
|