Home
last modified time | relevance | path

Searched refs:mAirplaneModeObserver (Results 1 – 4 of 4) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DTetherPreferenceController.java76 private SettingObserver mAirplaneModeObserver; field in TetherPreferenceController
137 if (mAirplaneModeObserver == null) { in onResume()
138 mAirplaneModeObserver = new SettingObserver(); in onResume()
146 .registerContentObserver(mAirplaneModeObserver.uri, false, mAirplaneModeObserver); in onResume()
151 if (mAirplaneModeObserver != null) { in onPause()
152 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in onPause()
/packages/apps/Settings/src/com/android/settings/network/
DTetherPreferenceController.java78 private SettingObserver mAirplaneModeObserver; field in TetherPreferenceController
140 if (mAirplaneModeObserver == null) { in onResume()
141 mAirplaneModeObserver = new SettingObserver(); in onResume()
149 .registerContentObserver(mAirplaneModeObserver.uri, false, mAirplaneModeObserver); in onResume()
154 if (mAirplaneModeObserver != null) { in onPause()
155 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in onPause()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAirplaneModeEnabler.java53 private ContentObserver mAirplaneModeObserver = new ContentObserver( field in AirplaneModeEnabler
75 mAirplaneModeObserver); in resume() local
80 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); in pause()