Home
last modified time | relevance | path

Searched refs:TETHERING_BLUETOOTH (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/
DTetheredClientTest.kt21 import android.net.TetheringManager.TETHERING_BLUETOOTH
66 TETHERING_BLUETOOTH)) in makeLinkAddress()
72 TETHERING_BLUETOOTH)) in makeLinkAddress()
78 TETHERING_BLUETOOTH)) in makeLinkAddress()
84 TETHERING_BLUETOOTH)) in makeLinkAddress()
107 assertEquals(TETHERING_BLUETOOTH, makeTestClient().tetheringType) in makeLinkAddress()
121 TETHERING_BLUETOOTH) in makeLinkAddress()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH;
186 verify(mConnectivityManager, never()).startTethering(eq(TETHERING_BLUETOOTH), anyBoolean(), in onSwitchToggled_onlyStartsWifiTetherWhenNeeded()
206 verify(mConnectivityManager).stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled_stopAllTetheringInterfaces()
217 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff()
221 mEnabler.startTethering(ConnectivityManager.TETHERING_BLUETOOTH); in startTethering_startsBluetoothTetherWhenOff()
223 eq(ConnectivityManager.TETHERING_BLUETOOTH), anyBoolean(), any(), any()); in startTethering_startsBluetoothTetherWhenOff()
232 mEnabler.stopTethering(TetheringManager.TETHERING_BLUETOOTH); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
307 assertThat(TetherEnabler.isTethering(TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)).isTrue(); in isTethering_shouldReturnCorrectly()
308 assertThat(TetherEnabler.isTethering(~TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)) in isTethering_shouldReturnCorrectly()
DBluetoothTetherPreferenceControllerTest.java112 verify(mTetherEnabler).startTethering(TetheringManager.TETHERING_BLUETOOTH); in setChecked_shouldStartBluetoothTethering()
118 verify(mTetherEnabler).stopTethering(TetheringManager.TETHERING_BLUETOOTH); in setUnchecked_shouldStopBluetoothTethering()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH;
100 public static final int TETHERING_BLUETOOTH_ON = 1 << TETHERING_BLUETOOTH;
268 stopTethering(TETHERING_BLUETOOTH); in onSwitchToggled()
279 if (choice == TETHERING_BLUETOOTH) { in stopTethering()
289 if (choice == TETHERING_BLUETOOTH) { in startTethering()
297 if (choice == TETHERING_BLUETOOTH && mBluetoothAdapter != null in startTethering()
335 startTethering(TETHERING_BLUETOOTH); in handleBluetoothStateChanged()
DBluetoothTetherPreferenceController.java79 return ConnectivityManager.TETHERING_BLUETOOTH; in getTetherType()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java19 import static android.net.ConnectivityManager.TETHERING_BLUETOOTH;
292 startTethering(TETHERING_BLUETOOTH); in onReceive()
512 if (choice == TETHERING_BLUETOOTH) { in startTethering()
536 startTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
538 mCm.stopTethering(TETHERING_BLUETOOTH); in onPreferenceTreeClick()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java21 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
219 if (interfaceType == TETHERING_BLUETOOTH) { in initStateMachine()
360 mIpServer = new IpServer(IFACE_NAME, mLooper.getLooper(), TETHERING_BLUETOOTH, mSharedLog, in startsOutAvailable()
373 initStateMachine(TETHERING_BLUETOOTH); in shouldDoNothingUntilRequested()
393 initStateMachine(TETHERING_BLUETOOTH); in handlesImmediateInterfaceDown()
404 initStateMachine(TETHERING_BLUETOOTH); in canBeTethered()
422 initTetheredStateMachine(TETHERING_BLUETOOTH, null); in canUnrequestTethering()
482 initTetheredStateMachine(TETHERING_BLUETOOTH, null); in handlesFirstUpstreamChange()
501 initTetheredStateMachine(TETHERING_BLUETOOTH, UPSTREAM_IFACE); in handlesChangingUpstream()
579 initTetheredStateMachine(TETHERING_BLUETOOTH, UPSTREAM_IFACE); in canUnrequestTetheringWithUpstream()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java26 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
503 case TETHERING_BLUETOOTH: in isValidDownstreamType()
542 case TETHERING_BLUETOOTH: return "TETHERING_BLUETOOTH"; in typeString()
DTethering.java37 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
548 if (!up && type != TETHERING_BLUETOOTH && type != TETHERING_WIGIG) { in interfaceStatusChanged()
576 return TETHERING_BLUETOOTH; in ifaceNameToType()
642 case TETHERING_BLUETOOTH: in enableTetheringInternal()
657 if (type != TETHERING_BLUETOOTH) { in enableTetheringInternal()
700 sendTetherResult(listener, TETHER_ERROR_SERVICE_UNAVAIL, TETHERING_BLUETOOTH); in setBluetoothTethering()
729 sendTetherResult(listener, result, TETHERING_BLUETOOTH); in setBluetoothTethering()
848 stopTethering(TETHERING_BLUETOOTH); in untetherAll()
939 case TETHERING_BLUETOOTH: in sendTetherStateChangedBroadcast()
DPrivateAddressCoordinator.java19 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
90 mCachedAddresses.put(TETHERING_BLUETOOTH, new LinkAddress(LEGACY_BLUETOOTH_IFACE_ADDRESS)); in PrivateAddressCoordinator()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java23 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
110 mPendingCallbacks.put(TETHERING_BLUETOOTH, new ArrayList<ResultReceiver>()); in onCreate()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java26 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
458 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in verifyPermissionIfAllNotApproved()
532 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in testRunTetherProvisioning()
DTetheringTest.java41 import static android.net.TetheringManager.TETHERING_BLUETOOTH;
2561 mTethering.startTethering(createTetheringRequestParcel(TETHERING_BLUETOOTH), result); in testBluetoothTethering()
2588 mTethering.stopTethering(TETHERING_BLUETOOTH); in testBluetoothTethering()
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java125 TETHERING_BLUETOOTH,
155 public static final int TETHERING_BLUETOOTH = 2; field in TetheringManager
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java618 if (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) { in configureIPv4()
658 if (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) { in requestIpv4Address()
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/
Dsystem-current.txt45 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt70 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java497 public static final int TETHERING_BLUETOOTH = 2; field in ConnectivityManager