Home
last modified time | relevance | path

Searched refs:mProfileId (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothConnectionRetryManagerTest.java74 private final int mProfileId = BluetoothProfile.HEADSET_CLIENT; field in BluetoothConnectionRetryManagerTest
209 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isFalse(); in testSuccessfulFirstConnect_doNothing()
231 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isTrue(); in testFailedFirstConnectMethod1_retryPosted()
253 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isTrue(); in testFailedFirstConnectMethod2_retryPosted()
303 assertThat(mConnectionRetryManager.isRetryPosted(deviceDoesNothing, mProfileId)).isFalse(); in testFirstConnectTwoDevices_onlyOneDeviceRetries()
304 assertThat(mConnectionRetryManager.isRetryPosted(deviceFailsConnection, mProfileId)) in testFirstConnectTwoDevices_onlyOneDeviceRetries()
326 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isFalse(); in testFirstConnectDeviceNeverBonded_doNothing()
350 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isFalse(); in testDeviceUnbondsBeforeFirstConnect_doNothing()
372 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isTrue(); in testDeviceUnbondsAfterRetryPosted_retriesRemoved()
374 assertThat(mConnectionRetryManager.isRetryPosted(device, mProfileId)).isFalse(); in testDeviceUnbondsAfterRetryPosted_retriesRemoved()
[all …]
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/
DTestUtils.java207 private final int mProfileId; field in TestUtils.BluetoothCtsServiceConnector
214 mProfileId = profileId; in BluetoothCtsServiceConnector()
228 mAdapter.closeProfileProxy(mProfileId, mProfileProxy); in closeProfileProxy()
240 mIsProfileConnecting = mAdapter.getProfileProxy(mContext, mServiceListener, mProfileId); in openProfileProxyAsync()
277 mAdapter.getProfileProxy(mContext, mServiceListener, mProfileId); in waitForProfileConnect()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DConfig.java71 int mProfileId; field in Config.ProfileConfig
75 mProfileId = profileId; in ProfileConfig()
189 if (profileId == profile.mProfileId) { in setProfileEnabled()
255 BluetoothProfile.getProfileName(config.mProfileId), config.mSupported)); in init()
280 .mapToInt(config -> config.mProfileId) in getSupportedProfiles()
290 mask |= (1L << config.mProfileId); in getSupportedProfilesBitMask()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java101 private final int mProfileId; field in BluetoothTestUtils.TestLocalBluetoothProfile
105 mProfileId = profileId; in TestLocalBluetoothProfile()
145 return mProfileId; in getProfileId()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsFragment.java483 new UserHandle(certHolder.mProfileId))); in getViewForCertificate()
847 List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove()
856 public int mProfileId; field in TrustedCredentialsFragment.CertHolder
874 mProfileId = profileId; in CertHolder()
939 return mProfileId; in getUserId()
985 certHolder.mProfileId); in getX509CertsFromCertHolder()
1035 mCertHolder.mProfileId); in doInBackground()