/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 222 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()
|
D | UriMatcher.java | 204 final List<String> pathSegments = uri.getPathSegments();
|
D | ContentService.java | 591 return uri.getPathSegments().get(index - 1); in getUriSegment() 602 return uri.getPathSegments().size() + 1; in countUriSegments()
|
D | ContentResolver.java | 658 List<String> path = uri.getPathSegments(); in getResourceId()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 217 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/ |
D | SettingsProvider.java | 94 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/ |
D | LocalProvider.java | 97 qb.appendWhere(url.getPathSegments().get(1)); in query() 137 String segment = url.getPathSegments().get(1); in update()
|
/frameworks/base/core/java/android/provider/ |
D | Applications.java | 94 List<String> pathSegments = appUri.getPathSegments(); in uriToComponentName()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 307 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/ |
D | MemoryFileProvider.java | 136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); in openFile()
|
/frameworks/base/media/java/android/media/ |
D | MiniThumbFile.java | 70 String type = uri.getPathSegments().get(1); in instance()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 211 return Integer.parseInt(uri.getPathSegments().get(2)); in beginSendObject()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityManagerService.java | 4764 final List<String> SEGMENTS = uri.getPathSegments(); in revokeUriPermissionLocked() 4779 List<String> targetSegments = targetUri.getPathSegments(); in revokeUriPermissionLocked()
|
/frameworks/base/api/ |
D | current.txt | 11790 method public abstract java.util.List<java.lang.String> getPathSegments();
|
D | 14.txt | 11790 method public abstract java.util.List<java.lang.String> getPathSegments();
|