Home
last modified time | relevance | path

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

12

/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.java126 Context context, CachedBluetoothDevice cachedDevice) { in getDerivedBtClassDrawableWithDescription()
142 Context context, CachedBluetoothDevice cachedDevice) { in getBtClassDrawableWithDescription()
228 Context context, CachedBluetoothDevice cachedDevice) { in getBtRainbowDrawableWithDescription()
270 Context context, CachedBluetoothDevice cachedDevice) { in getBtDrawableWithDescription()
567 CachedBluetoothDevice cachedDevice, boolean isOngoingCall) { in isAvailableMediaBluetoothDevice()
627 CachedBluetoothDevice cachedDevice, in isAvailableAudioSharingMediaBluetoothDevice()
726 public static boolean isMediaDevice(@Nullable CachedBluetoothDevice cachedDevice) { in isMediaDevice()
739 public static boolean isLeAudioSupported(@Nullable CachedBluetoothDevice cachedDevice) { in isLeAudioSupported()
765 public static boolean hasConnectedBroadcastSource( in hasConnectedBroadcastSource()
867 public static boolean isAvailableHearingDevice(CachedBluetoothDevice cachedDevice) { in isAvailableHearingDevice()
[all …]
DBluetoothEventManager.java203 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() local
213 void dispatchDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceAdded()
219 void dispatchDeviceRemoved(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceRemoved()
260 private void dispatchConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in dispatchConnectionStateChanged()
377 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
397 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
425 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
500 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
509 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
518 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
DCachedBluetoothDeviceManager.java73 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { in onDeviceDisappeared()
79 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() local
271 CachedBluetoothDevice cachedDevice = findDevice(device); in getName() local
298 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in clearNonBondedSubDevices() local
325 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onScanningStateChanged() local
346 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onBluetoothStateChanged() local
391 cachedDevice, int state, int profileId) { in onProfileConnectionStateChangedIfProcessed()
DHearingAidDeviceManager.java333 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local
368 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onHiSyncIdChanged() local
418 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed()
476 private CachedBluetoothDevice getConnectedSecondaryDevice(CachedBluetoothDevice cachedDevice) { in getConnectedSecondaryDevice()
633 private HearingAidInfo generateHearingAidInfo(CachedBluetoothDevice cachedDevice) { in generateHearingAidInfo()
DCsipDeviceManager.java120 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local
169 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed()
452 private boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected()
DProfileConnectionState.kt20 val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.ProfileConnectionState
DLocalBluetoothProfileManager.java335 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
343 protected void onReceiveInternal(Intent intent, CachedBluetoothDevice cachedDevice) { in onReceiveInternal()
468 public void onReceiveInternal(Intent intent, CachedBluetoothDevice cachedDevice) { in onReceiveInternal()
DAmbientVolumeUiController.java234 public void onProfileConnectionStateChanged(@NonNull CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged()
296 public void loadDevice(CachedBluetoothDevice cachedDevice) { in loadDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java347 public void onDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
355 public void onDeviceDeleted(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
362 public void onDeviceBondStateChanged( in onDeviceBondStateChanged()
377 public void onConnectionStateChanged( in onConnectionStateChanged()
387 public void onProfileConnectionStateChanged( in onProfileConnectionStateChanged()
406 public void onAclConnectionStateChanged( in onAclConnectionStateChanged()
414 public void addOnMetadataChangedListener( in addOnMetadataChangedListener()
427 public void removeOnMetadataChangedListener( in removeOnMetadataChangedListener()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/devicesettings/shared/model/
DDeviceSettingModel.kt28 val cachedDevice: CachedBluetoothDevice constant
33 override val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.devicesettings.shared.model.DeviceSettingModel.ActionSwitchPreference
46 override val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.devicesettings.shared.model.DeviceSettingModel.MultiTogglePreference
58 override val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.devicesettings.shared.model.DeviceSettingModel.FooterPreference
65 override val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.devicesettings.shared.model.DeviceSettingModel.HelpPreference
72 override val cachedDevice: CachedBluetoothDevice, constant in com.android.settingslib.bluetooth.devicesettings.shared.model.DeviceSettingModel.Unknown
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBluetoothTileTest.kt168 val cachedDevice = mock<CachedBluetoothDevice>() in <lambda>() constant
187 val cachedDevice = mock<CachedBluetoothDevice>() in <lambda>() constant
240 val cachedDevice = mock<CachedBluetoothDevice>() in <lambda>() constant
253 val cachedDevice = mock<CachedBluetoothDevice>() in <lambda>() constant
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java186 final CachedBluetoothDevice cachedDevice = in connectDevice() local
582 final CachedBluetoothDevice cachedDevice = in getMutingExpectedDevice() local
591 private boolean isMutingExpectedDevice(CachedBluetoothDevice cachedDevice) { in isMutingExpectedDevice()
613 final CachedBluetoothDevice cachedDevice = in buildDisconnectedBluetoothDevice() local
641 private boolean isBondedMediaDevice(CachedBluetoothDevice cachedDevice) { in isBondedMediaDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemInteractorTest.kt227 { cachedDevice -> cachedDevice.device == device1 }, in <lambda>() method
231 { cachedDevice -> cachedDevice.device == device2 }, in <lambda>() method
269 { cachedDevice -> cachedDevice.device == device1 }, in <lambda>() method
273 { cachedDevice -> cachedDevice.device == device2 }, in <lambda>() method
DDeviceItemFactoryTest.kt51 @Mock private lateinit var cachedDevice: CachedBluetoothDevice variable in com.android.systemui.bluetooth.qsdialog.DeviceItemFactoryTest
/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
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesChecker.java100 private boolean isExclusivelyManagedBluetoothDevice( in isExclusivelyManagedBluetoothDevice()
DHearingDevicesDialogDelegate.java264 public void onProfileConnectionStateChanged(@NonNull CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged()
271 public void onAclConnectionStateChanged(@NonNull CachedBluetoothDevice cachedDevice, in onAclConnectionStateChanged()
561 private DeviceItem createHearingDeviceItem(CachedBluetoothDevice cachedDevice) { in createHearingDeviceItem()
DHearingDevicesInputRoutingController.kt50 private var cachedDevice: CachedBluetoothDevice? = null in <lambda>() variable
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioSharingRepository.kt257 val cachedDevice = in setSecondaryVolume() constant
292 val cachedDevice = btManager.cachedDeviceManager.findDevice(device) in isBroadcastProfileReady() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java370 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in testAddOnMetadataChangedListener_registersListenerOnAdapter() local
384 CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in testRemoveOnMetadataChangedListener_removesListenerFromAdapter() local
/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/multivalentTests/src/com/android/systemui/volume/panel/component/volume/slider/ui/viewmodel/
DAudioSharingStreamSliderViewModelTest.kt53 val cachedDevice: CachedBluetoothDevice = mock { in slider_media_inAudioSharing() constant
DAudioStreamSliderViewModelTest.kt163 val cachedDevice: CachedBluetoothDevice = mock { in slider_media_inAudioSharing() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java345 private void listenToMetadata(CachedBluetoothDevice cachedDevice) { in listenToMetadata()

12