Searched refs:btState (Results 1 – 3 of 3) sorted by relevance
221 final int btState = mLocalBluetoothAdapter.getState(); in processKeyboardState() local222 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()
430 int btState = adapter.getState(); in enable() local462 fail(String.format("enable() timeout: state=%d (expected %d)", btState, in enable()476 int btState = adapter.getState(); in disable() local508 fail(String.format("disable() timeout: state=%d (expected %d)", btState, in disable()
252 int btState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in receiveBtEvent() local261 switch (btState) { in receiveBtEvent()