Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/
DSearchRecentSuggestionsProvider.java230 final int length = uri.getPathSegments().size(); in delete()
235 final String base = uri.getPathSegments().get(0); in delete()
255 int length = uri.getPathSegments().size(); in getType()
257 String base = uri.getPathSegments().get(0); in getType()
277 int length = uri.getPathSegments().size(); in insert()
283 String base = uri.getPathSegments().get(0); in insert()
349 int length = uri.getPathSegments().size(); in query()
354 String base = uri.getPathSegments().get(0); in query()
368 whereClause.append("(_id = ").append(uri.getPathSegments().get(1)).append(")"); in query()
DContentUris.java133 final List<String> segments = contentUri.getPathSegments(); in removeId()
DUriMatcher.java223 final List<String> pathSegments = uri.getPathSegments();
DContentResolver.java1774 List<String> path = uri.getPathSegments();
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java231 assertEquals("a a", uri.getPathSegments().get(0)); in testPathSegmentDecoding()
232 assertEquals("b b", uri.getPathSegments().get(1)); in testPathSegmentDecoding()
243 assertEquals(2, appended.getPathSegments().size()); in testSms()
244 assertEquals("conversations", appended.getPathSegments().get(0)); in testSms()
245 assertEquals("addr=555-1212", appended.getPathSegments().get(1)); in testSms()
321 assertEquals(0, uri.getPathSegments().size()); in testEmptyPath()
328 assertEquals(2, uri.getPathSegments().size()); in testPathOperations()
334 assertEquals(3, uri.getPathSegments().size()); in testPathOperations()
340 assertEquals(4, uri.getPathSegments().size()); in testPathOperations()
346 assertEquals(2, first.getPathSegments().size()); in testPathOperations()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java121 qb.appendWhere(url.getPathSegments().get(1)); in query()
161 String segment = url.getPathSegments().get(1); in update()
/frameworks/base/core/java/android/net/
DUri.java329 public abstract List<String> getPathSegments(); in getPathSegments() method in Uri
630 public List<String> getPathSegments() { in getPathSegments() method in Uri.StringUri
631 return getPathPart().getPathSegments(); in getPathSegments()
947 public List<String> getPathSegments() { in getPathSegments() method in Uri.OpaqueUri
1072 List<String> segments = getPathSegments(); in getLastPathSegment()
1304 public List<String> getPathSegments() { in getPathSegments() method in Uri.HierarchicalUri
1305 return this.path.getPathSegments(); in getPathSegments()
2184 PathSegments getPathSegments() { in getPathSegments() method in Uri.PathPart
2421 List<String> seg = getPathSegments(); in isPathPrefixMatch()
2422 List<String> prefixSeg = prefix.getPathSegments(); in isPathPrefixMatch()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockOptionsProvider.java86 List<String> segments = uri.getPathSegments(); in getType()
132 List<String> segments = uri.getPathSegments(); in openFile()
/frameworks/base/core/java/android/provider/
DDocumentsContract.java1132 final List<String> paths = uri.getPathSegments(); in isDocumentUri()
1175 final List<String> paths = uri.getPathSegments(); in isTreeUri()
1181 final List<String> paths = uri.getPathSegments(); in isRootUri()
1203 final List<String> paths = rootUri.getPathSegments(); in getRootId()
1216 final List<String> paths = documentUri.getPathSegments(); in getDocumentId()
1231 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
DContactsInternal.java95 final List<String> pathSegments = uri.getPathSegments(); in maybeStartManagedQuickContact()
DDeviceConfig.java760 List<String> pathSegments = uri.getPathSegments(); in handleChange()
DMediaStore.java3265 final List<String> segments = uri.getPathSegments(); in getVolumeName()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java105 return authority != null && authority.hasPermission(uri.getPathSegments()); in hasPermission()
112 authority.addPath(uri.getPathSegments()); in grantUri()
119 authority.removePath(uri.getPathSegments()); in revokeUri()
/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.java1294 if (conditionId.getPathSegments().size() < 2 in tryParseCountdownConditionId()
1295 || !COUNTDOWN_PATH.equals(conditionId.getPathSegments().get(0))) return 0; in tryParseCountdownConditionId()
1297 return Long.parseLong(conditionId.getPathSegments().get(1)); in tryParseCountdownConditionId()
1316 if (conditionId.getPathSegments().size() < 4 in isValidCountdownToAlarmConditionId()
1317 || !IS_ALARM_PATH.equals(conditionId.getPathSegments().get(2))) { in isValidCountdownToAlarmConditionId()
1321 return Boolean.parseBoolean(conditionId.getPathSegments().get(3)); in isValidCountdownToAlarmConditionId()
1382 && conditionId.getPathSegments().size() == 1 in tryParseScheduleConditionId()
1383 && ZenModeConfig.SCHEDULE_PATH.equals(conditionId.getPathSegments().get(0)); in tryParseScheduleConditionId()
1490 && conditionId.getPathSegments().size() == 1 in tryParseEventConditionId()
1491 && EVENT_PATH.equals(conditionId.getPathSegments().get(0)); in tryParseEventConditionId()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java130 List<String> pathSegments = uri.getPathSegments(); in getPackageNameFromUri()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java397 List<String> pathSegments = uri.getPathSegments(); in getMethodFromUri()
/frameworks/base/media/java/android/media/tv/
DTvContract.java701 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1470 return uri.getPathSegments().get(index - 1); in getUriSegment()
1481 return uri.getPathSegments().size() + 1; in countUriSegments()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java2206 if (uri.getPathSegments().size() > 0) {
2207 String table = uri.getPathSegments().get(0);
2307 final int segmentSize = uri.getPathSegments().size();
2336 name = uri.getPathSegments().get(1);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java1944 List<String> segA = uriA.getPathSegments(); in isPathPrefixMatch()
1945 List<String> segB = uriB.getPathSegments(); in isPathPrefixMatch()
/frameworks/base/config/
Dboot-image-profile.txt10609 HSPLandroid/net/Uri$HierarchicalUri;->getPathSegments()Ljava/util/List;
10634 HSPLandroid/net/Uri$PathPart;->getPathSegments()Landroid/net/Uri$PathSegments;
10651 HSPLandroid/net/Uri$StringUri;->getPathSegments()Ljava/util/List;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17331 method public abstract java.util.List<java.lang.String> getPathSegments();
/frameworks/base/non-updatable-api/
Dcurrent.txt29312 method public abstract java.util.List<java.lang.String> getPathSegments();

12