Home
last modified time | relevance | path

Searched refs:isValidUri (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSpecialCaseSliceManagerTest.java74 final boolean isValidUri = CustomSliceRegistry.isValidUri(FakeSliceable.URI); in isValidUri_validUri_returnsTrue()
76 assertThat(isValidUri).isTrue(); in isValidUri_validUri_returnsTrue()
81 final boolean isValidUri = CustomSliceRegistry.isValidUri(null); in isValidUri_invalidUri_returnsFalse()
83 assertThat(isValidUri).isFalse(); in isValidUri_invalidUri_returnsFalse()
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java353 public static boolean isValidUri(Uri uri) { in isValidUri() method in CustomSliceRegistry
362 return isValidUri(Uri.parse(action)); in isValidAction()
DSliceDeepLinkSpringBoard.java49 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onCreate()
DSettingsSliceProvider.java170 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onSlicePinned()
234 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onBindSlice()