Searched refs:mEmergencyRetryCache (Results 1 – 2 of 2) sorted by relevance
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnectionService.java | 234 public Pair<WeakReference<TelephonyConnection>, Queue<Phone>> mEmergencyRetryCache; field in TelephonyConnectionService 2164 if (mEmergencyRetryCache == null) { in updateCachedConnectionPhonePair() 2166 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair() 2168 } else if (mEmergencyRetryCache.first.get() != c) { in updateCachedConnectionPhonePair() 2170 mEmergencyRetryCache = makeCachedConnectionPhonePair(c); in updateCachedConnectionPhonePair() 2173 Queue<Phone> cachedPhones = mEmergencyRetryCache.second; in updateCachedConnectionPhonePair() 2210 Phone newPhoneToUse = (mEmergencyRetryCache.second != null) in retryOutgoingOriginalConnection() 2211 ? mEmergencyRetryCache.second.peek() : null; in retryOutgoingOriginalConnection()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 1056 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot() 1098 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot() 1142 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1144 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1151 assertEquals(2, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1153 assertEquals(slot0Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialTempFailTwoSlot_twoFailure() 1199 assertEquals(1, mTestConnectionService.mEmergencyRetryCache.second.size()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 1201 assertEquals(slot1Phone, mTestConnectionService.mEmergencyRetryCache.second.peek()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure() 1206 assertEquals(true, mTestConnectionService.mEmergencyRetryCache.second.isEmpty()); in testRetryOutgoingOriginalConnection_redialPermFailTwoSlot_twoFailure()
|