Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 9 of 9) sorted by relevance

/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DPropertyPathCtsTest.java87 PropertyPath.PathSegment segment; in testPropertyPathIterator() local
90 segment = iterator.next(); in testPropertyPathIterator()
91 assertThat(segment.getPropertyIndex()).isEqualTo(NON_REPEATED_CARDINALITY); in testPropertyPathIterator()
92 assertThat(segment.getPropertyName()).isEqualTo("foo"); in testPropertyPathIterator()
95 segment = iterator.next(); in testPropertyPathIterator()
96 assertThat(segment.getPropertyIndex()).isEqualTo(2); in testPropertyPathIterator()
97 assertThat(segment.getPropertyName()).isEqualTo("bar"); in testPropertyPathIterator()
100 segment = iterator.next(); in testPropertyPathIterator()
101 assertThat(segment.getPropertyIndex()).isEqualTo(NON_REPEATED_CARDINALITY); in testPropertyPathIterator()
102 assertThat(segment.getPropertyName()).isEqualTo("bat"); in testPropertyPathIterator()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathIteratorTest.java108 PathIterator.Segment segment = it.next(); in testDoneDone() local
109 int verb = segment.getVerb(); in testDoneDone()
178 PathIterator.Segment segment;
179 segment = iterator.next();
180 assertEquals(PathIterator.VERB_MOVE, segment.getVerb());
181 segment = iterator.next();
182 assertEquals(PathIterator.VERB_LINE, segment.getVerb());
183 float[] points = segment.getPoints();
188 segment = iterator.next();
189 assertEquals(PathIterator.VERB_DONE, segment.getVerb());
[all …]
DPathTest.java455 PathIterator.Segment segment = it.next(); in testConicTo() local
456 int verb = segment.getVerb(); in testConicTo()
457 float[] points = segment.getPoints(); in testConicTo()
458 float weight = segment.getConicWeight(); in testConicTo()
542 PathIterator.Segment segment = it.next(); in testRConicTo() local
543 int verb = segment.getVerb(); in testRConicTo()
544 float[] points = segment.getPoints(); in testRConicTo()
545 float weight = segment.getConicWeight(); in testRConicTo()
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java144 String segment; in delete() local
156 segment = uri.getPathSegments().get(1); in delete()
157 count = db.delete("TestTable1", "_id=" + segment + in delete()
165 segment = uri.getPathSegments().get(1); in delete()
166 count = db.delete("TestTable2", "_id=" + segment + in delete()
356 String segment; in update() local
365 segment = uri.getPathSegments().get(1); in update()
366 count = db.update("TestTable1", values, "_id=" + segment + in update()
376 segment = uri.getPathSegments().get(1); in update()
377 count = db.update("TestTable2", values, "_id=" + segment + in update()
/cts/tests/vibrator/src/android/os/cts/
DVibrationEffectTest.java813 VibrationEffectSegment segment = composed.getSegments().get(index);
814 if (segment instanceof StepSegment) {
817 } else if (segment instanceof RampSegment) {
829 VibrationEffectSegment segment = composed.getSegments().get(index);
830 if (segment instanceof StepSegment) {
834 } else if (segment instanceof RampSegment) {
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DTestMedia.java471 String[] segment = cmdOut.split("\\s+"); in testPocCVE_2017_0847() local
472 if (segment.length > 1) { in testPocCVE_2017_0847()
473 if (segment[1].trim().equals("0")) { in testPocCVE_2017_0847()
/cts/tests/tests/media/player/src/android/media/player/cts/
DJetPlayerTest.java223 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerTest.java800 int[] segment = status.getIsdbtSegment(); in testFrontendStatus() local
801 assertNotNull(segment); in testFrontendStatus()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerTest.java799 int[] segment = status.getIsdbtSegment(); in testFrontendStatus() local
800 assertNotNull(segment); in testFrontendStatus()