Home
last modified time | relevance | path

Searched refs:bluetoothState (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java311 private void updateContent(int bluetoothState) { in updateContent() argument
315 switch (bluetoothState) { in updateContent()
436 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
437 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
440 if (BluetoothAdapter.STATE_ON == bluetoothState) in onBluetoothStateChanged()
442 updateContent(bluetoothState); in onBluetoothStateChanged()
537 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
538 mEnabled = bluetoothState == BluetoothAdapter.STATE_ON; in onBluetoothStateChanged()
DDevicePickerFragment.java138 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
139 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
141 if (bluetoothState == BluetoothAdapter.STATE_ON) { in onBluetoothStateChanged()
DDeviceListPreferenceFragment.java221 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
222 if (bluetoothState == BluetoothAdapter.STATE_OFF) { in onBluetoothStateChanged()
DDockService.java937 public void onBluetoothStateChanged(int bluetoothState) { } in onBluetoothStateChanged() argument
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java488 int bluetoothState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onActualStateChange() local
489 setCurrentState(context, bluetoothStateToFiveState(bluetoothState)); in onActualStateChange()
496 private static int bluetoothStateToFiveState(int bluetoothState) { in bluetoothStateToFiveState() argument
497 switch (bluetoothState) { in bluetoothStateToFiveState()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java627 boolean bluetoothState = extras.getBoolean( in call()
629 ret = setBluetoothStatus(bluetoothState); in call()
667 abstract protected int setBluetoothStatus(boolean bluetoothState); in setBluetoothStatus() argument