Home
last modified time | relevance | path

Searched refs:termination (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DImsStatsTest.java431 ImsRegistrationTermination termination = captor.getValue(); in onImsUnregistered_setupFailure() local
432 assertEquals(CARRIER1_ID, termination.carrierId); in onImsUnregistered_setupFailure()
433 assertFalse(termination.isMultiSim); in onImsUnregistered_setupFailure()
434 assertEquals(TelephonyManager.NETWORK_TYPE_UNKNOWN, termination.ratAtEnd); in onImsUnregistered_setupFailure()
435 assertTrue(termination.setupFailed); in onImsUnregistered_setupFailure()
436 assertEquals(ImsReasonInfo.CODE_REGISTRATION_ERROR, termination.reasonCode); in onImsUnregistered_setupFailure()
437 assertEquals(999, termination.extraCode); in onImsUnregistered_setupFailure()
438 assertEquals("Timeout", termination.extraMessage); in onImsUnregistered_setupFailure()
454 ImsRegistrationTermination termination = captor.getValue(); in onImsUnregistered_setupFailureWithProgress() local
455 assertEquals(CARRIER1_ID, termination.carrierId); in onImsUnregistered_setupFailureWithProgress()
[all …]
DPersistAtomsStorageTest.java1167 ImsRegistrationTermination termination = copyOf(mImsRegistrationTerminationLte); in addImsRegistrationTermination_tooManyTerminations() local
1168 termination.reasonCode = i; in addImsRegistrationTermination_tooManyTerminations()
1169 expectedTerminations.add(termination); in addImsRegistrationTermination_tooManyTerminations()
1170 mPersistAtomsStorage.addImsRegistrationTermination(termination); in addImsRegistrationTermination_tooManyTerminations()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java315 ImsRegistrationTermination termination = new ImsRegistrationTermination(); in onImsUnregistered() local
317 termination.carrierId = mLastRegistrationStats.carrierId; in onImsUnregistered()
318 termination.ratAtEnd = getRatAtEnd(mLastRegistrationStats.rat); in onImsUnregistered()
320 termination.carrierId = mPhone.getDefaultPhone().getCarrierId(); in onImsUnregistered()
322 termination.ratAtEnd = TelephonyManager.NETWORK_TYPE_UNKNOWN; in onImsUnregistered()
324 termination.isMultiSim = SimSlotState.isMultiSim(); in onImsUnregistered()
325 termination.setupFailed = (mLastRegistrationState != REGISTRATION_STATE_REGISTERED); in onImsUnregistered()
326 termination.reasonCode = reasonInfo.getCode(); in onImsUnregistered()
327 termination.extraCode = reasonInfo.getExtraCode(); in onImsUnregistered()
328 termination.extraMessage = filterExtraMessage(reasonInfo.getExtraMessage()); in onImsUnregistered()
[all …]
DPersistAtomsStorage.java272 public synchronized void addImsRegistrationTermination(ImsRegistrationTermination termination) { in addImsRegistrationTermination() argument
273 ImsRegistrationTermination existingTermination = find(termination); in addImsRegistrationTermination()
275 existingTermination.count += termination.count; in addImsRegistrationTermination()
278 termination.lastUsedMillis = getWallTimeMillis(); in addImsRegistrationTermination()
282 termination, in addImsRegistrationTermination()
474 .forEach(termination -> termination.lastUsedMillis = 0L); in getImsRegistrationTerminations()
680 for (ImsRegistrationTermination termination : mAtoms.imsRegistrationTermination) { in find()
681 if (termination.carrierId == key.carrierId in find()
682 && termination.isMultiSim == key.isMultiSim in find()
683 && termination.ratAtEnd == key.ratAtEnd in find()
[all …]
DMetricsCollector.java543 private static StatsEvent buildStatsEvent(ImsRegistrationTermination termination) { in buildStatsEvent() argument
546 termination.carrierId, in buildStatsEvent()
547 termination.isMultiSim, in buildStatsEvent()
548 termination.ratAtEnd, in buildStatsEvent()
549 termination.setupFailed, in buildStatsEvent()
550 termination.reasonCode, in buildStatsEvent()
551 termination.extraCode, in buildStatsEvent()
552 termination.extraMessage, in buildStatsEvent()
553 termination.count); in buildStatsEvent()
/frameworks/opt/net/ims/
DREADME.txt108 Provides the call initiation/termination, and media exchange between two IMS endpoints.
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1988 // Notification about IMS call termination
/frameworks/proto_logging/stats/
Datoms.proto12595 // Number of other calls going on during call termination, for the same SIM slot.
13122 * Each pull generates multiple atoms, one for each termination condition happened during the day.
13142 // IMS reason code indicating the termination reason.
13146 // IMS extra code indicating the termination reason.
13149 // IMS extra message indicating the termination reason.
13153 // Total number of instances of registration termination that matches the above conditions.