Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt193 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testRestrictedNotification()
242 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testNoUpstreamNotification()
266 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testNoUpstreamNotification()
270 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testNoUpstreamNotification()
313 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testRoamingNotification()
342 notificationUpdater.onDownstreamChanged(DOWNSTREAM_NONE) in testRoamingNotification()
346 notificationUpdater.onDownstreamChanged(WIFI_MASK) in testRoamingNotification()
DTetheringTest.java694 verify(mNotificationUpdater, times(1)).onDownstreamChanged(DOWNSTREAM_NONE); in failingLocalOnlyHotspotLegacyApBroadcast()
777 verify(mNotificationUpdater, times(2)).onDownstreamChanged(DOWNSTREAM_NONE); in workingLocalOnlyHotspotEnrichedApBroadcast()
1003 verify(mNotificationUpdater, times(1)).onDownstreamChanged(DOWNSTREAM_NONE); in failingWifiTetheringLegacyApBroadcast()
1048 verify(mNotificationUpdater, times(1)).onDownstreamChanged(DOWNSTREAM_NONE); in workingWifiTetheringEnrichedApBroadcast()
1049 verify(mNotificationUpdater, times(1)).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in workingWifiTetheringEnrichedApBroadcast()
1122 verify(mNotificationUpdater, times(2)).onDownstreamChanged(DOWNSTREAM_NONE); in failureEnablingIpForwarding()
1123 verify(mNotificationUpdater, times(1)).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in failureEnablingIpForwarding()
1515 verify(mNotificationUpdater, times(2)).onDownstreamChanged(DOWNSTREAM_NONE); in workingWifiP2pGroupOwner()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java169 public void onDownstreamChanged(@IntRange(from = 0, to = 7) final int downstreamTypesMask) { in onDownstreamChanged() method in TetheringNotificationUpdater
DTethering.java908 mNotificationUpdater.onDownstreamChanged(downstreamTypesMask); in sendTetherStateChangedBroadcast()