Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java76 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothProfileManagerTest
96 mProfileManager = in setUp()
108 mProfileManager.updateLocalProfiles(); in constructor_initiateHidAndHidDeviceProfile()
110 assertThat(mProfileManager.getHidProfile()).isNotNull(); in constructor_initiateHidAndHidDeviceProfile()
111 assertThat(mProfileManager.getHidDeviceProfile()).isNotNull(); in constructor_initiateHidAndHidDeviceProfile()
116 mProfileManager = spy(new LocalBluetoothProfileManager(mContext, mLocalBluetoothAdapter, in constructor_doNotUpdateProfiles()
119 verify(mProfileManager, never()).updateLocalProfiles(); in constructor_doNotUpdateProfiles()
127 mProfileManager.updateLocalProfiles(); in updateLocalProfiles_addA2dpToLocalProfiles()
128 assertThat(mProfileManager.getA2dpProfile()).isNull(); in updateLocalProfiles_addA2dpToLocalProfiles()
129 assertThat(mProfileManager.getHeadsetProfile()).isNull(); in updateLocalProfiles_addA2dpToLocalProfiles()
[all …]
DHearingAidProfileTest.java48 private LocalBluetoothProfileManager mProfileManager; field in HearingAidProfileTest
68 mProfile = new HearingAidProfile(context, mDeviceManager, mProfileManager); in setUp()
83 verify(mProfileManager).callServiceConnectedListeners(); in onServiceConnected_isProfileReady()
91 verify(mProfileManager).callServiceDisconnectedListeners(); in onServiceDisconnected_profileNotReady()
DCachedBluetoothDeviceTest.java87 private LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDeviceTest
151 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
153 when(mProfileManager.getLeAudioBroadcastProfile()).thenReturn(mBroadcast); in setUp()
154 when(mProfileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(mAssistant); in setUp()
155 mCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mDevice)); in setUp()
157 mSubCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mSubDevice)); in setUp()
936 when(mProfileManager.getHapClientProfile()).thenReturn(mHapClientProfile); in getConnectionSummary_testActiveDeviceLeAudioHearingAid()
956 when(mProfileManager.getHapClientProfile()).thenReturn(mHapClientProfile); in getTvConnectionSummary_testActiveDeviceLeAudioHearingAid()
1573 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testAliasNameAvailable()
1583 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testNameNotAvailable()
[all …]
DPbapClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in PbapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DA2dpSinkProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHfpClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in HfpClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHidDeviceProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DMapClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in MapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DSapProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
DHeadsetProfileTest.java33 private LocalBluetoothProfileManager mProfileManager; field in HeadsetProfileTest
52 mProfile = new HeadsetProfile(context, mDeviceManager, mProfileManager); in setUp()
DA2dpProfileTest.java59 private LocalBluetoothProfileManager mProfileManager; field in A2dpProfileTest
75 mProfile = new A2dpProfile(mContext, mDeviceManager, mProfileManager); in setUp()
86 verify(mProfileManager).callServiceConnectedListeners(); in onServiceConnected_isProfileReady()
94 verify(mProfileManager).callServiceDisconnectedListeners(); in onServiceDisconnected_profileNotReady()
DVolumeControlProfileTest.java62 @Mock private LocalBluetoothProfileManager mProfileManager; field in VolumeControlProfileTest
72 mProfile = new VolumeControlProfile(mContext, mDeviceManager, mProfileManager); in setUp()
84 verify(mProfileManager).callServiceConnectedListeners(); in onServiceConnected_isProfileReady()
92 verify(mProfileManager).callServiceDisconnectedListeners(); in onServiceDisconnected_isProfileNotReady()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothAdapter.java50 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothAdapter
65 mProfileManager = manager; in setProfileManager()
180 A2dpProfile a2dp = mProfileManager.getA2dpProfile(); in startScanning()
184 A2dpSinkProfile a2dpSink = mProfileManager.getA2dpSinkProfile(); in startScanning()
219 if (mProfileManager != null) { in setBluetoothStateInt()
220 mProfileManager.setBluetoothStateOn(); in setBluetoothStateInt()
DLocalBluetoothManager.java51 private final LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothManager
122 mProfileManager = in LocalBluetoothManager()
126 mProfileManager.updateLocalProfiles(); in LocalBluetoothManager()
169 return mProfileManager; in getProfileManager()
DSapProfile.java47 private final LocalBluetoothProfileManager mProfileManager; field in SapProfile
79 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
84 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
101 mProfileManager = profileManager; in SapProfile()
DMapClientProfile.java47 private final LocalBluetoothProfileManager mProfileManager; field in MapClientProfile
79 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
84 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
102 mProfileManager = profileManager; in MapClientProfile()
DMapProfile.java47 private final LocalBluetoothProfileManager mProfileManager; field in MapProfile
80 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
85 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
103 mProfileManager = profileManager; in MapProfile()
DCsipSetCoordinatorProfile.java55 private final LocalBluetoothProfileManager mProfileManager; field in CsipSetCoordinatorProfile
86 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
94 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
103 mProfileManager = profileManager; in CsipSetCoordinatorProfile()
DHeadsetProfile.java48 private final LocalBluetoothProfileManager mProfileManager; field in HeadsetProfile
82 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
86 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
103 mProfileManager = profileManager; in HeadsetProfile()
DVolumeControlProfile.java50 private final LocalBluetoothProfileManager mProfileManager; field in VolumeControlProfile
83 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
91 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
102 mProfileManager = profileManager; in VolumeControlProfile()
DCachedBluetoothDevice.java103 private final LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDevice
188 mProfileManager = profileManager; in CachedBluetoothDevice()
331 if (!mProfileManager in updatePreferredTransport()
335 mProfileManager.getLeAudioProfile().isEnabled(mDevice) in updatePreferredTransport()
377 PbapServerProfile PbapProfile = mProfileManager.getPbapProfile(); in disconnect()
664 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive()
671 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in setActive()
678 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in setActive()
685 LeAudioProfile leAudioProfile = mProfileManager.getLeAudioProfile(); in setActive()
925 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
[all …]
DHearingAidProfile.java83 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile
115 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
120 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
137 mProfileManager = profileManager; in HearingAidProfile()
DLeAudioProfile.java55 private final LocalBluetoothProfileManager mProfileManager; field in LeAudioProfile
88 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
96 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
116 mProfileManager = profileManager; in LeAudioProfile()
DLocalBluetoothLeBroadcastAssistant.java60 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothLeBroadcastAssistant
100 mProfileManager.callServiceConnectedListeners();
121 mProfileManager.callServiceDisconnectedListeners();
131 mProfileManager = profileManager; in LocalBluetoothLeBroadcastAssistant()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesPresetsController.java45 private final LocalBluetoothProfileManager mProfileManager; field in HearingDevicesPresetsController
54 mProfileManager = profileManager; in HearingDevicesPresetsController()
55 mHapClientProfile = mProfileManager.getHapClientProfile(); in HearingDevicesPresetsController()
62 mProfileManager.removeServiceListener(this); in onServiceConnected()

12