Searched refs:bluetoothState (Results 1 – 8 of 8) sorted by relevance
245 private void updateContent(int bluetoothState, boolean scanState) { in updateContent() argument249 switch (bluetoothState) { in updateContent()347 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument348 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()349 updateContent(bluetoothState, true); in onBluetoothStateChanged()
100 int bluetoothState = BluetoothAdapter.STATE_OFF; in setSwitch() local101 if (mLocalAdapter != null) bluetoothState = mLocalAdapter.getBluetoothState(); in setSwitch()102 boolean isOn = bluetoothState == BluetoothAdapter.STATE_ON; in setSwitch()103 boolean isOff = bluetoothState == BluetoothAdapter.STATE_OFF; in setSwitch()
99 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument100 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()102 if (bluetoothState == BluetoothAdapter.STATE_ON) { in onBluetoothStateChanged()
138 public synchronized void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument141 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothStateChanged()
201 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument202 if (bluetoothState == BluetoothAdapter.STATE_OFF) { in onBluetoothStateChanged()
24 void onBluetoothStateChanged(int bluetoothState); in onBluetoothStateChanged() argument
484 int bluetoothState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onActualStateChange() local485 setCurrentState(context, bluetoothStateToFiveState(bluetoothState)); in onActualStateChange()492 private static int bluetoothStateToFiveState(int bluetoothState) { in bluetoothStateToFiveState() argument493 switch (bluetoothState) { in bluetoothStateToFiveState()
1396 private static boolean shouldShowBluetoothIndication(int bluetoothState, in shouldShowBluetoothIndication() argument1415 return ((bluetoothState == BluetoothHeadset.STATE_CONNECTED) in shouldShowBluetoothIndication()1424 return (bluetoothState == BluetoothHeadset.STATE_CONNECTED); in shouldShowBluetoothIndication()