HomeSort by relevance Sort by last modified time
    Searched refs:STATE_OFF (Results 1 - 25 of 38) sorted by null

1 2

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java 100 int bluetoothState = BluetoothAdapter.STATE_OFF;
103 boolean isOff = bluetoothState == BluetoothAdapter.STATE_OFF;
135 case BluetoothAdapter.STATE_OFF:
DeviceListPreferenceFragment.java 204 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
RequestPermissionActivity.java 106 case BluetoothAdapter.STATE_OFF:
BluetoothSettings.java 329 case BluetoothAdapter.STATE_OFF:
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothToggleActivity.java 129 if (BluetoothAdapter.STATE_OFF == newState
136 && (BluetoothAdapter.STATE_OFF == previousState
141 if (BluetoothAdapter.STATE_OFF == newState) {
  /hardware/qcom/power/
power.c 32 #define STATE_OFF "state=0"
130 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) {
  /packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java 48 NfcAdapter.STATE_OFF));
104 case NfcAdapter.STATE_OFF:
  /cts/tests/tests/bluetooth/src/android/bluetooth/cts/
BasicAdapterTest.java 227 if (adapter.getState() == BluetoothAdapter.STATE_OFF) {
240 case BluetoothAdapter.STATE_OFF:
265 assertEquals(BluetoothAdapter.STATE_OFF, adapter.getState());
277 if (state != BluetoothAdapter.STATE_OFF || turnOn) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapReceiver.java 64 || (state == BluetoothAdapter.STATE_OFF)) {
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
CameraPreviewActivity.java 83 private static final int STATE_OFF = 0;
86 private int mState = STATE_OFF;
249 mState = STATE_OFF;
254 if (mState != STATE_OFF) {
258 mState = STATE_OFF;
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterState.java 264 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
306 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
321 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
328 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
335 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
ProfileService.java 128 if(state==BluetoothAdapter.STATE_OFF) {
186 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_OFF);
AdapterService.java 219 if (BluetoothAdapter.STATE_OFF != entry.getValue()) {
287 mProfileServicesState.put(supportedProfileServices[i].getName(),BluetoothAdapter.STATE_OFF);
317 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF);
428 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) {
433 int expectedCurrentState= BluetoothAdapter.STATE_OFF;
435 if (state == BluetoothAdapter.STATE_OFF) {
444 Log.w(TAG, "Unable to " + (state == BluetoothAdapter.STATE_OFF? "start" : "stop" ) +" service " +
450 Log.w(TAG, (state == BluetoothAdapter.STATE_OFF? "Stopping" : "Starting" ) +" service " +
509 if (service == null) return BluetoothAdapter.STATE_OFF;
    [all...]
AdapterProperties.java 54 private int mState = BluetoothAdapter.STATE_OFF;
  /frameworks/base/services/java/com/android/server/
BluetoothManagerService.java 202 mState = BluetoothAdapter.STATE_OFF;
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
CameraFormatsActivity.java 93 private static final int STATE_OFF = 0;
96 private int mState = STATE_OFF;
380 mState = STATE_OFF;
385 if (mState != STATE_OFF) {
389 mState = STATE_OFF;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 52 private static final int STATE_OFF = 0;
72 private int mState = STATE_OFF;
215 mState = STATE_OFF;
220 if (mState != STATE_OFF) {
224 mState = STATE_OFF;
  /packages/apps/Settings/tests/src/com/android/settings/tests/
BluetoothRequestPermissionTest.java 153 case BluetoothAdapter.STATE_OFF:
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraIntentsActivity.java 72 private static final int STATE_OFF = 0;
95 private int mState = STATE_OFF;
  /frameworks/base/core/java/android/nfc/
NfcAdapter.java 189 * {@link #STATE_OFF},
196 public static final int STATE_OFF = 1;
610 * {@link #STATE_OFF}, {@link #STATE_TURNING_OFF}.
624 return NfcAdapter.STATE_OFF;
    [all...]
  /frameworks/base/services/java/com/android/server/power/
ShutdownThread.java 396 nfc.getState() == NfcAdapter.STATE_OFF;
455 nfcOff = nfc.getState() == NfcAdapter.STATE_OFF;
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 143 case BluetoothAdapter.STATE_OFF : return "STATE_OFF";
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestUtils.java 127 case BluetoothAdapter.STATE_OFF:
439 case BluetoothAdapter.STATE_OFF:
491 case BluetoothAdapter.STATE_OFF:
516 if (state == BluetoothAdapter.STATE_OFF
534 state, BluetoothAdapter.STATE_OFF, firedFlags, mask));
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TetherSettings.java 249 case BluetoothAdapter.STATE_OFF:
483 if (adapter.getState() == BluetoothAdapter.STATE_OFF) {
  /packages/apps/Nfc/src/com/android/nfc/
NfcService.java 482 mState = NfcAdapter.STATE_OFF;
632 * either STATE_ON or STATE_OFF. This way each task can be guaranteed
633 * of starting in either STATE_OFF or STATE_ON, without needing to hold
728 updateState(NfcAdapter.STATE_OFF);
762 if (mState == NfcAdapter.STATE_OFF) {
821 updateState(NfcAdapter.STATE_OFF);
837 boolean tempEnable = mState == NfcAdapter.STATE_OFF;
    [all...]

Completed in 1519 milliseconds

1 2