Home
last modified time | relevance | path

Searched refs:TETHERING_WIFI (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java21 import static android.net.ConnectivityManager.TETHERING_WIFI;
258 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testGetLastEntitlementCacheValue()
273 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, false); in testGetLastEntitlementCacheValue()
287 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testGetLastEntitlementCacheValue()
301 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, false); in testGetLastEntitlementCacheValue()
315 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testGetLastEntitlementCacheValue()
329 mEnMgr.getLatestTetheringEntitlementResult(TETHERING_WIFI, receiver, true); in testGetLastEntitlementCacheValue()
360 mEnMgr.startProvisioningIfNeeded(TETHERING_WIFI, true); in verifyPermissionResult()
363 mEnMgr.stopProvisioningIfNeeded(TETHERING_WIFI); in verifyPermissionResult()
366 mEnMgr.startProvisioningIfNeeded(TETHERING_WIFI, true); in verifyPermissionResult()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java152 mConnectivityManager.startTethering(ConnectivityManager.TETHERING_WIFI, false, in setHotspotEnabled()
162 mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in setHotspotEnabled()
206 mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in maybeResetSoftApState()
/frameworks/base/tests/net/java/android/net/ip/
DIpServerTest.java21 import static android.net.ConnectivityManager.TETHERING_WIFI;
287 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in handlesChangingUpstreamNatFailure()
304 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in handlesChangingUpstreamInterfaceForwardingFailure()
395 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in ignoresDuplicateUpstreamNotifications()
407 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE); in startsDhcpServer()
423 initTetheredStateMachine(TETHERING_WIFI, UPSTREAM_IFACE, true /* usingLegacyDhcp */); in doesNotStartDhcpServerIfDisabled()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java32 import static android.net.ConnectivityManager.TETHERING_WIFI;
359 return TETHERING_WIFI; in ifaceNameToType()
401 case TETHERING_WIFI: in enableTetheringInternal()
519 stopTethering(TETHERING_WIFI); in untetherAll()
778 mEntitlementMgr.stopProvisioningIfNeeded(TETHERING_WIFI); in handleWifiApAction()
836 if (ipServer.interfaceType() == TETHERING_WIFI) { in disableWifiIpServingLocked()
864 maybeTrackNewInterfaceLocked(ifname, TETHERING_WIFI); in enableWifiIpServingLocked()
1298 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateActive()
1322 if (who.interfaceType() == TETHERING_WIFI) { in handleInterfaceServingStateInactive()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java25 import static android.net.ConnectivityManager.TETHERING_WIFI;
547 case TETHERING_WIFI: in isValidDownstreamType()
578 case TETHERING_WIFI: return "TETHERING_WIFI"; in typeString()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java27 import static android.net.ConnectivityManager.TETHERING_WIFI;
703 mTethering.startTethering(TETHERING_WIFI, null, false); in failingWifiTetheringLegacyApBroadcast()
728 mTethering.startTethering(TETHERING_WIFI, null, false); in workingWifiTetheringEnrichedApBroadcast()
765 mTethering.stopTethering(TETHERING_WIFI); in workingWifiTetheringEnrichedApBroadcast()
798 mTethering.startTethering(TETHERING_WIFI, null, false); in failureEnablingIpForwarding()
976 mTethering.startTethering(TETHERING_WIFI, null, false); in testRegisterTetheringEventCallback()
/frameworks/base/services/net/java/android/net/ip/
DIpServer.java403 } else if (mInterfaceType == ConnectivityManager.TETHERING_WIFI) { in configureIPv4()
423 if (mInterfaceType == ConnectivityManager.TETHERING_WIFI) { in configureIPv4()
/frameworks/base/core/java/android/net/
DConnectivityManager.java457 public static final int TETHERING_WIFI = 0; field in ConnectivityManager
/frameworks/base/api/
Dsystem-current.txt4023 field public static final int TETHERING_WIFI = 0; // 0x0