Searched refs:canCurrentProcessModifyAccounts (Results 1 – 11 of 11) sorted by relevance
72 doReturn(false).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in cannotModifyUsers_addAccountButtonShouldNotBeVisible()82 doReturn(true).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in canModifyUsers_addAccountButtonShouldBeVisible()92 doReturn(true).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in clickAddAccountButton_shouldOpenChooseAccountFragment()
94 doReturn(false).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in cannotModifyUsers_removeAccountButtonShouldNotBeVisible()104 doReturn(true).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in canModifyUsers_removeAccountButtonShouldBeVisible()114 doReturn(true).when(mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in onRemoveAccountButtonClicked_canModifyUsers_shouldShowConfirmRemoveAccountDialog()
66 when(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).thenReturn(false); in getAvailabilityStatus_cannotModifyAccounts_disabledForUser()73 when(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).thenReturn(true); in getAvailabilityStatus_canModifyAccounts_available()
80 mMockCarUserManagerHelper).canCurrentProcessModifyAccounts(); in setUp()
254 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isTrue(); in testCurrentGuestProcessCannotModifyAccounts()258 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentGuestProcessCannotModifyAccounts()263 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isTrue(); in testCurrentDemoProcessCannotModifyAccounts()267 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentDemoProcessCannotModifyAccounts()272 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isTrue(); in testCurrentDisallowModifyAccountsProcessIsEnforced()277 assertThat(mCarUserManagerHelper.canCurrentProcessModifyAccounts()).isFalse(); in testCurrentDisallowModifyAccountsProcessIsEnforced()
112 protected boolean canCurrentProcessModifyAccounts() { in canCurrentProcessModifyAccounts() method in ShadowCarUserManagerHelper113 return sMockInstance.canCurrentProcessModifyAccounts(); in canCurrentProcessModifyAccounts()
49 return mCarUserManagerHelper.canCurrentProcessModifyAccounts() ? AVAILABLE in getAvailabilityStatus()
55 .canCurrentProcessModifyAccounts(); in onCreate()
118 .canCurrentProcessModifyAccounts(); in onCreate()
90 return mCarUserManagerHelper.canCurrentProcessModifyAccounts() ? AVAILABLE in getAvailabilityStatus()
709 public boolean canCurrentProcessModifyAccounts() { in canCurrentProcessModifyAccounts() method in CarUserManagerHelper