Searched refs:mEmergencyRetryCache (Results 1 – 2 of 2) sorted by relevance
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 720 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 761 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 804 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 806 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 812 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 814 assertEquals(slot0Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 859 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 861 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 865 assertEquals(true, mTestConnectionService.mEmergencyRetryCache.second.isEmpty()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 170 public Pair<WeakReference<TelephonyConnection>, Queue<Phone>> mEmergencyRetryCache; field in TelephonyConnectionService 1581 if (mEmergencyRetryCache == null) { in updateCachedConnectionPhonePair() 1583 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair() 1585 } else if (mEmergencyRetryCache.first.get() != c) { in updateCachedConnectionPhonePair() 1587 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair() 1590 Queue<Phone> cachedPhones = mEmergencyRetryCache.second; in updateCachedConnectionPhonePair() 1626 Phone newPhoneToUse = (mEmergencyRetryCache.second != null) in retryOutgoingOriginalConnection() 1627 ? mEmergencyRetryCache.second.peek() : null; in retryOutgoingOriginalConnection()
|