Home
last modified time | relevance | path

Searched refs:mRoleManagerAdapter (Results 1 – 6 of 6) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DDefaultDialerCacheTest.java65 @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 …]
DTelecomSystemTest.java208 @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()
DNewOutgoingCallIntentBroadcasterTest.java93 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in NewOutgoingCallIntentBroadcasterTest
107 when(mCallsManager.getRoleManagerAdapter()).thenReturn(mRoleManagerAdapter); in setUp()
DCallsManagerTest.java197 @Mock private RoleManagerAdapter mRoleManagerAdapter; field in CallsManagerTest
227 doNothing().when(mRoleManagerAdapter).setCurrentUserHandle(any()); in setUp()
257 mRoleManagerAdapter, in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DDefaultDialerCache.java140 private final RoleManagerAdapter mRoleManagerAdapter; field in DefaultDialerCache
150 mRoleManagerAdapter = roleManagerAdapter; in DefaultDialerCache()
221 mRoleManagerAdapter.observeDefaultDialerApp(executor, observer); in observeDefaultDialerApplication()
244 mRoleManagerAdapter.getDefaultDialerApp(userId); in refreshCacheForUser()
DCallsManager.java366 private final RoleManagerAdapter mRoleManagerAdapter; field in CallsManager
565 mRoleManagerAdapter = roleManagerAdapter; in CallsManager()
619 return mRoleManagerAdapter; in getRoleManagerAdapter()
1692 mRoleManagerAdapter.getDefaultCallScreeningApp()); in startOutgoingCall()
1695 mRoleManagerAdapter.getDefaultCallScreeningApp(), in startOutgoingCall()
1806 mRoleManagerAdapter.getDefaultCallScreeningApp(); in bindForOutgoingCallerId()
1958 String callRedirectionApp = mRoleManagerAdapter.getDefaultCallRedirectionApp();
1982 mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp));
2044 mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp));
4347 mRoleManagerAdapter.setCurrentUserHandle(userHandle);
[all …]