Home
last modified time | relevance | path

Searched refs:mAirplaneModeObserver (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DNfcPreferenceController.java45 NfcAirplaneModeObserver mAirplaneModeObserver; field in NfcPreferenceController
66 mAirplaneModeObserver = in displayPreference()
111 if (mAirplaneModeObserver != null) { in onResume()
112 mAirplaneModeObserver.register(); in onResume()
121 if (mAirplaneModeObserver != null) { in onPause()
122 mAirplaneModeObserver.unregister(); in onPause()
/packages/apps/Settings/src/com/android/settings/network/
DTetherPreferenceController.java77 private SettingObserver mAirplaneModeObserver; field in TetherPreferenceController
141 if (mAirplaneModeObserver == null) { in onResume()
142 mAirplaneModeObserver = new SettingObserver(); in onResume()
150 .registerContentObserver(mAirplaneModeObserver.uri, false, mAirplaneModeObserver); in onResume()
155 if (mAirplaneModeObserver != null) { in onPause()
156 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DTetherPreferenceController.java77 private SettingObserver mAirplaneModeObserver; field in TetherPreferenceController
141 if (mAirplaneModeObserver == null) { in onResume()
142 mAirplaneModeObserver = new SettingObserver(); in onResume()
150 .registerContentObserver(mAirplaneModeObserver.uri, false, mAirplaneModeObserver); in onResume()
155 if (mAirplaneModeObserver != null) { in onPause()
156 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in onPause()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java66 private ContentObserver mAirplaneModeObserver = new ContentObserver( field in AirplaneModeEnabler
89 mAirplaneModeObserver); in resume() local
94 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in pause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAirplaneModeEnabler.java66 private ContentObserver mAirplaneModeObserver = new ContentObserver( field in AirplaneModeEnabler
89 mAirplaneModeObserver); in resume() local
94 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in pause()