Searched refs:sppName (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/ |
D | SettingsPage.kt | 34 val sppName: String, constant in com.android.settingslib.spa.framework.common.SettingsPage 59 sppName = name, in create() 70 return sppName == SppName in isCreateBy() 74 return sppName + parameter.navLink(arguments) in buildRoute() 78 if (sppName == NullPageProvider.name) return false in isBrowsable() 86 SpaEnvironment.IS_DEBUG || getPageProvider(sppName)?.isEnabled(arguments) ?: false in isEnabled() 89 return getPageProvider(sppName)?.getTitle(arguments) ?: "" in isEnabled() 94 getPageProvider(sppName)?.Page(arguments) in UiLayout()
|
D | SettingsPageProvider.kt | 85 sppName = name, in createSettingsPage() 98 fun getPageProvider(sppName: String): SettingsPageProvider? { in getPageProvider() 101 return pageProviderRepository.getProviderOrNull(sppName) in getPageProvider()
|
D | SettingsEntryRepository.kt | 63 val spp = sppRepository.getProviderOrNull(page.sppName) ?: continue
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/ |
D | SettingsPageHelper.kt | 25 sppName: String, in createSettingsPage() 31 id = genPageId(sppName, parameter, arguments), in createSettingsPage() 32 sppName = sppName, in createSettingsPage() 33 displayName = displayName ?: sppName, in createSettingsPage()
|
D | SpaEnvironmentForTest.kt | 250 fun createPage(sppName: String, arguments: Bundle? = null): SettingsPage { in createPage() 252 .getProviderOrNull(sppName)!!.createSettingsPage(arguments) in createPage()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/ |
D | SettingsPageTest.kt | 41 assertThat(page.sppName).isEqualTo("NULL") in testNullPage() 53 assertThat(page.sppName).isEqualTo("mySpp") in testRegularPage() 76 assertThat(page.sppName).isEqualTo("SppWithParam") in testParamPage() 100 assertThat(page.sppName).isEqualTo("SppWithRtParam") in testRtParamPage()
|
D | SettingsPageProviderRepositoryTest.kt | 50 val rootPage1 = createSettingsPage(sppName = "Spp1", displayName = "Spp1") in rootPages_twoPages() 51 val rootPage2 = createSettingsPage(sppName = "Spp2", displayName = "Spp2") in rootPages_twoPages()
|
D | SettingsEntryTest.kt | 72 assertThat(entry.owner.sppName).isEqualTo("mySpp") in testBuildBasic() 91 assertThat(entryFrom.fromPage!!.sppName).isEqualTo("mySpp") in testBuildWithLink() 92 assertThat(entryFrom.toPage!!.sppName).isEqualTo("toSpp") in testBuildWithLink() 98 assertThat(entryTo.fromPage!!.sppName).isEqualTo("fromSpp") in testBuildWithLink() 99 assertThat(entryTo.toPage!!.sppName).isEqualTo("mySpp") in testBuildWithLink()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/ |
D | UniqueId.kt | 24 sppName: String, in genPageId() 29 return "$sppName:${normArguments?.toString()}".toHashId() in genPageId()
|