/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/ |
D | SpaEnvironmentTest.kt | 40 SpaEnvironmentFactory.reset() in testSpaEnvironmentFactory() 41 Truth.assertThat(SpaEnvironmentFactory.isReady()).isFalse() in testSpaEnvironmentFactory() 43 SpaEnvironmentFactory.instance in testSpaEnvironmentFactory() 46 SpaEnvironmentFactory.reset(spaEnvironment) in testSpaEnvironmentFactory() 47 Truth.assertThat(SpaEnvironmentFactory.isReady()).isTrue() in testSpaEnvironmentFactory() 48 Truth.assertThat(SpaEnvironmentFactory.instance).isEqualTo(spaEnvironment) in testSpaEnvironmentFactory() 53 SpaEnvironmentFactory.reset() in testSpaEnvironmentFactoryForPreview() 55 Truth.assertThat(SpaEnvironmentFactory.isReady()).isFalse() in testSpaEnvironmentFactoryForPreview() 56 SpaEnvironmentFactory.resetForPreview() in testSpaEnvironmentFactoryForPreview() 57 Truth.assertThat(SpaEnvironmentFactory.isReady()).isTrue() in testSpaEnvironmentFactoryForPreview()
|
D | SettingsEntryTest.kt | 132 SpaEnvironmentFactory.reset(spaEnvironment) in testSetAttributes() 175 SpaEnvironmentFactory.reset() in testSetAttributes() 189 SpaEnvironmentFactory.reset(spaEnvironment) in testSetMarco() 214 SpaEnvironmentFactory.reset(spaEnvironment) in testSetSliceDataFn()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/ |
D | SliceUtil.kt | 28 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 97 val context = SpaEnvironmentFactory.instance.appContext in createBroadcastPendingIntent() 99 SpaEnvironmentFactory.instance.sliceBroadcastReceiverClass ?: return null in createBroadcastPendingIntent() 105 val context = SpaEnvironmentFactory.instance.appContext in createBrowsePendingIntent() 106 val browseActivityClass = SpaEnvironmentFactory.instance.browseActivityClass ?: return null in createBrowsePendingIntent() 113 val context = SpaEnvironmentFactory.instance.appContext in createBrowsePendingIntent() 114 val browseActivityClass = SpaEnvironmentFactory.instance.browseActivityClass ?: return null in createBrowsePendingIntent()
|
D | SpaSliceProvider.kt | 25 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 34 if (!SpaEnvironmentFactory.isReady()) return null in getOrPutSliceData() 35 val sliceRepository by SpaEnvironmentFactory.instance.sliceDataRepository in getOrPutSliceData()
|
D | SpaSliceBroadcastReceiver.kt | 22 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 26 val sliceRepository by SpaEnvironmentFactory.instance.sliceDataRepository in onReceive()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/ |
D | GalleryApplication.kt | 20 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 25 SpaEnvironmentFactory.reset(GallerySpaEnvironment(this)) in onCreate()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
D | SpaIntent.kt | 23 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 42 val context = SpaEnvironmentFactory.instance.appContext in createBaseIntent() 43 val browseActivityClass = SpaEnvironmentFactory.instance.browseActivityClass ?: return null in createBaseIntent()
|
D | EntryLogger.kt | 26 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory in <lambda>() 33 SpaEnvironmentFactory.instance.logger.event( in <lambda>()
|
D | PageLogger.kt | 27 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 42 SpaEnvironmentFactory.instance.logger.event( in SettingsPage()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/ |
D | SpaBaseDialogActivity.kt | 24 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 28 private val spaEnvironment get() = SpaEnvironmentFactory.instance
|
D | SpaDialogWindowTypeActivity.kt | 26 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 35 private val spaEnvironment get() = SpaEnvironmentFactory.instance
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/ |
D | BrowseActivityTest.kt | 31 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 60 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_onNavigate_logPageEvent() 96 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_whenDisabled_noLogPageEvent() 120 SpaEnvironmentFactory.reset(spaEnvironment) in browseContent_dialog()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/ |
D | SliceUtilTest.kt | 25 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 62 SpaEnvironmentFactory.reset(spaEnvironment) in createBroadcastPendingIntentTest() 79 SpaEnvironmentFactory.reset(spaEnvironment) in createBrowsePendingIntentTest()
|
D | SettingsSliceDataRepositoryTest.kt | 26 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 48 SpaEnvironmentFactory.reset(spaEnvironment) in getOrBuildSliceDataTest() 73 SpaEnvironmentFactory.reset(spaEnvironment) in getActiveSliceDataTest()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/provider/ |
D | Demo.kt | 28 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 43 val context = SpaEnvironmentFactory.instance.appContext in createDemoSlice()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/ |
D | SettingsPageProvider.kt | 99 if (!SpaEnvironmentFactory.isReady()) return null in getPageProvider() 100 val pageProviderRepository by SpaEnvironmentFactory.instance.pageProviderRepository in getPageProvider()
|
D | SpaEnvironment.kt | 29 object SpaEnvironmentFactory { object
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/ |
D | DebugProvider.kt | 30 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 52 private val spaEnvironment get() = SpaEnvironmentFactory.instance 193 val context = SpaEnvironmentFactory.instance.appContext in createBrowseAdbCommand() 194 val browseActivityClass = SpaEnvironmentFactory.instance.browseActivityClass ?: return null in createBrowseAdbCommand()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/ |
D | SpaIntentTest.kt | 24 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 39 SpaEnvironmentFactory.reset(spaEnvironment) in setEnvironment()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/ |
D | PreferencePageModel.kt | 29 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 60 private val spaLogger = SpaEnvironmentFactory.instance.logger
|
D | PreferencePageProvider.kt | 35 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory in <lambda>() 79 private val spaLogger = SpaEnvironmentFactory.instance.logger in <lambda>() 301 SpaEnvironmentFactory.resetForPreview() in PreferencePagePreview()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/home/ |
D | HomePageProvider.kt | 25 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 82 return SpaEnvironmentFactory.instance.appContext.getString(R.string.app_name) in getTitle() 104 SpaEnvironmentFactory.resetForPreview() in HomeScreenPreview()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/ |
D | ArgumentPageModel.kt | 26 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 100 SpaEnvironmentFactory.instance.logger.message( in initialize()
|
D | ArgumentPage.kt | 27 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 123 SpaEnvironmentFactory.resetForPreview() in ArgumentPagePreview()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/search/ |
D | SpaSearchProviderTest.kt | 27 import com.android.settingslib.spa.framework.common.SpaEnvironmentFactory 55 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchStatusData() 109 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchIndexData() 202 SpaEnvironmentFactory.reset(spaEnvironment) in testQuerySearchIndexRow()
|