Home
last modified time | relevance | path

Searched refs:blueprintId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardBlueprintInteractorTest.kt86 val blueprintId by collectLastValue(underTest.blueprintId) in testAppliesDefaultBlueprint() constant
92 assertThat(blueprintId).isEqualTo(DefaultKeyguardBlueprint.Companion.DEFAULT) in testAppliesDefaultBlueprint()
100 val blueprintId by collectLastValue(underTest.blueprintId) in testAppliesSplitShadeBlueprint() constant
106 assertThat(blueprintId).isEqualTo(SplitShadeKeyguardBlueprint.Companion.ID) in testAppliesSplitShadeBlueprint()
114 val blueprintId by collectLastValue(underTest.blueprintId) in testDoesNotApplySplitShadeBlueprint() constant
121 assertThat(blueprintId).isEqualTo(DefaultKeyguardBlueprint.DEFAULT) in testDoesNotApplySplitShadeBlueprint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardBlueprintInteractor.kt72 val blueprintId = in <lambda>() constant
82 applicationScope.launch { blueprintId.collect { transitionToBlueprint(it) } } in <lambda>()
106 fun transitionOrRefreshBlueprint(blueprintId: String): Boolean { in <lambda>()
107 if (blueprintId == blueprint.value.id) { in <lambda>()
112 return keyguardBlueprintRepository.applyBlueprint(blueprintId) in <lambda>()
121 fun transitionToBlueprint(blueprintId: String): Boolean { in <lambda>()
122 return keyguardBlueprintRepository.applyBlueprint(blueprintId) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/
DLockscreenContent.kt52 val blueprintId by viewModel.blueprintId(coroutineScope).collectAsStateWithLifecycle() in Content() constant
60 val blueprint = blueprintByBlueprintId[blueprintId] ?: return in Content()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardBlueprintRepository.kt69 fun applyBlueprint(blueprintId: String?): Boolean { in <lambda>()
70 val blueprint = blueprintIdMap[blueprintId] in <lambda>()
74 "Could not find blueprint with id: $blueprintId. " + in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBlueprintViewModel.kt44 val blueprintId = keyguardBlueprintInteractor.blueprintId constant
DLockscreenContentViewModel.kt105 fun blueprintId(scope: CoroutineScope): StateFlow<String> { in <lambda>() method