Home
last modified time | relevance | path

Searched refs:mTetheringEventCallback (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DHotspotTileWorker.java39 private final TetheringManager.TetheringEventCallback mTetheringEventCallback = field in HotspotTileWorker
68 new HandlerExecutor(mHandler), mTetheringEventCallback); in onQCItemSubscribe()
87 mTetheringManager.unregisterTetheringEventCallback(mTetheringEventCallback); in unregisterCallbacks()
DHotspotRowWorker.java42 private final TetheringManager.TetheringEventCallback mTetheringEventCallback = field in HotspotRowWorker
78 new HandlerExecutor(mHandler), mTetheringEventCallback); in onQCItemSubscribe()
97 mTetheringManager.unregisterTetheringEventCallback(mTetheringEventCallback); in unregisterCallbacks()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java311 private TestTetheringEventCallback mTetheringEventCallback; field in TetheringTest
695 mTetheringEventCallback = registerTetheringEventCallback(); in initTetheringOnTestThread()
957 mTetheringEventCallback.expectUpstreamChanged(upstreamState.network); in testUsbConfiguredBroadcastStartsTethering()
1217 mTetheringEventCallback.expectUpstreamChanged(upstreamState.network); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()
1242 mTetheringEventCallback.expectUpstreamChanged(mobile.networkId); in upstreamSelectionTestCommon()
1249 mTetheringEventCallback.expectUpstreamChanged(wifi.networkId); in upstreamSelectionTestCommon()
1267 mTetheringEventCallback.expectUpstreamChanged(mobile.networkId); in verifyAutomaticUpstreamSelection()
1272 mTetheringEventCallback.expectUpstreamChanged(wifi.networkId); in verifyAutomaticUpstreamSelection()
1276 mTetheringEventCallback.expectUpstreamChanged(mobile.networkId); in verifyAutomaticUpstreamSelection()
1281 mTetheringEventCallback.expectUpstreamChanged(wifi.networkId); in verifyAutomaticUpstreamSelection()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java131 TetheringManager.TetheringEventCallback mTetheringEventCallback; field in TetherEnabler
171 mTetheringEventCallback = in onStart()
179 mTetheringEventCallback); in onStart()
195 mTetheringManager.unregisterTetheringEventCallback(mTetheringEventCallback); in onStop()
196 mTetheringEventCallback = null; in onStop()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java127 private TetheringEventCallback mTetheringEventCallback; field in MdnsSocketProviderTest
219 mTetheringEventCallback = teCallbackCaptor.getValue();
363 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(
372 runOnHandler(() -> mTetheringEventCallback.onTetheredInterfacesChanged(
392 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(List.of()));
444 runOnHandler(() -> mTetheringEventCallback.onTetheredInterfacesChanged(
743 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(
766 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(List.of()));
776 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(
787 runOnHandler(() -> mTetheringEventCallback.onLocalOnlyInterfacesChanged(
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java123 eq(mEnabler.mTetheringEventCallback)); in lifecycle_onStart_shoudRegisterTetheringEventCallback()
129 TetheringManager.TetheringEventCallback callback = mEnabler.mTetheringEventCallback; in lifecycle_onStop_shouldUnregisterTetheringEventCallback()
133 assertThat(mEnabler.mTetheringEventCallback).isNull(); in lifecycle_onStop_shouldUnregisterTetheringEventCallback()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java164 private MyTetheringEventCallback mTetheringEventCallback; field in EthernetTetheringTestBase
245 maybeUnregisterTetheringEventCallback(mTetheringEventCallback); in cleanUp()
246 mTetheringEventCallback = null; in cleanUp()
900 mTetheringEventCallback = enableEthernetTethering(mDownstreamIface.getInterfaceName(), in initTetheringTester()
905 mTetheringEventCallback.awaitUpstreamChanged( in initTetheringTester()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java85 @NonNull private final TetheringEventCallback mTetheringEventCallback; field in MdnsSocketProvider
194 mTetheringEventCallback = new TetheringEventCallback() { in MdnsSocketProvider()
350 tetheringManager.registerTetheringEventCallback(mHandler::post, mTetheringEventCallback); in startMonitoringSockets()
379 tetheringManager.unregisterTetheringEventCallback(mTetheringEventCallback); in maybeStopMonitoringSockets()
/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessManagerService.java167 private final TetheringEventCallback mTetheringEventCallback = new TetheringEventCallback() { field in RebootReadinessManagerService
233 mTetheringManager.registerTetheringEventCallback(mExecutor, mTetheringEventCallback); in RebootReadinessManagerService()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java297 private TetheringManager.TetheringEventCallback mTetheringEventCallback; field in NetworkStatsServiceTest
462 mTetheringEventCallback = tetheringEventCbCaptor.getValue(); in setUp()
2110 mTetheringEventCallback.onUpstreamChanged(WIFI_NETWORK); in testTetheringEventCallback_onUpstreamChanged()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java252 private TetheringManager.TetheringEventCallback mTetheringEventCallback; field in WifiP2pServiceImplTest
429 mTetheringEventCallback.onLocalOnlyInterfacesChanged(Collections.unmodifiableSet( in simulateTetherReady()
441 mTetheringEventCallback.onClientsChanged(mClients); in simulateOnClientsChanged()
1156 mTetheringEventCallback = mTetheringEventCallbackCaptor.getValue(); in forceP2pEnabled()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1406 private TetheringEventCallback mTetheringEventCallback = field in WifiP2pServiceImpl.P2pStateMachine
3086 mTetheringEventCallback); in enterImpl() local
3541 mTetheringManager.unregisterTetheringEventCallback(mTetheringEventCallback); in exitImpl()