Home
last modified time | relevance | path

Searched refs:mClockProxy (Results 1 – 4 of 4) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java85 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleOutgoingCallLocalDisconnect()
86 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleOutgoingCallLocalDisconnect()
109 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleOutgoingCallRemoteDisconnect()
110 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleOutgoingCallRemoteDisconnect()
235 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleIncomingCallLocalDisconnect()
236 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleIncomingCallLocalDisconnect()
249 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleIncomingCallRemoteDisconnect()
250 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleIncomingCallRemoteDisconnect()
310 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testOutgoingCallAndSelectPhoneAccount()
311 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testOutgoingCallAndSelectPhoneAccount()
[all …]
DTelecomSystemTest.java205 @Mock ClockProxy mClockProxy; field in TelecomSystemTest
415 mClockProxy = mock(ClockProxy.class); in setupTelecomSystem()
416 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CREATE_TIME); in setupTelecomSystem()
417 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CREATE_ELAPSED_TIME); in setupTelecomSystem()
451 mClockProxy); in setupTelecomSystem()
929 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CONNECT_TIME); in startAndMakeActiveOutgoingCall()
930 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CONNECT_ELAPSED_TIME); in startAndMakeActiveOutgoingCall()
973 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CONNECT_TIME); in startAndMakeActiveIncomingCall()
974 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CONNECT_ELAPSED_TIME); in startAndMakeActiveIncomingCall()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java401 private final ClockProxy mClockProxy; field in Call
548 mClockProxy = clockProxy; in Call()
549 mCreationTimeMillis = mClockProxy.currentTimeMillis(); in Call()
820 mConnectTimeMillis = mClockProxy.currentTimeMillis(); in setState()
821 mConnectElapsedTimeMillis = mClockProxy.elapsedRealtime(); in setState()
829 mDisconnectTimeMillis = mClockProxy.currentTimeMillis(); in setState()
830 mDisconnectElapsedTimeMillis = mClockProxy.elapsedRealtime(); in setState()
1252 return mClockProxy.elapsedRealtime() - mConnectElapsedTimeMillis; in getAgeMillis()
DCallsManager.java260 private final ClockProxy mClockProxy; field in CallsManager
375 mClockProxy = clockProxy; in CallsManager()
840 mClockProxy); in processIncomingCallIntent()
974 mClockProxy); in addNewUnknownCall()
1054 mClockProxy); in startOutgoingCall()
2052 mClockProxy); in createConferenceCall()
2721 mClockProxy); in createCallForExistingConnection()