Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java98 private BroadcastReceiver mTetherChangeReceiver; field in TetherSettings
347 getActivity().unregisterReceiver(mTetherChangeReceiver); in onStop()
351 mTetherChangeReceiver = null; in onStop()
361 mTetherChangeReceiver = new TetherChangeReceiver(); in registerReceiver()
363 final Intent intent = activity.registerReceiver(mTetherChangeReceiver, filter); in registerReceiver()
367 activity.registerReceiver(mTetherChangeReceiver, filter); in registerReceiver()
373 activity.registerReceiver(mTetherChangeReceiver, filter); in registerReceiver()
378 activity.registerReceiver(mTetherChangeReceiver, filter); in registerReceiver()
380 if (intent != null) mTetherChangeReceiver.onReceive(activity, intent); in registerReceiver()
DAllInOneTetherSettings.java136 private final BroadcastReceiver mTetherChangeReceiver = new BroadcastReceiver() { field in AllInOneTetherSettings
256 context.registerReceiver(mTetherChangeReceiver, filter); in onStart()
290 context.unregisterReceiver(mTetherChangeReceiver); in onStop()
/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
DTetheringManagerTest.java94 private TetherChangeReceiver mTetherChangeReceiver; field in TetheringManagerTest
122 mTetherChangeReceiver = new TetherChangeReceiver(); in setUp()
125 final Intent intent = mContext.registerReceiver(mTetherChangeReceiver, filter); in setUp()
126 if (intent != null) mTetherChangeReceiver.onReceive(null, intent); in setUp()
132 mContext.unregisterReceiver(mTetherChangeReceiver); in tearDown()
222 mTetherChangeReceiver.expectTethering(true /* active */, wifiRegexs); in testStartTetheringWithStateChangeBroadcast()
226 mTetherChangeReceiver.expectTethering(false /* active */, wifiRegexs); in testStartTetheringWithStateChangeBroadcast()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java80 TetherChangeReceiver mTetherChangeReceiver; field in WifiTetherSettings
114 mTetherChangeReceiver = new TetherChangeReceiver(); in onAttach()
151 context.registerReceiver(mTetherChangeReceiver, TETHER_STATE_CHANGE_FILTER); in onStart()
163 context.unregisterReceiver(mTetherChangeReceiver); in onStop()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java153 mContext.registerReceiver(mTetherChangeReceiver, filter); in onStart()
173 mContext.unregisterReceiver(mTetherChangeReceiver); in onStop()
312 private final BroadcastReceiver mTetherChangeReceiver = new BroadcastReceiver() { field in TetherEnabler