Home
last modified time | relevance | path

Searched refs:isValidUri (Results 1 – 7 of 7) 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/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DSettingsQCRegistryTest.java57 assertThat(SettingsQCRegistry.isValidUri(QCTestUtils.URI)).isTrue(); in isValidUri_validUri_returnsTrue()
62 assertThat(SettingsQCRegistry.isValidUri(Uri.EMPTY)).isFalse(); in isValidUri_invalidUri_returnsFalse()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCProvider.java54 if (SettingsQCRegistry.isValidUri(uri)) { in onBind()
63 if (SettingsQCRegistry.isValidUri(uri)) { in onSubscribed()
DSettingsQCRegistry.java189 public static boolean isValidUri(Uri uri) { in isValidUri() method in SettingsQCRegistry
198 return isValidUri(Uri.parse(action)); in isValidAction()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDeepLinkSpringBoard.java49 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onCreate()
DCustomSliceRegistry.java330 public static boolean isValidUri(Uri uri) { in isValidUri() method in CustomSliceRegistry
339 return isValidUri(Uri.parse(action)); in isValidAction()
DSettingsSliceProvider.java174 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onSlicePinned()
247 if (CustomSliceRegistry.isValidUri(sliceUri)) { in onBindSlice()