Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java247 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, in doDisable()
258 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, in doDisable()
364 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testGattStopTimeout()
372 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, 1, in testGattStopTimeout()
421 verifyStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testProfileStartTimeout()
428 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, BluetoothAdapter.STATE_BLE_ON, 1, in testProfileStartTimeout()
444 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testProfileStopTimeout()
451 verifyStateChange(BluetoothAdapter.STATE_TURNING_OFF, in testProfileStopTimeout()
486 verifyStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testSnoopLoggingChange()
494 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;
183 sendStateChangedIntent(STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchUnchecked()
192 sendStateChangedIntent(STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchDisabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java117 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_OFF); in isNfcEnable_nfcStateTurning_shouldReturnFalse()
140 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_OFF); in isNfcChecked_nfcStateOff_shouldReturnFalse()
255 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.java112 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
131 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
148 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
DBluetoothDevicesGroupPreferenceController.java127 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothStateChanged()
DBluetoothSettingsFragment.java135 case BluetoothAdapter.STATE_TURNING_OFF: in handleStateChanged()
/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.java92 case BluetoothAdapter.STATE_TURNING_OFF: { in onCreate()
114 case BluetoothAdapter.STATE_TURNING_OFF: in onCreate()
DBluetoothEnabler.java140 case BluetoothAdapter.STATE_TURNING_OFF: in handleStateChanged()
/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/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/apps/Settings/src/com/android/settings/network/
DBluetoothTetherPreferenceController.java63 case BluetoothAdapter.STATE_TURNING_OFF: in shouldEnable()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java668 case NfcAdapter.STATE_TURNING_OFF: in doInBackground()
797 updateState(NfcAdapter.STATE_TURNING_OFF); in disableInternal()
1853 return (mState == NfcAdapter.STATE_ON || mState == NfcAdapter.STATE_TURNING_OFF); in isNfcEnabledOrShuttingDown()
2478 if (mState == NfcAdapter.STATE_TURNING_OFF) in handleMessage()
3004 case NfcAdapter.STATE_TURNING_OFF: in stateToString()
3019 case NfcAdapter.STATE_TURNING_OFF: in stateToProtoEnum()
3020 return NfcServiceDumpProto.STATE_TURNING_OFF; in stateToProtoEnum()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DBluetoothTetherPreferenceControllerTest.java108 BluetoothAdapter.STATE_TURNING_OFF); in shouldEnable_transientState()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DBluetoothTile.java60 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()

12