Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 46) 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/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java66 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testSecondEquivalentInstallDoesNothing() local
68 assertSame(first, another); in testSecondEquivalentInstallDoesNothing()
72 HttpResponseCache first = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in testInstallClosesPreviouslyInstalled() local
73 initializeCache(first); in testInstallClosesPreviouslyInstalled()
76 initializeCache(first); in testInstallClosesPreviouslyInstalled()
78 assertNotSame(first, another); in testInstallClosesPreviouslyInstalled()
80 first.flush(); in testInstallClosesPreviouslyInstalled()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DSurfaceViewPreviewTest.java221 frameDurationStats.first / 1e6, frameDurationStats.second / 1e6)); in preparePerformanceTestByCamera()
241 whilePreparingFrameDurationStats.first / 1e6, in preparePerformanceTestByCamera()
249 frameDurationStats.first / 1e6, in preparePerformanceTestByCamera()
252 frameDurationStats.first * (1 + PREPARE_PEAK_RATE_BOUNDS))); in preparePerformanceTestByCamera()
257 frameDurationStats.first / 1e6, in preparePerformanceTestByCamera()
258 whilePreparingFrameDurationStats.first / 1e6), in preparePerformanceTestByCamera()
259 (whilePreparingFrameDurationStats.first <= in preparePerformanceTestByCamera()
260 frameDurationStats.first * (1 + PREPARE_FRAME_RATE_BOUNDS))); in preparePerformanceTestByCamera()
279 preparedFrameDurationStats.first / 1e6, in preparePerformanceTestByCamera()
287 frameDurationStats.first / 1e6, preparedFrameDurationStats.second / 1e6), in preparePerformanceTestByCamera()
[all …]
DDngCreatorTest.java132 dngCreator.writeImage(outputStream, resultPair.first); in testSingleImageBasic()
230 dngCreator.setThumbnail(resultPair.first.get(1)); in testSingleImageThumbnail()
232 dngCreator.writeImage(outputStream, resultPair.first.get(0)); in testSingleImageThumbnail()
329 Image raw = resultPair.first.get(0); in testRaw16JpegConsistency()
330 Image jpeg = resultPair.first.get(1); in testRaw16JpegConsistency()
494 return new Pair<Image, CaptureResult>(res.first.get(0), res.second); in captureSingleRawShot()
DCaptureResultTest.java211 TotalCaptureResult totalResult = resultPair.first; in testPartialResult()
319 validateTimestamps("Result 1", result.first, in testResultTimestamps()
327 validateTimestamps("Result 2 Preview", result2.first, in testResultTimestamps()
329 validateTimestamps("Result 2 Jpeg", result2.first, in testResultTimestamps()
346 validateTimestamps("Result 3", result3.first, in testResultTimestamps()
348 validateTimestamps("Result 4", result4.first, in testResultTimestamps()
/cts/tests/tests/text/src/android/text/style/cts/
DLeadingMarginSpan_StandardTest.java45 int first = 4; in testGetLeadingMargin() local
48 Standard standard = new LeadingMarginSpan.Standard(first, rest); in testGetLeadingMargin()
49 assertEquals(first, standard.getLeadingMargin(true)); in testGetLeadingMargin()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSumPathEffectTest.java48 PathEffect first = new CornerPathEffect(40); in testSumPathEffect() local
52 paint.setPathEffect(first); in testSumPathEffect()
61 SumPathEffect sumPathEffect = new SumPathEffect(second, first); in testSumPathEffect()
/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java93 boolean first = true; in format()
95 if (!first) { in format()
99 first = false; in format()
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java151 boolean first = true; in separate()
153 if (!first) { in separate()
157 first = false; in separate()
/cts/tests/tests/media/res/raw/
Dplaylist2.m3u3 # first track
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp89 fileName.appendPath(it->first); in handleFile()
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.cpp121 if (regexec(&regex, it->first, 0, NULL, 0) == 0) { in findAllGeneric()
129 typename std::pair<android::String8, T> match(it->first, it->second); in findAllGeneric()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DAssertHelpers.java215 boolean first = true; in formatCollection()
217 String val = ((first) ? ", " : "") + ((elem != null) ? elem.toString() : "null"); in formatCollection()
218 first = false; in formatCollection()
/cts/suite/audio_quality/lib/src/
DReport.cpp96 printf(" <test title=\"%s\" result=\"pass\" >", it->first.string()); in writeResult()
98 printf(" <test title=\"%s\" result=\"fail\" >", it->first.string()); in writeResult()
/cts/tests/app/src/android/app/cts/
DAppStubActivity.java139 boolean first){ in onApplyThemeResource() argument
140 super.onApplyThemeResource(theme,resid,first); in onApplyThemeResource()
/cts/tools/dasm/src/java_cup/runtime/
Dlr_parser.java390 int first, last, probe; in get_action() local
408 first = 0; in get_action()
410 while (first <= last) in get_action()
412 probe = (first+last)/2; in get_action()
416 first = probe+1; in get_action()
/cts/tests/tests/view/src/android/view/cts/
DContextThemeWrapperTest.java39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { in onApplyThemeResource() argument
41 super.onApplyThemeResource(theme, resid, first); in onApplyThemeResource()
/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/tests/tests/net/src/android/net/cts/
DUriTest.java205 Uri first = uri; in testPathOperations() local
220 assertEquals(2, first.getPathSegments().size()); in testPathOperations()
221 assertEquals("b", first.getLastPathSegment()); in testPathOperations()
224 first.getPathSegments().get(2); in testPathOperations()
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Dbootstrap.css301 .row-fluid [class*="span"]:first-child {
783 .controls > .radio:first-child,
784 .controls > .checkbox:first-child {
1118 .input-prepend .add-on:first-child,
1119 .input-prepend .btn:first-child {
1148 .input-prepend.input-append .add-on:first-child,
1149 .input-prepend.input-append .btn:first-child {
1264 .form-horizontal .controls:first-child {
1298 .table caption + thead tr:first-child th,
1299 .table caption + thead tr:first-child td,
[all …]
Ddocs.css164 .subnav .nav > li:first-child > a,
165 .subnav .nav > li:first-child > a:hover {
204 .subnav .nav > li:first-child > a,
205 .subnav .nav > li:first-child > a:hover {
226 .quick-links:first-child {
759 .subnav .nav > li:first-child > a,
760 .subnav .nav > li:first-child > a:hover {
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DInsetDrawableTest.java323 InsetDrawable first = (InsetDrawable) res.getDrawable(R.drawable.inset_mutate, null); in testMutate() local
326 first.mutate().setAlpha(128); in testMutate()
328 assertEquals("Modified first loaded instance", 128, first.getDrawable().getAlpha()); in testMutate()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Ddeltablue.js802 var prev = null, first = null, last = null;
810 if (i == 0) first = v;
816 var edit = new EditConstraint(first, Strength.PREFERRED);
821 first.value = i;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java103 launchCallback.first.post(launchCallback.second); in onCreate()
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java104 el.first.clear(); in play()
106 codec.getInputBuffer(ix).put(el.first); in play()
108 Log.e(TAG, "cannot fit " + el.first.limit() in play()
489 Image decImage = mDecoder.getOutputImage(decBuffer.first); in renderDecodedBuffer()
510 mDecoder.releaseOutputBuffer(decBuffer.first, false /* render */); in renderDecodedBuffer()
534 return decBuffer.first < 0 || decBuffer.second.size == 0; in isEOSOnlyBuffer()
549 if (decBuffer.first >= 0) { in queueEncoderEOS()
550 mDecoder.releaseOutputBuffer(decBuffer.first, false /* render */); in queueEncoderEOS()
647 renderDecodedBuffer(nextBuffer.first, nextBuffer.second); in processLoop()

12