Home
last modified time | relevance | path

Searched refs:mPerUserInfoMap (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java138 private final SparseArray<PerUserInfo> mPerUserInfoMap = new SparseArray<>(); field in CarRemoteDeviceServiceTest
166 mUserManager, mPerUserInfoMap, mCallbackMap, mAppStateMap, mOccupantZoneStateMap); in setUp()
206 assertThat(mPerUserInfoMap.size()).isEqualTo(1); in testInit()
223 mPerUserInfoMap.remove(USER_ID); in testPeerClientInstallUninstall()
231 PerUserInfo peerUserInfo = mPerUserInfoMap.get(USER_ID); in testPeerClientInstallUninstall()
276 mPerUserInfoMap.remove(USER_ID); in testNonPeerClientUninstall()
284 PerUserInfo peerUserInfo = mPerUserInfoMap.get(USER_ID); in testNonPeerClientUninstall()
584 mPerUserInfoMap.remove(peerUserId); in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback()
681 mPerUserInfoMap.remove(USER_ID); in testUserStarting()
686 assertThat(mPerUserInfoMap.get(USER_ID).zone).isEqualTo(mOccupantZone); in testUserStarting()
[all …]
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java172 private final SparseArray<PerUserInfo> mPerUserInfoMap; field in CarRemoteDeviceService
291 mPerUserInfoMap = perUserInfoMap; in CarRemoteDeviceService()
336 for (int i = 0; i < mPerUserInfoMap.size(); i++) { in dump()
337 int userId = mPerUserInfoMap.keyAt(i); in dump()
338 PerUserInfo info = mPerUserInfoMap.valueAt(i); in dump()
553 PerUserInfo userInfo = mPerUserInfoMap.get(userId); in handleProcessRunningStateChange()
587 PerUserInfo userInfo = mPerUserInfoMap.get(userId); in initAssignedUserLocked()
620 mPerUserInfoMap.put(userId, userInfo); in initAssignedUserLocked()
630 PerUserInfo userInfo = mPerUserInfoMap.get(userId); in removeUnassignedUserLocked()
638 mPerUserInfoMap.remove(userId); in removeUnassignedUserLocked()
[all …]