Home
last modified time | relevance | path

Searched refs:mLastSimState (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceBindHelperTest.java56 assertEquals(1, mCarrierServiceBindHelper.mLastSimState.size()); in testMultiSimConfigChanged()
58 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged()
66 assertEquals(2, mCarrierServiceBindHelper.mLastSimState.size()); in testMultiSimConfigChanged()
69 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged()
70 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(1)); in testMultiSimConfigChanged()
78 assertEquals(1, mCarrierServiceBindHelper.mLastSimState.size()); in testMultiSimConfigChanged()
80 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java69 public SparseArray<String> mLastSimState = new SparseArray<>(); field in CarrierServiceBindHelper
157 mLastSimState.put(phoneId, new String()); in updateBindingsAndSimStates()
164 mLastSimState.delete(phoneId); in updateBindingsAndSimStates()
173 if (TextUtils.isEmpty(simState) || phoneId >= mLastSimState.size()) return; in updateForPhoneId()
174 if (simState.equals(mLastSimState.get(phoneId))) { in updateForPhoneId()
178 mLastSimState.put(phoneId, simState); in updateForPhoneId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java193 private final SparseArray<Integer> mLastSimState = new SparseArray<>(); field in TelephonyMetrics
630 .setSimStateChange(mLastSimState).build()); in reset()
768 Integer lastSimState = mLastSimState.get(phoneId); in updateSimState()
770 mLastSimState.put(phoneId, state); in updateSimState()
771 addTelephonyEvent(new TelephonyEventBuilder().setSimStateChange(mLastSimState).build()); in updateSimState()