Searched refs:bluetoothState (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothCallback.java24 void onBluetoothStateChanged(int bluetoothState); argument
H A DBluetoothEnabler.java100 int bluetoothState = BluetoothAdapter.STATE_OFF;
101 if (mLocalAdapter != null) bluetoothState = mLocalAdapter.getBluetoothState();
102 boolean isOn = bluetoothState == BluetoothAdapter.STATE_ON;
103 boolean isOff = bluetoothState == BluetoothAdapter.STATE_OFF;
H A DDevicePickerFragment.java103 public void onBluetoothStateChanged(int bluetoothState) { argument
104 super.onBluetoothStateChanged(bluetoothState);
106 if (bluetoothState == BluetoothAdapter.STATE_ON) {
H A DCachedBluetoothDeviceManager.java138 public synchronized void onBluetoothStateChanged(int bluetoothState) { argument
141 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) {
H A DBluetoothSettings.java243 private void updateContent(int bluetoothState, boolean scanState) { argument
247 switch (bluetoothState) {
345 public void onBluetoothStateChanged(int bluetoothState) { argument
346 super.onBluetoothStateChanged(bluetoothState);
347 updateContent(bluetoothState, true);
H A DDeviceListPreferenceFragment.java203 public void onBluetoothStateChanged(int bluetoothState) { argument
204 if (bluetoothState == BluetoothAdapter.STATE_OFF) {
/packages/services/Telephony/src/com/android/phone/
H A DBluetoothManager.java289 private static boolean shouldShowBluetoothIndication(int bluetoothState, argument
308 return ((bluetoothState == BluetoothHeadset.STATE_CONNECTED)
317 return (bluetoothState == BluetoothHeadset.STATE_CONNECTED);
/packages/apps/Settings/src/com/android/settings/widget/
H A DSettingsAppWidgetProvider.java484 int bluetoothState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1);
485 setCurrentState(context, bluetoothStateToFiveState(bluetoothState));
492 private static int bluetoothStateToFiveState(int bluetoothState) { argument
493 switch (bluetoothState) {

Completed in 1098 milliseconds