Searched refs:isPrivateSlicesNeeded (Results 1 – 2 of 2) sorted by relevance
524 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()
287 if (isPrivateSlicesNeeded(finalUri)) { in onGetSliceDescendants()439 boolean isPrivateSlicesNeeded(Uri uri) { in isPrivateSlicesNeeded() method in SettingsSliceProvider