Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java378 private boolean equalsAccessiblityEvent(AccessibilityEvent first, AccessibilityEvent second) { in equalsAccessiblityEvent() argument
379 return first.getEventType() == second.getEventType() in equalsAccessiblityEvent()
380 && first.isChecked() == second.isChecked() in equalsAccessiblityEvent()
381 && first.getCurrentItemIndex() == second.getCurrentItemIndex() in equalsAccessiblityEvent()
382 && first.isEnabled() == second.isEnabled() in equalsAccessiblityEvent()
383 && first.getFromIndex() == second.getFromIndex() in equalsAccessiblityEvent()
384 && first.getItemCount() == second.getItemCount() in equalsAccessiblityEvent()
385 && first.isPassword() == second.isPassword() in equalsAccessiblityEvent()
386 && first.getRemovedCount() == second.getRemovedCount() in equalsAccessiblityEvent()
387 && first.isScrollable()== second.isScrollable() in equalsAccessiblityEvent()
[all …]
/cts/suite/audio_quality/test/
DTaskCaseTest.cpp63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) && in TEST_F()
64 (list->back().second.get() == buffer2.get())) || in TEST_F()
65 ((list->front().second.get() == buffer2.get()) && in TEST_F()
66 (list->back().second.get() == buffer1.get()))); in TEST_F()
104 ASSERT_TRUE(((list->front().second == val2) && (list->back().second == val3)) || in TEST_F()
105 ((list->front().second == val3) && (list->back().second == val4))); in TEST_F()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSumPathEffectTest.java57 PathEffect second = new DashPathEffect(new float[] { 10, 5 }, 5); in testSumPathEffect() local
58 paint.setPathEffect(second); in testSumPathEffect()
61 SumPathEffect sumPathEffect = new SumPathEffect(second, first); in testSumPathEffect()
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp90 if (!it->second->saveToFile(fileName)) { in handleFile()
127 if (it->second.getType() == TaskCase::Value::ETypeDouble) { in handleReport()
128 details.appendFormat(" %s: %f\n", it->first.string(), it->second.getDouble()); in handleReport()
130 details.appendFormat(" %s: %lld\n", it->first.string(), it->second.getInt64()); in handleReport()
DTaskCase.cpp91 data = it->second; in findGeneric()
104 it->second = data; in updateGeneric()
129 typename std::pair<android::String8, T> match(it->first, it->second); in findAllGeneric()
DTaskGeneric.cpp141 value = it->second; in findStringAttribute()
/cts/tests/tests/database/src/android/database/cts/
DContentObservableTest.java60 MyContentObserver second = new MyContentObserver(); in testNotifyChange() local
61 mContentObservable.registerObserver(second); in testNotifyChange()
68 assertTrue(second.hasChanged()); in testNotifyChange()
/cts/tests/tests/media/res/raw/
Dplaylist2.m3u6 # second track
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java221 frameDurationStats.first / 1e6, frameDurationStats.second / 1e6)); in preparePerformanceTestByCamera()
242 whilePreparingFrameDurationStats.second / 1e6)); in preparePerformanceTestByCamera()
250 whilePreparingFrameDurationStats.second / 1e6), in preparePerformanceTestByCamera()
251 (whilePreparingFrameDurationStats.second <= in preparePerformanceTestByCamera()
280 preparedFrameDurationStats.second / 1e6)); in preparePerformanceTestByCamera()
287 frameDurationStats.first / 1e6, preparedFrameDurationStats.second / 1e6), in preparePerformanceTestByCamera()
288 (preparedFrameDurationStats.second <= in preparePerformanceTestByCamera()
DCaptureResultTest.java204 List<CaptureResult> partialResults = resultPair.second; in testPartialResult()
320 prevListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS), result.second); in testResultTimestamps()
328 prevListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS), result2.second); in testResultTimestamps()
330 jpegListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS), result2.second); in testResultTimestamps()
333 mCollector.expectGreater("Timestamps must be increasing.", result.second, in testResultTimestamps()
334 result2.second); in testResultTimestamps()
343 long resultDiff = result4.second - result3.second; in testResultTimestamps()
347 prevListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS), result3.second); in testResultTimestamps()
349 prevListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS), result4.second); in testResultTimestamps()
354 mCollector.expectGreater("Timestamps must be increasing.", result3.second, in testResultTimestamps()
[all …]
DDngCreatorTest.java130 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testSingleImageBasic()
220 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testSingleImageThumbnail()
347 characteristics, resultPair.second, /*offsetX*/0, /*offsetY*/0, in testRaw16JpegConsistency()
355 DngCreator dngCreator = new DngCreator(characteristics, resultPair.second); in testRaw16JpegConsistency()
494 return new Pair<Image, CaptureResult>(res.first.get(0), res.second); in captureSingleRawShot()
DStaticMetadataTest.java414 Boolean meetRequirement = p.second; in validateCapability()
438 Boolean meetRequirement = p.second; in validateCapability()
DPerformanceTest.java291 getPartialTimes[i] = partialResultNTime.second - startTimeMs; in testSingleCapture()
296 getResultTimes[i] = captureResultNTime.second - startTimeMs; in testSingleCapture()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java152 private static void assertFilesAreEqual(File first, File second) throws Exception { in assertFilesAreEqual() argument
154 first.getAbsolutePath(), second.getAbsolutePath()); in assertFilesAreEqual()
/cts/suite/audio_quality/lib/src/
DReport.cpp100 printf(" <details>\n%s", it->second.string()); in writeResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java103 launchCallback.first.post(launchCallback.second); in onCreate()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp228 return it->second; in getDataId()
255 handler->getParam().mBuffer = it->second; in startPlayback()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java115 BufferInfo info = el.second; in play()
465 mBuffersToRender.peekLast().second.flags |= in onOutputBufferAvailable()
502 + mEncInputBufferSize + ", f=" + decBuffer.second.flags in renderDecodedBuffer()
503 + ", ts=" + decBuffer.second.presentationTimeUs + ")"); in renderDecodedBuffer()
505 encBuffer, 0, mEncInputBufferSize, decBuffer.second.presentationTimeUs, in renderDecodedBuffer()
506 decBuffer.second.flags); in renderDecodedBuffer()
507 if ((decBuffer.second.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in renderDecodedBuffer()
534 return decBuffer.first < 0 || decBuffer.second.size == 0; in isEOSOnlyBuffer()
647 renderDecodedBuffer(nextBuffer.first, nextBuffer.second); in processLoop()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java116 assertEquals(time.second, anotherTime.second); in assertTime()
598 assertEquals(0, t.second); in testClear0()
1933 assertEquals(0, time.second); in testSetJulianDay()
2754 && expected.second == actual.second in assertTimeEquals()
2778 time.second, time.allDay, time.timezone)); in timeToString()
2795 int minute, int second) { in setDateTime() argument
2801 t.second = second; in setDateTime()
2834 int second, int isDst, int gmtoff, int yearDay, int weekDay) { in set() argument
2835 setDateTime(t, year, month, monthDay, hour, minute, second); in set()
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DLauncherCallbackTestsService.java178 if (event.first.equals(packageName) && event.second.equals(user)) { in eventExists()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java1542 private static boolean equalOptions(Bundle first, Bundle second) { in equalOptions() argument
1544 == second.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH) in equalOptions()
1546 == second.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT) in equalOptions()
1548 == second.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH) in equalOptions()
1550 == second.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT); in equalOptions()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java421 httpResponse.addHeader(header.first, header.second); in getResponse()
432 httpResponse.addHeader(header.first, header.second); in getResponse()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/
DErrorLoggingService.java132 elem.second.send(m); in sendMessages()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java347 pairObj.put(pair.second); in serializePair()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java190 pairObj.put(pair.second); in serializePair()

12