Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepositoryTest.kt38 private val entryRepository by spaEnvironment.entryRepository constant
42 val pageWithEntry = entryRepository.getAllPageWithEntry() in testGetPageWithEntry()
45 assertThat(entryRepository.getPageWithEntry(genPageId("SppHome"))?.entries) in testGetPageWithEntry()
47 assertThat(entryRepository.getPageWithEntry(genPageId("SppLayer1"))?.entries) in testGetPageWithEntry()
49 assertThat(entryRepository.getPageWithEntry(genPageId("SppLayer2"))?.entries) in testGetPageWithEntry()
51 assertThat(entryRepository.getPageWithEntry(genPageId("SppWithParam"))).isNull() in testGetPageWithEntry()
56 val entry = entryRepository.getAllEntries() in testGetEntry()
59 entryRepository.getEntry( in testGetEntry()
69 entryRepository.getEntry( in testGetEntry()
79 entryRepository.getEntry( in testGetEntry()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt134 val entryRepository by spaEnvironment.entryRepository in querySearchImmutableStatusData() constant
136 for (entry in entryRepository.getAllEntries()) { in querySearchImmutableStatusData()
145 val entryRepository by spaEnvironment.entryRepository in querySearchMutableStatusData() constant
147 for (entry in entryRepository.getAllEntries()) { in querySearchMutableStatusData()
156 val entryRepository by spaEnvironment.entryRepository in querySearchStaticData() constant
158 for (entry in entryRepository.getAllEntries()) { in querySearchStaticData()
167 val entryRepository by spaEnvironment.entryRepository in querySearchDynamicData() constant
169 for (entry in entryRepository.getAllEntries()) { in querySearchDynamicData()
178 val entryRepository by spaEnvironment.entryRepository in querySearchStaticRow() constant
180 for (entry in entryRepository.getAllEntries()) { in querySearchStaticRow()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugActivity.kt109 val entryRepository by spaEnvironment.entryRepository in <lambda>() constant
110 val allPageWithEntry = remember { entryRepository.getAllPageWithEntry() } in <lambda>()
111 val allEntry = remember { entryRepository.getAllEntries() } in <lambda>()
113 remember { entryRepository.getAllEntries().filter { it.hasSliceSupport } } in <lambda>()
132 val entryRepository by spaEnvironment.entryRepository in <lambda>() constant
133 val allPageWithEntry = remember { entryRepository.getAllPageWithEntry() } in <lambda>()
148 val entryRepository by spaEnvironment.entryRepository in <lambda>() constant
149 val allEntry = remember { entryRepository.getAllEntries() } in <lambda>()
157 val entryRepository by spaEnvironment.entryRepository in <lambda>() constant
160 remember { entryRepository.getAllEntries().filter { it.hasSliceSupport } } in <lambda>()
[all …]
DDebugProvider.kt118 val entryRepository by spaEnvironment.entryRepository in queryPageDebug() constant
120 for (pageWithEntry in entryRepository.getAllPageWithEntry()) { in queryPageDebug()
135 val entryRepository by spaEnvironment.entryRepository in queryEntryDebug() constant
137 for (entry in entryRepository.getAllEntries()) { in queryEntryDebug()
153 val entryRepository by spaEnvironment.entryRepository in queryPageInfo() constant
155 for (pageWithEntry in entryRepository.getAllPageWithEntry()) { in queryPageInfo()
170 val entryRepository by spaEnvironment.entryRepository in queryEntryInfo() constant
172 for (entry in entryRepository.getAllEntries()) { in queryEntryInfo()
181 entryRepository.getEntryPathWithLabel(entry.id) in queryEntryInfo()
DDebugFormat.kt56 fun SettingsEntry.debugContent(entryRepository: SettingsEntryRepository): String { in SettingsEntry()
59 val entryPathWithLabel = entryRepository.getEntryPathWithLabel(id) in SettingsEntry()
60 val entryPathWithTitle = entryRepository.getEntryPathWithTitle(id, in SettingsEntry()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepository.kt27 class SettingsSliceDataRepository(private val entryRepository: SettingsEntryRepository) { constant in com.android.settingslib.spa.slice.SettingsSliceDataRepository
52 val entry = entryRepository.getEntry(entryId) ?: return null in buildLiveDataImpl()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSpaEnvironment.kt70 val entryRepository = lazy { SettingsEntryRepository(pageProviderRepository.value) } in <lambda>() constant
72 val sliceDataRepository = lazy { SettingsSliceDataRepository(entryRepository.value) } in <lambda>()