Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/
DResolverRequestReader.kt40 val selectedProfile = checkSelectedProfile() in readResolverRequest() constant
42 ResolverRequest(launch.intent, selectedProfile, callingUser, audioDevice) in readResolverRequest()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DIntentForwarderActivity.java223 int selectedProfile = findSelectedProfile(className); in launchChooserActivityWithCorrectTab() local
225 intentReceived.putExtra(EXTRA_SELECTED_PROFILE, selectedProfile); in launchChooserActivityWithCorrectTab()
248 int selectedProfile = findSelectedProfile(className); in launchResolverActivityWithCorrectTab() local
250 intentReceived.putExtra(EXTRA_SELECTED_PROFILE, selectedProfile); in launchResolverActivityWithCorrectTab()
DResolverActivity.java990 int selectedProfile = getCurrentProfile();
994 selectedProfile = PROFILE_PERSONAL;
996 selectedProfile = PROFILE_WORK;
1001 selectedProfile = selectedProfileExtra;
1010 selectedProfile == PROFILE_PERSONAL ? initialIntents : null,
1020 selectedProfile == PROFILE_WORK ? initialIntents : null,
1046 selectedProfile,
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/
DResolverRequestTest.kt63 assertThat(result.value.selectedProfile).isNull() in createActivityModel()
126 assertThat(result.value.selectedProfile).isEqualTo(WORK) in createActivityModel()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java290 String selectedProfile = null; in updateToQuietModeErrorMessage() local
294 selectedProfile = mUserIdToLabelMap.get(userId); in updateToQuietModeErrorMessage()
299 selectedProfile.toLowerCase(Locale.getDefault())) in updateToQuietModeErrorMessage()
308 selectedProfile) in updateToQuietModeErrorMessage()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/model/
DResolverRequest.kt38 val selectedProfile: Profile.Type?, constant in com.android.intentresolver.ui.model.ResolverRequest
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModel.kt74 val selectedProfile: StateFlow<UserProfile> = constant in com.android.photopicker.features.profileselector.ProfileSelectorViewModel
DProfileSelector.kt74 val currentProfile by viewModel.selectedProfile.collectAsStateWithLifecycle() in ProfileSelector()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModelTest.kt194 .that(viewModel.selectedProfile.value.profileType) in testExposesUserProfileFlowsForUi()