Searched refs:isCurrentProcessDemoUser (Results 1 – 13 of 13) sorted by relevance
97 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in testRemoveUserButtonVisible_whenAllowedToRemoveUsers()107 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in testRemoveUserButtonHidden_whenNotAllowedToRemoveUSers()117 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in testRemoveUserButtonHidden_whenUserCannotBeRemoved()127 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in testRemoveUserButtonHidden_demoUser()137 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in testRemoveUserButtonClick_createsRemovalDialog()
88 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in onCreate_userInDemoMode_showsExitRetailModeButton()110 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in onCreate_userRestrictedFromAddingNewUserAndNotInDemo_doesNotShowActionButton()131 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in testCallOnClick_demoUser_exitRetailMode()
54 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in setUp()86 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in isEnabled_settingsOn_notAdmin_notDemo_shouldReturnFalse()97 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in isEnabled_settingsOn_notAdmin_isDemo_shouldReturnTrue()108 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in isEnabled_settingsOff_notAdmin_isDemo_shouldReturnFalse()
77 .setTitle(mCarUserManagerHelper.isCurrentProcessDemoUser() in onCreate()79 .setVisible(mCarUserManagerHelper.isCurrentProcessDemoUser() in onCreate()161 if (mCarUserManagerHelper.isCurrentProcessDemoUser()) { in handleAddUserClicked()
91 && !mCarUserManagerHelper.isCurrentProcessDemoUser(); in onCreate()
74 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in setUp()106 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in testHandlePreferenceClicked_nonAdmin_returnFalse()114 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in testHandlePreferenceClicked_demoUser_returnsTrue()
101 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in getAvailabilityStatus_demoMode_demoUser_available()111 when(mCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(true); in getAvailabilityStatus_demoMode_demoUser_restricted_disabledForUser()
69 when(mShadowCarUserManagerHelper.isCurrentProcessDemoUser()).thenReturn(false); in setUp()
69 || carUserManagerHelper.isCurrentProcessDemoUser(); in isDevelopmentSettingsEnabled()84 || carUserManagerHelper.isCurrentProcessDemoUser(); in showDeveloperOptions()
142 protected boolean isCurrentProcessDemoUser() { in isCurrentProcessDemoUser() method in ShadowCarUserManagerHelper143 return sMockInstance.isCurrentProcessDemoUser(); in isCurrentProcessDemoUser()
62 && mCarUserManagerHelper.isCurrentProcessDemoUser(); in isDemoUser()
69 && !mCarUserManagerHelper.isCurrentProcessDemoUser()) { in handlePreferenceClicked()
667 public boolean isCurrentProcessDemoUser() { in isCurrentProcessDemoUser() method in CarUserManagerHelper711 && !isCurrentProcessDemoUser() in canCurrentProcessModifyAccounts()