Home
last modified time | relevance | path

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

/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java185 Uri resourceUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + in query() local
187 parser = getResourceXmlPullParser(resourceUri); in query()
258 protected XmlPullParser getResourceXmlPullParser(Uri resourceUri) { in getResourceXmlPullParser() argument
261 String authority = resourceUri.getAuthority(); in getResourceXmlPullParser()
264 throw new FileNotFoundException("No authority: " + resourceUri); in getResourceXmlPullParser()
269 … throw new FileNotFoundException("No package found for authority: " + resourceUri); in getResourceXmlPullParser()
272 List<String> path = resourceUri.getPathSegments(); in getResourceXmlPullParser()
274 throw new FileNotFoundException("No path: " + resourceUri); in getResourceXmlPullParser()
282 … throw new FileNotFoundException("Single path segment is not a resource ID: " + resourceUri); in getResourceXmlPullParser()
287 throw new FileNotFoundException("More than two path segments: " + resourceUri); in getResourceXmlPullParser()
[all …]