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
95
int
bluetoothState
= BluetoothAdapter.STATE_OFF;
96
if (mLocalAdapter != null)
bluetoothState
= mLocalAdapter.getBluetoothState();
97
boolean isOn =
bluetoothState
== BluetoothAdapter.STATE_ON;
98
boolean isOff =
bluetoothState
== BluetoothAdapter.STATE_OFF;
/packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java
456
int
bluetoothState
= intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1);
457
setCurrentState(context, bluetoothStateToFiveState(
bluetoothState
));
464
private static int bluetoothStateToFiveState(int
bluetoothState
) {
465
switch (
bluetoothState
) {
[
all
...]
Completed in 164 milliseconds