Searched refs:canCurrentProcessRemoveUsers (Results 1 – 5 of 5) sorted by relevance
95 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonVisible_whenAllowedToRemoveUsers()105 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(false); in testRemoveUserButtonHidden_whenNotAllowedToRemoveUSers()115 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonHidden_whenUserCannotBeRemoved()125 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonHidden_demoUser()135 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonClick_createsRemovalDialog()
127 protected boolean canCurrentProcessRemoveUsers() { in canCurrentProcessRemoveUsers() method in ShadowCarUserManagerHelper128 return sMockInstance.canCurrentProcessRemoveUsers(); in canCurrentProcessRemoveUsers()
89 boolean isVisible = mCarUserManagerHelper.canCurrentProcessRemoveUsers() in onCreate()
234 assertThat(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).isTrue(); in testCurrentProcessCanRemoveUsers()238 assertThat(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).isFalse(); in testCurrentProcessCanRemoveUsers()
725 public boolean canCurrentProcessRemoveUsers() { in canCurrentProcessRemoveUsers() method in CarUserManagerHelper