Home
last modified time | relevance | path

Searched refs:mProfileManager (Results 1 – 25 of 26) 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.java58 private LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDeviceTest
86 mCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mDevice)); in setUp()
708 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testAliasNameAvailable()
718 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testNameNotAvailable()
735 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testRenameDevice()
750 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setActive()
751 when(mProfileManager.getHeadsetProfile()).thenReturn(mHfpProfile); in setActive()
770 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isA2dpDevice()
779 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isNotA2dpDevice()
788 when(mProfileManager.getHeadsetProfile()).thenReturn(mHfpProfile); in isHfpDevice_isHfpDevice()
[all …]
DSapProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest
60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
DA2dpSinkProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHidDeviceProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfileTest
61 mDeviceManager, mProfileManager); in setUp()
DHfpClientProfileTest.java47 private LocalBluetoothProfileManager mProfileManager; field in HfpClientProfileTest
61 mDeviceManager, mProfileManager); in setUp()
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()
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()
DA2dpProfileTest.java55 private LocalBluetoothProfileManager mProfileManager; field in A2dpProfileTest
69 mProfile = new A2dpProfile(mContext, mDeviceManager, mProfileManager); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothAdapter.java48 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothAdapter
63 mProfileManager = manager; in setProfileManager()
173 A2dpProfile a2dp = mProfileManager.getA2dpProfile(); in startScanning()
177 A2dpSinkProfile a2dpSink = mProfileManager.getA2dpSinkProfile(); in startScanning()
212 if (mProfileManager != null) { in setBluetoothStateInt()
213 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()
DSapProfile.java47 private final LocalBluetoothProfileManager mProfileManager; field in SapProfile
79 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
84 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
101 mProfileManager = profileManager; in SapProfile()
DMapProfile.java47 private final LocalBluetoothProfileManager mProfileManager; field in MapProfile
80 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
85 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected()
103 mProfileManager = profileManager; in MapProfile()
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.java65 private final LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDevice
130 mProfileManager = profileManager; in CachedBluetoothDevice()
249 PbapServerProfile PbapProfile = mProfileManager.getPbapProfile(); in disconnect()
456 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive()
463 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in setActive()
470 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in setActive()
636 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles()
654 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices()
658 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in fetchActiveDevices()
662 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in fetchActiveDevices()
[all …]
DHearingAidProfile.java48 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile
80 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
101 mProfileManager = profileManager; in HearingAidProfile()
DHidDeviceProfile.java44 private final LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfile
53 mProfileManager = profileManager; in HidDeviceProfile()
DPbapClientProfile.java51 private final LocalBluetoothProfileManager mProfileManager; field in PbapClientProfile
106 mProfileManager = profileManager; in PbapClientProfile()
DHidProfile.java44 private final LocalBluetoothProfileManager mProfileManager; field in HidProfile
91 mProfileManager = profileManager; in HidProfile()
DHfpClientProfile.java54 private final LocalBluetoothProfileManager mProfileManager; field in HfpClientProfile
102 mProfileManager = profileManager; in HfpClientProfile()
DA2dpSinkProfile.java51 private final LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfile
95 mProfileManager = profileManager; in A2dpSinkProfile()
DA2dpProfile.java57 private final LocalBluetoothProfileManager mProfileManager; field in A2dpProfile
82 mProfileManager.callServiceConnectedListeners(); in onServiceConnected()
103 mProfileManager = profileManager; in A2dpProfile()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DMediaDeviceTest.java101 private LocalBluetoothProfileManager mProfileManager; field in MediaDeviceTest
154 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp()
155 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp()
156 when(mProfileManager.getHearingAidProfile()).thenReturn(mHapProfile); in setUp()

12