/packages/apps/Settings/src/com/android/settings/location/ |
D | RecentLocationRequestPreferenceController.java | 30 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()
|
D | RecentLocationAccessPreferenceController.java | 31 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()
|
D | RecentLocationAccessSeeAllPreferenceController.java | 28 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 43 private int mType = ProfileSelectFragment.ProfileType.ALL; 97 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
|
D | RecentLocationRequestSeeAllPreferenceController.java | 28 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 43 private int mType = ProfileSelectFragment.ProfileType.ALL; 96 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
|
D | LocationPersonalSettings.java | 24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 56 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
|
D | LocationWorkProfileSettings.java | 24 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 57 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
|
D | RecentLocationRequestSeeAllFragment.java | 26 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 51 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
|
D | RecentLocationAccessSeeAllFragment.java | 27 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/ |
D | ProfileSelectRecentLocationRequestFragment.java | 28 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()
|
D | ProfileSelectManageApplications.java | 28 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()
|
D | ProfileSelectLocationFragment.java | 33 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()
|
D | ProfileSelectFragment.java | 55 public abstract class ProfileSelectFragment extends DashboardFragment { class 114 viewPager.setAdapter(new ProfileSelectFragment.ViewPagerAdapter(this)); in onCreateView() 206 ViewPagerAdapter(ProfileSelectFragment fragment) { in ViewPagerAdapter()
|
D | ProfileSelectAccountFragment.java | 26 public class ProfileSelectAccountFragment extends ProfileSelectFragment {
|
D | ProfileSelectRecentLocationAccessFragment.java | 28 public class ProfileSelectRecentLocationAccessFragment extends ProfileSelectFragment {
|
D | ProfileSelectLocationServicesFragment.java | 29 public class ProfileSelectLocationServicesFragment extends ProfileSelectFragment {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectLocationFragmentTest.java | 19 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()
|
D | ProfileSelectFragmentTest.java | 21 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/ |
D | AccountPreferenceController.java | 56 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()
|
D | AccountPersonalDashboardFragment.java | 30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 85 ProfileSelectFragment.ProfileType.PERSONAL); in buildAccountPreferenceControllers()
|
D | AccountWorkProfileDashboardFragment.java | 30 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 85 ProfileSelectFragment.ProfileType.WORK); in buildAccountPreferenceControllers()
|
D | AccountDashboardFragment.java | 34 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 98 ProfileSelectFragment.ProfileType.ALL); in buildAccountPreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | RecentLocationRequestPreferenceControllerTest.java | 33 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/ |
D | StorageCategoryFragment.java | 39 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/ |
D | Utils.java | 113 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/ |
D | ManageApplications.java | 118 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()
|