Searched refs:mRoleManagerAdapter (Results 1 – 6 of 6) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | DefaultDialerCacheTest.java | 65 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in DefaultDialerCacheTest 77 mContext, mMockDefaultDialerManager, mRoleManagerAdapter, in setUp() 100 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER0))).thenReturn(DIALER1); in setUp() 101 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER1))).thenReturn(DIALER2); in setUp() 102 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER2))).thenReturn(DIALER3); in setUp() 123 verify(mRoleManagerAdapter, times(4)) in testThreeUsers() 125 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 127 verify(mRoleManagerAdapter, times(2)) in testThreeUsers() 141 when(mRoleManagerAdapter.getDefaultDialerApp(eq(USER0))).thenReturn(DIALER2); in testDialer1PackageChanged() 143 verify(mRoleManagerAdapter, times(2)).getDefaultDialerApp(eq(USER0)); in testDialer1PackageChanged() [all …]
|
D | TelecomSystemTest.java | 208 @Mock RoleManagerAdapter mRoleManagerAdapter; field in TelecomSystemTest 474 when(mRoleManagerAdapter.getCallCompanionApps()).thenReturn(Collections.emptyList()); in setupTelecomSystem() 475 when(mRoleManagerAdapter.getDefaultCallScreeningApp()).thenReturn(null); in setupTelecomSystem() 521 mRoleManagerAdapter, in setupTelecomSystem()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 93 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in NewOutgoingCallIntentBroadcasterTest 107 when(mCallsManager.getRoleManagerAdapter()).thenReturn(mRoleManagerAdapter); in setUp()
|
D | CallsManagerTest.java | 196 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in CallsManagerTest 226 doNothing().when(mRoleManagerAdapter).setCurrentUserHandle(any()); in setUp() 256 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() 227 mRoleManagerAdapter.observeDefaultDialerApp(executor, observer); in observeDefaultDialerApplication() 250 mRoleManagerAdapter.getDefaultDialerApp(userId); in refreshCacheForUser() 300 return mRoleManagerAdapter; in getRoleManagerAdapter()
|
D | CallsManager.java | 366 private final RoleManagerAdapter mRoleManagerAdapter; field in CallsManager 562 mRoleManagerAdapter = roleManagerAdapter; in CallsManager() 616 return mRoleManagerAdapter; in getRoleManagerAdapter() 1677 mRoleManagerAdapter.getDefaultCallScreeningApp()); in startOutgoingCall() 1680 mRoleManagerAdapter.getDefaultCallScreeningApp(), in startOutgoingCall() 1791 mRoleManagerAdapter.getDefaultCallScreeningApp(); in bindForOutgoingCallerId() 1943 String callRedirectionApp = mRoleManagerAdapter.getDefaultCallRedirectionApp(); 1967 mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp)); 4301 mRoleManagerAdapter.setCurrentUserHandle(userHandle); 4598 if (mRoleManagerAdapter != null && mRoleManagerAdapter instanceof RoleManagerAdapterImpl) { [all …]
|