/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/ |
D | SpaEnvironment.kt | 30 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/ |
D | SpaSearchProvider.kt | 55 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/ |
D | DebugActivity.kt | 68 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 …]
|
D | DebugProvider.kt | 52 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/ |
D | BrowseActivityTest.kt | 55 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/ |
D | SpaEnvironmentTest.kt | 33 private val spaEnvironment = SpaEnvironmentForTest(context) constant 46 SpaEnvironmentFactory.reset(spaEnvironment) in testSpaEnvironmentFactory() 48 Truth.assertThat(SpaEnvironmentFactory.instance).isEqualTo(spaEnvironment) in testSpaEnvironmentFactory()
|
D | SettingsPageTest.kt | 35 private val spaEnvironment = SpaEnvironmentForTest(context) constant 67 val page = spaEnvironment.createPage("SppWithParam", arguments) in testParamPage() 90 val page = spaEnvironment.createPage("SppWithRtParam", arguments) in testRtParamPage()
|
D | SettingsEntryRepositoryTest.kt | 36 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()
|
D | SettingsEntryTest.kt | 61 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/ |
D | SettingsSliceDataRepositoryTest.kt | 42 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()
|
D | SliceUtilTest.kt | 34 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/ |
D | SpaIntentTest.kt | 35 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/ |
D | SpaBaseDialogActivity.kt | 28 private val spaEnvironment get() = SpaEnvironmentFactory.instance constant 32 spaEnvironment.logger.message(TAG, "onCreate", category = LogCategory.FRAMEWORK) in onCreate()
|
D | SpaDialogWindowTypeActivity.kt | 35 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/ |
D | SpaSearchProviderTest.kt | 38 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/ |
D | BrowseActivity.kt | 80 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>()
|