/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 72 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 …]
|
D | CachedBluetoothDeviceTest.java | 58 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 …]
|
D | SapProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest 60 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
|
D | A2dpSinkProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HidDeviceProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HfpClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in HfpClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | MapClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in MapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | PbapClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in PbapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HearingAidProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in HearingAidProfileTest 67 mProfile = new HearingAidProfile(context, mDeviceManager, mProfileManager); in setUp()
|
D | HeadsetProfileTest.java | 33 private LocalBluetoothProfileManager mProfileManager; field in HeadsetProfileTest 52 mProfile = new HeadsetProfile(context, mDeviceManager, mProfileManager); in setUp()
|
D | A2dpProfileTest.java | 55 private LocalBluetoothProfileManager mProfileManager; field in A2dpProfileTest 69 mProfile = new A2dpProfile(mContext, mDeviceManager, mProfileManager); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothAdapter.java | 48 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()
|
D | LocalBluetoothManager.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothManager 116 mProfileManager = new LocalBluetoothProfileManager(mContext, in LocalBluetoothManager() 119 mProfileManager.updateLocalProfiles(); in LocalBluetoothManager() 162 return mProfileManager; in getProfileManager()
|
D | SapProfile.java | 47 private final LocalBluetoothProfileManager mProfileManager; field in SapProfile 79 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 84 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 101 mProfileManager = profileManager; in SapProfile()
|
D | MapProfile.java | 47 private final LocalBluetoothProfileManager mProfileManager; field in MapProfile 80 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 85 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 103 mProfileManager = profileManager; in MapProfile()
|
D | HeadsetProfile.java | 48 private final LocalBluetoothProfileManager mProfileManager; field in HeadsetProfile 82 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 86 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 103 mProfileManager = profileManager; in HeadsetProfile()
|
D | CachedBluetoothDevice.java | 65 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 …]
|
D | HearingAidProfile.java | 48 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile 80 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 101 mProfileManager = profileManager; in HearingAidProfile()
|
D | HidDeviceProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfile 53 mProfileManager = profileManager; in HidDeviceProfile()
|
D | PbapClientProfile.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in PbapClientProfile 106 mProfileManager = profileManager; in PbapClientProfile()
|
D | HidProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in HidProfile 91 mProfileManager = profileManager; in HidProfile()
|
D | HfpClientProfile.java | 54 private final LocalBluetoothProfileManager mProfileManager; field in HfpClientProfile 102 mProfileManager = profileManager; in HfpClientProfile()
|
D | A2dpSinkProfile.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfile 95 mProfileManager = profileManager; in A2dpSinkProfile()
|
D | A2dpProfile.java | 57 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/ |
D | MediaDeviceTest.java | 101 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()
|