Searched refs:getCurrentForegroundUserId (Results 1 – 14 of 14) sorted by relevance
289 doReturn(user1).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUserList()304 doReturn(user3).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUserList()310 doReturn(user4Guest).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUserList()316 doReturn(user5).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUserList()335 doReturn(user1).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUsersStartStopKeepBackgroundUserList()338 doReturn(user2).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUsersStartStopKeepBackgroundUserList()341 doReturn(user3).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testBackgroundUsersStartStopKeepBackgroundUserList()377 doReturn(user1).when(mCarUserManagerHelper).getCurrentForegroundUserId(); in testStopBackgroundUserForFgUser()
310 return mUserManager.getUserInfo(getCurrentForegroundUserId()); in getCurrentForegroundUserInfo()316 public int getCurrentForegroundUserId() { in getCurrentForegroundUserId() method in CarUserManagerHelper352 return getAllUsersExceptSystemUserAndSpecifiedUser(getCurrentForegroundUserId()); in getAllSwitchableUsers()354 return getAllUsersExceptSpecifiedUser(getCurrentForegroundUserId()); in getAllSwitchableUsers()547 return getCurrentForegroundUserId() == userInfo.id; in isForegroundUser()892 if (userInfo.id == getCurrentForegroundUserId()) { in removeUser()935 if (id == getCurrentForegroundUserId()) { in switchToUserId()
73 carUserManagerHelper.getCurrentForegroundUserId()); in isSystemApp()93 carUserManagerHelper.getCurrentForegroundUserId()); in isSignedWithPlatformKey()110 carUserManagerHelper.getCurrentForegroundUserId()); in isSystemPrivilegedOrPlatformKeyInner()
251 0, UserHandle.of(mCarUserManagerHelper.getCurrentForegroundUserId())); in getContextForForegroundUser()
127 final int fgUser = mUserManagerHelper.getCurrentForegroundUserId(); in doSwitchUser()150 final int currentUserId = mUserManagerHelper.getCurrentForegroundUserId(); in doUserLockChanged()183 int userId = mUserManagerHelper.getCurrentForegroundUserId(); in startOrBindServicesIfNeeded()354 if (UserHandle.of(mUserManagerHelper.getCurrentForegroundUserId()).equals(mUser) in tryToRebind()
66 .getAllOverlays(mCarUserManagerHelper.getCurrentForegroundUserId());78 mCarUserManagerHelper.getCurrentForegroundUserId());
214 if (userHandle == mCarUserManagerHelper.getCurrentForegroundUserId()) { in setUserLockStatus()251 if (user == mCarUserManagerHelper.getCurrentForegroundUserId()) { in startAllBackgroundUsers()294 if (userId == mCarUserManagerHelper.getCurrentForegroundUserId()) { in stopBackgroundUser()
65 mCarUserManagerHelper.getCurrentForegroundUserId()); in onProgressChanged()86 mCarUserManagerHelper.getCurrentForegroundUserId()); in getCurrent()
101 when(mUserManagerHelper.getCurrentForegroundUserId()).thenReturn(UserHandle.USER_SYSTEM); in setUp()152 when(mUserManagerHelper.getCurrentForegroundUserId()).thenReturn(FG_USER_ID); in fgUserUnlocked()
136 new CarUserManagerHelper(context).getCurrentForegroundUserId()); in doInBackground()
236 mCarUserManagerHelper.getCurrentForegroundUserId()); in loadHeaderAppName()
71 assertThat(mHelper.getCurrentForegroundUserId()).isEqualTo(15); in testGetForegroundUserId()
114 mCarUserManagerHelper.getCurrentForegroundUserId() == userInfo.id; in createUserRecords()
745 mUserManagerHelper.getCurrentForegroundUserId()); in exec()