/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectFragmentTest.java | 25 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 …]
|
D | ProfileSelectLocationFragmentTest.java | 24 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/ |
D | RecentLocationRequestPreferenceController.java | 33 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()
|
D | RecentLocationAccessPreferenceController.java | 34 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()
|
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 | 27 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 67 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
|
D | LocationInjectedServicesForPrivateProfilePreferenceController.java | 26 import com.android.settings.dashboard.profileselector.ProfileSelectFragment; 50 ProfileSelectFragment.ProfileType.PRIVATE); in injectLocationServices()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | AvailableVirtualKeyboardFragment.java | 34 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()
|
D | NewKeyboardLayoutEnabledLocalesFragment.java | 42 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/ |
D | StorageItemPreferenceController.java | 19 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/ |
D | SettingsProfileSelectFragment.java | 33 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/ |
D | StorageCategoryFragment.java | 39 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/ |
D | ProfileSelectKeyboardFragment.java | 31 public final class ProfileSelectKeyboardFragment extends ProfileSelectFragment { 40 return ProfileSelectFragment.getFragments( in getFragments()
|
D | ProfileSelectAccountFragment.java | 29 public class ProfileSelectAccountFragment extends ProfileSelectFragment { 33 return ProfileSelectFragment.getFragments( in getFragments()
|
D | ProfileSelectLocationServicesFragment.java | 29 public class ProfileSelectLocationServicesFragment extends ProfileSelectFragment { 33 return ProfileSelectFragment.getFragments( in getFragments()
|
D | ProfileSelectManageApplications.java | 30 public class ProfileSelectManageApplications extends ProfileSelectFragment { 34 return ProfileSelectFragment.getFragments( in getFragments()
|
D | ProfileSelectPhysicalKeyboardFragment.java | 35 public final class ProfileSelectPhysicalKeyboardFragment extends ProfileSelectFragment { 56 return ProfileSelectFragment.getFragments( in getFragments()
|
D | ProfileSelectLocationFragment.java | 33 public class ProfileSelectLocationFragment extends ProfileSelectFragment { 48 return ProfileSelectFragment.getFragments( in getFragments()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AutoSyncPrivateDataPreferenceController.kt | 21 import com.android.settings.dashboard.profileselector.ProfileSelectFragment 28 .getProfileOfType(mUserManager, ProfileSelectFragment.ProfileType.PRIVATE)
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ClonedAppsPreferenceController.java | 36 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/ |
D | AccountPreferenceController.java | 69 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/ |
D | DefaultPrivateCombinedPreferenceController.kt | 22 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/ |
D | StorageItemPreferenceControllerTest.java | 55 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/ |
D | DefaultPrivateAutofillPreferenceController.kt | 25 import com.android.settings.dashboard.profileselector.ProfileSelectFragment in <lambda>() 30 .getProfileOfType(mUserManager, ProfileSelectFragment.ProfileType.PRIVATE) in <lambda>()
|