Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java222 final int length = uri.getPathSegments().size(); in delete()
227 final String base = uri.getPathSegments().get(0); in delete()
247 int length = uri.getPathSegments().size(); in getType()
249 String base = uri.getPathSegments().get(0); in getType()
269 int length = uri.getPathSegments().size(); in insert()
275 String base = uri.getPathSegments().get(0); in insert()
341 int length = uri.getPathSegments().size(); in query()
346 String base = uri.getPathSegments().get(0); in query()
360 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); in query()
DUriMatcher.java204 final List<String> pathSegments = uri.getPathSegments();
DContentService.java591 return uri.getPathSegments().get(index - 1); in getUriSegment()
602 return uri.getPathSegments().size() + 1; in countUriSegments()
DContentResolver.java658 List<String> path = uri.getPathSegments(); in getResourceId()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java217 assertEquals("a a", uri.getPathSegments().get(0)); in testPathSegmentDecoding()
218 assertEquals("b b", uri.getPathSegments().get(1)); in testPathSegmentDecoding()
229 assertEquals(2, appended.getPathSegments().size()); in testSms()
230 assertEquals("conversations", appended.getPathSegments().get(0)); in testSms()
231 assertEquals("addr=555-1212", appended.getPathSegments().get(1)); in testSms()
307 assertEquals(0, uri.getPathSegments().size()); in testEmptyPath()
314 assertEquals(2, uri.getPathSegments().size()); in testPathOperations()
320 assertEquals(3, uri.getPathSegments().size()); in testPathOperations()
326 assertEquals(4, uri.getPathSegments().size()); in testPathOperations()
332 assertEquals(2, first.getPathSegments().size()); in testPathOperations()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java94 if (url.getPathSegments().size() == 1) { in SqlArguments()
95 this.table = url.getPathSegments().get(0); in SqlArguments()
101 } else if (url.getPathSegments().size() != 2) { in SqlArguments()
106 this.table = url.getPathSegments().get(0); in SqlArguments()
112 this.args = new String[] { url.getPathSegments().get(1) }; in SqlArguments()
122 if (url.getPathSegments().size() == 1) { in SqlArguments()
123 this.table = url.getPathSegments().get(0); in SqlArguments()
143 if (tableUri.getPathSegments().size() != 1) { in getUriFor()
146 String table = tableUri.getPathSegments().get(0); in getUriFor()
168 String property = null, table = uri.getPathSegments().get(0); in sendNotify()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java97 qb.appendWhere(url.getPathSegments().get(1)); in query()
137 String segment = url.getPathSegments().get(1); in update()
/frameworks/base/core/java/android/provider/
DApplications.java94 List<String> pathSegments = appUri.getPathSegments(); in uriToComponentName()
/frameworks/base/core/java/android/net/
DUri.java307 public abstract List<String> getPathSegments(); in getPathSegments() method in Uri
598 public List<String> getPathSegments() { in getPathSegments() method in Uri.StringUri
599 return getPathPart().getPathSegments(); in getPathSegments()
907 public List<String> getPathSegments() { in getPathSegments() method in Uri.OpaqueUri
1032 List<String> segments = getPathSegments(); in getLastPathSegment()
1255 public List<String> getPathSegments() { in getPathSegments() method in Uri.HierarchicalUri
1256 return this.path.getPathSegments(); in getPathSegments()
2187 PathSegments getPathSegments() { in getPathSegments() method in Uri.PathPart
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); in openFile()
/frameworks/base/media/java/android/media/
DMiniThumbFile.java70 String type = uri.getPathSegments().get(1); in instance()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java211 return Integer.parseInt(uri.getPathSegments().get(2)); in beginSendObject()
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java4764 final List<String> SEGMENTS = uri.getPathSegments(); in revokeUriPermissionLocked()
4779 List<String> targetSegments = targetUri.getPathSegments(); in revokeUriPermissionLocked()
/frameworks/base/api/
Dcurrent.txt11790 method public abstract java.util.List<java.lang.String> getPathSegments();
D14.txt11790 method public abstract java.util.List<java.lang.String> getPathSegments();