Home
last modified time | relevance | path

Searched refs:mNotificationUpdater (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java207 @Mock private TetheringNotificationUpdater mNotificationUpdater; field in TetheringTest
434 return mNotificationUpdater; in getNotificationUpdater()
694 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()
1153 mUserManager, mockTethering, mNotificationUpdater); in runUserRestrictionsChange()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java236 private final TetheringNotificationUpdater mNotificationUpdater; field in Tethering
269 mNotificationUpdater = mDeps.getNotificationUpdater(mContext, mLooper); in Tethering()
319 mUserManager, this, mNotificationUpdater); in Tethering()
424 mNotificationUpdater.onActiveDataSubscriptionIdChanged(subId); in onActiveDataSubscriptionIdChanged()
908 mNotificationUpdater.onDownstreamChanged(downstreamTypesMask); in sendTetherStateChangedBroadcast()
1088 private final TetheringNotificationUpdater mNotificationUpdater; field in Tethering.UserRestrictionActionListener
1095 mNotificationUpdater = updater; in UserRestrictionActionListener()
1117 mNotificationUpdater.tetheringRestrictionLifted(); in onUserRestrictionsChanged()
1124 mNotificationUpdater.notifyTetheringDisabledByRestriction(); in onUserRestrictionsChanged()
1722 mNotificationUpdater.onUpstreamCapabilitiesChanged(ns.networkCapabilities); in handleUpstreamNetworkMonitorCallback()
[all …]