Home
last modified time | relevance | path

Searched refs:selectedProfile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java222 int selectedProfile = findSelectedProfile(className); in launchChooserActivityWithCorrectTab() local
224 intentReceived.putExtra(EXTRA_SELECTED_PROFILE, selectedProfile); in launchChooserActivityWithCorrectTab()
247 int selectedProfile = findSelectedProfile(className); in launchResolverActivityWithCorrectTab() local
249 intentReceived.putExtra(EXTRA_SELECTED_PROFILE, selectedProfile); in launchResolverActivityWithCorrectTab()
DResolverActivity.java481 int selectedProfile = getCurrentProfile();
487 selectedProfile = PROFILE_PERSONAL;
489 selectedProfile = PROFILE_WORK;
494 selectedProfile = selectedProfileExtra;
503 selectedProfile == PROFILE_PERSONAL ? initialIntents : null,
512 selectedProfile == PROFILE_WORK ? initialIntents : null,
521 selectedProfile,
538 int selectedProfile = -1;
540 selectedProfile = getIntent().getIntExtra(EXTRA_SELECTED_PROFILE, /* defValue = */ -1);
541 if (selectedProfile != PROFILE_PERSONAL && selectedProfile != PROFILE_WORK) {
[all …]
DChooserActivity.java916 int selectedProfile = findSelectedProfile();
920 selectedProfile == PROFILE_PERSONAL ? initialIntents : null,
927 selectedProfile == PROFILE_WORK ? initialIntents : null,
935 selectedProfile,
942 int selectedProfile = getSelectedProfileExtra();
943 if (selectedProfile == -1) {
944 selectedProfile = getProfileForUser(getUser());
946 return selectedProfile;