/hardware/qcom/power/ |
power.c | 31 #define STATE_ON "state=1" 98 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 | 176 boolean bluetoothIsEnabled = mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON; 198 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_ON) { 250 case BluetoothAdapter.STATE_ON:
|
DevicePickerFragment.java | 102 if (bluetoothState == BluetoothAdapter.STATE_ON) {
|
LocalBluetoothAdapter.java | 179 if (state == BluetoothAdapter.STATE_ON) {
|
RequestPermissionHelperActivity.java | 113 || btState == BluetoothAdapter.STATE_ON
|
DeviceListPreferenceFragment.java | 160 if (mLocalAdapter.getBluetoothState() != BluetoothAdapter.STATE_ON) return;
|
/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:
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 113 * {@link #STATE_ON}, 123 * {@link #STATE_ON}, 135 * clients should wait for {@link #STATE_ON} before attempting to 142 public static final int STATE_ON = 12; 443 * <code>getBluetoothState() == STATE_ON</code> 463 * {@link #STATE_ON}, 504 * #STATE_ON}. If this call returns false then there was an 537 * #STATE_ON} to {@link #STATE_TURNING_OFF}, and some time 539 * #STATE_ON}. If this call returns false then there was an 610 if (getState() != STATE_ON) return null [all...] |
BluetoothA2dp.java | 468 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
BluetoothPan.java | 357 if (mAdapter.getState() == BluetoothAdapter.STATE_ON) return true;
|
/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 | 131 } else if (state == BluetoothAdapter.STATE_ON) { 176 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_ON);
|
AdapterState.java | 278 notifyAdapterStateChange(BluetoothAdapter.STATE_ON); 294 notifyAdapterStateChange(BluetoothAdapter.STATE_ON); 348 notifyAdapterStateChange(BluetoothAdapter.STATE_ON);
|
AdapterService.java | 235 if (BluetoothAdapter.STATE_ON != entry.getValue()) { 301 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_ON); 426 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { 434 expectedCurrentState= BluetoothAdapter.STATE_ON; [all...] |
/frameworks/base/services/java/com/android/server/ |
BluetoothManagerService.java | [all...] |
/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
BluetoothController.java | 115 mEnabled = (adapterState == BluetoothAdapter.STATE_ON);
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
BluetoothRequestPermissionTest.java | 159 case BluetoothAdapter.STATE_ON:
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarPolicy.java | 170 mBluetoothEnabled = (adapter.getState() == BluetoothAdapter.STATE_ON); 264 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
|
/frameworks/base/core/java/android/nfc/ |
NfcAdapter.java | 188 * {@link #STATE_ON}, 195 public static final int STATE_ON = 3; 499 return sService.getState() == STATE_ON; 509 * <p>Returns one of {@link #STATE_ON}, {@link #STATE_TURNING_ON}, 513 * <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";
|