/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfileManagerTest.java | 76 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 …]
|
D | HearingAidProfileTest.java | 48 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()
|
D | CachedBluetoothDeviceTest.java | 87 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 …]
|
D | PbapClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in PbapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | A2dpSinkProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HfpClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in HfpClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | HidDeviceProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | MapClientProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in MapClientProfileTest 61 mDeviceManager, mProfileManager); in setUp()
|
D | SapProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in SapProfileTest 60 mProfile = new SapProfile(RuntimeEnvironment.application, 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 | 59 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()
|
D | VolumeControlProfileTest.java | 62 @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/ |
D | LocalBluetoothAdapter.java | 50 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()
|
D | LocalBluetoothManager.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothManager 122 mProfileManager = in LocalBluetoothManager() 126 mProfileManager.updateLocalProfiles(); in LocalBluetoothManager() 169 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 | MapClientProfile.java | 47 private final LocalBluetoothProfileManager mProfileManager; field in MapClientProfile 79 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 84 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 102 mProfileManager = profileManager; in MapClientProfile()
|
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 | CsipSetCoordinatorProfile.java | 55 private final LocalBluetoothProfileManager mProfileManager; field in CsipSetCoordinatorProfile 86 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 94 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 103 mProfileManager = profileManager; in CsipSetCoordinatorProfile()
|
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 | VolumeControlProfile.java | 50 private final LocalBluetoothProfileManager mProfileManager; field in VolumeControlProfile 83 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 91 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 102 mProfileManager = profileManager; in VolumeControlProfile()
|
D | CachedBluetoothDevice.java | 103 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 …]
|
D | HearingAidProfile.java | 83 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile 115 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 120 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 137 mProfileManager = profileManager; in HearingAidProfile()
|
D | LeAudioProfile.java | 55 private final LocalBluetoothProfileManager mProfileManager; field in LeAudioProfile 88 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 96 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 116 mProfileManager = profileManager; in LeAudioProfile()
|
D | LocalBluetoothLeBroadcastAssistant.java | 60 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/ |
D | HearingDevicesPresetsController.java | 45 private final LocalBluetoothProfileManager mProfileManager; field in HearingDevicesPresetsController 54 mProfileManager = profileManager; in HearingDevicesPresetsController() 55 mHapClientProfile = mProfileManager.getHapClientProfile(); in HearingDevicesPresetsController() 62 mProfileManager.removeServiceListener(this); in onServiceConnected()
|