Home
last modified time | relevance | path

Searched refs:getAddProfilePreferenceAvailabilityStatus (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DAddProfileHandlerTest.java152 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()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DAddProfilePreferenceController.java116 .getAddProfilePreferenceAvailabilityStatus(getContext()); in getDefaultAvailabilityStatus()
DAddProfileHandler.java169 public static int getAddProfilePreferenceAvailabilityStatus(Context context) { in getAddProfilePreferenceAvailabilityStatus() method in AddProfileHandler