Searched refs:canUserBeRemoved (Results 1 – 5 of 5) sorted by relevance
96 when(mCarUserManagerHelper.canUserBeRemoved(any())).thenReturn(true); in testRemoveUserButtonVisible_whenAllowedToRemoveUsers()106 when(mCarUserManagerHelper.canUserBeRemoved(any())).thenReturn(true); in testRemoveUserButtonHidden_whenNotAllowedToRemoveUSers()116 when(mCarUserManagerHelper.canUserBeRemoved(any())).thenReturn(false); in testRemoveUserButtonHidden_whenUserCannotBeRemoved()126 when(mCarUserManagerHelper.canUserBeRemoved(any())).thenReturn(true); in testRemoveUserButtonHidden_demoUser()136 when(mCarUserManagerHelper.canUserBeRemoved(any())).thenReturn(true); in testRemoveUserButtonClick_createsRemovalDialog()
132 protected boolean canUserBeRemoved(UserInfo userInfo) { in canUserBeRemoved() method in ShadowCarUserManagerHelper133 return sMockInstance.canUserBeRemoved(userInfo); in canUserBeRemoved()
90 && mCarUserManagerHelper.canUserBeRemoved(mUserInfo) in onCreate()
213 assertThat(mCarUserManagerHelper.canUserBeRemoved(testInfo)).isFalse(); in testUserCanBeRemoved()216 assertThat(mCarUserManagerHelper.canUserBeRemoved(testInfo)).isTrue(); in testUserCanBeRemoved()
600 public boolean canUserBeRemoved(UserInfo userInfo) { in canUserBeRemoved() method in CarUserManagerHelper