/packages/modules/Connectivity/Tethering/tests/unit/common/android/net/ |
D | TetheredClientTest.kt | 21 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/ |
D | TetherEnablerTest.java | 19 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()
|
D | BluetoothTetherPreferenceControllerTest.java | 112 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/ |
D | TetherEnabler.java | 19 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()
|
D | BluetoothTetherPreferenceController.java | 79 return ConnectivityManager.TETHERING_BLUETOOTH; in getTetherType()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TetherSettings.java | 19 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/ |
D | IpServerTest.java | 21 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/ |
D | EntitlementManager.java | 26 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 503 case TETHERING_BLUETOOTH: in isValidDownstreamType() 542 case TETHERING_BLUETOOTH: return "TETHERING_BLUETOOTH"; in typeString()
|
D | Tethering.java | 37 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()
|
D | PrivateAddressCoordinator.java | 19 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/ |
D | TetherService.java | 23 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/ |
D | EntitlementManagerTest.java | 26 import static android.net.TetheringManager.TETHERING_BLUETOOTH; 458 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in verifyPermissionIfAllNotApproved() 532 mEnMgr.startProvisioningIfNeeded(TETHERING_BLUETOOTH, true); in testRunTetherProvisioning()
|
D | TetheringTest.java | 41 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/ |
D | TetheringManager.java | 125 TETHERING_BLUETOOTH, 155 public static final int TETHERING_BLUETOOTH = 2; field in TetheringManager
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 618 if (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) { in configureIPv4() 658 if (mInterfaceType == TetheringManager.TETHERING_BLUETOOTH) { in requestIpv4Address()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | system-current.txt | 45 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 70 field public static final int TETHERING_BLUETOOTH = 2; // 0x2
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityManager.java | 497 public static final int TETHERING_BLUETOOTH = 2; field in ConnectivityManager
|