Searched refs:STATE_OFF (Results 1 - 23 of 23) sorted by relevance

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DBluetoothTestUtils.java28 assertEquals(BluetoothAdapter.STATE_OFF, adapter.getState());
38 case BluetoothAdapter.STATE_OFF:
39 Log.i(TAG, "STATE_OFF: Still waiting for enable to begin...");
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterState.java365 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
404 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
418 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
432 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
446 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
460 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
472 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF);
H A DAdapterService.java350 if (BluetoothAdapter.STATE_OFF != entry.getValue()) {
432 mProfileServicesState.put(supportedProfileServices[i].getName(),BluetoothAdapter.STATE_OFF);
471 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF);
483 setGattProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF);
622 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) {
627 int expectedCurrentState= BluetoothAdapter.STATE_OFF;
630 if (state == BluetoothAdapter.STATE_OFF) {
644 + (state == BluetoothAdapter.STATE_OFF ? "start" : "stop" )
650 + (state == BluetoothAdapter.STATE_OFF ? "Stopping" : "Starting")
666 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) {
[all...]
H A DProfileService.java140 if(state==BluetoothAdapter.STATE_OFF) {
212 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_OFF);
H A DAdapterProperties.java55 private int mState = BluetoothAdapter.STATE_OFF;
627 // Sequence BLE_ON to STATE_OFF - that is _complete_ OFF state.
/packages/services/Telecomm/src/com/android/server/telecom/
H A DInCallTonePlayer.java74 private static final int STATE_OFF = 0; field in class:InCallTonePlayer
107 mState = STATE_OFF;
231 mState = STATE_OFF;
/packages/apps/Settings/src/com/android/settings/nfc/
H A DNfcEnabler.java50 NfcAdapter.STATE_OFF));
111 case NfcAdapter.STATE_OFF:
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothConnectionsManager.java30 int btState = prefs.getInt(KEY_BT_STATE, BluetoothAdapter.STATE_OFF);
43 newBtState == BluetoothAdapter.STATE_OFF) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapReceiver.java64 || (state == BluetoothAdapter.STATE_OFF)) {
/packages/apps/Nfc/src/com/android/nfc/beam/
H A DBeamReceiveService.java43 if (state == BluetoothAdapter.STATE_OFF) {
H A DBeamSendService.java156 } else if (state == BluetoothAdapter.STATE_OFF) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothEnabler.java143 case BluetoothAdapter.STATE_OFF:
H A DDeviceListPreferenceFragment.java215 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
H A DRequestPermissionActivity.java109 case BluetoothAdapter.STATE_OFF:
H A DBluetoothSettings.java358 case BluetoothAdapter.STATE_OFF:
H A DDockService.java706 } else if (btState == BluetoothAdapter.STATE_OFF) {
/packages/apps/Settings/tests/src/com/android/settings/tests/
H A DBluetoothRequestPermissionTest.java153 case BluetoothAdapter.STATE_OFF:
/packages/apps/Nfc/src/com/android/nfc/
H A DBeamShareActivity.java232 NfcAdapter.STATE_OFF);
H A DNfcService.java344 mState = NfcAdapter.STATE_OFF;
449 * either STATE_ON or STATE_OFF. This way each task can be guaranteed
450 * of starting in either STATE_OFF or STATE_ON, without needing to hold
535 updateState(NfcAdapter.STATE_OFF);
569 if (mState == NfcAdapter.STATE_OFF) {
604 updateState(NfcAdapter.STATE_OFF);
2059 case NfcAdapter.STATE_OFF:
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DPeripheralHandoverService.java196 } else if (state == BluetoothAdapter.STATE_OFF) {
/packages/apps/Settings/src/com/android/settings/
H A DTetherSettings.java269 case BluetoothAdapter.STATE_OFF:
532 if (adapter.getState() == BluetoothAdapter.STATE_OFF) {
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java156 case BluetoothAdapter.STATE_OFF:
157 return "STATE_OFF";
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java495 case BluetoothAdapter.STATE_OFF:

Completed in 237 milliseconds