Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java1143 boolean currentDisallow, boolean nextDisallow, boolean isTetheringActive, in runUserRestrictionsChange() argument
1148 when(mockTethering.isTetheringActive()).thenReturn(isTetheringActive); in runUserRestrictionsChange()
1165 final boolean isTetheringActive = false; in testDisallowTetheringWhenTetheringIsNotActive()
1170 runUserRestrictionsChange(currDisallow, nextDisallow, isTetheringActive, in testDisallowTetheringWhenTetheringIsNotActive()
1176 final boolean isTetheringActive = true; in testDisallowTetheringWhenTetheringIsActive()
1181 runUserRestrictionsChange(currDisallow, nextDisallow, isTetheringActive, in testDisallowTetheringWhenTetheringIsActive()
1187 final boolean isTetheringActive = false; in testAllowTetheringWhenTetheringIsNotActive()
1192 runUserRestrictionsChange(currDisallow, nextDisallow, isTetheringActive, in testAllowTetheringWhenTetheringIsNotActive()
1198 final boolean isTetheringActive = true; in testAllowTetheringWhenTetheringIsActive()
1203 runUserRestrictionsChange(currDisallow, nextDisallow, isTetheringActive, in testAllowTetheringWhenTetheringIsActive()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1080 boolean isTetheringActive() { in isTetheringActive() method in Tethering
1121 if (mWrapper.isTetheringActive()) { in onUserRestrictionsChanged()