Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/telephony/
DSignalStrengthListener.java42 Map<Integer, SignalStrengthTelephonyCallback> mTelephonyCallbacks; field in SignalStrengthListener
52 mTelephonyCallbacks = new TreeMap<>(); in SignalStrengthListener()
58 for (int subId : mTelephonyCallbacks.keySet()) { in resume()
65 for (int subId : mTelephonyCallbacks.keySet()) { in pause()
73 Set<Integer> currentIds = new ArraySet<>(mTelephonyCallbacks.keySet()); in updateSubscriptionIds()
76 mTelephonyCallbacks.remove(idToRemove); in updateSubscriptionIds()
81 mTelephonyCallbacks.put(idToAdd, telephonyCallback); in updateSubscriptionIds()
98 mContext.getMainExecutor(), mTelephonyCallbacks.get(subId)); in startListening()
103 mgr.unregisterTelephonyCallback(mTelephonyCallbacks.get(subId)); in stopListening()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DSignalStrengthListenerTest.java114 eq(mListener.mTelephonyCallbacks.get(SUB_ID_1))); in updateSubscriptionIds_twoCalls_oneIdAdded()
116 eq(mListener.mTelephonyCallbacks.get(SUB_ID_2))); in updateSubscriptionIds_twoCalls_oneIdAdded()
120 mListener.mTelephonyCallbacks.get(SUB_ID_1)); in updateSubscriptionIds_twoCalls_oneIdAdded()
122 mListener.mTelephonyCallbacks.get(SUB_ID_2)); in updateSubscriptionIds_twoCalls_oneIdAdded()
124 any(Executor.class), eq(mListener.mTelephonyCallbacks.get(SUB_ID_3))); in updateSubscriptionIds_twoCalls_oneIdAdded()
/packages/services/Telephony/src/com/android/phone/
DPhoneGlobals.java262 private PhoneAppCallback[] mTelephonyCallbacks; field in PhoneGlobals
468 PhoneAppCallback callback = mTelephonyCallbacks[phone.getPhoneId()];
476 mTelephonyCallbacks[phone.getPhoneId()] = callback;
483 for (int phoneId = 0; phoneId < mTelephonyCallbacks.length; phoneId++) {
484 PhoneAppCallback callback = mTelephonyCallbacks[phoneId];
488 mTelephonyCallbacks[phoneId] = null;
498 mTelephonyCallbacks[phoneId] = callback;
692 mTelephonyCallbacks = new PhoneAppCallback[tm.getSupportedModemCount()]; in onCreate()
699 mTelephonyCallbacks[phone.getPhoneId()] = callback; in onCreate()