Home
last modified time | relevance | path

Searched defs:cachedDevice (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothCallback.java73 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()
DBluetoothUtils.java97 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 …]
DBluetoothEventManager.java197 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
DCachedBluetoothDeviceManager.java70 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()
DHearingAidDeviceManager.java120 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()
DCsipDeviceManager.java115 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local
162 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed()
392 private boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected()
DLocalBluetoothProfileManager.java333 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()
DHearingAidStatsLogUtils.java136 public static void updateHistoryIfNeeded(Context context, CachedBluetoothDevice cachedDevice, in updateHistoryIfNeeded()
DLocalBluetoothLeBroadcast.java1197 private int getGroupId(CachedBluetoothDevice cachedDevice) { in getGroupId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java362 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/
DBluetoothTileTest.kt154 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/
DBluetoothControllerImplTest.java194 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/
DDeviceItemInteractorTest.kt173 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
DDeviceItemFactoryTest.kt47 @Mock private lateinit var cachedDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.DeviceItemFactoryTest
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java186 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()
DInfoMediaManager.java721 final CachedBluetoothDevice cachedDevice = in addMediaDevice() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DLocalMediaManagerTest.java199 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
DInfoMediaManagerTest.java808 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/
DHearingDevicesChecker.java100 private boolean isExclusivelyManagedBluetoothDevice( in isExclusivelyManagedBluetoothDevice()
DHearingDevicesDialogDelegate.java235 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/
DKeyboardUI.java336 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/
DBluetoothTile.java313 private void listenToMetadata(CachedBluetoothDevice cachedDevice) { in listenToMetadata()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemInteractor.kt134 .mapNotNull { cachedDevice -> in <lambda>() method