Home
last modified time | relevance | path

Searched refs:ProfileType (Results 1 – 21 of 21) 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()
DRecentLocationAccessPreferenceController.java47 private int mType = ProfileSelectFragment.ProfileType.ALL;
127 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
152 RecentLocationAccesses.Access access, @ProfileSelectFragment.ProfileType int type) { in isRequestMatchesProfileType()
156 if (isWorkProfile && (type & ProfileSelectFragment.ProfileType.WORK) != 0) { in isRequestMatchesProfileType()
159 if (!isWorkProfile && (type & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in isRequestMatchesProfileType()
DRecentLocationAccessSeeAllPreferenceController.java43 private int mType = ProfileSelectFragment.ProfileType.ALL;
97 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
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.java64 ProfileType.PERSONAL,
65 ProfileType.WORK,
66 ProfileType.ALL
68 public @interface ProfileType { annotation in ProfileSelectFragment
DProfileSelectRecentLocationAccessFragment.java33 workOnly.putInt(EXTRA_PROFILE, ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileType.PERSONAL); in getFragments()
DProfileSelectRecentLocationRequestFragment.java33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectLocationServicesFragment.java34 workOnly.putInt(EXTRA_PROFILE, ProfileType.WORK); in getFragments()
39 personalOnly.putInt(EXTRA_PROFILE, 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.java50 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
55 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectStorageFragment.java194 workBundle.putInt(EXTRA_PROFILE, ProfileType.WORK); in getFragments()
199 personalBundle.putInt(EXTRA_PROFILE, 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()
333 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
345 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
DAccountPersonalDashboardFragment.java85 ProfileSelectFragment.ProfileType.PERSONAL); in buildAccountPreferenceControllers()
DAccountWorkProfileDashboardFragment.java85 ProfileSelectFragment.ProfileType.WORK); in buildAccountPreferenceControllers()
DAccountDashboardFragment.java98 ProfileSelectFragment.ProfileType.ALL); in buildAccountPreferenceControllers()
/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/deviceinfo/
DStorageCategoryFragment.java158 == ProfileSelectFragment.ProfileType.WORK; in onAttach()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1158 == ProfileSelectFragment.ProfileType.PERSONAL : false; in getTargetFragment()
1160 == ProfileSelectFragment.ProfileType.WORK : false; in getTargetFragment()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java341 == ProfileSelectFragment.ProfileType.PERSONAL : false; in onCreate()
343 == ProfileSelectFragment.ProfileType.WORK : false; in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java103 ProfileSelectFragment.ProfileType.ALL); in setUp()