Home
last modified time | relevance | path

Searched refs:mEmergencyRetryCache (Results 1 – 2 of 2) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java739 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot()
780 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot()
823 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
825 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
831 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
833 assertEquals(slot0Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure()
878 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
880 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
884 assertEquals(true, mTestConnectionService.mEmergencyRetryCache.second.isEmpty()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java175 public Pair<WeakReference<TelephonyConnection>, Queue<Phone>> mEmergencyRetryCache; field in TelephonyConnectionService
1585 if (mEmergencyRetryCache == null) { in updateCachedConnectionPhonePair()
1587 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair()
1589 } else if (mEmergencyRetryCache.first.get() != c) { in updateCachedConnectionPhonePair()
1591 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair()
1594 Queue<Phone> cachedPhones = mEmergencyRetryCache.second; in updateCachedConnectionPhonePair()
1630 Phone newPhoneToUse = (mEmergencyRetryCache.second != null) in retryOutgoingOriginalConnection()
1631 ? mEmergencyRetryCache.second.peek() : null; in retryOutgoingOriginalConnection()