Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt248 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testRestrictedNotification()
299 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testNoUpstreamNotification()
325 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testNoUpstreamNotification()
329 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testNoUpstreamNotification()
377 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testRoamingNotification()
407 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testRoamingNotification()
411 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testRoamingNotification()
DTetheringTest.java1016 verify(mNotificationUpdater, times(1)).onDownstreamChanged(DOWNSTREAM_NONE); in failingLocalOnlyHotspotLegacyApBroadcast()
1022 verify(mNotificationUpdater, never()).onDownstreamChanged(DOWNSTREAM_NONE); in failingLocalOnlyHotspotLegacyApBroadcast()
1136 verify(mNotificationUpdater, times(2)).onDownstreamChanged(DOWNSTREAM_NONE); in verifyStartHotspot()
1139 verify(mNotificationUpdater).onDownstreamChanged(DOWNSTREAM_NONE); in verifyStartHotspot()
1140 verify(mNotificationUpdater).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in verifyStartHotspot()
2050 verify(mNotificationUpdater, times(1)).onDownstreamChanged(DOWNSTREAM_NONE); in failingWifiTetheringLegacyApBroadcast()
2056 verify(mNotificationUpdater, never()).onDownstreamChanged(DOWNSTREAM_NONE); in failingWifiTetheringLegacyApBroadcast()
2223 verify(mNotificationUpdater, never()).onDownstreamChanged(DOWNSTREAM_NONE); in startWifiApBroadcastDoesNotStartIpServing()
2269 verify(mNotificationUpdater, times(2)).onDownstreamChanged(DOWNSTREAM_NONE); in failureEnablingIpForwarding()
2270 verify(mNotificationUpdater, times(1)).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in failureEnablingIpForwarding()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java168 public void onDownstreamChanged(@IntRange(from = 0, to = 7) final int downstreamTypesMask) { in onDownstreamChanged() method in TetheringNotificationUpdater
DTethering.java1299 mNotificationUpdater.onDownstreamChanged(downstreamTypesMask); in notifyTetherStatesChanged()