Searched refs:ContentUriUtils (Results 1 – 3 of 3) sorted by relevance
36 assertThat(ContentUriUtils.safeParseId(Uri.EMPTY)).isEqualTo(-1); in safeParseId_empty()41 assertThat(ContentUriUtils.safeParseId(Uri.parse("foo/bad"))).isEqualTo(-1); in safeParseId_bad()46 assertThat(ContentUriUtils.safeParseId(Uri.parse("foo/123"))).isEqualTo(123); in safeParseId_123()
24 public class ContentUriUtils { class
89 import com.android.tv.common.util.ContentUriUtils;1527 long channelIdFromIntent = ContentUriUtils.safeParseId(mInitChannelUri); in handleIntent()2930 mChannelDataManager.getChannel(ContentUriUtils.safeParseId(channel));