Home
last modified time | relevance | path

Searched refs:ProfileType (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestPreferenceController.java43 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()
DRecentLocationRequestSeeAllPreferenceController.java43 private int mType = ProfileSelectFragment.ProfileType.ALL;
96 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java63 ProfileType.PERSONAL,
64 ProfileType.WORK,
65 ProfileType.ALL
67 public @interface ProfileType { annotation in ProfileSelectFragment
DProfileSelectRecentLocationRequestFragment.java33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectManageApplications.java33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectLocationFragment.java51 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
56 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java98 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()
DAccountPersonalDashboardFragment.java74 ProfileSelectFragment.ProfileType.PERSONAL); in buildPreferenceControllers()
DAccountWorkProfileDashboardFragment.java74 ProfileSelectFragment.ProfileType.WORK); in buildPreferenceControllers()
DAccountDashboardFragment.java81 ProfileSelectFragment.ProfileType.ALL); in buildPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectLocationFragmentTest.java44 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PERSONAL); in getFragments_containsCorrectBundle()
46 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DRecentLocationRequestPreferenceControllerTest.java88 mController.setProfileType(ProfileSelectFragment.ProfileType.WORK); in updateState_workProfile_shouldShowOnlyWorkProfileApps()
104 mController.setProfileType(ProfileSelectFragment.ProfileType.PERSONAL); in updateState_Personal_shouldShowOnlyPersonalApps()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1086 == ProfileSelectFragment.ProfileType.PERSONAL : false; in getTargetFragment()
1088 == ProfileSelectFragment.ProfileType.WORK : false; in getTargetFragment()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageDashboardFragment.java90 == ProfileSelectFragment.ProfileType.PERSONAL; in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java338 == ProfileSelectFragment.ProfileType.PERSONAL : false; in onCreate()
340 == ProfileSelectFragment.ProfileType.WORK : false; in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java103 ProfileSelectFragment.ProfileType.ALL); in setUp()