Searched refs:EXTRA_PROFILE (Results 1 – 12 of 12) sorted by relevance
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()
25 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;341 foundProfileTypesList.add(fragment.getArguments().getInt(EXTRA_PROFILE)); in testGetFragments_whenAvailableBundle_returnsFragmentsWithCorrectBundles()359 personalBundle.putInt(EXTRA_PROFILE, ProfileType.PERSONAL); in getFragments()364 workBundle.putInt(EXTRA_PROFILE, ProfileType.WORK); in getFragments()369 privateBundle.putInt(EXTRA_PROFILE, ProfileType.PRIVATE); in getFragments()
105 public static final String EXTRA_PROFILE = "profile"; field in ProfileSelectFragment368 bundle.putInt(EXTRA_PROFILE, profileType); in createAndGetFragment()424 int profileType = mChildFragments[position].getArguments().getInt(EXTRA_PROFILE); in getTabForPosition()432 && profileTypeToTab(arguments.getInt(EXTRA_PROFILE)) == profileTab) { in getPositionForProfileTab()
19 import static com.android.settings.dashboard.profileselector.ProfileSelectFragment.EXTRA_PROFILE;189 bundle.putInt(EXTRA_PROFILE, ProfileSelectFragment.ProfileType.PERSONAL); in initFragment()
56 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
67 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
126 extras.putInt(ProfileSelectFragment.EXTRA_PROFILE, in handlePreferenceTreeClick()
73 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
68 final int profileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
167 mProfileType = getArguments().getInt(ProfileSelectFragment.EXTRA_PROFILE); in onAttach()
378 mIsPersonalOnly = args != null && args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()380 mIsWorkOnly = args != null && args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()382 mIsPrivateProfileOnly = args != null && args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in onCreate()
1225 final boolean isPersonal = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()1227 final boolean isWork = args != null ? args.getInt(ProfileSelectFragment.EXTRA_PROFILE) in getTargetFragment()