Searched refs:canCurrentProcessRemoveUsers (Results 1 – 5 of 5) sorted by relevance
97 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonVisible_whenAllowedToRemoveUsers()107 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(false); in testRemoveUserButtonHidden_whenNotAllowedToRemoveUSers()117 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonHidden_whenUserCannotBeRemoved()127 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonHidden_demoUser()137 when(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).thenReturn(true); in testRemoveUserButtonClick_createsRemovalDialog()
127 protected boolean canCurrentProcessRemoveUsers() { in canCurrentProcessRemoveUsers() method in ShadowCarUserManagerHelper128 return sMockInstance.canCurrentProcessRemoveUsers(); in canCurrentProcessRemoveUsers()
120 if (!mCarUserManagerHelper.canCurrentProcessRemoveUsers() in showRemoveUserButton()
234 assertThat(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).isTrue(); in testCurrentProcessCanRemoveUsers()238 assertThat(mCarUserManagerHelper.canCurrentProcessRemoveUsers()).isFalse(); in testCurrentProcessCanRemoveUsers()
731 public boolean canCurrentProcessRemoveUsers() { in canCurrentProcessRemoveUsers() method in CarUserManagerHelper