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/
DBluetoothProfileDeviceManagerTest.java104 private final int mProfileId = BluetoothProfile.HEADSET_CLIENT; field in BluetoothProfileDeviceManagerTest
177 mMockProxies, mProfileId); in setUp()
277 }).when(mMockProxies).bluetoothConnectToProfile(mProfileId, device); in mockDeviceAvailability()
292 }).when(mMockProxies).setProfilePriority(mProfileId, device, anyInt()); in captureDevicePriority()
296 when(mMockProxies.getProfilePriority(mProfileId, device)).thenReturn(priority); in mockDevicePriority()
815 verify(mMockProxies, times(0)).bluetoothConnectToProfile(eq(mProfileId), in testAutoConnectNoDevices_returnsImmediately()
835 verify(mMockProxies, times(0)).bluetoothConnectToProfile(eq(mProfileId), in testAutoConnectAdapterOff_returnsImmediately()
864 .bluetoothConnectToProfile(mProfileId, device); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice()
1130 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityAutoConnect_doNothing()
1151 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityOn_doNothing()
[all …]
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java120 private final int mProfileId; field in BluetoothProfileDeviceManager
319 mProfileId = profileId; in BluetoothProfileDeviceManager()
546 return mBluetoothUserProxies.bluetoothConnectToProfile(mProfileId, device); in connect()
562 return mBluetoothUserProxies.bluetoothDisconnectFromProfile(mProfileId, device); in disconnect()
577 return mBluetoothUserProxies.getProfilePriority(mProfileId, device); in getProfilePriority()
593 mBluetoothUserProxies.setProfilePriority(mProfileId, device, priority); in setProfilePriority()
794 writer.println(indent + "BluetoothProfileDeviceManager [" + Utils.getProfileName(mProfileId) in dump()
813 Log.d(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " + msg); in logd()
821 Log.w(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " + msg); in logw()
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java82 private final long mProfileId; field in RestoreDbTaskTest.MyDatabaseHelper
86 mProfileId = profileId; in MyDatabaseHelper()
91 return mProfileId; in getDefaultUserSerial()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java501 new UserHandle(certHolder.mProfileId))); in getViewForCertificate()
817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove()
826 public int mProfileId; field in TrustedCredentialsSettings.CertHolder
844 mProfileId = profileId; in CertHolder()
903 return mProfileId; in getUserId()
952 certHolder.mProfileId); in getX509CertsFromCertHolder()
1003 mCertHolder.mProfileId); in doInBackground()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java501 new UserHandle(certHolder.mProfileId))); in getViewForCertificate()
817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove()
826 public int mProfileId; field in TrustedCredentialsSettings.CertHolder
844 mProfileId = profileId; in CertHolder()
903 return mProfileId; in getUserId()
952 certHolder.mProfileId); in getX509CertsFromCertHolder()
1003 mCertHolder.mProfileId); in doInBackground()