Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepositoryTest.kt44 private val sliceDataRepository by spaEnvironment.sliceDataRepository constant in com.android.settingslib.spa.slice.SettingsSliceDataRepositoryTest
51 assertThat(sliceDataRepository.getOrBuildSliceData(Uri.EMPTY)).isNull() in getOrBuildSliceDataTest()
59 val sliceData = sliceDataRepository.getOrBuildSliceData(sliceUri) in getOrBuildSliceDataTest()
61 assertThat(sliceDataRepository.getOrBuildSliceData(sliceUri)).isSameInstanceAs(sliceData) in getOrBuildSliceDataTest()
68 assertThat(sliceDataRepository.getOrBuildSliceData(sliceUri2)).isNull() in getOrBuildSliceDataTest()
80 val sliceData = sliceDataRepository.getOrBuildSliceData(sliceUri) in getActiveSliceDataTest()
84 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isNull() in getActiveSliceDataTest()
90 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isSameInstanceAs(sliceData) in getActiveSliceDataTest()
95 assertThat(sliceDataRepository.getActiveSliceData(sliceUri)).isNull() in getActiveSliceDataTest()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSpaSliceBroadcastReceiver.kt26 val sliceRepository by SpaEnvironmentFactory.instance.sliceDataRepository in onReceive()
DSpaSliceProvider.kt35 val sliceRepository by SpaEnvironmentFactory.instance.sliceDataRepository in getOrPutSliceData()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSpaEnvironment.kt72 val sliceDataRepository = lazy { SettingsSliceDataRepository(entryRepository.value) } in <lambda>() constant