Home
last modified time | relevance | path

Searched refs:btState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java221 final int btState = mLocalBluetoothAdapter.getState(); in processKeyboardState() local
222 if ((btState == BluetoothAdapter.STATE_TURNING_ON || btState == BluetoothAdapter.STATE_ON) in processKeyboardState()
229 if (btState == BluetoothAdapter.STATE_TURNING_ON) { in processKeyboardState()
235 if (btState != BluetoothAdapter.STATE_ON) { in processKeyboardState()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java430 int btState = adapter.getState(); in enable() local
462 fail(String.format("enable() timeout: state=%d (expected %d)", btState, in enable()
476 int btState = adapter.getState(); in disable() local
508 fail(String.format("disable() timeout: state=%d (expected %d)", btState, in disable()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java252 int btState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in receiveBtEvent() local
261 switch (btState) { in receiveBtEvent()