Searched refs:isRestrictedProfile (Results 1 – 2 of 2) sorted by relevance
771 return isRestrictedProfile(); in isLinkedUser()791 protected boolean isRestrictedProfile() { in isRestrictedProfile() method in ShadowUserManager802 public void setIsRestrictedProfile(boolean isRestrictedProfile) { in setIsRestrictedProfile() argument804 setUserType(isRestrictedProfile ? USER_TYPE_FULL_RESTRICTED : USER_TYPE_FULL_SECONDARY); in setIsRestrictedProfile()808 if (isRestrictedProfile) { in setIsRestrictedProfile()
409 public void isRestrictedProfile() { in isRestrictedProfile() method in ShadowUserManagerTest410 assertThat(userManager.isRestrictedProfile()).isFalse(); in isRestrictedProfile()413 assertThat(userManager.isRestrictedProfile()).isTrue(); in isRestrictedProfile()416 assertThat(userManager.isRestrictedProfile()).isFalse(); in isRestrictedProfile()