/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 | 55 private LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDeviceTest 83 mCachedDevice = spy(new CachedBluetoothDevice(mContext, mProfileManager, mDevice)); in setUp() 705 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testAliasNameAvailable() 715 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testNameNotAvailable() 732 new CachedBluetoothDevice(mContext, mProfileManager, mDevice); in deviceName_testRenameDevice() 747 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setActive() 748 when(mProfileManager.getHeadsetProfile()).thenReturn(mHfpProfile); in setActive() 767 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isA2dpDevice() 776 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in isA2dpDevice_isNotA2dpDevice() 785 when(mProfileManager.getHeadsetProfile()).thenReturn(mHfpProfile); in isHfpDevice_isHfpDevice() [all …]
|
D | SapProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest 61 mProfile = new SapProfile(RuntimeEnvironment.application, mDeviceManager, mProfileManager); in setUp()
|
D | HfpClientProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in HfpClientProfileTest 62 mDeviceManager, mProfileManager); in setUp()
|
D | MapClientProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in MapClientProfileTest 62 mDeviceManager, mProfileManager); in setUp()
|
D | PbapClientProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in PbapClientProfileTest 62 mDeviceManager, mProfileManager); in setUp()
|
D | HidDeviceProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfileTest 62 mDeviceManager, mProfileManager); in setUp()
|
D | A2dpSinkProfileTest.java | 48 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest 62 mDeviceManager, mProfileManager); in setUp()
|
D | HeadsetProfileTest.java | 33 private LocalBluetoothProfileManager mProfileManager; field in HeadsetProfileTest 52 mProfile = new HeadsetProfile(context, 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 | MapClientProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in MapClientProfile 78 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 83 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 101 mProfileManager = profileManager; in MapClientProfile()
|
D | SapProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in SapProfile 76 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 81 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 98 mProfileManager = profileManager; in SapProfile()
|
D | MapProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in MapProfile 77 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 82 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 100 mProfileManager = profileManager; in MapProfile()
|
D | CachedBluetoothDevice.java | 59 private final LocalBluetoothProfileManager mProfileManager; field in CachedBluetoothDevice 98 mProfileManager = profileManager; in CachedBluetoothDevice() 172 PbapServerProfile PbapProfile = mProfileManager.getPbapProfile(); in disconnect() 393 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in setActive() 400 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in setActive() 407 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in setActive() 571 mProfileManager.updateProfiles(uuids, localUuids, mProfiles, mRemovedProfiles, in updateProfiles() 589 A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in fetchActiveDevices() 593 HeadsetProfile headsetProfile = mProfileManager.getHeadsetProfile(); in fetchActiveDevices() 597 HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in fetchActiveDevices() [all …]
|
D | HeadsetProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in HeadsetProfile 77 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 81 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 98 mProfileManager = profileManager; in HeadsetProfile()
|
D | HearingAidProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile 75 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 96 mProfileManager = profileManager; in HearingAidProfile()
|
D | HidDeviceProfile.java | 42 private final LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfile 51 mProfileManager = profileManager; in HidDeviceProfile()
|
D | PbapClientProfile.java | 48 private final LocalBluetoothProfileManager mProfileManager; field in PbapClientProfile 103 mProfileManager = profileManager; in PbapClientProfile()
|
D | HidProfile.java | 41 private final LocalBluetoothProfileManager mProfileManager; field in HidProfile 88 mProfileManager = profileManager; in HidProfile()
|
D | HfpClientProfile.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in HfpClientProfile 99 mProfileManager = profileManager; in HfpClientProfile()
|
D | A2dpSinkProfile.java | 48 private final LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfile 92 mProfileManager = profileManager; in A2dpSinkProfile()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | PhoneMediaDevice.java | 38 private LocalBluetoothProfileManager mProfileManager; field in PhoneMediaDevice 46 mProfileManager = mLocalBluetoothManager.getProfileManager(); in PhoneMediaDevice() 73 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in connect() 74 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in connect()
|
D | BluetoothMediaManager.java | 48 private LocalBluetoothProfileManager mProfileManager; field in BluetoothMediaManager 62 mProfileManager = mLocalBluetoothManager.getProfileManager(); in BluetoothMediaManager() 81 mProfileManager.addServiceListener(this); in addServiceListenerIfNecessary() 92 final A2dpProfile a2dpProfile = mProfileManager.getA2dpProfile(); in addConnectableA2dpDevices() 123 final HearingAidProfile hapProfile = mProfileManager.getHearingAidProfile(); in addConnectableHearingAidDevices() 305 final HearingAidProfile hearingAidProfile = mProfileManager.getHearingAidProfile(); in findActiveHearingAidDevice() 327 mProfileManager.removeServiceListener(this); in onServiceConnected()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | BluetoothMediaManagerTest.java | 60 private LocalBluetoothProfileManager mProfileManager; field in BluetoothMediaManagerTest 80 when(mLocalBluetoothManager.getProfileManager()).thenReturn(mProfileManager); in setUp() 82 when(mProfileManager.getA2dpProfile()).thenReturn(mA2dpProfile); in setUp() 83 when(mProfileManager.getHearingAidProfile()).thenReturn(mHapProfile); in setUp() 174 verify(mProfileManager).addServiceListener(mMediaManager); in starScan_a2dpAndHapProfileNotReady_shouldRegisterCallback() 189 verify(mProfileManager, never()).addServiceListener(mMediaManager); in starScan_a2dpAndHapProfileReady_shouldNotRegisterCallback() 205 verify(mProfileManager, never()).removeServiceListener(mMediaManager); in onServiceConnected_a2dpAndHapProfileNotReady_doNothing() 221 verify(mProfileManager).removeServiceListener(mMediaManager); in onDeviceAttributesChanged_a2dpAndHapProfileReady_shouldUnregisterCallback()
|