Home
last modified time | relevance | path

Searched refs:launch (Results 1 – 25 of 502) sorted by relevance

12345678910>>...21

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DPreviewActionsBinder.kt48 import kotlinx.coroutines.launch in <lambda>()
83 lifecycleOwner.lifecycleScope.launch { in <lambda>()
90 lifecycleOwner.lifecycleScope.launch { in <lambda>()
93 launch { in <lambda>()
99 launch { in <lambda>()
105 launch { in <lambda>()
112 launch { in <lambda>()
118 launch { in <lambda>()
122 launch { in <lambda>()
128 lifecycleOwner.lifecycleScope.launch { in <lambda>()
[all …]
DSetWallpaperButtonBinder.kt26 import kotlinx.coroutines.launch in <lambda>()
37 lifecycleOwner.lifecycleScope.launch { in <lambda>()
39 launch { viewModel.isSetWallpaperButtonVisible.collect { button.isVisible = it } } in <lambda>()
41 launch { viewModel.isSetWallpaperButtonEnabled.collect { button.isEnabled = it } } in <lambda>()
43 launch { in <lambda>()
55 launch { in <lambda>()
DPreviewTooltipBinder.kt28 import kotlinx.coroutines.launch in <lambda>()
42 lifecycleOwner.lifecycleScope.launch { in <lambda>()
44 launch { in <lambda>()
87 lifecycleOwner.lifecycleScope.launch { in <lambda>()
89 launch { in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSubSettingLauncherTest.java74 doNothing().when(launcher).launch(any(Intent.class)); in cannotReuseLauncher_launchMethod()
75 launcher.launch(); in cannotReuseLauncher_launchMethod()
76 launcher.launch(); in cannotReuseLauncher_launchMethod()
84 doNothing().when(launcher).launch(any(Intent.class)); in verifyIntent_noDestination()
92 doNothing().when(launcher).launch(any(Intent.class)); in verifyIntent_noMetricsCategory()
101 doNothing().when(launcher).launch(any(Intent.class)); in verifyIntent_notTheCorrectClass()
111 doNothing().when(launcher).launch(any(Intent.class)); in cannotReuseLauncher_launchAndLaunchWithIntentMethod()
113 launcher.launch(); in cannotReuseLauncher_launchAndLaunchWithIntentMethod()
120 launcher.launch(); in launch_noSourceMetricsCategory_shouldCrash()
127 launcher.launch(); in launch_noDestination_shouldCrash()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/fragment/
DUdfpsEnrollFragment.kt46 import kotlinx.coroutines.launch in <lambda>()
84 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
87 launch { in <lambda>()
93 launch { viewModel.overlayShown.collect { udfpsEnrollView.overlayShown() } } in <lambda>()
94 launch { viewModel.headerText.collect { glifLayout.setHeaderText(it.toResource()) } } in <lambda>()
95 launch { in <lambda>()
104 launch { in <lambda>()
113 launch { in <lambda>()
119 launch { in <lambda>()
140 launch { in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/fragment/
DRFPSEnrollFragment.kt55 import kotlinx.coroutines.launch in <lambda>()
120 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
127 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
131 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
140 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
157 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
163 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
167 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
184 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
187 viewLifecycleOwner.lifecycleScope.launch { in <lambda>()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/settings/
DFingerprintSettingsNavigationViewModelTest.kt32 import kotlinx.coroutines.launch
87 val job = launch { underTest.nextStep.collect { nextStep = it } } in testNoGateKeeper_launchesConfirmDeviceCredential()
98 val job = launch { underTest.nextStep.collect { nextStep = it } } in testConfirmDevice_fails()
111 val job = launch { underTest.nextStep.collect { nextStep = it } } in confirmDeviceSuccess_noGateKeeper()
126 val job = launch { underTest.nextStep.collect { nextStep = it } } in confirmDeviceSuccess_launchesEnrollment_ifNoPreviousEnrollments()
141 val job = launch { underTest.nextStep.collect { nextStep = it } } in firstEnrollment_failsWithReason()
160 val job = launch { underTest.nextStep.collect { nextStep = it } } in firstEnrollmentSucceeds_noToken()
176 val job = launch { underTest.nextStep.collect { nextStep = it } } in firstEnrollmentSucceeds_noKeyChallenge()
194 val job = testScope.launch { underTest.nextStep.collect { nextStep = it } } in firstEnrollment_succeeds()
215 val job = launch { underTest.nextStep.collect { nextStep = it } } in enrollAdditionalFingerprints_fails()
[all …]
DFingerprintSettingsViewModelTest.kt36 import kotlinx.coroutines.launch
127 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesNotRun_ifOptical()
169 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesNotRun_ifUltrasonic()
212 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesRun_ifNotUdfps()
238 val dialogJob = launch { underTest.isShowingDialog.collect { dialog = it } } in <lambda>()
274 val dialogJob = launch { underTest.isShowingDialog.collect { dialog = it } } in <lambda>()
312 val dialogJob = launch { underTest.isShowingDialog.collect { dialog = it } } in <lambda>()
339 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticatePauses_whenPaused()
364 val job = launch { underTest.authFlow.take(1).collectLatest { authAttempt = it } } in dialog_pausesAuth()
381 val job = launch { underTest.authFlow.take(1).collectLatest { authAttempt = it } } in cannotAuth_when_notShowingSettings()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/events/
DEventsTest.kt32 import kotlinx.coroutines.launch
82 backgroundScope.launch { events.flow.toList(collectorOne) } in <lambda>()
83 backgroundScope.launch { events.flow.toList(collectorTwo) } in <lambda>()
111 backgroundScope.launch { events.flow.toList(collectorOne) } in <lambda>()
118 backgroundScope.launch { events.flow.toList(collectorTwo) } in <lambda>()
140 backgroundScope.launch { events.flow.toList(collectorOne) } in <lambda>()
141 backgroundScope.launch { events.flow.toList(collectorTwo) } in <lambda>()
190 backgroundScope.launch { events.flow.toList(collectorOne) } in <lambda>()
191 backgroundScope.launch { events.flow.toList(collectorTwo) } in <lambda>()
221 backgroundScope.launch { events.flow.toList(collector) } in <lambda>()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractorTest.kt44 import kotlinx.coroutines.launch in <lambda>()
131 backgroundScope.launch { in <lambda>()
132 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
171 backgroundScope.launch { in <lambda>()
172 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
204 backgroundScope.launch { in <lambda>()
205 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
236 backgroundScope.launch { in <lambda>()
237 cursorPreviewsInteractor.launch(deps.cursor, deps.initialPreviews) in <lambda>()
258 backgroundScope.launch { in <lambda>()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/binder/
DClockCarouselViewBinder.kt32 import kotlinx.coroutines.launch in <lambda>()
61 lifecycleOwner.lifecycleScope.launch { in <lambda>()
63 launch { in <lambda>()
82 launch { in <lambda>()
88 launch { in <lambda>()
96 launch { in <lambda>()
100 launch { in <lambda>()
DClockSettingsBinder.kt54 import kotlinx.coroutines.launch in <lambda>()
87 lifecycleOwner.lifecycleScope.launch { viewModel.onSliderProgressStop(it) } in <lambda>()
116 lifecycleOwner.lifecycleScope.launch { in <lambda>()
118 launch { in <lambda>()
126 launch { viewModel.tabs.collect { tabAdapter.setItems(it) } } in <lambda>()
128 launch { in <lambda>()
143 launch { in <lambda>()
179 launch { in <lambda>()
194 launch { in <lambda>()
247 launch { in <lambda>()
[all …]
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/
DCarLauncherTest.java96 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onResume_mapsCard_isVisible()
104 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onResume_assistiveCard_isVisible()
112 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onResume_audioCard_isVisible()
131 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onCreate_tosMapActivity_tosUnaccepted_canvasOptimizedMapsDisabledByTos()
153 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onCreate_tosMapActivity_tosUnaccepted_mapsNotDisabledByTos()
173 mActivityScenario = ActivityScenario.launch(CarLauncher.class); in onCreate_tosMapActivity_tosAccepted()
188 mActivityScenario = ActivityScenario.launch(new Intent(mContext, CarLauncher.class)); in onCreate_tosStateContentObserver_tosAccepted()
202 mActivityScenario = ActivityScenario.launch(new Intent(mContext, CarLauncher.class)); in onCreate_registerTosStateContentObserver_tosNotAccepted()
216 mActivityScenario = ActivityScenario.launch(new Intent(mContext, CarLauncher.class)); in onCreate_registerTosStateContentObserver_tosNotInitialized()
230 mActivityScenario = ActivityScenario.launch(new Intent(mContext, CarLauncher.class)); in recreate_tosStateContentObserver_tosNotAccepted()
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt44 import kotlinx.coroutines.launch in <lambda>()
182 launch { in <lambda>()
220 launch { in <lambda>()
263 launch { in <lambda>()
288 launch { in <lambda>()
317 launch { in <lambda>()
350 launch { in <lambda>()
394 launch { in <lambda>()
438 launch { in <lambda>()
479 backgroundScope.launch { userMonitor.userStatus.toList(emissions) } in <lambda>()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/binder/
DWallpaperQuickSwitchOptionBinder.kt30 import kotlinx.coroutines.launch in <lambda>()
80 lifecycleOwner.lifecycleScope.launch { in <lambda>()
81 launch { in <lambda>()
93 launch { in <lambda>()
106 launch { in <lambda>()
113 launch { in <lambda>()
130 launch { in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/appactions/
DAppLaunchProvider.kt51 abstract fun launch( in launch() method in com.android.car.carlauncher.repositories.appactions.AppLaunchProvider
71 override fun launch(context: Context, componentName: ComponentName, launchIntent: Intent?) { in launch() method
93 override fun launch(context: Context, componentName: ComponentName, launchIntent: Intent?) { in launch() method in com.android.car.carlauncher.repositories.appactions.AppLaunchProvider.MediaServiceLaunchProvider
116 override fun launch(context: Context, componentName: ComponentName, launchIntent: Intent?) { in launch() method in com.android.car.carlauncher.repositories.appactions.AppLaunchProvider.DisabledAppLaunchProvider
149 override fun launch(context: Context, componentName: ComponentName, launchIntent: Intent?) { in launch() method
167 override fun launch(context: Context, componentName: ComponentName, launchIntent: Intent?) { in launch() method
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DAppOrderProtoDataSourceImplTest.kt27 import kotlinx.coroutines.launch in <lambda>()
54 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
97 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
129 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
133 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
138 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
188 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
226 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
230 launch(StandardTestDispatcher(testScheduler)) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/binder/
DFingerprintSettingsViewBinder.kt39 import kotlinx.coroutines.launch in <lambda>()
107 lifecycleScope.launch { viewModel.enrolledFingerprints.collect { view.showSettings(it) } } in <lambda>()
108 lifecycleScope.launch { in <lambda>()
113 lifecycleScope.launch { viewModel.isSfpsPrefVisible.collect { view.updateSfpsPreference(it) } } in <lambda>()
116 lifecycleScope.launch { in <lambda>()
142 lifecycleScope.launch { in <lambda>()
160 lifecycleScope.launch(Dispatchers.Default) { in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/binder/
DKeyguardQuickAffordancePickerBinder.kt49 import kotlinx.coroutines.launch in <lambda>()
105 lifecycleOwner.lifecycleScope.launch { in <lambda>()
107 launch { in <lambda>()
113 launch { in <lambda>()
119 launch { in <lambda>()
144 launch { in <lambda>()
160 launch { in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/binder/
DColorSectionViewBinder.kt35 import kotlinx.coroutines.launch in <lambda>()
60 lifecycleOwner.lifecycleScope.launch { in <lambda>()
62 launch { in <lambda>()
110 lifecycleOwner.lifecycleScope.launch { in <lambda>()
111 launch { in <lambda>()
116 launch { in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/
DConfigurationManagerTest.kt27 import kotlinx.coroutines.launch
69 backgroundScope.launch { in testEmitsConfiguration()
95 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testConfigurationEmitsFlagChanges()
139 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testConfigurationChangesAreBatched()
199 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testSetIntentUpdatesConfiguration()
236 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testSetIntentSetsSelectionLimit()
275 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testSetIntentSetsSelectionLimitThrowsOnIllegalConfiguration()
319 backgroundScope.launch { configurationManager.configuration.toList(emissions) } in testSetIntentSetsSelectionLimitThrowsOnIllegalRange()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivityTest.java114 ActivityScenario.launch(mIntent); in onCreate_withNoAction_returnImmediately()
122 ActivityScenario.launch(mIntent); in onCreate_withActionSend_withoutMetadata_finishImmediately()
131 ActivityScenario.launch(mIntent); in onCreate_withActionSendMultiple_withoutMetadata_finishImmediately()
139 ActivityScenario.launch(mIntent); in onCreate_withActionOpen_sendBroadcast()
156 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in launchDevicePicker_bluetoothNotEnabled_launchEnableActivity()
169 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in launchDevicePicker_bluetoothEnabled_launchActivity()
181 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in createFileForSharedContent_returnFile()
204 ActivityScenario<BluetoothOppLauncherActivity> scenario = ActivityScenario.launch(mIntent); in sendFileInfo_finishImmediately()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/network/
DNetworkMonitorTest.kt33 import kotlinx.coroutines.launch
75 launch { in testInitialNetworkIsAvailable()
87 launch { in testRegistersNetworkCallback()
112 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testCallbackEmitsNewNetworkStatus()
144 backgroundScope.launch { networkMonitor.networkStatus.toList(allEmissions) } in testNetworkStatusReplayedForNewSubscribers()
164 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testNetworkStatusReplayedForNewSubscribers()
178 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testNetworkStatusIsDistinctUntilChanged()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollIntroViewModel.kt35 import kotlinx.coroutines.launch in <lambda>()
76 scope.launch { in <lambda>()
87 scope.launch { in <lambda>()
104 scope.launch { in <lambda>()
119 scope.launch { in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/enrollment/modules/enrolling/rfps/viewmodel/
DRFPSIconTouchViewModelTest.kt23 import kotlinx.coroutines.launch
66 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in initShouldNotShowDialog()
79 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in shouldShowDialogTest()
96 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in stateShouldBeFalseAfterReset()
119 val job = launch { rfpsIconTouchViewModel.shouldShowDialog.collect { shouldShowDialog = it } } in toggleMultipleTimes()

12345678910>>...21