Home
last modified time | relevance | path

Searched refs:createSettingsPage (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepositoryTest.kt37 SpaEnvironmentForTest(context, listOf(SppHome.createSettingsPage()))
62 SppHome.createSettingsPage(), in testGetEntry()
63 NullPageProvider.createSettingsPage(), in testGetEntry()
64 SppHome.createSettingsPage(), in testGetEntry()
72 SppLayer1.createSettingsPage(), in testGetEntry()
73 SppHome.createSettingsPage(), in testGetEntry()
74 SppLayer1.createSettingsPage(), in testGetEntry()
82 SppLayer2.createSettingsPage(), in testGetEntry()
83 SppLayer1.createSettingsPage(), in testGetEntry()
84 SppLayer2.createSettingsPage(), in testGetEntry()
[all …]
DSettingsEntryTest.kt31 import com.android.settingslib.spa.tests.testutils.createSettingsPage in <lambda>()
68 val owner = createSettingsPage("mySpp") in testBuildBasic()
84 val owner = createSettingsPage("mySpp") in testBuildWithLink()
85 val fromPage = createSettingsPage("fromSpp") in testBuildWithLink()
86 val toPage = createSettingsPage("toSpp") in testBuildWithLink()
104 val owner = createSettingsPage("mySpp") in testBuildInject()
118 val owner = createSettingsPage("mySpp") in testBuildRoot()
133 val owner = createSettingsPage("SppHome") in testSetAttributes()
152 val ownerDisabled = createSettingsPage("SppDisabled") in testSetAttributes()
190 val owner = createSettingsPage("SppHome", arguments = bundleOf("param" to "v1")) in testSetMarco()
[all …]
DSettingsPageProviderRepositoryTest.kt20 import com.android.settingslib.spa.tests.testutils.createSettingsPage
37 val nullPage = NullPageProvider.createSettingsPage() in rootPages_single()
50 val rootPage1 = createSettingsPage(sppName = "Spp1", displayName = "Spp1") in rootPages_twoPages()
51 val rootPage2 = createSettingsPage(sppName = "Spp2", displayName = "Spp2") in rootPages_twoPages()
DSettingsPageTest.kt27 import com.android.settingslib.spa.tests.testutils.createSettingsPage
39 val page = NullPageProvider.createSettingsPage() in testNullPage()
51 val page = createSettingsPage("mySpp", "SppDisplayName") in testRegularPage()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt41 import com.android.settingslib.spa.framework.common.createSettingsPage in <lambda>()
90 val owner = this.createSettingsPage() in buildEntry()
108 val owner = this.createSettingsPage() in buildEntry()
123 return SettingsEntryBuilder.createInject(this.createSettingsPage()) in buildInject()
133 val owner = this.createSettingsPage() in buildEntry()
146 return SettingsEntryBuilder.createInject(this.createSettingsPage()) in buildInject()
150 val owner = this.createSettingsPage() in buildEntry()
177 fun buildInject() = SettingsEntryBuilder.createInject(this.createSettingsPage()) in buildInject()
185 val owner = this.createSettingsPage() in buildEntry()
252 .getProviderOrNull(sppName)!!.createSettingsPage(arguments) in createPage()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/
DBrowseActivityTest.kt32 import com.android.settingslib.spa.framework.common.createSettingsPage
57 rootPages = listOf(SppHome.createSettingsPage()), in browseContent_onNavigate_logPageEvent()
63 val pageHome = sppHome.createSettingsPage() in browseContent_onNavigate_logPageEvent()
65 val pageLayer1 = sppLayer1.createSettingsPage() in browseContent_onNavigate_logPageEvent()
93 rootPages = listOf(SppDisabled.createSettingsPage()), in browseContent_whenDisabled_noLogPageEvent()
99 val pageDisabled = sppDisabled.createSettingsPage() in browseContent_whenDisabled_noLogPageEvent()
117 rootPages = listOf(SppHome.createSettingsPage()), in browseContent_dialog()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DUniqueIdTest.kt23 import com.android.settingslib.spa.tests.testutils.createSettingsPage
59 val owner = createSettingsPage("mySpp") in testUniqueEntryId()
60 val fromPage = createSettingsPage("fromSpp") in testUniqueEntryId()
61 val toPage = createSettingsPage("toSpp") in testUniqueEntryId()
DSpaIntentTest.kt25 import com.android.settingslib.spa.framework.common.createSettingsPage
44 val nullPage = NullPageProvider.createSettingsPage() in testCreateIntent()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepositoryTest.kt27 import com.android.settingslib.spa.framework.common.createSettingsPage
43 SpaEnvironmentForTest(context, listOf(SppHome.createSettingsPage()))
54 val page = SppLayer2.createSettingsPage() in getOrBuildSliceDataTest()
75 val page = SppLayer2.createSettingsPage() in getActiveSliceDataTest()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/scaffold/
DPagerMainPageProvider.kt22 import com.android.settingslib.spa.framework.common.createSettingsPage
29 private val owner = createSettingsPage()
DSearchScaffoldPageProvider.kt23 import com.android.settingslib.spa.framework.common.createSettingsPage in <lambda>()
35 private val owner = createSettingsPage() in <lambda>()
DNonScrollablePagerPageProvider.kt27 import com.android.settingslib.spa.framework.common.createSettingsPage in <lambda>()
40 fun buildInjectEntry() = SettingsEntryBuilder.createInject(owner = createSettingsPage()) in <lambda>()
DScrollablePagerPageProvider.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage in <lambda>()
40 fun buildInjectEntry() = SettingsEntryBuilder.createInject(owner = createSettingsPage()) in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/itemList/
DItemListPage.kt29 import com.android.settingslib.spa.framework.common.createSettingsPage
55 val owner = createSettingsPage(arguments) in buildEntry()
66 owner = createSettingsPage(arguments), in buildInjectEntry()
DOperateListPage.kt23 import com.android.settingslib.spa.framework.common.createSettingsPage
32 private val owner = createSettingsPage()
DItemOperatePage.kt31 import com.android.settingslib.spa.framework.common.createSettingsPage in <lambda>()
64 val owner = createSettingsPage(arguments) in <lambda>()
103 owner = createSettingsPage(arguments), in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/page/
DArgumentPage.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage
54 val owner = createSettingsPage(arguments) in buildEntry()
89 owner = createSettingsPage(arguments), in buildInjectEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/
DPreferenceMainPageProvider.kt23 import com.android.settingslib.spa.framework.common.createSettingsPage
32 private val owner = createSettingsPage()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/editor/
DEditorMainPageProvider.kt23 import com.android.settingslib.spa.framework.common.createSettingsPage
32 private val owner = createSettingsPage()
DSettingsOutlinedTextFieldPageProvider.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage
58 return SettingsEntryBuilder.createInject(owner = createSettingsPage()) in buildInjectEntry()
DSettingsTextFieldPasswordPageProvider.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage
57 return SettingsEntryBuilder.createInject(owner = createSettingsPage()) in buildInjectEntry()
DSettingsDropdownBoxPageProvider.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage
86 return SettingsEntryBuilder.createInject(owner = createSettingsPage()) in buildInjectEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/ui/
DCopyablePageProvider.kt27 import com.android.settingslib.spa.framework.common.createSettingsPage
40 private val owner = createSettingsPage()
DSpinnerPageProvider.kt28 import com.android.settingslib.spa.framework.common.createSettingsPage
43 return SettingsEntryBuilder.createInject(owner = createSettingsPage()) in buildInjectEntry()
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/dialog/
DDialogMainPageProvider.kt24 import com.android.settingslib.spa.framework.common.createSettingsPage
35 private val owner = createSettingsPage()

12