Home
last modified time | relevance | path

Searched refs:mTetherChangeReceiver (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java79 private BroadcastReceiver mTetherChangeReceiver; field in TetherSettings
269 mTetherChangeReceiver = new TetherChangeReceiver(); in onStart()
271 Intent intent = activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
275 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
281 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
285 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
287 if (intent != null) mTetherChangeReceiver.onReceive(activity, intent); in onStart()
299 getActivity().unregisterReceiver(mTetherChangeReceiver); in onStop()
300 mTetherChangeReceiver = null; in onStop()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java87 private BroadcastReceiver mTetherChangeReceiver; field in TetherSettings
293 mTetherChangeReceiver = new TetherChangeReceiver(); in onStart()
295 Intent intent = activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
299 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
305 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
309 activity.registerReceiver(mTetherChangeReceiver, filter); in onStart()
311 if (intent != null) mTetherChangeReceiver.onReceive(activity, intent); in onStart()
326 getActivity().unregisterReceiver(mTetherChangeReceiver); in onStop()
329 mTetherChangeReceiver = null; in onStop()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java77 TetherChangeReceiver mTetherChangeReceiver; field in WifiTetherSettings
111 mTetherChangeReceiver = new TetherChangeReceiver(); in onAttach()
147 context.registerReceiver(mTetherChangeReceiver, TETHER_STATE_CHANGE_FILTER); in onStart()
159 context.unregisterReceiver(mTetherChangeReceiver); in onStop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSettings.java77 TetherChangeReceiver mTetherChangeReceiver; field in WifiTetherSettings
111 mTetherChangeReceiver = new TetherChangeReceiver(); in onAttach()
147 context.registerReceiver(mTetherChangeReceiver, TETHER_STATE_CHANGE_FILTER); in onStart()
159 context.unregisterReceiver(mTetherChangeReceiver); in onStop()