Home
last modified time | relevance | path

Searched refs:isBluetoothEnabled (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothTileDialogViewModel.kt126 bluetoothStateInteractor.isBluetoothEnabled() in showDialog()
245 bluetoothStateInteractor.isBluetoothEnabled(), in createBluetoothTileDialog()
306 private fun getSubtitleResId(isBluetoothEnabled: Boolean) = in isAutoOnToggleFeatureAvailable()
307 if (isBluetoothEnabled) R.string.quick_settings_bluetooth_tile_subtitle in isAutoOnToggleFeatureAvailable()
318 isBluetoothEnabled: Boolean, in build()
322 subTitleResId = getSubtitleResId(isBluetoothEnabled), in build()
324 if (isAutoOnToggleFeatureAvailable && !isBluetoothEnabled) VISIBLE in build()
DBluetoothStateInteractor.kt73 .onStart { emit(isBluetoothEnabled()) } in <lambda>()
81 suspend fun isBluetoothEnabled(): Boolean = in isBluetoothEnabled() method in com.android.systemui.bluetooth.qsdialog.BluetoothStateInteractor
88 if (isBluetoothEnabled() != value) { in setBluetoothEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DBluetoothStateInteractorTest.kt71 assertThat(bluetoothStateInteractor.isBluetoothEnabled()).isTrue() in testGet_isBluetoothEnabled()
80 assertThat(bluetoothStateInteractor.isBluetoothEnabled()).isFalse() in testGet_isBluetoothDisabled()
DBluetoothTileDialogViewModelTest.kt226 isBluetoothEnabled = true, in testBuildUiProperties_bluetoothOn_shouldHideAutoOn()
238 isBluetoothEnabled = false, in testBuildUiProperties_bluetoothOff_shouldShowAutoOn()
250 isBluetoothEnabled = false, in testBuildUiProperties_bluetoothOff_autoOnFeatureUnavailable_shouldHideAutoOn()
DBluetoothTileDialogDelegateTest.kt84 isBluetoothEnabled = ENABLED,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothController.java30 boolean isBluetoothEnabled(); in isBluetoothEnabled() method
DBluetoothControllerImpl.java199 public boolean isBluetoothEnabled() { in isBluetoothEnabled() method in BluetoothControllerImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBluetoothController.java41 public boolean isBluetoothEnabled() { in isBluetoothEnabled() method in FakeBluetoothController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBluetoothTileTest.kt295 whenever(bluetoothController.isBluetoothEnabled).thenReturn(true) in enableBluetooth()
299 whenever(bluetoothController.isBluetoothEnabled).thenReturn(false) in disableBluetooth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java186 final boolean enabled = transientEnabling || mController.isBluetoothEnabled(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java487 bluetoothVisible = mBluetooth.isBluetoothEnabled(); in updateBluetooth()