Home
last modified time | relevance | path

Searched refs:btState (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java99 int btState = mLocalBluetoothAdapter.getState(); in onCreate() local
102 switch (btState) { in onCreate()
115 LOG.e("Unknown adapter state: " + btState); in onCreate()
121 switch (btState) { in onCreate()
132 LOG.e("Unknown adapter state: " + btState); in onCreate()
138 switch (btState) { in onCreate()
156 LOG.e("Unknown adapter state: " + btState); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DRequestPermissionActivity.java83 int btState = mBluetoothAdapter.getState(); in onCreate() local
86 switch (btState) { in onCreate()
103 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
108 switch (btState) { in onCreate()
145 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionActivity.java83 int btState = mBluetoothAdapter.getState(); in onCreate() local
86 switch (btState) { in onCreate()
103 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
108 switch (btState) { in onCreate()
145 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java360 int btState = adapter.getState(); in updateBluetoothState() local
361 if (btState == BluetoothAdapter.STATE_TURNING_OFF) { in updateBluetoothState()
363 } else if (btState == BluetoothAdapter.STATE_TURNING_ON) { in updateBluetoothState()
367 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null in updateBluetoothState()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java392 int btState = adapter.getState(); in updateBluetoothState() local
393 if (btState == BluetoothAdapter.STATE_TURNING_OFF) { in updateBluetoothState()
395 } else if (btState == BluetoothAdapter.STATE_TURNING_ON) { in updateBluetoothState()
399 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null in updateBluetoothState()