Home
last modified time | relevance | path

Searched refs:STATE_OFF (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java206 return BluetoothAvrcpPlayerSettings.STATE_OFF; in mapAttribIdValtoAvrcpPlayerSetting()
217 return BluetoothAvrcpPlayerSettings.STATE_OFF; in mapAttribIdValtoAvrcpPlayerSetting()
228 return BluetoothAvrcpPlayerSettings.STATE_OFF; in mapAttribIdValtoAvrcpPlayerSetting()
237 return BluetoothAvrcpPlayerSettings.STATE_OFF; in mapAttribIdValtoAvrcpPlayerSetting()
247 case BluetoothAvrcpPlayerSettings.STATE_OFF: in mapAvrcpPlayerSettingstoBTattribVal()
254 case BluetoothAvrcpPlayerSettings.STATE_OFF: in mapAvrcpPlayerSettingstoBTattribVal()
265 case BluetoothAvrcpPlayerSettings.STATE_OFF: in mapAvrcpPlayerSettingstoBTattribVal()
274 case BluetoothAvrcpPlayerSettings.STATE_OFF: in mapAvrcpPlayerSettingstoBTattribVal()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterState.java364 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
403 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
417 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
431 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
448 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
462 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
474 notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); in processMessage()
DAdapterService.java302 if (BluetoothAdapter.STATE_OFF != entry.getValue()) { in processProfileServiceStateChanged()
477 … mProfileServicesState.put(supportedProfileServices[i].getName(),BluetoothAdapter.STATE_OFF); in BleOnProcessStart()
529 setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF); in stopProfileServices()
541 setGattProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF); in stopGattProfileService()
659 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { in setGattProfileServiceState()
664 int expectedCurrentState= BluetoothAdapter.STATE_OFF; in setGattProfileServiceState()
667 if (state == BluetoothAdapter.STATE_OFF) { in setGattProfileServiceState()
681 + (state == BluetoothAdapter.STATE_OFF ? "start" : "stop" ) in setGattProfileServiceState()
687 + (state == BluetoothAdapter.STATE_OFF ? "Stopping" : "Starting") in setGattProfileServiceState()
703 if (state != BluetoothAdapter.STATE_ON && state != BluetoothAdapter.STATE_OFF) { in setProfileServiceState()
[all …]
DProfileService.java140 if(state==BluetoothAdapter.STATE_OFF) { in onStartCommand()
221 notifyProfileServiceStateChanged(BluetoothAdapter.STATE_OFF); in doStop()
DProfileObserver.java64 == BluetoothAdapter.STATE_OFF) { in onReceive()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java87 case BluetoothAdapter.STATE_OFF: in onCreate()
109 case BluetoothAdapter.STATE_OFF: in onCreate()
217 if (mLocalAdapter.getBluetoothState() == BluetoothAdapter.STATE_OFF) { in onActivityResult()
384 if (currentState == BluetoothAdapter.STATE_OFF) { in onReceive()
DBluetoothEnabler.java147 case BluetoothAdapter.STATE_OFF: in handleStateChanged()
DDeviceListPreferenceFragment.java222 if (bluetoothState == BluetoothAdapter.STATE_OFF) { in onBluetoothStateChanged()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java86 private static final int STATE_OFF = 0; field in InCallTonePlayer
124 mState = STATE_OFF; in InCallTonePlayer()
255 mState = STATE_OFF; in run()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcEnabler.java53 NfcAdapter.STATE_OFF));
114 case NfcAdapter.STATE_OFF: in handleNfcStateChanged()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java405 mState = NfcAdapter.STATE_OFF; in NfcService()
591 updateState(NfcAdapter.STATE_OFF); in enableInternal()
625 if (mState == NfcAdapter.STATE_OFF) { in disableInternal()
660 updateState(NfcAdapter.STATE_OFF); in disableInternal()
2249 case NfcAdapter.STATE_OFF: in stateToString()
DBeamShareActivity.java264 NfcAdapter.STATE_OFF);
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java318 case BluetoothAdapter.STATE_OFF: in onReceive()
543 if (adapter.getState() == BluetoothAdapter.STATE_OFF) { in startTethering()
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
DSystemProximityWakeLock.java88 return display.getState() != Display.STATE_OFF; in isDefaultDisplayOn()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamReceiveService.java43 if (state == BluetoothAdapter.STATE_OFF) {
DBeamSendService.java156 } else if (state == BluetoothAdapter.STATE_OFF) { in handleBluetoothStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/home/
DHomepageActivity.java58 case BluetoothAdapter.STATE_OFF:
/packages/apps/Settings/tests/app/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java153 case BluetoothAdapter.STATE_OFF:
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothSettingsActivity.java138 case BluetoothAdapter.STATE_OFF: in onBluetoothStateChanged()
/packages/apps/Dialer/java/com/android/incallui/
DProximitySensor.java281 final boolean isDisplayOn = display.getState() != Display.STATE_OFF; in onDisplayChanged()
/packages/apps/Nfc/src/com/android/nfc/handover/
DPeripheralHandoverService.java214 } else if (state == BluetoothAdapter.STATE_OFF) { in handleBluetoothStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java110 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_OFF); in onBluetoothStateChanged_btDisabled_shouldSendDisabledSummary()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java43 public static final int STATE_OFF = VehicleApPowerState.OFF; field in PowerHalService
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java165 case BluetoothAdapter.STATE_OFF: in debugGetAdapterStateString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java331 BluetoothAdapter.STATE_OFF) == BluetoothAdapter.STATE_ON) { in start()

12