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()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()
306 if (isPrivateSlicesNeeded(finalUri)) { in onGetSliceDescendants()464 boolean isPrivateSlicesNeeded(Uri uri) { in isPrivateSlicesNeeded() method in SettingsSliceProvider