Searched refs:mClockProxy (Results 1 – 8 of 8) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BasicCallTests.java | 109 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleOutgoingCallLocalDisconnect() 110 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleOutgoingCallLocalDisconnect() 134 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleOutgoingCallRemoteDisconnect() 135 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleOutgoingCallRemoteDisconnect() 265 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleIncomingCallLocalDisconnect() 266 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleIncomingCallLocalDisconnect() 280 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testSingleIncomingCallRemoteDisconnect() 281 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testSingleIncomingCallRemoteDisconnect() 352 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_DISCONNECT_TIME); in testOutgoingCallAndSelectPhoneAccount() 353 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_DISCONNECT_ELAPSED_TIME); in testOutgoingCallAndSelectPhoneAccount() [all …]
|
D | ParcelableCallUtilsTest.java | 44 @Mock private ClockProxy mClockProxy; field in ParcelableCallUtilsTest 57 when(mClockProxy.currentTimeMillis()).thenReturn(System.currentTimeMillis()); in setUp() 58 when(mClockProxy.elapsedRealtime()).thenReturn(SystemClock.elapsedRealtime()); in setUp() 78 mClockProxy /* ClockProxy */, in setUp()
|
D | TelecomSystemTest.java | 207 @Mock ClockProxy mClockProxy; field in TelecomSystemTest 471 mClockProxy = mock(ClockProxy.class); in setupTelecomSystem() 472 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CREATE_TIME); in setupTelecomSystem() 473 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CREATE_ELAPSED_TIME); in setupTelecomSystem() 520 mClockProxy, in setupTelecomSystem() 1022 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CONNECT_TIME); in startAndMakeActiveOutgoingCall() 1023 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CONNECT_ELAPSED_TIME); in startAndMakeActiveOutgoingCall() 1079 when(mClockProxy.currentTimeMillis()).thenReturn(TEST_CONNECT_TIME); in startAndMakeActiveIncomingCall() 1080 when(mClockProxy.elapsedRealtime()).thenReturn(TEST_CONNECT_ELAPSED_TIME); in startAndMakeActiveIncomingCall()
|
D | CallsManagerTest.java | 186 @Mock private ClockProxy mClockProxy; field in CallsManagerTest 223 when(mClockProxy.currentTimeMillis()).thenReturn(System.currentTimeMillis()); in setUp() 224 when(mClockProxy.elapsedRealtime()).thenReturn(SystemClock.elapsedRealtime()); in setUp() 250 mClockProxy, in setUp() 307 mClockProxy, in testConstructPossiblePhoneAccountsMultiSimActive() 1483 mClockProxy, in createCall()
|
D | InCallControllerTests.java | 118 @Mock ClockProxy mClockProxy; field in InCallControllerTests 169 mEmergencyCallHelper, new CarModeTracker(), mClockProxy); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Call.java | 457 private final ClockProxy mClockProxy; field in Call 690 mClockProxy = clockProxy; in Call() 692 mCreationTimeMillis = mClockProxy.currentTimeMillis(); in Call() 1032 mConnectTimeMillis = mClockProxy.currentTimeMillis(); in setState() 1033 mConnectElapsedTimeMillis = mClockProxy.elapsedRealtime(); in setState() 1042 mDisconnectTimeMillis = mClockProxy.currentTimeMillis(); in setState() 1043 mDisconnectElapsedTimeMillis = mClockProxy.elapsedRealtime(); in setState() 1678 return mClockProxy.elapsedRealtime() - mConnectElapsedTimeMillis; in getAgeMillis()
|
D | InCallController.java | 297 mInCallServiceInfo.setBindingStartTime(mClockProxy.elapsedRealtime()); in connect() 322 mInCallServiceInfo.setDisconnectTime(mClockProxy.elapsedRealtime()); in disconnect() 930 private final ClockProxy mClockProxy; field in InCallController 957 mClockProxy = clockProxy; in InCallController()
|
D | CallsManager.java | 358 private final ClockProxy mClockProxy; field in CallsManager 560 mClockProxy = clockProxy; in CallsManager() 1191 mClockProxy, in processIncomingCallIntent() 1347 mClockProxy, in addNewUnknownCall() 1444 mClockProxy, in startOutgoingCall() 3326 mClockProxy, 4204 mClockProxy, 4794 false, mClockProxy, mToastFactory); 4998 mClockProxy,
|