Searched refs:ProfileType (Results 1 – 16 of 16) sorted by relevance
43 private int mType = ProfileSelectFragment.ProfileType.ALL;121 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()143 RecentLocationApps.Request request, @ProfileSelectFragment.ProfileType int type) { in isRequestMatchesProfileType()146 if (isWorkProfile && (type & ProfileSelectFragment.ProfileType.WORK) != 0) { in isRequestMatchesProfileType()149 if (!isWorkProfile && (type & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in isRequestMatchesProfileType()
43 private int mType = ProfileSelectFragment.ProfileType.ALL;96 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
63 ProfileType.PERSONAL,64 ProfileType.WORK,65 ProfileType.ALL67 public @interface ProfileType { annotation in ProfileSelectFragment
33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
51 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()56 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
98 private @ProfileSelectFragment.ProfileType int mType;139 String[] authorities, @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()146 @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()285 && (mType & ProfileSelectFragment.ProfileType.WORK) != 0) { in updateUi()288 && (mType & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in updateUi()332 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()344 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
74 ProfileSelectFragment.ProfileType.PERSONAL); in buildPreferenceControllers()
74 ProfileSelectFragment.ProfileType.WORK); in buildPreferenceControllers()
81 ProfileSelectFragment.ProfileType.ALL); in buildPreferenceControllers()
44 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PERSONAL); in getFragments_containsCorrectBundle()46 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
88 mController.setProfileType(ProfileSelectFragment.ProfileType.WORK); in updateState_workProfile_shouldShowOnlyWorkProfileApps()104 mController.setProfileType(ProfileSelectFragment.ProfileType.PERSONAL); in updateState_Personal_shouldShowOnlyPersonalApps()
1086 == ProfileSelectFragment.ProfileType.PERSONAL : false; in getTargetFragment()1088 == ProfileSelectFragment.ProfileType.WORK : false; in getTargetFragment()
90 == ProfileSelectFragment.ProfileType.PERSONAL; in onCreate()
338 == ProfileSelectFragment.ProfileType.PERSONAL : false; in onCreate()340 == ProfileSelectFragment.ProfileType.WORK : false; in onCreate()
103 ProfileSelectFragment.ProfileType.ALL); in setUp()