Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java228 final int length = uri.getPathSegments().size(); in delete()
233 final String base = uri.getPathSegments().get(0); in delete()
253 int length = uri.getPathSegments().size(); in getType()
255 String base = uri.getPathSegments().get(0); in getType()
275 int length = uri.getPathSegments().size(); in insert()
281 String base = uri.getPathSegments().get(0); in insert()
347 int length = uri.getPathSegments().size(); in query()
352 String base = uri.getPathSegments().get(0); in query()
366 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); in query()
DUriMatcher.java219 final List<String> pathSegments = uri.getPathSegments();
DContentResolver.java1187 List<String> path = uri.getPathSegments(); in getResourceId()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java181 final String authority = uri.getPathSegments().get(1); in query()
182 final String rootId = uri.getPathSegments().get(2); in query()
183 final String documentId = uri.getPathSegments().get(3); in query()
188 final String packageName = uri.getPathSegments().get(1); in query()
213 final String authority = uri.getPathSegments().get(1); in insert()
214 final String rootId = uri.getPathSegments().get(2); in insert()
215 final String documentId = uri.getPathSegments().get(3); in insert()
231 final String packageName = uri.getPathSegments().get(1); in insert()
/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/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/
DDocumentsContract.java726 final List<String> paths = uri.getPathSegments(); in isDocumentUri()
739 final List<String> paths = uri.getPathSegments(); in isTreeUri()
759 final List<String> paths = rootUri.getPathSegments(); in getRootId()
772 final List<String> paths = documentUri.getPathSegments(); in getDocumentId()
787 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
DContactsInternal.java91 final List<String> pathSegments = uri.getPathSegments(); in maybeStartManagedQuickContact()
/frameworks/base/core/java/android/net/
DUri.java313 public abstract List<String> getPathSegments(); in getPathSegments() method in Uri
609 public List<String> getPathSegments() { in getPathSegments() method in Uri.StringUri
610 return getPathPart().getPathSegments(); in getPathSegments()
918 public List<String> getPathSegments() { in getPathSegments() method in Uri.OpaqueUri
1043 List<String> segments = getPathSegments(); in getLastPathSegment()
1266 public List<String> getPathSegments() { in getPathSegments() method in Uri.HierarchicalUri
1267 return this.path.getPathSegments(); in getPathSegments()
2135 PathSegments getPathSegments() { in getPathSegments() method in Uri.PathPart
2360 List<String> seg = getPathSegments(); in isPathPrefixMatch()
2361 List<String> prefixSeg = prefix.getPathSegments(); in isPathPrefixMatch()
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java152 List<String> pathSegments = uri.getPathSegments(); in openAssetFile()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java707 if (conditionId.getPathSegments().size() != 2 in tryParseCountdownConditionId()
708 || !COUNTDOWN_PATH.equals(conditionId.getPathSegments().get(0))) return 0; in tryParseCountdownConditionId()
710 return Long.parseLong(conditionId.getPathSegments().get(1)); in tryParseCountdownConditionId()
743 && conditionId.getPathSegments().size() == 1 in tryParseScheduleConditionId()
744 && conditionId.getPathSegments().get(0).equals(ZenModeConfig.SCHEDULE_PATH); in tryParseScheduleConditionId()
817 && conditionId.getPathSegments().size() == 1 in tryParseEventConditionId()
818 && conditionId.getPathSegments().get(0).equals(EVENT_PATH); in tryParseEventConditionId()
/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.java69 String type = uri.getPathSegments().get(1); in instance()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1208 if (uri.getPathSegments().size() > 0) { in getValidTableOrThrow()
1209 String table = uri.getPathSegments().get(0); in getValidTableOrThrow()
1290 final int segmentSize = uri.getPathSegments().size(); in Arguments()
1319 name = uri.getPathSegments().get(1); in Arguments()
/frameworks/base/media/java/android/media/tv/
DTvContract.java291 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1033 return uri.getPathSegments().get(index - 1); in getUriSegment()
1044 return uri.getPathSegments().size() + 1; in countUriSegments()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java686 List<String> path = uri.getPathSegments(); in getDrawableFromResourceUri()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java364 return Integer.parseInt(uri.getPathSegments().get(2)); in beginSendObject()
/frameworks/base/api/
Dcurrent.txt18561 method public abstract java.util.List<java.lang.String> getPathSegments();
Dsystem-current.txt20124 method public abstract java.util.List<java.lang.String> getPathSegments();