Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothCallback.java57 default void onDeviceAdded(CachedBluetoothDevice cachedDevice) {} in onDeviceAdded()
64 default void onDeviceDeleted(CachedBluetoothDevice cachedDevice) {} in onDeviceDeleted()
76 default void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {} in onDeviceBondStateChanged()
92 default void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) {} in onConnectionStateChanged()
127 default void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged()
141 default void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onAclConnectionStateChanged()
H A DCachedBluetoothDeviceManager.java55 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { in onDeviceDisappeared()
61 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() local
166 CachedBluetoothDevice cachedDevice = findDevice(device); in getName() local
187 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in clearNonBondedSubDevices() local
202 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onScanningStateChanged() local
216 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onBluetoothStateChanged() local
232 cachedDevice, int state) { in onProfileConnectionStateChangedIfProcessed()
H A DBluetoothEventManager.java180 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() local
190 void dispatchDeviceAdded(CachedBluetoothDevice cachedDevice) { in dispatchDeviceAdded()
196 void dispatchDeviceRemoved(CachedBluetoothDevice cachedDevice) { in dispatchDeviceRemoved()
209 private void dispatchConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in dispatchConnectionStateChanged()
299 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
317 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
339 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
402 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
411 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
420 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
H A DHearingAidDeviceManager.java82 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in getCachedDevice() local
115 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onHiSyncIdChanged() local
156 boolean onProfileConnectionStateChangedIfProcessed(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChangedIfProcessed()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A 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()
H A DBluetoothEventManager.java187 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() local
197 void dispatchDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceAdded()
203 void dispatchDeviceRemoved(@NonNull CachedBluetoothDevice cachedDevice) { in dispatchDeviceRemoved()
216 private void dispatchConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in dispatchConnectionStateChanged()
325 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
345 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
373 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
444 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
453 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
462 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() local
H A DCachedBluetoothDeviceManager.java70 public static boolean onDeviceDisappeared(CachedBluetoothDevice cachedDevice) { in onDeviceDisappeared()
76 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() local
238 CachedBluetoothDevice cachedDevice = findDevice(device); in getName() local
265 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in clearNonBondedSubDevices() local
292 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onScanningStateChanged() local
313 CachedBluetoothDevice cachedDevice = mCachedDevices.get(i); in onBluetoothStateChanged() local
344 cachedDevice, int state, int profileId) { in onProfileConnectionStateChangedIfProcessed()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceUpdater.java153 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
158 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
166 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
171 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, in onProfileConnectionStateChanged()
181 public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onAclConnectionStateChanged()
233 protected void addPreference(CachedBluetoothDevice cachedDevice) { in addPreference()
241 protected void addPreference(CachedBluetoothDevice cachedDevice, in addPreference()
263 protected void removePreference(CachedBluetoothDevice cachedDevice) { in removePreference()
308 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected()
H A DSavedBluetoothDeviceUpdater.java67 final CachedBluetoothDevice cachedDevice = cachedManager.findDevice(device); in forceUpdate() local
81 final CachedBluetoothDevice cachedDevice = cachedManager.findDevice(device); in removePreferenceIfNecessary() local
90 public void update(CachedBluetoothDevice cachedDevice) { in update()
100 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { in isFilterMatched()
H A DConnectedBluetoothDeviceUpdater.java54 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { in isFilterMatched()
102 protected void addPreference(CachedBluetoothDevice cachedDevice) { in addPreference()
H A DDeviceListPreferenceFragment.java172 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
185 void createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference()
222 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothDevicesGroupPreferenceController.java93 protected BluetoothDevicePreference createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference()
102 protected abstract void onDeviceClicked(CachedBluetoothDevice cachedDevice); in onDeviceClicked()
147 public final void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
152 public final void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
156 private void addPreference(CachedBluetoothDevice cachedDevice) { in addPreference()
165 private void removePreference(CachedBluetoothDevice cachedDevice) { in removePreference()
H A DBluetoothPreferenceController.java118 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
122 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
126 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
130 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged()
H A DBluetoothBondedDevicesPreferenceController.java82 protected BluetoothDevicePreference createDevicePreference(CachedBluetoothDevice cachedDevice) { in createDevicePreference()
95 protected void onDeviceClicked(CachedBluetoothDevice cachedDevice) { in onDeviceClicked()
103 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
152 private void toggleBluetoothConnectivity(boolean connect, CachedBluetoothDevice cachedDevice) { in toggleBluetoothConnectivity()
161 CachedBluetoothDevice cachedDevice = preference.getCachedDevice(); in setButtonsCheckedAndListeners() local
H A DBluetoothScanningDevicesGroupPreferenceController.java61 protected final void onDeviceClicked(CachedBluetoothDevice cachedDevice) { in onDeviceClicked()
72 protected abstract void onDeviceClickedInternal(CachedBluetoothDevice cachedDevice); in onDeviceClickedInternal()
149 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
H A DBluetoothDevicePickerPreferenceController.java104 protected void onDeviceClickedInternal(CachedBluetoothDevice cachedDevice) { in onDeviceClickedInternal()
139 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DPairedBluetoothDevicesWorker.java63 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
68 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
73 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
78 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged()
88 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java356 public void onDeviceAdded(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
364 public void onDeviceDeleted(@NonNull CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
371 public void onDeviceBondStateChanged( in onDeviceBondStateChanged()
386 public void onConnectionStateChanged( in onConnectionStateChanged()
396 public void onProfileConnectionStateChanged( in onProfileConnectionStateChanged()
415 public void onAclConnectionStateChanged( in onAclConnectionStateChanged()
423 public void addOnMetadataChangedListener( in addOnMetadataChangedListener()
436 public void removeOnMetadataChangedListener( in removeOnMetadataChangedListener()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
H A DBluetoothUpdateWorker.java85 public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onAclConnectionStateChanged()
100 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged()
105 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, in onProfileConnectionStateChanged()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DDevicePickerFragmentTest.java73 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in callingPackageIsEqualToLaunchPackage_sendBroadcastToLaunchPackage() local
92 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in callingPackageIsNotEqualToLaunchPackage_broadcastNotSend() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java334 public void onDeviceAdded(CachedBluetoothDevice cachedDevice) { in onDeviceAdded()
342 public void onDeviceDeleted(CachedBluetoothDevice cachedDevice) { in onDeviceDeleted()
350 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
365 public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onConnectionStateChanged()
376 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, in onProfileConnectionStateChanged()
398 public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { in onAclConnectionStateChanged()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DBluetoothTileTest.kt145 val cachedDevice = mock<CachedBluetoothDevice>() regex
165 val cachedDevice = mock<CachedBluetoothDevice>() regex
190 val cachedDevice = mock<CachedBluetoothDevice>() regex
203 val cachedDevice = mock<CachedBluetoothDevice>() regex
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DLocalMediaManager.java170 final CachedBluetoothDevice cachedDevice = in connectDevice() local
558 final CachedBluetoothDevice cachedDevice = in getMutingExpectedDevice() local
569 private boolean isMutingExpectedDevice(CachedBluetoothDevice cachedDevice) { in isMutingExpectedDevice()
591 final CachedBluetoothDevice cachedDevice = in buildDisconnectedBluetoothDevice() local
620 private boolean isBondedMediaDevice(CachedBluetoothDevice cachedDevice) { in isBondedMediaDevice()
H A DMediaDeviceUtils.java34 public static String getId(CachedBluetoothDevice cachedDevice) { in getId()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaDeviceUtils.java33 public static String getId(CachedBluetoothDevice cachedDevice) { in getId()

123