Home
last modified time | relevance | path

Searched refs:isPrivateSlicesNeeded (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSettingsSliceProviderTest.java524 doReturn(true).when(mProvider).isPrivateSlicesNeeded(specialUri); in getDescendantUris_privateSlicesNeeded_containsPrivateSliceUri()
545 doReturn(false).when(mProvider).isPrivateSlicesNeeded(specialUri); in getDescendantUris_privateSlicesNotNeeded_notContainPrivateSliceUri()
654 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_incorrectUri_returnFalse()
661 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_noUri_returnFalse()
673 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isTrue(); in isPrivateSlicesNeeded_correctUriWithPermissionAndIsSI_returnTrue()
685 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_correctUriWithPermissionNotSI_returnFalse()
696 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_correctUriNoPermission_returnFalse()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java287 if (isPrivateSlicesNeeded(finalUri)) { in onGetSliceDescendants()
439 boolean isPrivateSlicesNeeded(Uri uri) { in isPrivateSlicesNeeded() method in SettingsSliceProvider