Home
last modified time | relevance | path

Searched refs:mPanProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java93 private PanProfile mPanProfile; field in CachedBluetoothDeviceTest
143 when(mPanProfile.isProfileReady()).thenReturn(true); in setUp()
144 when(mPanProfile.getProfileId()).thenReturn(BluetoothProfile.PAN); in setUp()
243 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
247 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
253 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
257 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
264 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
268 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_DISCONNECTED); in getConnectionSummary_testSingleProfileConnectDisconnect()
276 updateProfileStatus(mPanProfile, BluetoothProfile.STATE_CONNECTED); in getTvConnectionSummary_testSingleProfileConnectDisconnect()
[all …]
DCachedBluetoothDeviceManagerTest.java80 private PanProfile mPanProfile; field in CachedBluetoothDeviceManagerTest
129 when(mPanProfile.isProfileReady()).thenReturn(true); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java104 private PanProfile mPanProfile; field in LocalBluetoothProfileManager
213 if (mPanProfile == null && supportedList.contains(BluetoothProfile.PAN)) { in updateLocalProfiles()
215 mPanProfile = new PanProfile(mContext); in updateLocalProfiles()
216 addPanProfile(mPanProfile, PanProfile.NAME, in updateLocalProfiles()
675 if ((ArrayUtils.contains(uuids, BluetoothUuid.NAP) && mPanProfile != null) in updateProfiles()
677 profiles.add(mPanProfile); in updateProfiles()
678 removedProfiles.remove(mPanProfile); in updateProfiles()