Home
last modified time | relevance | path

Searched refs:commonViewModel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/util/
DMediaDiffUtilTest.kt49 { commonViewModel, _ -> assertThat(commonViewModel).isEqualTo(mediaControl) }, in <lambda>() method
52 { commonViewModel, _, _ -> fail("Unexpected to move $commonViewModel ") }, in <lambda>() method
68 { commonViewModel, _ -> assertThat(commonViewModel).isEqualTo(mediaRecs) }, in <lambda>() method
71 { commonViewModel, _, _ -> fail("Unexpected to move $commonViewModel ") }, in <lambda>() method
87 { commonViewModel, _ -> fail("Unexpected to add $commonViewModel") }, in <lambda>() method
88 { commonViewModel -> assertThat(commonViewModel).isNotEqualTo(mediaControl) }, in <lambda>() method
90 { commonViewModel, _, _ -> fail("Unexpected to move $commonViewModel ") }, in <lambda>() method
106 { commonViewModel, _ -> fail("Unexpected to add $commonViewModel") }, in <lambda>() method
107 { commonViewModel -> assertThat(commonViewModel).isNotEqualTo(mediaRecs) }, in <lambda>() method
109 { commonViewModel, _, _ -> fail("Unexpected to move $commonViewModel ") }, in <lambda>() method
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/
DMobileViewLoggerTest.kt47 @Mock private lateinit var commonViewModel: MobileIconViewModel variable in com.android.systemui.statusbar.pipeline.mobile.ui.MobileViewLoggerTest
57 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStarted_dumpHasInfo()
69 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStarted_multipleViews_dumpHasInfo()
70 val viewModel2 = KeyguardMobileIconViewModel(commonViewModel) in collectionStarted_multipleViews_dumpHasInfo()
84 val viewModel = QsMobileIconViewModel(commonViewModel) in collectionStopped_dumpHasInfo()
85 val viewModel2 = KeyguardMobileIconViewModel(commonViewModel) in collectionStopped_dumpHasInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt157 onAdded = { commonViewModel -> in <lambda>() method
159 commonViewModel as MediaCommonViewModel.MediaRecommendations in <lambda>()
165 onUpdated = { commonViewModel -> in <lambda>() method
167 commonViewModel as MediaCommonViewModel.MediaRecommendations in <lambda>()
175 commonViewModel: MediaCommonViewModel, in <lambda>()
183 commonViewModel.onRemoved(true) in <lambda>()
193 commonViewModel: MediaCommonViewModel.MediaRecommendations in <lambda>()
197 commonViewModel.onRemoved(true) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt725 private fun onAdded(commonViewModel: MediaCommonViewModel, position: Int) { in <lambda>()
733 when (commonViewModel) { in <lambda>()
744 commonViewModel.controlViewModel, in <lambda>()
760 commonViewModel.recsViewModel, in <lambda>()
768 controllerByViewModel[commonViewModel] = viewController in <lambda>()
772 commonViewModel is MediaCommonViewModel.MediaControl && commonViewModel.isMediaFromRec in <lambda>()
781 commonViewModel.onAdded(commonViewModel) in <lambda>()
784 private fun onUpdated(commonViewModel: MediaCommonViewModel) { in <lambda>()
785 commonViewModel.onUpdated(commonViewModel) in <lambda>()
790 private fun onRemoved(commonViewModel: MediaCommonViewModel) { in <lambda>()
[all …]