Home
last modified time | relevance | path

Searched refs:getPathSegments (Results 1 – 22 of 22) 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.java1229 List<String> path = uri.getPathSegments(); in getResourceId()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DRecentsProvider.java186 final String authority = uri.getPathSegments().get(1); in query()
187 final String rootId = uri.getPathSegments().get(2); in query()
188 final String documentId = uri.getPathSegments().get(3); in query()
193 final String packageName = uri.getPathSegments().get(1); in query()
218 final String authority = uri.getPathSegments().get(1); in insert()
219 final String rootId = uri.getPathSegments().get(2); in insert()
220 final String documentId = uri.getPathSegments().get(3); in insert()
236 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.java845 final List<String> paths = uri.getPathSegments(); in isDocumentUri()
858 final List<String> paths = uri.getPathSegments(); in isRootUri()
876 final List<String> paths = uri.getPathSegments(); in isTreeUri()
896 final List<String> paths = rootUri.getPathSegments(); in getRootId()
909 final List<String> paths = documentUri.getPathSegments(); in getDocumentId()
924 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
DContactsInternal.java94 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/tests/coretests/src/android/content/
DMemoryFileProvider.java136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); in openFile()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java785 if (conditionId.getPathSegments().size() != 2 in tryParseCountdownConditionId()
786 || !COUNTDOWN_PATH.equals(conditionId.getPathSegments().get(0))) return 0; in tryParseCountdownConditionId()
788 return Long.parseLong(conditionId.getPathSegments().get(1)); in tryParseCountdownConditionId()
822 && conditionId.getPathSegments().size() == 1 in tryParseScheduleConditionId()
823 && conditionId.getPathSegments().get(0).equals(ZenModeConfig.SCHEDULE_PATH); in tryParseScheduleConditionId()
919 && conditionId.getPathSegments().size() == 1 in tryParseEventConditionId()
920 && conditionId.getPathSegments().get(0).equals(EVENT_PATH); in tryParseEventConditionId()
/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.java1458 if (uri.getPathSegments().size() > 0) { in getValidTableOrThrow()
1459 String table = uri.getPathSegments().get(0); in getValidTableOrThrow()
1543 final int segmentSize = uri.getPathSegments().size(); in Arguments()
1572 name = uri.getPathSegments().get(1); in Arguments()
/frameworks/base/media/java/android/media/tv/
DTvContract.java311 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1259 return uri.getPathSegments().get(index - 1); in getUriSegment()
1270 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.java371 return Integer.parseInt(uri.getPathSegments().get(2)); in beginSendObject()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17331 method public abstract java.util.List<java.lang.String> getPathSegments();
/frameworks/base/api/
Dcurrent.txt23808 method public abstract java.util.List<java.lang.String> getPathSegments();
Dsystem-current.txt25686 method public abstract java.util.List<java.lang.String> getPathSegments();
Dtest-current.txt23877 method public abstract java.util.List<java.lang.String> getPathSegments();