Home
last modified time | relevance | path

Searched refs:mAirplanModeChangedReceiver (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkPreferenceController.java65 private BroadcastReceiver mAirplanModeChangedReceiver; field in MobileNetworkPreferenceController
73 mAirplanModeChangedReceiver = new BroadcastReceiver() { in MobileNetworkPreferenceController()
118 if (mAirplanModeChangedReceiver != null) { in onStart()
119 mContext.registerReceiver(mAirplanModeChangedReceiver, in onStart()
129 if (mAirplanModeChangedReceiver != null) { in onStop()
130 mContext.unregisterReceiver(mAirplanModeChangedReceiver); in onStop()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkPreferenceController.java65 private BroadcastReceiver mAirplanModeChangedReceiver; field in MobileNetworkPreferenceController
73 mAirplanModeChangedReceiver = new BroadcastReceiver() { in MobileNetworkPreferenceController()
118 if (mAirplanModeChangedReceiver != null) { in onStart()
119 mContext.registerReceiver(mAirplanModeChangedReceiver, in onStart()
129 if (mAirplanModeChangedReceiver != null) { in onStop()
130 mContext.unregisterReceiver(mAirplanModeChangedReceiver); in onStop()