Home
last modified time | relevance | path

Searched refs:profileManager (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractorTest.kt65 @Mock private lateinit var profileManager: LocalBluetoothProfileManager variable in com.android.systemui.bluetooth.qsdialog.DeviceItemActionInteractorTest
215 whenever(localBluetoothManager.profileManager).thenReturn(profileManager) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
216 whenever(profileManager.leAudioProfile).thenReturn(leAudioProfile) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
217 whenever(profileManager.leAudioBroadcastAssistantProfile) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
250 whenever(localBluetoothManager.profileManager).thenReturn(profileManager) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
251 whenever(profileManager.leAudioProfile).thenReturn(leAudioProfile) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
252 whenever(profileManager.leAudioBroadcastAssistantProfile) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
282 whenever(localBluetoothManager.profileManager).thenReturn(profileManager) in testOnClick_noConnectedLeDevice_shouldNotLaunchSettings()
283 whenever(profileManager.leAudioProfile).thenReturn(leAudioProfile) in testOnClick_noConnectedLeDevice_shouldNotLaunchSettings()
284 whenever(profileManager.leAudioBroadcastAssistantProfile) in testOnClick_noConnectedLeDevice_shouldNotLaunchSettings()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java223 LocalBluetoothProfileManager profileManager = mock(LocalBluetoothProfileManager.class); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice() local
224 when(profileManager.getLeAudioBroadcastProfile()).thenReturn(broadcast); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice()
225 when(profileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(assistant); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice()
226 when(mBtManager.getProfileManager()).thenReturn(profileManager); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice()
254 LocalBluetoothProfileManager profileManager = mock(LocalBluetoothProfileManager.class); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice() local
255 when(profileManager.getLeAudioBroadcastProfile()).thenReturn(broadcast); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice()
256 when(profileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(assistant); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice()
257 when(mBtManager.getProfileManager()).thenReturn(profileManager); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice()
285 LocalBluetoothProfileManager profileManager = mock(LocalBluetoothProfileManager.class); in dispatchProfileConnectionStateChanged_profileNotReady_noUpdateFallbackDevice() local
286 when(profileManager.getLeAudioBroadcastProfile()).thenReturn(broadcast); in dispatchProfileConnectionStateChanged_profileNotReady_noUpdateFallbackDevice()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManager.java282 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in syncDeviceIfNeeded() local
283 final HapClientProfile hap = profileManager.getHapClientProfile(); in syncDeviceIfNeeded()
394 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in generateHearingAidInfo() local
396 final HearingAidProfile asha = profileManager.getHearingAidProfile(); in generateHearingAidInfo()
414 final HapClientProfile hapClientProfile = profileManager.getHapClientProfile(); in generateHearingAidInfo()
415 final LeAudioProfile leAudioProfile = profileManager.getLeAudioProfile(); in generateHearingAidInfo()
DBluetoothEventManager.java230 LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in dispatchProfileConnectionStateChanged() local
231 if (profileManager != null in dispatchProfileConnectionStateChanged()
232 && profileManager.getLeAudioBroadcastProfile() != null in dispatchProfileConnectionStateChanged()
233 && profileManager.getLeAudioBroadcastProfile().isProfileReady() in dispatchProfileConnectionStateChanged()
234 && profileManager.getLeAudioBroadcastAssistantProfile() != null in dispatchProfileConnectionStateChanged()
235 && profileManager.getLeAudioBroadcastAssistantProfile().isProfileReady()) { in dispatchProfileConnectionStateChanged()
237 profileManager.getLeAudioBroadcastProfile().updateFallbackActiveDeviceIfNeeded(); in dispatchProfileConnectionStateChanged()
DCsipDeviceManager.java65 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in getBaseGroupId() local
66 final CsipSetCoordinatorProfile profileProxy = profileManager in getBaseGroupId()
275 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in getPreferredMainDevice() local
277 final LeAudioProfile leAudioProfile = profileManager.getLeAudioProfile(); in getPreferredMainDevice()
DHidDeviceProfile.java51 LocalBluetoothProfileManager profileManager) { in HidDeviceProfile() argument
53 mProfileManager = profileManager; in HidDeviceProfile()
DPbapClientProfile.java104 LocalBluetoothProfileManager profileManager) { in PbapClientProfile() argument
106 mProfileManager = profileManager; in PbapClientProfile()
DSapProfile.java99 LocalBluetoothProfileManager profileManager) { in SapProfile() argument
101 mProfileManager = profileManager; in SapProfile()
DMapClientProfile.java100 LocalBluetoothProfileManager profileManager) { in MapClientProfile() argument
102 mProfileManager = profileManager; in MapClientProfile()
DMapProfile.java101 LocalBluetoothProfileManager profileManager) { in MapProfile() argument
103 mProfileManager = profileManager; in MapProfile()
DHidProfile.java91 LocalBluetoothProfileManager profileManager) { in HidProfile() argument
93 mProfileManager = profileManager; in HidProfile()
DCsipSetCoordinatorProfile.java100 LocalBluetoothProfileManager profileManager) { in CsipSetCoordinatorProfile() argument
103 mProfileManager = profileManager; in CsipSetCoordinatorProfile()
DHfpClientProfile.java100 LocalBluetoothProfileManager profileManager) { in HfpClientProfile() argument
102 mProfileManager = profileManager; in HfpClientProfile()
DA2dpSinkProfile.java93 LocalBluetoothProfileManager profileManager) { in A2dpSinkProfile() argument
95 mProfileManager = profileManager; in A2dpSinkProfile()
DHeadsetProfile.java101 LocalBluetoothProfileManager profileManager) { in HeadsetProfile() argument
103 mProfileManager = profileManager; in HeadsetProfile()
DCachedBluetoothDeviceManager.java135 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in addDevice() local
139 newDevice = new CachedBluetoothDevice(mContext, profileManager, device); in addDevice()
557 final LocalBluetoothProfileManager profileManager = mBtManager.getProfileManager(); in onBondStateChangedIfProcess() local
559 new CachedBluetoothDevice(mContext, profileManager, device); in onBondStateChangedIfProcess()
DVolumeControlProfile.java99 LocalBluetoothProfileManager profileManager) { in VolumeControlProfile() argument
102 mProfileManager = profileManager; in VolumeControlProfile()
DHearingAidProfile.java134 LocalBluetoothProfileManager profileManager) { in HearingAidProfile() argument
137 mProfileManager = profileManager; in HearingAidProfile()
DLeAudioProfile.java113 LocalBluetoothProfileManager profileManager) { in LeAudioProfile() argument
116 mProfileManager = profileManager; in LeAudioProfile()
DLocalBluetoothLeBroadcastAssistant.java130 LocalBluetoothProfileManager profileManager) { in LocalBluetoothLeBroadcastAssistant() argument
131 mProfileManager = profileManager; in LocalBluetoothLeBroadcastAssistant()
DA2dpProfile.java104 LocalBluetoothProfileManager profileManager) { in A2dpProfile() argument
107 mProfileManager = profileManager; in A2dpProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/
DAudioSharingRepository.kt45 localBluetoothManager?.profileManager?.leAudioBroadcastProfile?.let { leBroadcast -> in leBroadcast()
97 (localBluetoothManager?.profileManager?.leAudioBroadcastProfile?.isEnabled(null) in isBroadcasting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManager.kt493 val profileManager = localBluetoothManager.profileManager in <lambda>() constant
494 if (profileManager != null) { in <lambda>()
495 val bluetoothLeBroadcast = profileManager.leAudioBroadcastProfile in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesPresetsController.java52 public HearingDevicesPresetsController(LocalBluetoothProfileManager profileManager, in HearingDevicesPresetsController() argument
54 mProfileManager = profileManager; in HearingDevicesPresetsController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractor.kt55 get() = localBluetoothManager?.profileManager?.leAudioProfile in <lambda>()
58 get() = localBluetoothManager?.profileManager?.leAudioBroadcastAssistantProfile in <lambda>()

12