Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java25 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;
26 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PERSONAL_TAB;
27 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PRIVATE_TAB;
28 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
53 import com.android.settings.dashboard.profileselector.ProfileSelectFragment.ViewPagerAdapter;
213 Fragment[] fragments = ProfileSelectFragment.getFragments( in testGetFragments_whenOnlyPersonal_returnsOneFragment()
228 Fragment[] fragments = ProfileSelectFragment.getFragments( in testGetFragments_whenPrivateDisabled_returnsOneFragment()
234 new ProfileSelectFragment.PrivateSpaceInfoProvider() { in testGetFragments_whenPrivateDisabled_returnsOneFragment()
251 Fragment[] fragments = ProfileSelectFragment.getFragments( in testGetFragments_whenPrivateEnabled_returnsTwoFragments()
257 new ProfileSelectFragment.PrivateSpaceInfoProvider() { in testGetFragments_whenPrivateEnabled_returnsTwoFragments()
[all …]
DProfileSelectLocationFragmentTest.java24 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;
78 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PERSONAL); in getFragments_containsCorrectBundle()
80 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.WORK); in getFragments_containsCorrectBundle()
82 EXTRA_PROFILE, -1)).isEqualTo(ProfileSelectFragment.ProfileType.PRIVATE); in getFragments_containsCorrectBundle()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestPreferenceController.java33 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
46 private int mType = ProfileSelectFragment.ProfileType.ALL;
130 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
152 RecentLocationApps.Request request, @ProfileSelectFragment.ProfileType int type) { in isRequestMatchesProfileType()
155 if (isWorkProfile && (type & ProfileSelectFragment.ProfileType.WORK) != 0) { in isRequestMatchesProfileType()
158 if (!isWorkProfile && (type & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in isRequestMatchesProfileType()
DRecentLocationAccessPreferenceController.java34 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
50 private int mType = ProfileSelectFragment.ProfileType.ALL;
161 public void setProfileType(@ProfileSelectFragment.ProfileType int type) { in setProfileType()
186 RecentAppOpsAccess.Access access, @ProfileSelectFragment.ProfileType int type) { in isRequestMatchesProfileType()
190 if (isWorkProfile && (type & ProfileSelectFragment.ProfileType.WORK) != 0) { in isRequestMatchesProfileType()
193 if (!isWorkProfile && (type & ProfileSelectFragment.ProfileType.PERSONAL) != 0) { in isRequestMatchesProfileType()
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.java27 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
67 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
DLocationInjectedServicesForPrivateProfilePreferenceController.java26 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
50 ProfileSelectFragment.ProfileType.PRIVATE); in injectLocationServices()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java34 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
73 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
79 case ProfileSelectFragment.ProfileType.WORK: { in onAttach()
87 case ProfileSelectFragment.ProfileType.PRIVATE: { in onAttach()
93 userManager, ProfileSelectFragment.ProfileType.PRIVATE); in onAttach()
97 case ProfileSelectFragment.ProfileType.PERSONAL: { in onAttach()
DNewKeyboardLayoutEnabledLocalesFragment.java42 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
68 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
74 case ProfileSelectFragment.ProfileType.WORK: { in onAttach()
81 case ProfileSelectFragment.ProfileType.PRIVATE: { in onAttach()
87 userManager, ProfileSelectFragment.ProfileType.PRIVATE); in onAttach()
90 case ProfileSelectFragment.ProfileType.PERSONAL: { in onAttach()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceController.java19 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PERSONAL_TAB;
20 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.PRIVATE_TAB;
21 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.WORK_TAB;
54 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
168 this(context, hostFragment, volume, svp, ProfileSelectFragment.ProfileType.PERSONAL); in StorageItemPreferenceController()
176 @ProfileSelectFragment.ProfileType int profileType) { in StorageItemPreferenceController()
276 && mProfileType == ProfileSelectFragment.ProfileType.PERSONAL); in setVolume()
380 if (mProfileType == ProfileSelectFragment.ProfileType.WORK in setUserId()
386 if (mProfileType == ProfileSelectFragment.ProfileType.PRIVATE in setUserId()
574 if (mProfileType == ProfileSelectFragment.ProfileType.WORK) { in getWorkAnnotatedBundle()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DSettingsProfileSelectFragment.java33 import com.android.settingslib.widget.ProfileSelectFragment;
44 public class SettingsProfileSelectFragment extends ProfileSelectFragment {
168 case ProfileSelectFragment.PERSONAL_TAB: in getTabUserId()
170 case ProfileSelectFragment.WORK_TAB: in getTabUserId()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageCategoryFragment.java39 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
40 import com.android.settings.dashboard.profileselector.ProfileSelectFragment.ProfileType;
167 mProfileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
233 if (mProfileType == ProfileSelectFragment.ProfileType.WORK) { in getMetricsCategory()
235 } else if (mProfileType == ProfileSelectFragment.ProfileType.PRIVATE) { in getMetricsCategory()
259 mNonCurrentUsers = mProfileType == ProfileSelectFragment.ProfileType.PERSONAL in createPreferenceControllers()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectKeyboardFragment.java31 public final class ProfileSelectKeyboardFragment extends ProfileSelectFragment {
40 return ProfileSelectFragment.getFragments( in getFragments()
DProfileSelectAccountFragment.java29 public class ProfileSelectAccountFragment extends ProfileSelectFragment {
33 return ProfileSelectFragment.getFragments( in getFragments()
DProfileSelectLocationServicesFragment.java29 public class ProfileSelectLocationServicesFragment extends ProfileSelectFragment {
33 return ProfileSelectFragment.getFragments( in getFragments()
DProfileSelectManageApplications.java30 public class ProfileSelectManageApplications extends ProfileSelectFragment {
34 return ProfileSelectFragment.getFragments( in getFragments()
DProfileSelectPhysicalKeyboardFragment.java35 public final class ProfileSelectPhysicalKeyboardFragment extends ProfileSelectFragment {
56 return ProfileSelectFragment.getFragments( in getFragments()
DProfileSelectLocationFragment.java33 public class ProfileSelectLocationFragment extends ProfileSelectFragment {
48 return ProfileSelectFragment.getFragments( in getFragments()
/packages/apps/Settings/src/com/android/settings/users/
DAutoSyncPrivateDataPreferenceController.kt21 import com.android.settings.dashboard.profileselector.ProfileSelectFragment
28 .getProfileOfType(mUserManager, ProfileSelectFragment.ProfileType.PRIVATE)
/packages/apps/Settings/src/com/android/settings/applications/
DClonedAppsPreferenceController.java36 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
126 extras.putInt(ProfileSelectFragment.EXTRA_PROFILE, in handlePreferenceTreeClick()
127 ProfileSelectFragment.ProfileType.PERSONAL); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreferenceController.java69 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
111 private @ProfileSelectFragment.ProfileType int mType;
152 String[] authorities, @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()
159 @ProfileSelectFragment.ProfileType int type) { in AccountPreferenceController()
314 && (mType & ProfileSelectFragment.ProfileType.WORK) != 0) in updateUi()
316 && (mType & ProfileSelectFragment.ProfileType.PRIVATE) != 0) in updateUi()
319 && (mType & ProfileSelectFragment.ProfileType.PERSONAL) != 0)) in updateUi()
380 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
394 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
403 if (mType == ProfileSelectFragment.ProfileType.ALL) { in updateProfileUi()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DDefaultPrivateCombinedPreferenceController.kt22 import com.android.settings.dashboard.profileselector.ProfileSelectFragment in <lambda>()
27 Utils.getProfileOfType(mUserManager, ProfileSelectFragment.ProfileType.PRIVATE) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java55 import com.android.settings.dashboard.profileselector.ProfileSelectFragment;
56 import com.android.settings.dashboard.profileselector.ProfileSelectFragment.ProfileType;
104 ProfileSelectFragment.ProfileType.PERSONAL); in setUp()
191 mSvp, ProfileSelectFragment.ProfileType.PERSONAL); in launchImagesIntent_resolveActionViewNull_settingsIntent()
208 mSvp, ProfileSelectFragment.ProfileType.PERSONAL); in launchAudioIntent_resolveActionViewNull_settingsIntent()
278 .isEqualTo(ProfileSelectFragment.WORK_TAB); in launchAppsIntent_forWork_settingsIntent()
290 mSvp, ProfileSelectFragment.ProfileType.PERSONAL); in launchDocumentsIntent_resolveActionViewNull_settingsIntent()
307 mSvp, ProfileSelectFragment.ProfileType.PERSONAL); in launchOtherIntent_resolveActionViewNull_settingsIntent()
342 mSvp, ProfileSelectFragment.ProfileType.PERSONAL); in launchVideosIntent_resolveActionViewNull_settingsIntent()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultPrivateAutofillPreferenceController.kt25 import com.android.settings.dashboard.profileselector.ProfileSelectFragment in <lambda>()
30 .getProfileOfType(mUserManager, ProfileSelectFragment.ProfileType.PRIVATE) in <lambda>()

12