/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 | 67 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 …]
|
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 | 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 | A2dpSinkProfileTest.java | 47 private LocalBluetoothProfileManager mProfileManager; field in A2dpSinkProfileTest 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 | 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()
|
/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 116 mProfileManager = new LocalBluetoothProfileManager(mContext, in LocalBluetoothManager() 119 mProfileManager.updateLocalProfiles(); in LocalBluetoothManager() 162 return mProfileManager; in getProfileManager()
|
D | VolumeControlProfile.java | 48 private final LocalBluetoothProfileManager mProfileManager; field in VolumeControlProfile 81 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 89 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 98 mProfileManager = profileManager; in VolumeControlProfile()
|
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 | CachedBluetoothDevice.java | 77 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 …]
|
D | LeAudioProfile.java | 59 private final LocalBluetoothProfileManager mProfileManager; field in LeAudioProfile 92 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 100 mProfileManager.callServiceDisconnectedListeners(); in onServiceDisconnected() 118 mProfileManager = profileManager; in LeAudioProfile()
|
D | LocalBluetoothLeBroadcastAssistant.java | 59 private LocalBluetoothProfileManager mProfileManager; field in LocalBluetoothLeBroadcastAssistant 91 mProfileManager.callServiceConnectedListeners(); 104 mProfileManager.callServiceDisconnectedListeners(); 112 mProfileManager = profileManager; in LocalBluetoothLeBroadcastAssistant()
|
D | HidDeviceProfile.java | 44 private final LocalBluetoothProfileManager mProfileManager; field in HidDeviceProfile 53 mProfileManager = profileManager; in HidDeviceProfile()
|
D | HearingAidProfile.java | 85 private final LocalBluetoothProfileManager mProfileManager; field in HearingAidProfile 117 mProfileManager.callServiceConnectedListeners(); in onServiceConnected() 138 mProfileManager = profileManager; in HearingAidProfile()
|
D | PbapClientProfile.java | 51 private final LocalBluetoothProfileManager mProfileManager; field in PbapClientProfile 106 mProfileManager = profileManager; in PbapClientProfile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanelDialog.java | 81 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()
|