/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 30 import static android.net.TetheringManager.TETHERING_WIFI; 305 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testRequestLastEntitlementCacheValue() 318 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, false); in testRequestLastEntitlementCacheValue() 330 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testRequestLastEntitlementCacheValue() 343 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, false); in testRequestLastEntitlementCacheValue() 355 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testRequestLastEntitlementCacheValue() 367 mEnMgr.requestLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testRequestLastEntitlementCacheValue() 410 mEnMgr.startProvisioningIfNeeded(TETHERING_WIFI, true); in verifyPermissionResult() 416 mEnMgr.stopProvisioningIfNeeded(TETHERING_WIFI); in verifyPermissionResult() 422 mEnMgr.startProvisioningIfNeeded(TETHERING_WIFI, true); in verifyPermissionResult() [all …]
|
D | ConnectedClientsTrackerTest.kt | 24 import android.net.TetheringManager.TETHERING_WIFI 50 TETHERING_WIFI) 58 TETHERING_WIFI) 84 val client2WithoutAddr = TetheredClient(client2Addr, emptyList(), TETHERING_WIFI) in testUpdateConnectedClients() 111 assertSameClients(listOf(TetheredClient(client1Addr, emptyList(), TETHERING_WIFI)), in testUpdateConnectedClients() 127 TetheredClient(client1Addr, emptyList(), TETHERING_WIFI), in testUpdateConnectedClients_LeaseExpiration() 133 TETHERING_WIFI)) in testUpdateConnectedClients_LeaseExpiration()
|
D | TetheringServiceTest.java | 22 import static android.net.TetheringManager.TETHERING_WIFI; 262 request.tetheringType = TETHERING_WIFI; in testStartTethering() 287 request.tetheringType = TETHERING_WIFI; in runStartTetheringAndVerifyNoPermission() 298 request.tetheringType = TETHERING_WIFI; in testFailToBypassEntitlementWithoutNeworkStackPermission() 315 mTetheringConnector.stopTethering(TETHERING_WIFI, TEST_CALLER_PKG, in runStopTethering() 318 verify(mTethering).stopTethering(TETHERING_WIFI); in runStopTethering() 325 mTetheringConnector.stopTethering(TETHERING_WIFI, TEST_CALLER_PKG, in testStopTethering() 346 mTetheringConnector.requestLatestTetheringEntitlementResult(TETHERING_WIFI, result, in runRequestLatestTetheringEntitlementResult() 349 verify(mTethering).requestLatestTetheringEntitlementResult(eq(TETHERING_WIFI), in runRequestLatestTetheringEntitlementResult() 357 mTetheringConnector.requestLatestTetheringEntitlementResult(TETHERING_WIFI, result, in testRequestLatestTetheringEntitlementResult()
|
D | TetheringTest.java | 35 import static android.net.TetheringManager.TETHERING_WIFI; 989 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in failingWifiTetheringLegacyApBroadcast() 1017 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in workingWifiTetheringEnrichedApBroadcast() 1049 verify(mNotificationUpdater, times(1)).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in workingWifiTetheringEnrichedApBroadcast() 1059 mTethering.stopTethering(TETHERING_WIFI); in workingWifiTetheringEnrichedApBroadcast() 1094 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in failureEnablingIpForwarding() 1123 verify(mNotificationUpdater, times(1)).onDownstreamChanged(eq(1 << TETHERING_WIFI)); in failureEnablingIpForwarding() 1389 mTethering.startTethering(createTetheringRequestParcel(TETHERING_WIFI), null); in testRegisterTetheringEventCallback() 1410 mTethering.stopTethering(TETHERING_WIFI); in testRegisterTetheringEventCallback() 1805 createTetheringRequestParcel(TETHERING_WIFI, null, null, false); in testExemptFromEntitlementCheck() [all …]
|
D | TetheringNotificationUpdaterTest.kt | 27 import android.net.ConnectivityManager.TETHERING_WIFI 67 const val WIFI_MASK = 1 shl TETHERING_WIFI
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 19 import static android.net.TetheringManager.TETHERING_WIFI; 92 if (client.getTetheringType() == TETHERING_WIFI in updateConnectedClients() 110 client, Collections.emptyList() /* addresses */, TETHERING_WIFI)); in updateConnectedClients()
|
D | EntitlementManager.java | 30 import static android.net.TetheringManager.TETHERING_WIFI; 506 case TETHERING_WIFI: in isValidDownstreamType() 552 case TETHERING_WIFI: return "TETHERING_WIFI"; in typeString()
|
D | Tethering.java | 41 import static android.net.TetheringManager.TETHERING_WIFI; 521 return TETHERING_WIFI; in ifaceNameToType() 590 case TETHERING_WIFI: in enableTetheringInternal() 800 stopTethering(TETHERING_WIFI); in untetherAll() 872 downstreamTypesMask |= (1 << TETHERING_WIFI); in sendTetherStateChangedBroadcast() 1167 disableWifiIpServingLockedCommon(TETHERING_WIFI, ifname, apState); in disableWifiIpServingLocked() 1641 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive() 1667 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImpl.java | 159 mConnectivityManager.startTethering(ConnectivityManager.TETHERING_WIFI, false, in setHotspotEnabled() 169 mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in setHotspotEnabled() 213 mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in maybeResetSoftApState()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/util/ |
D | TetheringUtilsTest.java | 19 import static android.net.TetheringManager.TETHERING_WIFI; 50 request.tetheringType = TETHERING_WIFI; in makeTetheringRequestParcel()
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 24 import static android.net.TetheringManager.TETHERING_WIFI; 421 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in handlesChangingUpstreamNatFailure() 436 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in handlesChangingUpstreamInterfaceForwardingFailure() 533 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in ignoresDuplicateUpstreamNotifications() 545 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in startsDhcpServer() 628 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, true /* usingLegacyDhcp */, in doesNotStartDhcpServerIfDisabled() 740 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, false /* usingLegacyDhcp */, in addRemoveipv6ForwardingRules() 889 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, false /* usingLegacyDhcp */, in enableDisableUsingBpfOffload() 907 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, false /* usingLegacyDhcp */, in enableDisableUsingBpfOffload() 924 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, false /* usingLegacyDhcp */, in doesNotStartIpNeighborMonitorIfBpfOffloadDisabled() [all …]
|
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 120 TETHERING_WIFI, 140 public static final int TETHERING_WIFI = 0; field in TetheringManager
|
/frameworks/base/packages/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 39 field public static final int TETHERING_WIFI = 0; // 0x0
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 451 public static final int TETHERING_WIFI = TetheringManager.TETHERING_WIFI; field in ConnectivityManager
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 625 if (mInterfaceType == TetheringManager.TETHERING_WIFI in configureIPv4()
|
/frameworks/base/api/ |
D | test-current.txt | 1639 field public static final int TETHERING_WIFI = 0; // 0x0
|
D | system-current.txt | 4354 field public static final int TETHERING_WIFI = 0; // 0x0 4804 field public static final int TETHERING_WIFI = 0; // 0x0
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 4354 field public static final int TETHERING_WIFI;
|