Home
last modified time | relevance | path

Searched refs:isPrimaryDevice (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java3832 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice); in testPrivateBroadcastIntentionalDisconnection()
3833 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice1); in testPrivateBroadcastIntentionalDisconnection()
3861 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice); in testPrivateBroadcastUnintentionalDisconnection()
3862 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice1); in testPrivateBroadcastUnintentionalDisconnection()
3890 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice); in testAudioSharingIntentionalDisconnection()
3891 doReturn(false).when(mLeAudioService).isPrimaryDevice(mCurrentDevice1); in testAudioSharingIntentionalDisconnection()
3919 doReturn(true).when(mLeAudioService).isPrimaryDevice(mCurrentDevice); in testAudioSharingUnintentionalDisconnection()
3920 doReturn(false).when(mLeAudioService).isPrimaryDevice(mCurrentDevice1); in testAudioSharingUnintentionalDisconnection()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java2921 return devices.stream().anyMatch(d -> !leAudioService.isPrimaryDevice(d)); in isAudioSharingModeOn()
2957 && leAudioService.isPrimaryDevice(d)))) { in handleDeviceDisconnection()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java1416 public boolean isPrimaryDevice(BluetoothDevice device) { in isPrimaryDevice() method in LeAudioService