/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceManager.java | 68 CachedBluetoothDevice cachedDevice = findDevice(device); in onDeviceNameUpdated() 84 public synchronized CachedBluetoothDevice findDevice(BluetoothDevice device) { in findDevice() method in CachedBluetoothDeviceManager 118 newDevice = findDevice(device); in addDevice() 212 CachedBluetoothDevice cachedDevice = findDevice(device); in getName() 396 CachedBluetoothDevice memberDevice = findDevice(device); in syncConfigFromMainDevice() 434 if (findDevice(device) == null) { in onBondStateChangedIfProcess() 439 findDevice(device).connect(); in onBondStateChangedIfProcess()
|
D | BluetoothEventManager.java | 187 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in readPairedDevices() 324 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 344 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 372 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 443 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 452 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 461 CachedBluetoothDevice cachedDevice = mDeviceManager.findDevice(device); in onReceive() 477 CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive() 514 final CachedBluetoothDevice activeDevice = mDeviceManager.findDevice(device); in onReceive()
|
D | HidDeviceProfile.java | 67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | VolumeControlProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | SapProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | PbapClientProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | MapClientProfile.java | 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | HidProfile.java | 61 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | HfpClientProfile.java | 70 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | A2dpSinkProfile.java | 66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | MapProfile.java | 69 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | CsipSetCoordinatorProfile.java | 72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | HeadsetProfile.java | 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | LeAudioProfile.java | 79 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | CsipDeviceManager.java | 162 mainBluetoothDevice != null ? deviceManager.findDevice(mainBluetoothDevice) : null; in onGroupIdChanged()
|
D | LocalBluetoothLeBroadcastAssistant.java | 77 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice);
|
D | HearingAidProfile.java | 101 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
D | A2dpProfile.java | 77 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerTest.java | 99 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setUp() 225 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(null); in dispatchAclConnectionStateChanged_findDeviceReturnNull_shouldNotDispatchCallback() 405 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthTimeout_showCorrectedErrorCode() 421 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonRemoteDeviceDown_showCorrectedErrorCode() 437 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthRejected_showCorrectedErrorCode() 453 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice1); in showUnbondMessage_reasonAuthFailed_showCorrectedErrorCode()
|
D | CachedBluetoothDeviceManagerTest.java | 155 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in addDevice_validCachedDevices_devicesAdded() 156 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in addDevice_validCachedDevices_devicesAdded() 244 assertThat(mCachedDeviceManager.findDevice(mDevice1)).isEqualTo(cachedDevice1); in findDevice_sameHiSyncId_foundBothDevice() 245 assertThat(mCachedDeviceManager.findDevice(mDevice2)).isEqualTo(cachedDevice2); in findDevice_sameHiSyncId_foundBothDevice()
|
D | LocalBluetoothProfileManagerTest.java | 83 when(mDeviceManager.findDevice(mDevice)).thenReturn(mCachedBluetoothDevice); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | LocalMediaManager.java | 585 cachedDeviceManager.findDevice(device); in getMutingExpectedDevice() 618 cachedDeviceManager.findDevice(device); in buildDisconnectedBluetoothDevice()
|
D | InfoMediaManager.java | 530 mBluetoothManager.getCachedDeviceManager().findDevice(device); in addMediaDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseDialogTest.java | 114 when(cachedBluetoothDeviceManager.findDevice(any())).thenReturn(null); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | InfoMediaManagerTest.java | 712 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_verifyDeviceTypeCanCorrespondToMediaDevice() 734 when(cachedBluetoothDeviceManager.findDevice(any(BluetoothDevice.class))) in addMediaDevice_cachedBluetoothDeviceIsNull_shouldNotAdded()
|