Searched refs:getAddProfilePreferenceAvailabilityStatus (Results 1 – 3 of 3) sorted by relevance
152 assertThat(mAddProfileHandler.getAddProfilePreferenceAvailabilityStatus(mContext)) in getAddProfilePreferenceAvailabilityStatus_demoUser_available()162 assertThat(mAddProfileHandler.getAddProfilePreferenceAvailabilityStatus(mContext)) in getAddProfilePreferenceAvailabilityStatus_notRestricted_available()171 assertThat(mAddProfileHandler.getAddProfilePreferenceAvailabilityStatus(mContext)) in getAddProfilePreferenceAvailabilityStatus_notDemoUser_restrictedByUm_disabled()180 assertThat(mAddProfileHandler.getAddProfilePreferenceAvailabilityStatus(mContext)) in getAddProfilePreferenceAvailabilityStatus_notDemoUser_restrictedByDpm_viewing()191 assertThat(mAddProfileHandler.getAddProfilePreferenceAvailabilityStatus(mContext)) in getAddProfilePreferenceAvailabilityStatus_notDemoUser_restrictedByBoth_disabled()
116 .getAddProfilePreferenceAvailabilityStatus(getContext()); in getDefaultAvailabilityStatus()
169 public static int getAddProfilePreferenceAvailabilityStatus(Context context) { in getAddProfilePreferenceAvailabilityStatus() method in AddProfileHandler