/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothCallback.java | 73 default void onDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) {} in onDeviceAdded() 80 default void onDeviceDeleted(@NonNull CachedBluetoothDevice cachedDevice) {} in onDeviceDeleted() 92 default void onDeviceBondStateChanged( in onDeviceBondStateChanged() 109 default void onConnectionStateChanged( in onConnectionStateChanged() 147 default void onProfileConnectionStateChanged( in onProfileConnectionStateChanged() 163 default void onAclConnectionStateChanged( in onAclConnectionStateChanged()
|
D | BluetoothUtils.java | 97 Context context, CachedBluetoothDevice cachedDevice) { in getBtClassDrawableWithDescription() 183 Context context, CachedBluetoothDevice cachedDevice) { in getBtRainbowDrawableWithDescription() 225 Context context, CachedBluetoothDevice cachedDevice) { in getBtDrawableWithDescription() 497 CachedBluetoothDevice cachedDevice, AudioManager audioManager) { in isAvailableMediaBluetoothDevice() 575 CachedBluetoothDevice cachedDevice, LocalBluetoothManager localBtManager) { in hasConnectedBroadcastSource() 625 public static boolean isAvailableHearingDevice(CachedBluetoothDevice cachedDevice) { in isAvailableHearingDevice() 648 CachedBluetoothDevice cachedDevice, AudioManager audioManager) { in isConnectedBluetoothDevice() 695 public static boolean isActiveMediaDevice(CachedBluetoothDevice cachedDevice) { in isActiveMediaDevice() 708 public static boolean isActiveLeAudioDevice(CachedBluetoothDevice cachedDevice) { in isActiveLeAudioDevice() 712 private static boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() [all …]
|
D | BluetoothEventManager.java | 197 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() local 207 void dispatchDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceAdded() 213 void dispatchDeviceRemoved(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceRemoved() 242 private void dispatchConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in dispatchConnectionStateChanged() 351 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 371 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 399 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 474 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 483 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 492 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
|
D | CachedBluetoothDeviceManager.java | 70 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { in onDeviceDisappeared() 76 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() local 254 CachedBluetoothDevice cachedDevice = findDevice(device); in getName() local 281 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in clearNonBondedSubDevices() local 308 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onScanningStateChanged() local 329 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onBluetoothStateChanged() local 374 cachedDevice, int state, int profileId) { in onProfileConnectionStateChangedIfProcessed()
|
D | HearingAidDeviceManager.java | 120 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local 155 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onHiSyncIdChanged() local 204 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed() 262 private CachedBluetoothDevice getConnectedSecondaryDevice(CachedBluetoothDevice cachedDevice) { in getConnectedSecondaryDevice() 393 private HearingAidInfo generateHearingAidInfo(CachedBluetoothDevice cachedDevice) { in generateHearingAidInfo()
|
D | CsipDeviceManager.java | 115 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local 162 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed() 392 private boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected()
|
D | LocalBluetoothProfileManager.java | 333 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local 341 protected void onReceiveInternal(Intent intent, CachedBluetoothDevice cachedDevice) { in onReceiveInternal() 438 public void onReceiveInternal(Intent intent, CachedBluetoothDevice cachedDevice) { in onReceiveInternal()
|
D | HearingAidStatsLogUtils.java | 136 public static void updateHistoryIfNeeded(Context context, CachedBluetoothDevice cachedDevice, in updateHistoryIfNeeded()
|
D | LocalBluetoothLeBroadcast.java | 1197 private int getGroupId(CachedBluetoothDevice cachedDevice) { in getGroupId()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImpl.java | 362 public void onDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceAdded() 370 public void onDeviceDeleted(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceDeleted() 377 public void onDeviceBondStateChanged( in onDeviceBondStateChanged() 392 public void onConnectionStateChanged( in onConnectionStateChanged() 402 public void onProfileConnectionStateChanged( in onProfileConnectionStateChanged() 421 public void onAclConnectionStateChanged( in onAclConnectionStateChanged() 429 public void addOnMetadataChangedListener( in addOnMetadataChangedListener() 442 public void removeOnMetadataChangedListener( in removeOnMetadataChangedListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | BluetoothTileTest.kt | 154 val cachedDevice = mock<CachedBluetoothDevice>() in testSecondaryLabel_whenBatteryMetadataAvailable_isMetadataBatteryLevelState() constant 174 val cachedDevice = mock<CachedBluetoothDevice>() in testSecondaryLabel_whenBatteryMetadataUnavailable_isBluetoothBatteryLevelState() constant 234 val cachedDevice = mock<CachedBluetoothDevice>() in testMetadataListener_whenDisconnected_isUnregistered() constant 247 val cachedDevice = mock<CachedBluetoothDevice>() in testMetadataListener_whenTileNotListening_isUnregistered() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 194 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in getConnectedDevice_exclusivelyManagedDevice_doNotReturn() local 213 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in getConnectedDevice_exclusivelyManagedDevice_returnsConnected() local 445 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in testAddOnMetadataChangedListener_registersListenerOnAdapter() local 459 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in testRemoveOnMetadataChangedListener_removesListenerFromAdapter() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemInteractorTest.kt | 173 createFactory({ cachedDevice -> cachedDevice.device == device1 }, deviceItem1), in <lambda>() method 174 createFactory({ cachedDevice -> cachedDevice.device == device2 }, deviceItem2) in <lambda>() method 199 createFactory({ cachedDevice -> cachedDevice.device == device1 }, deviceItem1), in <lambda>() method 200 createFactory({ cachedDevice -> cachedDevice.device == device2 }, deviceItem2) in <lambda>() method
|
D | DeviceItemFactoryTest.kt | 47 @Mock private lateinit var cachedDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.DeviceItemFactoryTest
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | LocalMediaManager.java | 186 final CachedBluetoothDevice cachedDevice = in connectDevice() local 570 final CachedBluetoothDevice cachedDevice = in getMutingExpectedDevice() local 579 private boolean isMutingExpectedDevice(CachedBluetoothDevice cachedDevice) { in isMutingExpectedDevice() 601 final CachedBluetoothDevice cachedDevice = in buildDisconnectedBluetoothDevice() local 629 private boolean isBondedMediaDevice(CachedBluetoothDevice cachedDevice) { in isBondedMediaDevice()
|
D | InfoMediaManager.java | 721 final CachedBluetoothDevice cachedDevice = in addMediaDevice() local
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | LocalMediaManagerTest.java | 199 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice() local 395 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceAttributesChanged_failingTransferring_shouldResetState() local 460 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() local 494 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local
|
D | InfoMediaManagerTest.java | 808 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice() local 868 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onRoutesUpdated_setsFirstSelectedRouteAsCurrentConnectedDevice() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesChecker.java | 100 private boolean isExclusivelyManagedBluetoothDevice( in isExclusivelyManagedBluetoothDevice()
|
D | HearingDevicesDialogDelegate.java | 235 public void onProfileConnectionStateChanged(@NonNull CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged() 242 public void onAclConnectionStateChanged(@NonNull CachedBluetoothDevice cachedDevice, in onAclConnectionStateChanged() 434 private DeviceItem createHearingDeviceItem(CachedBluetoothDevice cachedDevice) { in createHearingDeviceItem()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 336 CachedBluetoothDevice cachedDevice = mCachedDeviceManager.findDevice(d); in getCachedBluetoothDevice() local 513 CachedBluetoothDevice cachedDevice = getCachedBluetoothDevice(d); in handleMessage() local 614 public void onDeviceBondStateChanged( in onDeviceBondStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BluetoothTile.java | 313 private void listenToMetadata(CachedBluetoothDevice cachedDevice) { in listenToMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemInteractor.kt | 134 .mapNotNull { cachedDevice -> in <lambda>() method
|