Searched refs:segments (Results 1 – 5 of 5) sorted by relevance
61 private void assertSegments(SegmentFinder segmentFinder, int[] segments) { in assertSegments() argument67 while (index < segments.length - 1 && currentStart != DONE && currentEnd != DONE) { in assertSegments()68 assertThat(currentStart).isEqualTo(segments[index++]); in assertSegments()69 assertThat(currentEnd).isEqualTo(segments[index++]); in assertSegments()78 assertThat(index).isEqualTo(segments.length); in assertSegments()
108 final List<String> segments = uri.getPathSegments(); in UriHelper() local109 mTable = segments.get(0); in UriHelper()110 mId = (segments.size() >= 2) ? segments.get(1) : null; in UriHelper()
133 String[] segments = fingerprint.split("/"); in verifyFingerprintStructure() local134 assertEquals("Build fingerprint does not match expected format", 6, segments.length); in verifyFingerprintStructure()136 String[] devicePlatform = segments[2].split(":"); in verifyFingerprintStructure()139 assertTrue(segments[4].contains(":")); in verifyFingerprintStructure()140 String buildVariant = segments[4].split(":")[1]; in verifyFingerprintStructure()
168 final List<String> segments = uri.getPathSegments(); in delete() local169 if (segments.size() != 2) { in delete()173 final String namespace = segments.get(0); in delete()174 final String key = segments.get(1); in delete()
369 private static void assertSegments(int[] segments, SegmentFinder segmentFinder, in assertSegments() argument373 while (index < segments.length && segments[index] < start) { in assertSegments()380 assertThat(index >= segments.length).isTrue(); in assertSegments()384 while (segmentEnd != SegmentFinder.DONE && segmentEnd <= end && index < segments.length) { in assertSegments()387 assertThat(segmentStart).isEqualTo(segments[index++]); in assertSegments()388 assertThat(segmentEnd).isEqualTo(segments[index++]); in assertSegments()396 if (index < segments.length) { in assertSegments()397 assertThat(segments[index + 1]).isGreaterThan(end); in assertSegments()