Home
last modified time | relevance | path

Searched refs:spaEnvironment (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSpaEnvironment.kt30 private var spaEnvironment: SpaEnvironment? = null variable
33 spaEnvironment = null in reset()
37 spaEnvironment = env in reset()
44 spaEnvironment = object : SpaEnvironment(context) { in resetForPreview()
56 return spaEnvironment != null in isReady()
61 if (spaEnvironment == null)
63 return spaEnvironment!!
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt55 private val spaEnvironment get() = SpaEnvironmentFactory.instance constant in com.android.settingslib.spa.search.SpaSearchProvider
134 val entryRepository by spaEnvironment.entryRepository in querySearchImmutableStatusData()
145 val entryRepository by spaEnvironment.entryRepository in querySearchMutableStatusData()
156 val entryRepository by spaEnvironment.entryRepository in querySearchStaticData()
167 val entryRepository by spaEnvironment.entryRepository in querySearchDynamicData()
178 val entryRepository by spaEnvironment.entryRepository in querySearchStaticRow()
190 val entryRepository by spaEnvironment.entryRepository in querySearchDynamicRow()
202 val entryRepository by spaEnvironment.entryRepository in fetchSearchData()
216 row.add(ColumnEnum.INTENT_TARGET_PACKAGE.id, spaEnvironment.appContext.packageName) in fetchSearchData()
217 .add(ColumnEnum.INTENT_TARGET_CLASS.id, spaEnvironment.browseActivityClass?.name) in fetchSearchData()
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugActivity.kt68 private val spaEnvironment get() = SpaEnvironmentFactory.instance in <lambda>() constant in com.android.settingslib.spa.debug.DebugActivity
73 spaEnvironment.logger.message(TAG, "onCreate", category = LogCategory.FRAMEWORK) in <lambda>()
109 val entryRepository by spaEnvironment.entryRepository in <lambda>()
132 val entryRepository by spaEnvironment.entryRepository in <lambda>()
148 val entryRepository by spaEnvironment.entryRepository in <lambda>()
157 val entryRepository by spaEnvironment.entryRepository in <lambda>()
158 val authority = spaEnvironment.sliceProviderAuthorities in <lambda>()
170 val entryRepository by spaEnvironment.entryRepository in <lambda>()
182 spaEnvironment.browseActivityClass != null && page.isBrowsable() in <lambda>()
192 val entryRepository by spaEnvironment.entryRepository in <lambda>()
[all …]
DDebugProvider.kt52 private val spaEnvironment get() = SpaEnvironmentFactory.instance constant
118 val entryRepository by spaEnvironment.entryRepository in queryPageDebug()
135 val entryRepository by spaEnvironment.entryRepository in queryEntryDebug()
153 val entryRepository by spaEnvironment.entryRepository in queryPageInfo()
170 val entryRepository by spaEnvironment.entryRepository in queryEntryInfo()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/
DBrowseActivityTest.kt55 val spaEnvironment = SpaEnvironmentForTest( in browseContent_onNavigate_logPageEvent() constant
60 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_onNavigate_logPageEvent()
61 val sppRepository by spaEnvironment.pageProviderRepository in browseContent_onNavigate_logPageEvent()
91 val spaEnvironment = SpaEnvironmentForTest( in browseContent_whenDisabled_noLogPageEvent() constant
96 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_whenDisabled_noLogPageEvent()
97 val sppRepository by spaEnvironment.pageProviderRepository in browseContent_whenDisabled_noLogPageEvent()
115 val spaEnvironment = SpaEnvironmentForTest( in browseContent_dialog() constant
120 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_dialog()
121 val sppRepository by spaEnvironment.pageProviderRepository in browseContent_dialog()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSpaEnvironmentTest.kt33 private val spaEnvironment = SpaEnvironmentForTest(context) constant
46 SpaEnvironmentFactory.reset(spaEnvironment) in testSpaEnvironmentFactory()
48 Truth.assertThat(SpaEnvironmentFactory.instance).isEqualTo(spaEnvironment) in testSpaEnvironmentFactory()
DSettingsPageTest.kt35 private val spaEnvironment = SpaEnvironmentForTest(context) constant
67 val page = spaEnvironment.createPage("SppWithParam", arguments) in testParamPage()
90 val page = spaEnvironment.createPage("SppWithRtParam", arguments) in testRtParamPage()
DSettingsEntryRepositoryTest.kt36 private val spaEnvironment = constant in com.android.settingslib.spa.framework.common.SettingsEntryRepositoryTest
38 private val entryRepository by spaEnvironment.entryRepository
122 SpaEnvironmentFactory.reset(spaEnvironment) in testGetEntryPath()
DSettingsEntryTest.kt61 private val spaEnvironment = SpaEnvironmentForTest(context) constant in com.android.settingslib.spa.framework.common.SettingsEntryTest
132 SpaEnvironmentFactory.reset(spaEnvironment) in testSetAttributes()
189 SpaEnvironmentFactory.reset(spaEnvironment) in testSetMarco()
214 SpaEnvironmentFactory.reset(spaEnvironment) in testSetSliceDataFn()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepositoryTest.kt42 private val spaEnvironment = constant in com.android.settingslib.spa.slice.SettingsSliceDataRepositoryTest
44 private val sliceDataRepository by spaEnvironment.sliceDataRepository
48 SpaEnvironmentFactory.reset(spaEnvironment) in getOrBuildSliceDataTest()
73 SpaEnvironmentFactory.reset(spaEnvironment) in getActiveSliceDataTest()
DSliceUtilTest.kt34 private val spaEnvironment = SpaEnvironmentForTest(context) constant
62 SpaEnvironmentFactory.reset(spaEnvironment) in createBroadcastPendingIntentTest()
79 SpaEnvironmentFactory.reset(spaEnvironment) in createBrowsePendingIntentTest()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DSpaIntentTest.kt35 private val spaEnvironment = SpaEnvironmentForTest(context) constant
39 SpaEnvironmentFactory.reset(spaEnvironment) in setEnvironment()
49 val page = spaEnvironment.createPage("SppHome") in testCreateIntent()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/
DSpaBaseDialogActivity.kt28 private val spaEnvironment get() = SpaEnvironmentFactory.instance constant
32 spaEnvironment.logger.message(TAG, "onCreate", category = LogCategory.FRAMEWORK) in onCreate()
DSpaDialogWindowTypeActivity.kt35 private val spaEnvironment get() = SpaEnvironmentFactory.instance constant
40 spaEnvironment.logger.message(TAG, "onCreate", category = LogCategory.FRAMEWORK) in onCreate()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/search/
DSpaSearchProviderTest.kt38 private val spaEnvironment = constant
41 private val pageOwner = spaEnvironment.createPage("SppForSearch")
55 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchStatusData()
109 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchIndexData()
138 spaEnvironment.appContext.packageName in testQuerySearchIndexData()
202 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchIndexRow()
231 spaEnvironment.appContext.packageName in testQuerySearchIndexRow()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/
DBrowseActivity.kt80 private val spaEnvironment get() = SpaEnvironmentFactory.instance in <lambda>() constant
86 spaEnvironment.logger.message(TAG, "onCreate", category = LogCategory.FRAMEWORK) in <lambda>()
90 val sppRepository by spaEnvironment.pageProviderRepository in <lambda>()