/frameworks/base/core/java/android/content/ |
D | SearchRecentSuggestionsProvider.java | 230 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()
|
D | ContentUris.java | 133 final List<String> segments = contentUri.getPathSegments(); in removeId()
|
D | UriMatcher.java | 223 final List<String> pathSegments = uri.getPathSegments();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textclassifier/ |
D | IconsUriHelperTest.java | 68 assertThat(uri1.getPathSegments().get(1)).isEqualTo("1234"); in testGetContentUri_multiplePackages() 69 assertThat(uri2.getPathSegments().get(1)).isEqualTo("5678"); in testGetContentUri_multiplePackages() 78 final String id1 = uri1.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName() 79 final String id2 = uri2.getPathSegments().get(0); in testGetContentUri_samePackageIdForSamePackageName()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 249 assertEquals("a a", uri.getPathSegments().get(0)); in testPathSegmentDecoding() 250 assertEquals("b b", uri.getPathSegments().get(1)); in testPathSegmentDecoding() 261 assertEquals(2, appended.getPathSegments().size()); in testSms() 262 assertEquals("conversations", appended.getPathSegments().get(0)); in testSms() 263 assertEquals("addr=555-1212", appended.getPathSegments().get(1)); in testSms() 339 assertEquals(0, uri.getPathSegments().size()); in testEmptyPath() 346 assertEquals(2, uri.getPathSegments().size()); in testPathOperations() 352 assertEquals(3, uri.getPathSegments().size()); in testPathOperations() 358 assertEquals(4, uri.getPathSegments().size()); in testPathOperations() 364 assertEquals(2, first.getPathSegments().size()); in testPathOperations() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LocalProvider.java | 121 qb.appendWhere(url.getPathSegments().get(1)); in query() 161 String segment = url.getPathSegments().get(1); in update()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockOptionsProvider.java | 84 List<String> segments = uri.getPathSegments(); in getType() 130 List<String> segments = uri.getPathSegments(); in openFile()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 340 public abstract List<String> getPathSegments(); in getPathSegments() method in Uri 638 public List<String> getPathSegments() { in getPathSegments() method in Uri.StringUri 639 return getPathPart().getPathSegments(); in getPathSegments() 955 public List<String> getPathSegments() { in getPathSegments() method in Uri.OpaqueUri 1080 List<String> segments = getPathSegments(); in getLastPathSegment() 1315 public List<String> getPathSegments() { in getPathSegments() method in Uri.HierarchicalUri 1316 return this.path.getPathSegments(); in getPathSegments() 2191 PathSegments getPathSegments() { in getPathSegments() method in Uri.PathPart 2433 List<String> seg = getPathSegments(); in isPathPrefixMatch() 2434 List<String> prefixSeg = prefix.getPathSegments(); in isPathPrefixMatch()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsContract.java | 1186 final List<String> paths = uri.getPathSegments(); in isDocumentUri() 1229 final List<String> paths = uri.getPathSegments(); in isTreeUri() 1235 final List<String> paths = uri.getPathSegments(); in isRootUri() 1257 final List<String> paths = rootUri.getPathSegments(); in getRootId() 1270 final List<String> paths = documentUri.getPathSegments(); in getDocumentId() 1285 final List<String> paths = documentUri.getPathSegments(); in getTreeDocumentId()
|
D | ContactsInternal.java | 95 final List<String> pathSegments = uri.getPathSegments(); in maybeStartManagedQuickContact()
|
D | DeviceConfig.java | 1182 List<String> pathSegments = uri.getPathSegments(); in handleChange()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 105 return authority != null && authority.hasPermission(uri.getPathSegments()); in hasPermission() 112 authority.addPath(uri.getPathSegments()); in grantUri() 119 authority.removePath(uri.getPathSegments()); in revokeUri()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | IconsUriHelper.java | 114 final List<String> pathItems = uri.getPathSegments(); in getResourceInfo()
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
D | SampleProvider.java | 152 List<String> pathSegments = uri.getPathSegments(); in openAssetFile()
|
/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/core/java/android/service/notification/ |
D | ZenModeConfig.java | 1449 if (conditionId.getPathSegments().size() < 2 in tryParseCountdownConditionId() 1450 || !COUNTDOWN_PATH.equals(conditionId.getPathSegments().get(0))) return 0; in tryParseCountdownConditionId() 1452 return Long.parseLong(conditionId.getPathSegments().get(1)); in tryParseCountdownConditionId() 1471 if (conditionId.getPathSegments().size() < 4 in isValidCountdownToAlarmConditionId() 1472 || !IS_ALARM_PATH.equals(conditionId.getPathSegments().get(2))) { in isValidCountdownToAlarmConditionId() 1476 return Boolean.parseBoolean(conditionId.getPathSegments().get(3)); in isValidCountdownToAlarmConditionId() 1537 && conditionId.getPathSegments().size() == 1 in tryParseScheduleConditionId() 1538 && ZenModeConfig.SCHEDULE_PATH.equals(conditionId.getPathSegments().get(0)); in tryParseScheduleConditionId() 1645 && conditionId.getPathSegments().size() == 1 in tryParseEventConditionId() 1646 && EVENT_PATH.equals(conditionId.getPathSegments().get(0)); in tryParseEventConditionId()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 130 List<String> pathSegments = uri.getPathSegments(); in getPackageNameFromUri()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | TileUtils.java | 434 final List<String> pathSegments = uri.getPathSegments(); in getCompleteUri() 592 final List<String> pathSegments = uri.getPathSegments(); in getMethodAndKey()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayActorEnforcer.java | 56 List<String> actorPathSegments = actorUri.getPathSegments(); in getPackageNameForActor()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | MmsQueryHelperTest.java | 166 List<String> segments = uri.getPathSegments(); in query()
|
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabProvider.java | 523 List<String> pathSegment = uri.getPathSegments(); in query()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataProfileManagerTest.java | 431 List<String> segA = uriA.getPathSegments(); in isPathPrefixMatch() 432 List<String> segB = uriB.getPathSegments(); in isPathPrefixMatch()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContract.java | 701 List<String> pathSegments = uri.getPathSegments(); in isTwoSegmentUriStartingWith()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | ContentService.java | 1737 return uri.getPathSegments().get(index - 1); in getUriSegment() 1748 return uri.getPathSegments().size() + 1; in countUriSegments()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2469 if (uri.getPathSegments().size() > 0) { 2470 String table = uri.getPathSegments().get(0); 2574 final int segmentSize = uri.getPathSegments().size(); 2603 name = uri.getPathSegments().get(1);
|