Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManagerTest.java72 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothProfileManagerTest
85 mProfileManager = new LocalBluetoothProfileManager(mContext, mLocalBluetoothAdapter, in setUp()
96 mProfileManager.updateLocalProfiles(); in constructor_initiateHidAndHidDeviceProfile()
98 assertThat(mProfileManager.getHidProfile()).isNotNull(); in constructor_initiateHidAndHidDeviceProfile()
99 assertThat(mProfileManager.getHidDeviceProfile()).isNotNull(); in constructor_initiateHidAndHidDeviceProfile()
104 mProfileManager = spy(new LocalBluetoothProfileManager(mContext, mLocalBluetoothAdapter, in constructor_doNotUpdateProfiles()
107 verify(mProfileManager, never()).updateLocalProfiles(); in constructor_doNotUpdateProfiles()
115 mProfileManager.updateLocalProfiles(); in updateLocalProfiles_addA2dpToLocalProfiles()
116 assertThat(mProfileManager.getA2dpProfile()).isNull(); in updateLocalProfiles_addA2dpToLocalProfiles()
117 assertThat(mProfileManager.getHeadsetProfile()).isNull(); in updateLocalProfiles_addA2dpToLocalProfiles()
[all …]
DCachedBluetoothDeviceTest.java67 private LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDeviceTest
98 mCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mDevice)); in setUp()
99 mSubCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mSubDevice)); in setUp()
765 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testAliasNameAvailable()
775 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testNameNotAvailable()
792 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testRenameDevice()
807 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setActive()
808 when(mProfileManager.getHeadsetProfile()).thenReturn(mHfpProfile); in setActive()
827 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isA2dpDevice()
836 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isNotA2dpDevice()
[all …]
DMapClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in MapClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DPbapClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in PbapClientProfileTest
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()
DA2dpSinkProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DSapProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
DHearingAidProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in HearingAidProfileTest
67 mProfile = new HearingAidProfile(context, mDeviceManager, mProfileManager); in setUp()
DHeadsetProfileTest.java33 private LocalBluetoothProfileManager mProfileManager; field in HeadsetProfileTest
52 mProfile = new HeadsetProfile(context, mDeviceManager, mProfileManager); in setUp()
/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
116 mProfileManager = new LocalBluetoothProfileManager(mContext, in LocalBluetoothManager()
119 mProfileManager.updateLocalProfiles(); in LocalBluetoothManager()
162 return mProfileManager; in getProfileManager()
DVolumeControlProfile.java48 private final LocalBluetoothProfileManager mProfileManager; field in VolumeControlProfile
81 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
89 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
98 mProfileManager = profileManager; in VolumeControlProfile()
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()
DCachedBluetoothDevice.java77 private final LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDevice
160 mProfileManager = profileManager; in CachedBluetoothDevice()
303 PbapServerProfile PbapProfile = mProfileManager.getPbapProfile(); in disconnect()
579 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive()
586 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in setActive()
593 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in setActive()
600 LeAudioProfile leAudioProfile = mProfileManager.getLeAudioProfile(); in setActive()
795 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
813 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices()
817 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in fetchActiveDevices()
[all …]
DLeAudioProfile.java59 private final LocalBluetoothProfileManager mProfileManager; field in LeAudioProfile
92 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
100 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
118 mProfileManager = profileManager; in LeAudioProfile()
DLocalBluetoothLeBroadcastAssistant.java59 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothLeBroadcastAssistant
91 mProfileManager.callServiceConnectedListeners();
104 mProfileManager.callServiceDisconnectedListeners();
112 mProfileManager = profileManager; in LocalBluetoothLeBroadcastAssistant()
DHidDeviceProfile.java44 private final LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfile
53 mProfileManager = profileManager; in HidDeviceProfile()
DHearingAidProfile.java85 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile
117 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
138 mProfileManager = profileManager; in HearingAidProfile()
DPbapClientProfile.java51 private final LocalBluetoothProfileManager mProfileManager; field in PbapClientProfile
106 mProfileManager = profileManager; in PbapClientProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumePanelDialog.java81 private LocalBluetoothProfileManager mProfileManager; field in VolumePanelDialog
117 mProfileManager = localBluetoothManager.getProfileManager(); in onCreate()
291 if (mProfileManager != null) { in findActiveDevice()
292 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in findActiveDevice()

12