Home
last modified time | relevance | path

Searched refs:ProfileSelectFragment (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestPreferenceController.java30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
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()
DRecentLocationAccessPreferenceController.java31 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
47 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.java28 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
43 private int mType = ProfileSelectFragment.ProfileType.ALL;
97 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
DRecentLocationRequestSeeAllPreferenceController.java28 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
43 private int mType = ProfileSelectFragment.ProfileType.ALL;
96 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
DLocationPersonalSettings.java24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
56 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DLocationWorkProfileSettings.java24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
57 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DRecentLocationRequestSeeAllFragment.java26 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
51 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DRecentLocationAccessSeeAllFragment.java27 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
55 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectRecentLocationRequestFragment.java28 public class ProfileSelectRecentLocationRequestFragment extends ProfileSelectFragment {
33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectManageApplications.java28 public class ProfileSelectManageApplications extends ProfileSelectFragment {
33 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
38 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectLocationFragment.java33 public class ProfileSelectLocationFragment extends ProfileSelectFragment {
50 workOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.WORK); in getFragments()
55 personalOnly.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in getFragments()
DProfileSelectFragment.java55 public abstract class ProfileSelectFragment extends DashboardFragment { class
114 viewPager.setAdapter(new ProfileSelectFragment.ViewPagerAdapter(this)); in onCreateView()
206 ViewPagerAdapter(ProfileSelectFragment fragment) { in ViewPagerAdapter()
DProfileSelectAccountFragment.java26 public class ProfileSelectAccountFragment extends ProfileSelectFragment {
DProfileSelectRecentLocationAccessFragment.java28 public class ProfileSelectRecentLocationAccessFragment extends ProfileSelectFragment {
DProfileSelectLocationServicesFragment.java29 public class ProfileSelectLocationServicesFragment extends ProfileSelectFragment {
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectLocationFragmentTest.java19 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;
44 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PERSONAL); in getFragments_containsCorrectBundle()
46 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
DProfileSelectFragmentTest.java21 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PERSONAL_TAB;
22 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
124 public static class TestProfileSelectFragment extends ProfileSelectFragment {
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java56 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
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()
333 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
345 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
DAccountPersonalDashboardFragment.java30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
85 ProfileSelectFragment.ProfileType.PERSONAL); in buildAccountPreferenceControllers()
DAccountWorkProfileDashboardFragment.java30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
85 ProfileSelectFragment.ProfileType.WORK); in buildAccountPreferenceControllers()
DAccountDashboardFragment.java34 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
98 ProfileSelectFragment.ProfileType.ALL); in buildAccountPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DRecentLocationRequestPreferenceControllerTest.java33 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
88 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.java39 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
157 mIsWorkProfile = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE) in onAttach()
158 == ProfileSelectFragment.ProfileType.WORK; in onAttach()
/packages/apps/Settings/src/com/android/settings/
DUtils.java113 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
1157 final boolean isPersonal = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()
1158 == ProfileSelectFragment.ProfileType.PERSONAL : false; in getTargetFragment()
1159 final boolean isWork = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()
1160 == ProfileSelectFragment.ProfileType.WORK : false; in getTargetFragment()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java118 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
340 mIsPersonalOnly = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
341 == ProfileSelectFragment.ProfileType.PERSONAL : false; in onCreate()
342 mIsWorkOnly = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
343 == ProfileSelectFragment.ProfileType.WORK : false; in onCreate()

12