Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragmentTest.java22 import static android.bluetooth.BluetoothAdapter.STATE_TURNING_ON;
135 sendStateChangedIntent(STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchChecked()
144 sendStateChangedIntent(STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchDisabled()
230 sendStateChangedIntent(STATE_TURNING_ON); in stateChanged_fragmentStopped_doesNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcPreferenceControllerTest.java115 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_ON); in isNfcEnable_nfcStateTurning_shouldReturnFalse()
131 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_ON); in isNfcChecked_nfcStateOn_shouldReturnTrue()
241 triggerIntent.putExtra(NfcAdapter.EXTRA_ADAPTER_STATE, NfcAdapter.STATE_TURNING_ON); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate()
DAndroidBeamPreferenceControllerTest.java144 when(mNfcAdapter.getAdapterState()).thenReturn(NfcAdapter.STATE_TURNING_ON); in isBeamEnable_nfcStateNotOn_shouldReturnFalse()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java108 case BluetoothAdapter.STATE_TURNING_ON: in onCreate()
127 case BluetoothAdapter.STATE_TURNING_ON: in onCreate()
140 case BluetoothAdapter.STATE_TURNING_ON: in onCreate()
DBluetoothSettingsFragment.java124 case BluetoothAdapter.STATE_TURNING_ON: in handleStateChanged()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java204 verifyStateChange(BluetoothAdapter.STATE_BLE_ON, BluetoothAdapter.STATE_TURNING_ON, in doEnable()
217 verifyStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_ON, in doEnable()
400 verifyStateChange(BluetoothAdapter.STATE_BLE_ON, BluetoothAdapter.STATE_TURNING_ON, 1, in testProfileStartTimeout()
409 verifyStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_TURNING_OFF, 1, in testProfileStartTimeout()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DRequestPermissionActivity.java93 case BluetoothAdapter.STATE_TURNING_ON: { in onCreate()
111 case BluetoothAdapter.STATE_TURNING_ON: { in onCreate()
DBluetoothEnabler.java133 case BluetoothAdapter.STATE_TURNING_ON: in handleStateChanged()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java97 case BluetoothAdapter.STATE_TURNING_ON: { in onCreate()
115 case BluetoothAdapter.STATE_TURNING_ON: { in onCreate()
DBluetoothEnabler.java133 case BluetoothAdapter.STATE_TURNING_ON: in handleStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java175 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_btEnabled_notConnected_shouldSendDisconnectedMessage()
203 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
/packages/apps/Settings/src/com/android/settings/nfc/
DSecureNfcEnabler.java53 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DNfcEnabler.java49 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DAndroidBeamEnabler.java71 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DNfcPreferenceController.java189 || (nfcStateExtra == NfcAdapter.STATE_TURNING_ON) in onReceive()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DSecureNfcEnabler.java53 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DNfcEnabler.java49 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DAndroidBeamEnabler.java71 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
DNfcPreferenceController.java202 || (nfcStateExtra == NfcAdapter.STATE_TURNING_ON) in onReceive()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBluetoothOppHandover.java37 static final int STATE_TURNING_ON = 1; field in BluetoothOppHandover
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java158 case BluetoothAdapter.STATE_TURNING_ON:
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterState.java284 return BluetoothAdapter.STATE_TURNING_ON; in getStateValue()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java150 if ((state != BluetoothAdapter.STATE_TURNING_ON) && (state in create()
/packages/services/Car/service/src/com/android/car/
DUtils.java55 sAdapterStates.put(BluetoothAdapter.STATE_TURNING_ON, "Turning On"); in sAdapterStates.put() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DBluetoothDeviceConnectionPolicyTest.java335 sendAdapterStateChanged(BluetoothAdapter.STATE_TURNING_ON); in testReceiveAdapterTurningOn_doNothing()

12