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

1 2

  /hardware/qcom/power/
power.c 32 #define STATE_OFF "state=0"
101 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) {
  /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 202 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
RequestPermissionActivity.java 106 case BluetoothAdapter.STATE_OFF:
BluetoothSettings.java 331 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) {
  /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;
246 mState = STATE_OFF;
251 if (mState != STATE_OFF) {
255 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 217 if (BluetoothAdapter.STATE_OFF != entry.getValue()) {
285 mProfileServicesState.put(supportedProfileServices[i].getName(),BluetoothAdapter.STATE_OFF);
315 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF);
426 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) {
431 int expectedCurrentState= BluetoothAdapter.STATE_OFF;
433 if (state == BluetoothAdapter.STATE_OFF) {
442 Log.w(TAG, "Unable to " + (state == BluetoothAdapter.STATE_OFF? "start" : "stop" ) +" service " +
448 Log.w(TAG, (state == BluetoothAdapter.STATE_OFF? "Stopping" : "Starting" ) +" service " +
507 if (service == null) return BluetoothAdapter.STATE_OFF;
    [all...]
  /frameworks/base/services/java/com/android/server/
BluetoothManagerService.java 206 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;
379 mState = STATE_OFF;
384 if (mState != STATE_OFF) {
388 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 186 * {@link #STATE_OFF},
193 public static final int STATE_OFF = 1;
510 * {@link #STATE_OFF}, {@link #STATE_TURNING_OFF}.
524 return NfcAdapter.STATE_OFF;
    [all...]
  /frameworks/base/services/java/com/android/server/power/
ShutdownThread.java 394 nfc.getState() == NfcAdapter.STATE_OFF;
453 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/Nfc/src/com/android/nfc/
NfcService.java 402 mState = NfcAdapter.STATE_OFF;
544 * either STATE_ON or STATE_OFF. This way each task can be guaranteed
545 * of starting in either STATE_OFF or STATE_ON, without needing to hold
636 updateState(NfcAdapter.STATE_OFF);
666 if (mState == NfcAdapter.STATE_OFF) {
721 updateState(NfcAdapter.STATE_OFF);
737 boolean tempEnable = mState == NfcAdapter.STATE_OFF;
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TetherSettings.java 247 case BluetoothAdapter.STATE_OFF:
481 if (adapter.getState() == BluetoothAdapter.STATE_OFF) {
  /frameworks/base/core/java/android/bluetooth/
BluetoothHeadset.java 881 if (mAdapter.getState() == BluetoothAdapter.STATE_OFF) return true;
    [all...]

Completed in 566 milliseconds

1 2