Searched refs:bluetoothState (Results 1 – 7 of 7) sorted by relevance
55 override fun onBluetoothStateChanged(bluetoothState: Int) { in <lambda>()56 if (bluetoothState == STATE_ON || bluetoothState == STATE_OFF) { in <lambda>()57 super.onBluetoothStateChanged(bluetoothState) in <lambda>()60 BluetoothAdapter.nameForState(bluetoothState) in <lambda>()63 bluetoothState == STATE_ON, in <lambda>()
56 ) { bluetoothState, deviceItem -> in bluetoothState() method57 getButtonState(bluetoothState, deviceItem) in bluetoothState()67 bluetoothState: Boolean, in getButtonState()72 !bluetoothState -> AudioSharingButtonState.Gone in getButtonState()
52 private val bluetoothState = MutableStateFlow(false) constant66 whenever(bluetoothStateInteractor.bluetoothStateUpdate).thenReturn(bluetoothState) in setUp()96 bluetoothState.value = true in testButtonStateUpdate_noDevice_returnGone()109 bluetoothState.value = true in testButtonStateUpdate_isBroadcasting_returnSharingAudio()136 bluetoothState.value = true in testButtonStateUpdate_hasSource_returnGone()159 bluetoothState.value = true in testButtonStateUpdate_hasActiveDevice_returnAudioSharing()
337 public void onBluetoothStateChanged(@AdapterState int bluetoothState) { in onBluetoothStateChanged() argument338 mLogger.logStateChange(BluetoothAdapter.nameForState(bluetoothState)); in onBluetoothStateChanged()339 mEnabled = bluetoothState == BluetoothAdapter.STATE_ON in onBluetoothStateChanged()340 || bluetoothState == BluetoothAdapter.STATE_TURNING_ON; in onBluetoothStateChanged()341 mState = bluetoothState; in onBluetoothStateChanged()
392 private void onBluetoothStateChangedInternal(int bluetoothState) { in onBluetoothStateChangedInternal() argument393 if (bluetoothState == BluetoothAdapter.STATE_ON && mState == STATE_WAITING_FOR_BLUETOOTH) { in onBluetoothStateChangedInternal()501 int bluetoothState = msg.arg1; in handleMessage() local502 onBluetoothStateChangedInternal(bluetoothState); in handleMessage()608 public void onBluetoothStateChanged(@BluetoothCallback.AdapterState int bluetoothState) { in onBluetoothStateChanged() argument610 bluetoothState, 0).sendToTarget(); in onBluetoothStateChanged()
52 default void onBluetoothStateChanged(@AdapterState int bluetoothState) {} in onBluetoothStateChanged() argument
324 public synchronized void onBluetoothStateChanged(int bluetoothState) { in onBluetoothStateChanged() argument327 if (bluetoothState == BluetoothAdapter.STATE_TURNING_OFF) { in onBluetoothStateChanged()