Searched refs:STATE_BLE_ON (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Bluetooth/framework/tests/util/src/ |
D | BlockingBluetoothAdapter.kt | 22 import android.bluetooth.BluetoothAdapter.STATE_BLE_ON 94 return state.waitForStateWithTimeout(stateChangeTimeout, STATE_BLE_ON) in enableBLE() 100 if (!state.eq(STATE_BLE_ON)) { in disableBLE() 186 STATE_BLE_ON in get() 209 STATE_BLE_ON -> "BLE_ON" in nameForState()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 19 import static android.bluetooth.BluetoothAdapter.STATE_BLE_ON; 422 verifyStateChange(callback, STATE_BLE_TURNING_ON, STATE_BLE_ON); in offToBleOn() 423 assertThat(adapter.getState()).isEqualTo(STATE_BLE_ON); in offToBleOn() 448 verifyStateChange(callback, STATE_TURNING_OFF, STATE_BLE_ON); in onToBleOn() 450 assertThat(adapter.getState()).isEqualTo(STATE_BLE_ON); in onToBleOn() 486 verifyStateChange(callback, STATE_BLE_ON, STATE_TURNING_ON); in doEnable() 540 verifyStateChange(callback, STATE_BLE_ON, STATE_BLE_TURNING_OFF); in doDisable() 665 verifyStateChange(STATE_BLE_ON, STATE_BLE_TURNING_OFF, CONTEXT_SWITCH_MS); in testGattStopTimeout() 730 verifyStateChange(callback, STATE_BLE_ON, STATE_BLE_TURNING_OFF); in startBleOnly_whenScanManagerRefactorFlagIsOn_startAndStopScanController() 776 verifyStateChange(callback, STATE_BLE_ON, STATE_TURNING_ON); in startBrDr_whenScanManagerRefactorFlagIsOn_startAndStopScanController() [all …]
|
/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/ |
D | BluetoothManagerServiceTest.java | 19 import static android.bluetooth.BluetoothAdapter.STATE_BLE_ON; 288 btCallback.onBluetoothStateChange(STATE_BLE_TURNING_ON, STATE_BLE_ON); in transition_offToBleOn() 290 assertThat(mManagerService.getState()).isEqualTo(STATE_BLE_ON); in transition_offToBleOn() 303 btCallback.onBluetoothStateChange(STATE_BLE_ON, STATE_TURNING_ON); in transition_offToOn() 326 assertThat(mManagerService.getState()).isEqualTo(STATE_BLE_ON); in offToBleOn()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 19 import static android.bluetooth.BluetoothAdapter.STATE_BLE_ON; 311 if (!waitForState(STATE_BLE_ON, STATE_ON)) { in onFactoryReset() 324 if (state == STATE_BLE_ON) { in onFactoryReset() 342 if (state == STATE_BLE_ON && isBluetoothPersistedStateOn()) { in estimateBusyTime() 345 } else if (state != STATE_ON && state != STATE_OFF && state != STATE_BLE_ON) { in estimateBusyTime() 460 } else if (currentState == STATE_BLE_ON) { in forceToOffFromModeChange() 593 if (mAdapter != null && mState.oneOf(STATE_BLE_ON)) { 709 if (mState.oneOf(STATE_BLE_ON)) { in onBleScanDisabled() 1035 STATE_BLE_ON, in enableBle() 1070 if (mState.oneOf(STATE_BLE_ON) && !isBleAppPresent()) { in disableBle() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterState.java | 205 return BluetoothAdapter.STATE_BLE_ON; in getStateValue()
|
D | RemoteDevices.java | 955 == BluetoothAdapter.STATE_BLE_ON) { in devicePropertyChangedCallback() 1155 } else if (state == BluetoothAdapter.STATE_BLE_ON in aclStateChangeCallback() 1186 } else if (state == BluetoothAdapter.STATE_BLE_ON in aclStateChangeCallback()
|
D | AdapterService.java | 1245 } else if (newState == BluetoothAdapter.STATE_BLE_ON in updateAdapterState()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothAdapter.java | 187 STATE_BLE_ON, 235 @SystemApi public static final int STATE_BLE_ON = 15; field in BluetoothAdapter 292 case STATE_BLE_ON: in nameForState() 1305 || state == BluetoothAdapter.STATE_BLE_ON in isLeEnabled() 1473 if (state == BluetoothAdapter.STATE_BLE_ON in getState() 1522 } else if (getLeState() == STATE_BLE_ON) { in getLeAccess()
|
/packages/modules/Bluetooth/framework/api/ |
D | system-current.txt | 119 field public static final int STATE_BLE_ON = 15; // 0xf
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 122 Landroid/bluetooth/BluetoothAdapter;->STATE_BLE_ON:I
|