Home
last modified time | relevance | path

Searched refs:STATE_TURNING_OFF (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java244 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, in doDisable()
255 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, in doDisable()
361 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testGattStopTimeout()
369 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, 1, in testGattStopTimeout()
418 verifyStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testProfileStartTimeout()
425 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, 1, in testProfileStartTimeout()
441 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testProfileStopTimeout()
448 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, in testProfileStopTimeout()
483 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testSnoopLoggingChange()
491 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, 1, in testSnoopLoggingChange()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragmentTest.java21 import static android.bluetooth.BluetoothAdapter.STATE_TURNING_OFF;
184 sendStateChangedIntent(STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchUnchecked()
193 sendStateChangedIntent(STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java119 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_OFF); in isNfcEnable_nfcStateTurning_shouldReturnFalse()
142 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_OFF); in isNfcChecked_nfcStateOff_shouldReturnFalse()
253 triggerIntent.putExtra(NfcAdapter.EXTRA_ADAPTER_STATE, NfcAdapter.STATE_TURNING_OFF); in ncfSliceWorker_nfcBroadcast_turningOff_sliceDoesntUpdate()
DAndroidBeamPreferenceControllerTest.java148 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_OFF); in isBeamEnable_nfcStateNotOn_shouldReturnFalse()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java104 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
123 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
140 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
DBluetoothSettingsFragment.java131 case BluetoothAdapter.STATE_TURNING_OFF: in handleStateChanged()
DBluetoothDevicesGroupPreferenceController.java127 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothStateChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DRequestPermissionActivity.java88 case BluetoothAdapter.STATE_TURNING_OFF: { in onCreate()
110 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
DBluetoothEnabler.java140 case BluetoothAdapter.STATE_TURNING_OFF: in handleStateChanged()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java88 case BluetoothAdapter.STATE_TURNING_OFF: { in onCreate()
110 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
DBluetoothEnabler.java140 case BluetoothAdapter.STATE_TURNING_OFF: in handleStateChanged()
/packages/apps/Settings/src/com/android/settings/nfc/
DSecureNfcEnabler.java56 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DNfcEnabler.java53 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DAndroidBeamEnabler.java74 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DNfcPreferenceController.java190 || (nfcStateExtra == NfcAdapter.STATE_TURNING_OFF)) { in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DSecureNfcEnabler.java56 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DNfcEnabler.java53 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DAndroidBeamEnabler.java74 case NfcAdapter.STATE_TURNING_OFF: in handleNfcStateChanged()
DNfcPreferenceController.java203 || (nfcStateExtra == NfcAdapter.STATE_TURNING_OFF)) { in onReceive()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DBluetoothTile.java63 case BluetoothAdapter.STATE_TURNING_OFF:
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java164 case BluetoothAdapter.STATE_TURNING_OFF:
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterState.java324 return BluetoothAdapter.STATE_TURNING_OFF; in getStateValue()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java662 case NfcAdapter.STATE_TURNING_OFF: in doInBackground()
789 updateState(NfcAdapter.STATE_TURNING_OFF); in disableInternal()
1767 return (mState == NfcAdapter.STATE_ON || mState == NfcAdapter.STATE_TURNING_OFF); in isNfcEnabledOrShuttingDown()
2392 if (mState == NfcAdapter.STATE_TURNING_OFF) in handleMessage()
2913 case NfcAdapter.STATE_TURNING_OFF: in stateToString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothDeviceConnectionPolicyTest.java295 sendAdapterStateChanged(BluetoothAdapter.STATE_TURNING_OFF); in testReceiveAdapterTurningOff_doNothing()
/packages/services/Car/service/src/com/android/car/
DUtils.java56 sAdapterStates.put(BluetoothAdapter.STATE_TURNING_OFF, "Turning Off"); in sAdapterStates.put() argument

12