/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 99 * {@link #STATE_ON}, 109 * {@link #STATE_ON}, 121 * clients should wait for {@link #STATE_ON} before attempting to 128 public static final int STATE_ON = 12; 404 * <code>getBluetoothState() == STATE_ON</code> 421 * {@link #STATE_ON}, 452 * #STATE_ON}. If this call returns false then there was an 481 * #STATE_ON} to {@link #STATE_TURNING_OFF}, and some time 483 * #STATE_ON}. If this call returns false then there was an 548 * <p>If Bluetooth state is not {@link #STATE_ON}, this AP [all...] |
BluetoothInputDevice.java | 312 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothPan.java | 288 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothA2dp.java | 469 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothHealth.java | 458 if (adapter != null && adapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEnabler.java | 97 boolean isOn = bluetoothState == BluetoothAdapter.STATE_ON; 123 case BluetoothAdapter.STATE_ON:
|
DevicePickerFragment.java | 96 if (bluetoothState == BluetoothAdapter.STATE_ON) {
|
RequestPermissionActivity.java | 84 if (state == BluetoothAdapter.STATE_ON) { 110 * Strictly speaking STATE_TURNING_ON belong with STATE_ON; 136 case BluetoothAdapter.STATE_ON: 196 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
|
BluetoothSettings.java | 164 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON; 185 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) { 236 case BluetoothAdapter.STATE_ON:
|
LocalBluetoothAdapter.java | 179 if (state == BluetoothAdapter.STATE_ON) {
|
RequestPermissionHelperActivity.java | 113 || btState == BluetoothAdapter.STATE_ON
|
BluetoothNameDialogFragment.java | 72 BluetoothAdapter.STATE_ON)) {
|
DeviceListPreferenceFragment.java | 157 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothToggleActivity.java | 130 && (BluetoothAdapter.STATE_ON == previousState 135 if (BluetoothAdapter.STATE_ON == newState
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BasicAdapterTest.java | 218 assertEquals(BluetoothAdapter.STATE_ON, adapter.getState()); 241 if (adapter.getState() == BluetoothAdapter.STATE_ON) { 252 case BluetoothAdapter.STATE_ON:
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnablingActivity.java | 142 case BluetoothAdapter.STATE_ON:
|
BluetoothOppReceiver.java | 65 if (BluetoothAdapter.STATE_ON == intent.getIntExtra(
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
NfcEnabler.java | 110 case NfcAdapter.STATE_ON:
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 153 case BluetoothAdapter.STATE_ON:
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 175 * {@link #STATE_ON}, 186 public static final int STATE_ON = 3; 424 return sService.getState() == STATE_ON; 434 * <p>Returns one of {@link #STATE_ON}, {@link #STATE_TURNING_ON}, 438 * <code>{@link #getAdapterState()} == {@link #STATE_ON}</code> [all...] |
/frameworks/base/core/java/android/server/ |
BluetoothPanProfileHandler.java | 103 if (mBluetoothService.getBluetoothState() != BluetoothAdapter.STATE_ON && value) { 110 == BluetoothAdapter.STATE_ON) {
|
BluetoothAdapterStateMachine.java | 421 broadcastState(BluetoothAdapter.STATE_ON); 423 // Note runBluetooth should be called only in adapter STATE_ON 633 broadcastState(BluetoothAdapter.STATE_ON);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestUtils.java | 133 case BluetoothAdapter.STATE_ON: 431 case BluetoothAdapter.STATE_ON: 456 if (state == BluetoothAdapter.STATE_ON 474 state, BluetoothAdapter.STATE_ON, firedFlags, mask)); 499 case BluetoothAdapter.STATE_ON: [all...] |
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 273 case BluetoothAdapter.STATE_ON: 432 } else if (btState == BluetoothAdapter.STATE_ON && mBluetoothPan.isTetheringOn()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarPolicy.java | 263 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
|