Home
last modified time | relevance | path

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

12

/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()
H A DBluetoothUtils.java74 CachedBluetoothDevice cachedDevice) { in getBtClassDrawableWithDescription()
143 CachedBluetoothDevice cachedDevice) { in getBtRainbowDrawableWithDescription()
181 CachedBluetoothDevice cachedDevice) { in getBtDrawableWithDescription()
/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()
H A DBluetoothPairingDetail.java177 public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) { in onDeviceBondStateChanged()
194 public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, in onProfileConnectionStateChanged()
H A DAvailableMediaBluetoothDeviceUpdater.java54 public boolean isFilterMatched(CachedBluetoothDevice cachedDevice) { in isFilterMatched()
/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()
H A DBluetoothDeviceProfilePreference.java38 CachedBluetoothDevice cachedDevice) { in BluetoothDeviceProfilePreference()
H A DBluetoothDeviceNamePreferenceController.java57 CachedBluetoothDevice cachedDevice = getCachedDevice(); in updateState() local
/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()
/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()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaDeviceUtils.java33 public static String getId(CachedBluetoothDevice cachedDevice) { in getId()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java180 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice() local
496 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceAttributesChanged_failingTransferring_shouldResetState() local
571 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice() local
604 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local
660 final CachedBluetoothDevice cachedDevice = mock(CachedBluetoothDevice.class); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothDevicesService.java199 CachedBluetoothDevice cachedDevice = in connectDevice() local
209 CachedBluetoothDevice cachedDevice = in disconnectDevice() local

12