/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairProviderTest.java | 436 sendAdapterStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_OFF); in testReceiveAdapterOn_startGattService() 437 sendAdapterStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_ON); in testReceiveAdapterOn_startGattService() 473 sendAdapterStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_OFF); in testReceiveScanModeConnectableAdapterOn_advertiseAccountKeyFilter() 474 sendAdapterStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_ON); in testReceiveScanModeConnectableAdapterOn_advertiseAccountKeyFilter() 498 sendAdapterStateChange(BluetoothAdapter.STATE_TURNING_ON, BluetoothAdapter.STATE_OFF); in testReceiveScanModeNoneAdapterOn_advertisingAccountKeyFilter() 499 sendAdapterStateChange(BluetoothAdapter.STATE_ON, BluetoothAdapter.STATE_TURNING_ON); in testReceiveScanModeNoneAdapterOn_advertisingAccountKeyFilter()
|
D | BluetoothUtilsGetAdapterStateNameTest.java | 55 {BluetoothAdapter.STATE_TURNING_ON, "turning on"}, in provideParams()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcPreferenceControllerTest.java | 117 mShadowNfcAdapter.setAdapterState(NfcAdapter.STATE_TURNING_ON); in isNfcEnable_nfcStateTurning_shouldReturnFalse() 133 mShadowNfcAdapter.setAdapterState(NfcAdapter.STATE_TURNING_ON); in isNfcChecked_nfcStateOn_shouldReturnTrue() 208 triggerIntent.putExtra(NfcAdapter.EXTRA_ADAPTER_STATE, NfcAdapter.STATE_TURNING_ON); in ncfSliceWorker_nfcBroadcast_turningOn_sliceDoesntUpdate()
|
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/ |
D | BluetoothManagerServiceTest.java | 22 import static android.bluetooth.BluetoothAdapter.STATE_TURNING_ON; 303 btCallback.onBluetoothStateChange(STATE_BLE_ON, STATE_TURNING_ON); in transition_offToOn() 306 btCallback.onBluetoothStateChange(STATE_TURNING_ON, STATE_ON); in transition_offToOn()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothStateSwitchPreferenceController.java | 91 || mBluetoothAdapter.getState() == BluetoothAdapter.STATE_TURNING_ON); in updateState() 178 case BluetoothAdapter.STATE_TURNING_ON: in handleStateChanged()
|
D | BluetoothRequestPermissionActivity.java | 123 case BluetoothAdapter.STATE_TURNING_ON: in onCreate() 142 case BluetoothAdapter.STATE_TURNING_ON: in onCreate() 155 case BluetoothAdapter.STATE_TURNING_ON: in onCreate()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 25 import static android.bluetooth.BluetoothAdapter.STATE_TURNING_ON; 486 verifyStateChange(callback, STATE_BLE_ON, STATE_TURNING_ON); in doEnable() 504 verifyStateChange(callback, STATE_TURNING_ON, STATE_ON); in doEnable() 776 verifyStateChange(callback, STATE_BLE_ON, STATE_TURNING_ON); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController() 793 verifyStateChange(callback, STATE_TURNING_ON, STATE_ON); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController() 832 verifyStateChange(STATE_BLE_ON, STATE_TURNING_ON); in testProfileStartTimeout() 847 verifyStateChange(STATE_TURNING_ON, STATE_TURNING_OFF); in testProfileStartTimeout()
|
/packages/modules/Bluetooth/framework/tests/util/src/ |
D | BlockingBluetoothAdapter.kt | 26 import android.bluetooth.BluetoothAdapter.STATE_TURNING_ON 205 STATE_TURNING_ON -> "TURNING_ON" in nameForState()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 165 when(mMockLocalBluetoothAdapter.getState()).thenReturn(BluetoothAdapter.STATE_TURNING_ON); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog() 175 when(mMockLocalBluetoothAdapter.getState()).thenReturn(BluetoothAdapter.STATE_TURNING_ON); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered() 185 when(mMockLocalBluetoothAdapter.getState()).thenReturn(BluetoothAdapter.STATE_TURNING_ON); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery()
|
D | BluetoothStateSwitchPreferenceControllerTest.java | 252 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchChecked() 261 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchDisabled()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 47 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
|
D | SecureNfcEnabler.java | 54 case NfcAdapter.STATE_TURNING_ON: in handleNfcStateChanged()
|
D | NfcPreferenceController.java | 191 || (nfcStateExtra == NfcAdapter.STATE_TURNING_ON) in onReceive()
|
/packages/modules/Bluetooth/service/src/airplane/ |
D | ModeListener.kt | 22 import android.bluetooth.BluetoothAdapter.STATE_TURNING_ON 95 val isBluetoothOn = state.oneOf(STATE_ON, STATE_TURNING_ON, STATE_TURNING_OFF) in initialize()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 104 case BluetoothAdapter.STATE_TURNING_ON: in onCreate() 128 case BluetoothAdapter.STATE_TURNING_ON: in onCreate()
|
D | BluetoothSliceBuilder.java | 128 || adapter.getState() == BluetoothAdapter.STATE_TURNING_ON; in isBluetoothEnabled()
|
D | BluetoothEnabler.java | 156 case BluetoothAdapter.STATE_TURNING_ON: in handleStateChanged()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 175 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_btEnabled_notConnected_shouldSendDisconnectedMessage() 203 mSummaryUpdater.onBluetoothStateChanged(BluetoothAdapter.STATE_TURNING_ON); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary()
|
D | BluetoothEnablerTest.java | 259 turningOn.putExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.STATE_TURNING_ON); in bluetoothTurnsOn_switchTurnsOn()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BluetoothSwitch.java | 106 || adapter.getState() == BluetoothAdapter.STATE_TURNING_ON; in isBluetoothOn()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 25 import static android.bluetooth.BluetoothAdapter.STATE_TURNING_ON; 309 || state == STATE_TURNING_ON in onFactoryReset() 1036 STATE_TURNING_ON, in enableBle() 1707 STATE_TURNING_ON, in handleMessage() 1733 if ((prevState == STATE_TURNING_ON) in handleMessage() 1786 if (mState.oneOf(STATE_TURNING_ON, STATE_ON)) { in handleMessage() 1957 case STATE_TURNING_ON: in handleEnableMessage()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 158 case BluetoothAdapter.STATE_TURNING_ON:
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 1168 case NfcAdapter.STATE_TURNING_ON: in doInBackground() 1258 updateState(NfcAdapter.STATE_TURNING_ON); in enableInternal() 1343 || (mAlwaysOnState != NfcAdapter.STATE_TURNING_ON in enableInternal() 1448 } else if (mState == NfcAdapter.STATE_TURNING_ON in enableAlwaysOnInternal() 1453 updateAlwaysOnState(NfcAdapter.STATE_TURNING_ON); in enableAlwaysOnInternal() 1463 updateAlwaysOnState(NfcAdapter.STATE_TURNING_ON); in enableAlwaysOnInternal() 1480 } else if (mState == NfcAdapter.STATE_TURNING_ON in disableAlwaysOnInternal() 1509 if (mAlwaysOnState != NfcAdapter.STATE_TURNING_ON) { in updateState() 4492 case NfcAdapter.STATE_TURNING_ON: in stateToString() 4507 case NfcAdapter.STATE_TURNING_ON: in stateToProtoEnum() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | ObexServerSockets.java | 157 if ((state != BluetoothAdapter.STATE_TURNING_ON) in create()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterState.java | 297 return BluetoothAdapter.STATE_TURNING_ON; in getStateValue()
|