Searched refs:mAddProfileHandler (Results 1 – 3 of 3) sorted by relevance
43 private AddProfileHandler mAddProfileHandler; field in AddProfilePreferenceController51 mAddProfileHandler = new AddProfileHandler(context, fragmentController, this); in AddProfilePreferenceController()62 mAddProfileHandler.onCreateInternal(); in onCreateInternal()74 mAddProfileHandler.onStopInternal(); in onStopInternal()79 mAddProfileHandler.onDestroyInternal(); in onDestroyInternal()84 mAddProfileHandler.updateState(preference); in updateState()108 if (mAddProfileHandler.canAddProfiles(mUserManager)) { in handlePreferenceClicked()109 mAddProfileHandler.showAddProfileDialog(); in handlePreferenceClicked()117 if (mUserManager.isDemoUser() || mAddProfileHandler.canAddProfiles(mUserManager)) { in getAvailabilityStatus()
59 private AddProfileHandler mAddProfileHandler; field in ProfileDetailsActionButtonsPreferenceController92 mAddProfileHandler = new AddProfileHandler(context, fragmentController, this); in ProfileDetailsActionButtonsPreferenceController()105 mAddProfileHandler.onCreateInternal(); in onCreateInternal()131 && mAddProfileHandler.canAddProfiles(mUserManager) in onStartInternal()166 mAddProfileHandler.showAddProfileDialog(); in onStartInternal()197 mAddProfileHandler.onStopInternal(); in onStopInternal()203 mAddProfileHandler.onDestroyInternal(); in onDestroyInternal()208 mAddProfileHandler.updateState(preference); in updateState()
65 private AddProfileHandler mAddProfileHandler; field in AddProfileHandlerTest87 mAddProfileHandler = new AddProfileHandler(mContext, in setUp()89 mAddProfileHandler.setCarUserManager(mCarUserManager); in setUp()97 assertThat(mAddProfileHandler.canAddProfiles(mUserManager)).isFalse(); in userRestricted_canNotAddProfile()104 assertThat(mAddProfileHandler.canAddProfiles(mUserManager)).isTrue(); in userNotRestricted_canAddProfile()118 mAddProfileHandler.mConfirmCreateNewProfileListener.onConfirm(/* arguments= */ null); in newProfileConfirmed_invokesCreateNewUser()120 mAddProfileHandler.mAddNewProfileTask.get(ADD_PROFILE_TASK_TIMEOUT, TimeUnit.SECONDS); in newProfileConfirmed_invokesCreateNewUser()130 mAddProfileHandler.showAddProfileDialog(); in testCallOnClick_showAddProfileDialog()