Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSettings.java245 private void updateContent(int bluetoothState, boolean scanState) { in updateContent() argument
249 switch (bluetoothState) { in updateContent()
347 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
348 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
349 updateContent(bluetoothState, true); in onBluetoothStateChanged()
DBluetoothEnabler.java100 int bluetoothState = BluetoothAdapter.STATE_OFF; in setSwitch() local
101 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()
DDevicePickerFragment.java99 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
100 super.onBluetoothStateChanged(bluetoothState); in onBluetoothStateChanged()
102 if (bluetoothState == BluetoothAdapter.STATE_ON) { in onBluetoothStateChanged()
DCachedBluetoothDeviceManager.java138 public synchronized void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
141 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothStateChanged()
DDeviceListPreferenceFragment.java201 public void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument
202 if (bluetoothState == BluetoothAdapter.STATE_OFF) { in onBluetoothStateChanged()
DBluetoothCallback.java24 void onBluetoothStateChanged(int bluetoothState); in onBluetoothStateChanged() argument
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java484 int bluetoothState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onActualStateChange() local
485 setCurrentState(context, bluetoothStateToFiveState(bluetoothState)); in onActualStateChange()
492 private static int bluetoothStateToFiveState(int bluetoothState) { in bluetoothStateToFiveState() argument
493 switch (bluetoothState) { in bluetoothStateToFiveState()
/packages/apps/Phone/src/com/android/phone/
DPhoneGlobals.java1396 private static boolean shouldShowBluetoothIndication(int bluetoothState, in shouldShowBluetoothIndication() argument
1415 return ((bluetoothState == BluetoothHeadset.STATE_CONNECTED) in shouldShowBluetoothIndication()
1424 return (bluetoothState == BluetoothHeadset.STATE_CONNECTED); in shouldShowBluetoothIndication()