Home
last modified time | relevance | path

Searched refs:genEntryId (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepositoryTest.kt22 import com.android.settingslib.spa.framework.util.genEntryId
60 genEntryId( in testGetEntry()
70 genEntryId( in testGetEntry()
80 genEntryId( in testGetEntry()
90 genEntryId( in testGetEntry()
100 genEntryId("Layer1Entry1", SppLayer1.createSettingsPage()) in testGetEntry()
105 genEntryId("Layer1Entry2", SppLayer1.createSettingsPage()) in testGetEntry()
110 genEntryId("Layer2Entry1", SppLayer2.createSettingsPage()) in testGetEntry()
115 genEntryId("Layer2Entry2", SppLayer2.createSettingsPage()) in testGetEntry()
125 genEntryId("Layer2Entry1", SppLayer2.createSettingsPage()) in testGetEntryPath()
[all …]
DSettingsEntryTest.kt26 import com.android.settingslib.spa.framework.util.genEntryId in <lambda>()
70 assertThat(entry.id).isEqualTo(genEntryId("myEntry", owner)) in testBuildBasic()
89 assertThat(entryFrom.id).isEqualTo(genEntryId("myEntry", owner, owner, toPage)) in testBuildWithLink()
96 assertThat(entryTo.id).isEqualTo(genEntryId("myEntry", owner, fromPage, owner)) in testBuildWithLink()
107 genEntryId( in testBuildInject()
121 genEntryId( in testBuildRoot()
142 assertThat(entry.id).isEqualTo(genEntryId("myEntry", owner)) in testSetAttributes()
161 assertThat(entryDisabled.id).isEqualTo(genEntryId("myEntry", ownerDisabled)) in testSetAttributes()
177 assertThat(entry3.id).isEqualTo(genEntryId("myEntry", owner)) in testSetAttributes()
195 MacroForTest(genPageId("SppHome"), genEntryId("myEntry", owner)) in testSetMarco()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepositoryTest.kt28 import com.android.settingslib.spa.framework.util.genEntryId
55 val entryId = genEntryId("Layer2Entry1", page) in getOrBuildSliceDataTest()
64 val entryId2 = genEntryId("Layer2Entry2", page) in getOrBuildSliceDataTest()
76 val entryId = genEntryId("Layer2Entry1", page) in getActiveSliceDataTest()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DUniqueIdTest.kt63 Truth.assertThat(genEntryId("myEntry", owner)).isEqualTo("145pppn") in testUniqueEntryId()
64 Truth.assertThat(genEntryId("myEntry", owner, fromPage = fromPage, toPage = toPage)) in testUniqueEntryId()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSettingsEntryBuilder.kt22 import com.android.settingslib.spa.framework.util.genEntryId in <lambda>()
51 id = genEntryId(name, owner, fromPage, toPage), in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DUniqueId.kt32 fun genEntryId( in genEntryId() method