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.java105 private final int mProfileId = BluetoothProfile.HEADSET_CLIENT; field in BluetoothProfileDeviceManagerTest
175 mMockProxies, mProfileId); in setUp()
275 }).when(mMockProxies).bluetoothConnectToProfile(mProfileId, device); in mockDeviceAvailability()
290 }).when(mMockProxies).setProfilePriority(mProfileId, device, anyInt()); in captureDevicePriority()
294 when(mMockProxies.getProfilePriority(mProfileId, device)).thenReturn(priority); in mockDevicePriority()
813 verify(mMockProxies, times(0)).bluetoothConnectToProfile(eq(mProfileId), in testAutoConnectNoDevices_returnsImmediately()
833 verify(mMockProxies, times(0)).bluetoothConnectToProfile(eq(mProfileId), in testAutoConnectAdapterOff_returnsImmediately()
862 .bluetoothConnectToProfile(mProfileId, device); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice()
1128 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityAutoConnect_doNothing()
1149 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityOn_doNothing()
[all …]
/packages/services/Car/service/src/com/android/car/
DBluetoothProfileDeviceManager.java122 private final int mProfileId; field in BluetoothProfileDeviceManager
326 mProfileId = profileId; in BluetoothProfileDeviceManager()
553 return mBluetoothUserProxies.bluetoothConnectToProfile(mProfileId, device); in connect()
569 return mBluetoothUserProxies.bluetoothDisconnectFromProfile(mProfileId, device); in disconnect()
584 return mBluetoothUserProxies.getProfilePriority(mProfileId, device); in getProfilePriority()
600 mBluetoothUserProxies.setProfilePriority(mProfileId, device, priority); in setProfilePriority()
801 writer.println(indent + "BluetoothProfileDeviceManager [" + Utils.getProfileName(mProfileId) in dump()
820 Slog.d(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " in logd()
829 Slog.w(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " + msg); in logw()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/provider/
DRestoreDbTaskTest.java95 private final long mProfileId; field in RestoreDbTaskTest.MyDatabaseHelper
99 mProfileId = profileId; in MyDatabaseHelper()
104 return mProfileId; in getDefaultUserSerial()
/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()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java317 private int mProfileId; field in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile
321 mProfileId = profileId; in TestLocalBluetoothProfile()
361 return mProfileId; in getProfileId()