Searched refs:isCurrentProcessUser (Results 1 – 10 of 10) sorted by relevance
87 when(mCarUserManagerHelper.isCurrentProcessUser(userInfo)).thenReturn(true); in testOnButtonClick_isCurrentUser_launchesEditUsernameFragment()98 when(mCarUserManagerHelper.isCurrentProcessUser(userInfo)).thenReturn(false); in testOnButtonClick_isNotCurrentUser_doesNothing()109 when(mCarUserManagerHelper.isCurrentProcessUser(userInfo)).thenReturn(false); in testRefreshUi_elementHasTitle()139 when(mCarUserManagerHelper.isCurrentProcessUser(userInfo)).thenReturn(false); in testRefreshUi_isAdmin_notCurrentUser()151 when(mCarUserManagerHelper.isCurrentProcessUser(userInfo)).thenReturn(true); in testRefreshUi_isAdmin_currentUser()
74 when(mCarUserManagerHelper.isCurrentProcessUser(TEST_CURRENT_USER)).thenReturn(true); in setUp()
82 doReturn(true).when(mCarUserManagerHelper).isCurrentProcessUser(TEST_CURRENT_USER); in setUp()
93 when(mCarUserManagerHelper.isCurrentProcessUser(TEST_CURRENT_USER)).thenReturn(true); in setUp()
164 assertThat(mHelper.isCurrentProcessUser(user1)).isTrue(); in testIsUserRunningCurrentProcess()165 assertThat(mHelper.isCurrentProcessUser(user2)).isFalse(); in testIsUserRunningCurrentProcess()168 assertThat(mHelper.isCurrentProcessUser(user2)).isTrue(); in testIsUserRunningCurrentProcess()169 assertThat(mHelper.isCurrentProcessUser(user1)).isFalse(); in testIsUserRunningCurrentProcess()
53 if (!getCarUserManagerHelper().isCurrentProcessUser(getUserInfo())) { in updateState()64 return getCarUserManagerHelper().isCurrentProcessUser(getUserInfo()) in getSummary()
50 return carUserManagerHelper.isCurrentProcessUser(userInfo) ? context.getString( in getUserDisplayName()
145 return mCarUserManagerHelper.isCurrentProcessUser(userInfo); in isCurrentUser()
72 protected boolean isCurrentProcessUser(UserInfo userInfo) { in isCurrentProcessUser() method in ShadowCarUserManagerHelper73 return sMockInstance.isCurrentProcessUser(userInfo); in isCurrentProcessUser()
556 public boolean isCurrentProcessUser(UserInfo userInfo) { in isCurrentProcessUser() method in CarUserManagerHelper886 if (!isCurrentProcessAdminUser() && !isCurrentProcessUser(userInfo)) { in removeUser()