/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 105 * {@link #STATE_ON}, 115 * {@link #STATE_ON}, 127 * clients should wait for {@link #STATE_ON} before attempting to 134 public static final int STATE_ON = 12; 429 * <code>getBluetoothState() == STATE_ON</code> 446 * {@link #STATE_ON}, 477 * #STATE_ON}. If this call returns false then there was an 506 * #STATE_ON} to {@link #STATE_TURNING_OFF}, and some time 508 * #STATE_ON}. If this call returns false then there was an 561 if (getState() != STATE_ON) return null [all...] |
BluetoothInputDevice.java | 316 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothPan.java | 292 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothA2dp.java | 473 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothHealth.java | 462 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: 201 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
|
BluetoothSettings.java | 170 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON; 192 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) { 243 case BluetoothAdapter.STATE_ON:
|
LocalBluetoothAdapter.java | 179 if (state == BluetoothAdapter.STATE_ON) {
|
DeviceListPreferenceFragment.java | 160 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
|
RequestPermissionHelperActivity.java | 119 || btState == BluetoothAdapter.STATE_ON
|
BluetoothNameDialogFragment.java | 76 BluetoothAdapter.STATE_ON)) {
|
/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 | 234 case BluetoothAdapter.STATE_ON: 254 if (adapter.getState() == BluetoothAdapter.STATE_ON) { 266 case BluetoothAdapter.STATE_ON:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothController.java | 77 mEnabled = (adapterState == BluetoothAdapter.STATE_ON);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnablingActivity.java | 142 case BluetoothAdapter.STATE_ON:
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
NfcEnabler.java | 110 case NfcAdapter.STATE_ON:
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothOppHandover.java | 144 if (state == BluetoothAdapter.STATE_ON) {
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 153 case BluetoothAdapter.STATE_ON:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarPolicy.java | 169 mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON); 262 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 189 * {@link #STATE_ON}, 200 public static final int STATE_ON = 3; 502 return sService.getState() == STATE_ON; 512 * <p>Returns one of {@link #STATE_ON}, {@link #STATE_TURNING_ON}, 516 * <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) {
|
/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/Nfc/src/com/android/nfc/ |
NfcService.java | 197 int mState; // one of NfcAdapter.STATE_ON, STATE_TURNING_ON, etc 430 * either STATE_ON or STATE_OFF. This way each task can be guaranteed 431 * of starting in either STATE_OFF or STATE_ON, without needing to hold 509 if (mState == NfcAdapter.STATE_ON) { 526 updateState(NfcAdapter.STATE_ON); 710 return mState == NfcAdapter.STATE_ON && mIsNdefPushEnabled; [all...] |