Home
last modified time | relevance | path

Searched refs:Kosmos (Results 1 – 18 of 18) sorted by relevance

/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DPayloadToggleInteractorKosmos.kt37 import com.android.systemui.kosmos.Kosmos
38 import com.android.systemui.kosmos.Kosmos.Fixture
40 var Kosmos.focusedItemIndex: Int by Fixture { 0 } in <lambda>() variable
41 var Kosmos.pageSize: Int by Fixture { 16 } in <lambda>() variable
42 var Kosmos.maxLoadedPages: Int by Fixture { 3 } in <lambda>() variable
44 val Kosmos.chooserRequestInteractor constant
47 val Kosmos.cursorPreviewsInteractor constant
58 val Kosmos.customActionsInteractor constant
69 val Kosmos.fetchPreviewsInteractor constant
81 val Kosmos.processTargetIntentUpdatesInteractor constant
[all …]
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/inject/
DActivityModelKosmos.kt21 import com.android.systemui.kosmos.Kosmos
23 var Kosmos.contentUris: List<Uri> by Kosmos.Fixture { emptyList() } in <lambda>() variable
24 var Kosmos.additionalContentUri: Uri by variable
25 Kosmos.Fixture { Uri.fromParts("scheme", "ssp", "fragment") } in <lambda>()
26 var Kosmos.chooserIntent: Intent by Kosmos.Fixture { Intent() } in <lambda>() variable
DChooserServiceFlagsKosmos.kt20 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.chooserServiceFlags: ChooserServiceFlags by Kosmos.Fixture { chooserServiceFlagsImpl } in <lambda>() variable
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/
DFrameworkMocksKosmos.kt21 import com.android.systemui.kosmos.Kosmos
23 var Kosmos.contentResolver by Kosmos.Fixture { org.mockito.kotlin.mock<ContentResolver> {} } in <lambda>() variable
24 var Kosmos.contentInterface by Kosmos.Fixture { contentResolver } in <lambda>() variable
25 var Kosmos.packageManager by Kosmos.Fixture { org.mockito.kotlin.mock<PackageManager> {} } in <lambda>() variable
DCoroutinesKosmos.kt19 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.backgroundDispatcher: CoroutineDispatcher by Kosmos.Fixture() variable
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/payloadtoggle/data/repository/
DPayloadToggleRepoKosmos.kt19 import com.android.systemui.kosmos.Kosmos
20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.activityResultRepository by Fixture { ActivityResultRepository() } in <lambda>() constant
23 val Kosmos.cursorPreviewsRepository by Fixture { CursorPreviewsRepository() } in <lambda>() constant
24 val Kosmos.pendingSelectionCallbackRepository by Fixture { PendingSelectionCallbackRepository() } in <lambda>() constant
25 val Kosmos.previewSelectionsRepository by Fixture { PreviewSelectionsRepository() } in <lambda>() constant
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/logging/
DEventLogKosmos.kt20 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.eventLog by Kosmos.Fixture { fakeEventLog } in <lambda>() variable
23 var Kosmos.fakeEventLog by Kosmos.Fixture { FakeEventLog(InstanceId.fakeInstanceId(0)) } in <lambda>() variable
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/
DSelectionChangeCallbackKosmos.kt23 import com.android.systemui.kosmos.Kosmos
25 val Kosmos.selectionChangeCallbackImpl by constant
26 Kosmos.Fixture { in <lambda>()
34 var Kosmos.selectionChangeCallback: SelectionChangeCallback by variable
35 Kosmos.Fixture { selectionChangeCallbackImpl } in <lambda>()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/
DTestKosmos.kt20 import com.android.systemui.kosmos.Kosmos
27 fun Kosmos.runTest( in runTest() method
40 Kosmos().runTest(dispatcher, block) in runKosmosTest()
44 kosmos: Kosmos,
46 ) : Kosmos by kosmos { in <lambda>()
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/
DUriMetadataReaderKosmos.kt20 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.uriMetadataReader: UriMetadataReader by Kosmos.Fixture { uriMetadataReaderImpl } in <lambda>() variable
23 val Kosmos.uriMetadataReaderImpl constant
DMimetypeClassifierKosmos.kt19 import com.android.systemui.kosmos.Kosmos
21 var Kosmos.mimetypeClassifier: MimeTypeClassifier by Kosmos.Fixture { DefaultMimeTypeClassifier } in <lambda>() variable
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DCursorResolverKosmos.kt23 import com.android.systemui.kosmos.Kosmos
25 var Kosmos.payloadToggleCursorResolver: CursorResolver<CursorRow?> by variable
26 Kosmos.Fixture { payloadToggleCursorResolverImpl } in <lambda>()
27 val Kosmos.payloadToggleCursorResolverImpl constant
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/intent/
DPendingIntentSenderKosmos.kt19 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.pendingIntentSender by Kosmos.Fixture { mock<PendingIntentSender> {} } in <lambda>() variable
DTargetIntentModifierKosmos.kt20 import com.android.systemui.kosmos.Kosmos
22 var Kosmos.targetIntentModifier: TargetIntentModifier<PreviewModel> by Kosmos.Fixture() variable
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/data/repository/
DV2RepositoryKosmos.kt21 import com.android.systemui.kosmos.Kosmos
22 import com.android.systemui.kosmos.Kosmos.Fixture
24 var Kosmos.chooserRequestRepository by Fixture { in <lambda>() variable
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/viewmodel/
DShareouselViewModelTest.kt55 import com.android.systemui.kosmos.Kosmos in <lambda>()
56 import com.android.systemui.kosmos.Kosmos.Fixture in <lambda>()
66 private var Kosmos.viewModelScope: CoroutineScope by Fixture() in <lambda>() variable
67 private val Kosmos.shareouselViewModel: ShareouselViewModel by Fixture { in <lambda>() constant
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DFetchPreviewsInteractorTest.kt41 import com.android.systemui.kosmos.Kosmos
42 import com.android.systemui.kosmos.Kosmos.Fixture
63 with(Kosmos()) { in runTest()
86 private var Kosmos.fakeCursorResolver: FakeCursorResolver by Fixture() variable
DCursorPreviewsInteractorTest.kt41 import com.android.systemui.kosmos.Kosmos in <lambda>()
61 with(Kosmos()) { in <lambda>()