Searched refs:isPrimaryDevice (Results 1 – 3 of 3) sorted by relevance
3832 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()
2921 return devices.stream().anyMatch(d -> !leAudioService.isPrimaryDevice(d)); in isAudioSharingModeOn()2957 && leAudioService.isPrimaryDevice(d)))) { in handleDeviceDisconnection()
1416 public boolean isPrimaryDevice(BluetoothDevice device) { in isPrimaryDevice() method in LeAudioService