Searched refs:btState (Results 1 – 3 of 3) sorted by relevance
220 final int btState = mLocalBluetoothAdapter.getState(); in processKeyboardState() local221 if ((btState == BluetoothAdapter.STATE_TURNING_ON || btState == BluetoothAdapter.STATE_ON) in processKeyboardState()228 if (btState == BluetoothAdapter.STATE_TURNING_ON) { in processKeyboardState()234 if (btState != BluetoothAdapter.STATE_ON) { in processKeyboardState()
430 int btState = adapter.getState(); in enable() local459 fail(String.format("enable() timeout: state=%d (expected %d)", btState, in enable()473 int btState = adapter.getState(); in disable() local502 fail(String.format("disable() timeout: state=%d (expected %d)", btState, in disable()
6469 int btState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() local6478 switch (btState) { in onReceive()