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()
655 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_incorrectUri_returnFalse()
662 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_noUri_returnFalse()
674 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isTrue(); in isPrivateSlicesNeeded_correctUriWithPermissionAndIsSI_returnTrue()
686 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_correctUriWithPermissionNotSI_returnFalse()
697 assertThat(mProvider.isPrivateSlicesNeeded(uri)).isFalse(); in isPrivateSlicesNeeded_correctUriNoPermission_returnFalse()
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java306 if (isPrivateSlicesNeeded(finalUri)) { in onGetSliceDescendants()
464 boolean isPrivateSlicesNeeded(Uri uri) { in isPrivateSlicesNeeded() method in SettingsSliceProvider