/hardware/qcom/power/ |
power.c | 31 #define STATE_ON "state=1" 126 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothEnabler.java | 102 boolean isOn = bluetoothState == BluetoothAdapter.STATE_ON; 128 case BluetoothAdapter.STATE_ON:
|
BluetoothDiscoverableTimeoutReceiver.java | 79 localBluetoothAdapter.getState() == 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: 199 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) {
|
BluetoothSettings.java | 174 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON; 196 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) { 248 case BluetoothAdapter.STATE_ON:
|
DevicePickerFragment.java | 106 if (bluetoothState == BluetoothAdapter.STATE_ON) {
|
LocalBluetoothAdapter.java | 179 if (state == BluetoothAdapter.STATE_ON) {
|
RequestPermissionHelperActivity.java | 113 || btState == BluetoothAdapter.STATE_ON
|
DeviceListPreferenceFragment.java | 162 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
|
BluetoothNameDialogFragment.java | 76 BluetoothAdapter.STATE_ON)) {
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 115 * {@link #STATE_ON}, 125 * {@link #STATE_ON}, 137 * clients should wait for {@link #STATE_ON} before attempting to 144 public static final int STATE_ON = 12; 530 if (getState() != STATE_ON) return false; 606 * <code>getBluetoothState() == STATE_ON</code> 626 * {@link #STATE_ON}, 667 * #STATE_ON}. If this call returns false then there was an 700 * #STATE_ON} to {@link #STATE_TURNING_OFF}, and some time 702 * #STATE_ON}. If this call returns false then there was a [all...] |
BluetoothPan.java | 373 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
BasicAdapterTest.java | 232 assertEquals(BluetoothAdapter.STATE_ON, adapter.getState()); 244 if (state != BluetoothAdapter.STATE_ON || turnOff) { 260 if (adapter.getState() == BluetoothAdapter.STATE_ON) { 273 case 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
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
ProfileService.java | 133 } else if (state == BluetoothAdapter.STATE_ON) { 178 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_ON);
|
AdapterState.java | 278 notifyAdapterStateChange(BluetoothAdapter.STATE_ON); 294 notifyAdapterStateChange(BluetoothAdapter.STATE_ON); 348 notifyAdapterStateChange(BluetoothAdapter.STATE_ON);
|
AdapterService.java | 237 if (BluetoothAdapter.STATE_ON != entry.getValue()) { 303 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_ON); 428 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { 436 expectedCurrentState= BluetoothAdapter.STATE_ON; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothController.java | 94 mEnabled = (adapterState == BluetoothAdapter.STATE_ON);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnablingActivity.java | 141 case BluetoothAdapter.STATE_ON:
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
NfcEnabler.java | 110 case NfcAdapter.STATE_ON:
|
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarPolicy.java | 132 mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON); 222 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 159 case BluetoothAdapter.STATE_ON:
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 191 * {@link #STATE_ON}, 198 public static final int STATE_ON = 3; 599 return sService.getState() == STATE_ON; 609 * <p>Returns one of {@link #STATE_ON}, {@link #STATE_TURNING_ON}, 613 * <code>{@link #getAdapterState()} == {@link #STATE_ON}</code> [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 144 case BluetoothAdapter.STATE_ON : return "STATE_ON";
|