Home
last modified time | relevance | path

Searched refs:getSliceId (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSettingsSliceDataRepository.kt35 val sliceString = sliceUri.getSliceId() ?: return null in getOrBuildSliceData()
43 val sliceString = sliceUri.getSliceId() ?: return null in getActiveSliceData()
DSliceUtil.kt61 fun SliceUri.getSliceId(): String? { in SliceUri() method
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSliceUtilTest.kt41 assertThat(Uri.EMPTY.getSliceId()).isNull() in sliceUriTest()
50 assertThat(sliceUriWithoutParams.getSliceId()).isEqualTo("${entryId}_Bundle[{}]") in sliceUriTest()
57 assertThat(sliceUriWithParams.getSliceId()).isEqualTo("${entryId}_Bundle[{p1=v1}]") in sliceUriTest()
DSettingsSliceDataRepositoryTest.kt58 assertThat(sliceUri.getSliceId()).isEqualTo("${entryId}_Bundle[{}]") in getOrBuildSliceDataTest()
67 assertThat(sliceUri2.getSliceId()).isEqualTo("${entryId2}_Bundle[{}]") in getOrBuildSliceDataTest()