Home
last modified time | relevance | path

Searched refs:mProfileManager (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java54 private LocalBluetoothProfileManager mProfileManager; field in MediaOutputIndicatorSlice
63 mProfileManager = mLocalBluetoothManager.getProfileManager(); in MediaOutputIndicatorSlice()
130 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in getConnectedA2dpDevices()
140 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in getConnectedHearingAidDevices()
155 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDeviceName()
167 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/media/
DMediaOutputIndicatorSlice.java53 private LocalBluetoothProfileManager mProfileManager; field in MediaOutputIndicatorSlice
62 mProfileManager = mLocalBluetoothManager.getProfileManager(); in MediaOutputIndicatorSlice()
124 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in getConnectableA2dpDevices()
134 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in getConnectableHearingAidDevices()
149 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDeviceName()
161 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java68 private LocalBluetoothProfileManager mProfileManager; field in BluetoothDetailsProfilesControllerTest
78 when(mLocalManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
186 when(mProfileManager.getProfileByName(eq(profile.toString()))).thenReturn(profile); in addFakeProfile()
288 when(mProfileManager.getPbapProfile()).thenReturn(psp); in pbapProfileStartsEnabled()
311 when(mProfileManager.getPbapProfile()).thenReturn(psp); in pbapProfileStartsDisabled()
332 when(mProfileManager.getMapProfile()).thenReturn(mapProfile); in mapProfile()
333 when(mProfileManager.getProfileByName(eq(mapProfile.toString()))).thenReturn(mapProfile); in mapProfile()
350 when(mProfileManager.getProfileByName(eq(profile.toString()))).thenReturn(profile); in addMockA2dpProfile()
451 verify(mProfileManager).addServiceListener(mController); in onResume_addServiceListener()
458 verify(mProfileManager).removeServiceListener(mController); in onPause_removeServiceListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DAudioSwitchPreferenceController.java75 protected LocalBluetoothProfileManager mProfileManager; field in AudioSwitchPreferenceController
111 mProfileManager = mLocalBluetoothManager.getProfileManager(); in AudioSwitchPreferenceController()
196 final HeadsetProfile hfpProfile = mProfileManager.getHeadsetProfile(); in getConnectedHfpDevices()
214 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in getConnectableA2dpDevices()
226 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in getConnectedHearingAidDevices()
251 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in getConnectableHearingAidDevices()
273 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
DHandsFreeProfileOutputPreferenceController.java169 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in setActiveBluetoothDevice()
170 final HeadsetProfile hfpProfile = mProfileManager.getHeadsetProfile(); in setActiveBluetoothDevice()
185 final HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in findActiveDevice()
DMediaOutputPreferenceController.java95 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDevice()
108 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java73 protected LocalBluetoothProfileManager mProfileManager; field in AudioSwitchPreferenceController
107 mProfileManager = mLocalBluetoothManager.getProfileManager(); in AudioSwitchPreferenceController()
192 final HeadsetProfile hfpProfile = mProfileManager.getHeadsetProfile(); in getConnectedHfpDevices()
210 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in getConnectedA2dpDevices()
222 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in getConnectedHearingAidDevices()
244 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
DHandsFreeProfileOutputPreferenceController.java169 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in setActiveBluetoothDevice()
170 final HeadsetProfile hfpProfile = mProfileManager.getHeadsetProfile(); in setActiveBluetoothDevice()
185 final HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in findActiveDevice()
DMediaOutputPreferenceController.java85 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDevice()
98 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java56 private LocalBluetoothProfileManager mProfileManager; field in BluetoothDetailsProfilesController
64 mProfileManager = mManager.getProfileManager(); in BluetoothDetailsProfilesController()
167 LocalBluetoothProfile profile = mProfileManager.getProfileByName(preference.getKey()); in onPreferenceClick()
241 mProfileManager.removeServiceListener(this); in onPause()
247 mProfileManager.addServiceListener(this); in onResume()