Home
last modified time | relevance | path

Searched refs:safeParseId (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/
DContentUriUtilsTest.java36 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()
/packages/apps/TV/common/src/com/android/tv/common/util/
DContentUriUtils.java37 public static long safeParseId(Uri uri) { in safeParseId() method in ContentUriUtils
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1527 long channelIdFromIntent = ContentUriUtils.safeParseId(mInitChannelUri); in handleIntent()
2930 mChannelDataManager.getChannel(ContentUriUtils.safeParseId(channel));