OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bluetoothState
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java
100
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;
/packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java
484
int
bluetoothState
= intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1);
485
setCurrentState(context, bluetoothStateToFiveState(
bluetoothState
));
492
private static int bluetoothStateToFiveState(int
bluetoothState
) {
493
switch (
bluetoothState
) {
[
all
...]
Completed in 295 milliseconds