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.java98 int btState = mLocalBluetoothAdapter.getState(); in onCreate() local
101 switch (btState) { in onCreate()
114 LOG.e("Unknown adapter state: " + btState); in onCreate()
120 switch (btState) { in onCreate()
131 LOG.e("Unknown adapter state: " + btState); in onCreate()
137 switch (btState) { in onCreate()
155 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.java87 int btState = mBluetoothAdapter.getState(); in onCreate() local
90 switch (btState) { in onCreate()
107 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
112 switch (btState) { in onCreate()
149 Log.e(TAG, "Unknown adapter state: " + btState); in onCreate()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java361 int btState = adapter.getState(); in updateBluetoothState() local
362 if (btState == BluetoothAdapter.STATE_TURNING_OFF) { in updateBluetoothState()
364 } else if (btState == BluetoothAdapter.STATE_TURNING_ON) { in updateBluetoothState()
368 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null in updateBluetoothState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTetherSettings.java361 int btState = adapter.getState(); in updateBluetoothState() local
362 if (btState == BluetoothAdapter.STATE_TURNING_OFF) { in updateBluetoothState()
364 } else if (btState == BluetoothAdapter.STATE_TURNING_ON) { in updateBluetoothState()
368 if (btState == BluetoothAdapter.STATE_ON && bluetoothPan != null in updateBluetoothState()