Home
last modified time | relevance | path

Searched refs:launchedAs (Results 1 – 7 of 7) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/domain/interactor/
DUserInteractorTest.kt53 launchedAs = personalUser.handle in <lambda>()
66 launchedAs = cloneUser.handle in <lambda>()
78 launchedAs = personalUser.handle in <lambda>()
90 UserInteractor(userRepository = fakeUserRepo, launchedAs = personalUser.handle) in <lambda>()
104 launchedAs = personalUser.handle in <lambda>()
117 launchedAs = personalUser.handle in <lambda>()
135 launchedAs = personalUser.handle in <lambda>()
153 val interactor = UserInteractor(userRepository = userRepo, launchedAs = personalUser.handle) in <lambda>()
164 val interactor = UserInteractor(userRepository = userRepo, launchedAs = personalUser.handle) in <lambda>()
192 UserInteractor(userRepository = userRepo, launchedAs = personalUser.handle) in updateState()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/
DNoCrossProfileEmptyStateProviderTest.kt101 val profileHelper = createProfileHelper(launchedAs = workUser) in sameProfilePermitted()
119 val profileHelper = createProfileHelper(launchedAs = personalUser) in testPersonalToWork()
139 val profileHelper = createProfileHelper(launchedAs = workUser) in testWorkToPersonal()
159 val profileHelper = createProfileHelper(launchedAs = workUser) in testWorkToPrivate()
180 val profileHelper = createProfileHelper(launchedAs = privateUser) in testPrivateToPersonal()
197 private fun createProfileHelper(launchedAs: User): ProfileHelper { in createProfileHelper()
198 val userInteractor = UserInteractor(userRepository, launchedAs = launchedAs.handle) in createProfileHelper()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DProfileHelperTest.kt93 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>()
115 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>()
136 val interactor = UserInteractor(repository, launchedAs = cloneUser.handle) in <lambda>()
159 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>()
183 val interactor = UserInteractor(repository, launchedAs = workUser.handle) in <lambda>()
207 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>()
231 val interactor = UserInteractor(repository, launchedAs = privateUser.handle) in <lambda>()
257 val interactor = UserInteractor(repository, launchedAs = personalUser.handle) in <lambda>()
DProfileAvailabilityTest.kt40 private val interactor = UserInteractor(repository, launchedAs = personalUser.handle)
/packages/modules/IntentResolver/java/src/com/android/intentresolver/domain/interactor/
DUserInteractor.kt37 @ApplicationUser val launchedAs: UserHandle, in <lambda>() constant in com.android.intentresolver.domain.interactor.UserInteractor
65 it.primary.id == launchedAs.identifier || it.clone?.id == launchedAs.identifier in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DProfileHelper.kt42 private val launchedByHandle: UserHandle = interactor.launchedAs
DChooserActivity.java1418 Profile launchedAs = profileHelper.getLaunchedAsProfile(); in createMultiProfilePagerAdapter() local
1432 profile.equals(launchedAs) ? initialIntentArray : null, in createMultiProfilePagerAdapter()
1456 launchedAs.getType().ordinal(), in createMultiProfilePagerAdapter()