Home
last modified time | relevance | path

Searched refs:mTelephonyCallback (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnhanced4gBasePreferenceController.java57 private PhoneCallStateTelephonyCallback mTelephonyCallback; field in Enhanced4gBasePreferenceController
76 if (mTelephonyCallback == null) { in init()
77 mTelephonyCallback = new PhoneCallStateTelephonyCallback(); in init()
139 if (!isModeMatched() || (mTelephonyCallback == null)) { in onStart()
142 mTelephonyCallback.register(mContext, mSubId); in onStart()
147 if (mTelephonyCallback == null) { in onStop()
150 mTelephonyCallback.unregister(); in onStop()
243 mContext.getMainExecutor(), mTelephonyCallback); in register() local
DNetworkProviderWorker.java70 final NetworkProviderTelephonyCallback mTelephonyCallback; field in NetworkProviderWorker
101 mTelephonyCallback = new NetworkProviderTelephonyCallback(); in NetworkProviderWorker()
120 mTelephonyManager.registerTelephonyCallback(mHandler::post, mTelephonyCallback); in onSlicePinned()
135 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onSliceUnpinned()
169 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in updateListener()
174 mTelephonyManager.registerTelephonyCallback(mHandler::post, mTelephonyCallback); in updateListener()
DVideoCallingPreferenceController.java52 private PhoneTelephonyCallback mTelephonyCallback; field in VideoCallingPreferenceController
61 mTelephonyCallback = new PhoneTelephonyCallback(); in VideoCallingPreferenceController()
80 mTelephonyCallback.register(mContext, mSubId); in onStart()
86 mTelephonyCallback.unregister(); in onStop()
DWifiCallingPreferenceController.java63 private PhoneTelephonyCallback mTelephonyCallback; field in WifiCallingPreferenceController
69 mTelephonyCallback = new PhoneTelephonyCallback(); in WifiCallingPreferenceController()
82 mTelephonyCallback.register(mContext, mSubId); in onStart()
87 mTelephonyCallback.unregister(); in onStop()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkPreferenceController.java59 MobileNetworkTelephonyCallback mTelephonyCallback; field in MobileNetworkPreferenceController
112 if (mTelephonyCallback == null) { in onStart()
113 mTelephonyCallback = new MobileNetworkTelephonyCallback(); in onStart()
116 mContext.getMainExecutor(), mTelephonyCallback); in onStart() local
126 if (mTelephonyCallback != null) { in onStop()
127 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onStop()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java78 private final NetworkProviderTelephonyCallback mTelephonyCallback; field in InternetConnectivityPanel
153 mTelephonyCallback = new NetworkProviderTelephonyCallback(); in InternetConnectivityPanel()
179 new HandlerExecutor(new Handler(Looper.getMainLooper())), mTelephonyCallback); in onResume()
194 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onPause()
290 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onSubscriptionsChanged()
292 new HandlerExecutor(new Handler(Looper.getMainLooper())), mTelephonyCallback); in onSubscriptionsChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DMobileNetworkPreferenceControllerTest.java122 mContext.getMainExecutor(), mController.mTelephonyCallback); in goThroughLifecycle_isAvailable_shouldListenToServiceChange()
126 verify(mTelephonyManager).unregisterTelephonyCallback(mController.mTelephonyCallback); in goThroughLifecycle_isAvailable_shouldListenToServiceChange()
145 mContext.getMainExecutor(), mController.mTelephonyCallback); in serviceStateChange_shouldUpdatePrefSummary()
149 mController.mTelephonyCallback.onServiceStateChanged(null); in serviceStateChange_shouldUpdatePrefSummary()
/packages/services/Telephony/src/com/android/phone/
DCallNotifier.java72 private Map<Integer, CallNotifierTelephonyCallback> mTelephonyCallback = field in CallNotifier
570 List<Integer> subIdList = new ArrayList<Integer>(mTelephonyCallback.keySet()); in updatePhoneStateListeners()
588 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback.get(subId)); in updatePhoneStateListeners()
589 mTelephonyCallback.remove(subId); in updatePhoneStateListeners()
619 if (!mTelephonyCallback.containsKey(subId)) { in updatePhoneStateListeners()
623 mTelephonyCallback.put(subId, listener); in updatePhoneStateListeners()
DCallFeaturesSetting.java109 private TelephonyCallback mTelephonyCallback; field in CallFeaturesSetting
270 mTelephonyCallback = new CallFeaturesTelephonyCallback(); in onCreate()
289 new HandlerExecutor(new Handler(Looper.getMainLooper())), mTelephonyCallback); in listenPhoneState()
291 telephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in listenPhoneState()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNetworkProviderWorkerTest.java214 mMockNetworkProviderWorker.mTelephonyCallback.onServiceStateChanged(new ServiceState()); in onServiceStateChanged_notifyTelephonyCallback_callUpdateSlice()
225 mMockNetworkProviderWorker.mTelephonyCallback.onDisplayInfoChanged( in onDisplayInfoChanged_notifyTelephonyCallback_callUpdateSlice()
237 mMockNetworkProviderWorker.mTelephonyCallback.onDataConnectionStateChanged( in onDataConnectionStateChanged_notifyTelephonyCallback_callUpdateSlice()
/packages/services/Telephony/src/com/android/phone/settings/
DAccessibilitySettingsFragment.java62 private final TelephonyCallback mTelephonyCallback = new AccessibilityTelephonyCallback(); field in AccessibilitySettingsFragment
152 mTelephonyCallback); in onResume()
160 tm.unregisterTelephonyCallback(mTelephonyCallback); in onPause()
DRadioInfo.java312 private TelephonyCallback mTelephonyCallback = new RadioInfoTelephonyCallback(); field in RadioInfo
708 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onPause()
809 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in unregisterPhoneStateListener()
833 mTelephonyCallback = new RadioInfoTelephonyCallback(); in registerPhoneStateListener()
835 mTelephonyCallback); in registerPhoneStateListener()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java174 protected SimStatusDialogTelephonyCallback mTelephonyCallback; field in SimStatusDialogController
239 mTelephonyCallback = new SimStatusDialogTelephonyCallback(); in initialize()
284 mTelephonyManager.registerTelephonyCallback(mContext.getMainExecutor(), mTelephonyCallback); in onResume() local
307 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onPause()
318 mTelephonyManager.unregisterTelephonyCallback(mTelephonyCallback); in onPause()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java106 private final PhoneTelephonyCallback mTelephonyCallback = new PhoneTelephonyCallback(); field in WifiCallingSettingsForSub
426 context.getMainExecutor(), mTelephonyCallback); in onResume() local
453 getTelephonyManagerForSub(mSubId).unregisterTelephonyCallback(mTelephonyCallback); in onPause()
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java1087 private final TelephonyCallback mTelephonyCallback = new TelecomAccountTelephonyCallback(); field in TelecomAccountRegistry
1386 mTelephonyCallback); in setupOnBoot()