Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java221 private void dispatchActiveDeviceChanged(CachedBluetoothDevice activeDevice, in dispatchActiveDeviceChanged() argument
223 mDeviceManager.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
225 callback.onActiveDeviceChanged(activeDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
229 private void dispatchAclStateChanged(CachedBluetoothDevice activeDevice, int state) { in dispatchAclStateChanged() argument
231 callback.onAclConnectionStateChanged(activeDevice, state); in dispatchAclStateChanged()
431 CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive() local
443 dispatchActiveDeviceChanged(activeDevice, bluetoothProfile); in onReceive()
465 final CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive() local
466 if (activeDevice == null) { in onReceive()
483 dispatchAclStateChanged(activeDevice, state); in onReceive()
DBluetoothCallback.java104 default void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} in onActiveDeviceChanged() argument
DCachedBluetoothDeviceManager.java229 public synchronized void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, in onActiveDeviceChanged() argument
232 boolean isActive = Objects.equals(cachedDevice, activeDevice); in onActiveDeviceChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DBluetoothMediaManager.java282 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() argument
284 + activeDevice + ", profile : " + bluetoothProfile); in onActiveDeviceChanged()
287 if (activeDevice != null) { in onActiveDeviceChanged()
288 dispatchConnectedDeviceChanged(MediaDeviceUtils.getId(activeDevice)); in onActiveDeviceChanged()
296 final String id = activeDevice == null in onActiveDeviceChanged()
299 : MediaDeviceUtils.getId(activeDevice); in onActiveDeviceChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java354 public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { in onActiveDeviceChanged() argument
356 Log.d(TAG, "ActiveDeviceChanged=" + activeDevice.getAddress() in onActiveDeviceChanged()