Home
last modified time | relevance | path

Searched refs:timing (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java112 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() local
113 if (shouldLogNow(timing, curTime)) { in updateLog()
114 String log = buildMessage(logMessage, timing); in updateLog()
123 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() argument
125 .append("[").append(timing == null ? 1 : timing.second).append("]:") in buildMessage()
131 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() local
132 if (timing != null) { in increaseLogCount()
133 cache.put(message, new Pair<>(timing.first, timing.second + 1)); in increaseLogCount()
137 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
138 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS; in shouldLogNow()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_reduce.java43 private static class timing { class in UT_reduce
44 timing(long myJavaStart, long myJavaEnd, long myRsStart, in timing() method in UT_reduce.timing
61 timing(long myInputCells) { in timing() method in UT_reduce.timing
84 return (new timing(myJavaStart, myJavaEnd, myRsStart, in string()
89 return (new timing(myInputCells)).string(); in string()
157 private <T extends Number> boolean result(String testName, final timing t, in result()
167 private boolean result(String testName, final timing t, in result()
188 private boolean result(String testName, final timing t, in result()
209 private boolean result(String testName, final timing t, in result()
214 private boolean result(String testName, final timing t, Int2 javaRslt, Int2 rsRslt) { in result()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java93 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter() local
99 verifyTimingBundle(timing, labels); in testStopTimingNoWriter()
160 Bundle timing = mPerfCollector.stopTiming("timing8"); in testStopTiming() local
166 verifyTimingBundle(timing, labels); in testStopTiming()
247 Bundle timing = mPerfCollector.stopTiming("iteration5"); in testSimpleSequence() local
261 verifyTimingBundle(timing, labels); in testSimpleSequence()
464 private void verifyTimingBundle(Bundle timing, ArrayList<String> labels) { in verifyTimingBundle() argument
465 assertEquals(1, timing.size()); in verifyTimingBundle()
466 assertTrue(timing.containsKey(PerformanceCollector.METRIC_KEY_ITERATIONS)); in verifyTimingBundle()
467 ArrayList<Parcelable> iterations = timing.getParcelableArrayList( in verifyTimingBundle()
/frameworks/base/docs/html/training/testing/
Dperformance.jd16 <li><a href="#timing-info">Precise frame timing info</a></li>
17 <li><a href="#timing-dump">Simple frame timing dump</a></li>
68 This command can produce multiple different variants of frame timing data.
98 <h3 id="timing-info">Precise frame timing info</h3>
102 extremely detailed frame timing information from recent frames, so that you can track down and
111 This command prints out frame timing information, with nanosecond timestamps, from the last 120
365 <h3 id="timing-dump">Simple frame timing dump</h3>
369 in Developer Options, the <code>adb shell dumpsys gfxinfo</code> command prints out timing
648 applying the fix. If your automated test framework preserves precise timing breakdowns
653 precise timing information about every stage of the rendering pipeline, every thread and
/frameworks/rs/java/tests/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt7 1. All the timing numbers are in nanoseconds, since a lot of the kernel is processed really fast.
12 Here are the timing process:
/frameworks/base/docs/html/guide/topics/graphics/
Dprop-animation.jd118 <p>The {@link android.animation.ValueAnimator} object keeps track of your animation's timing,
218 <td>The main timing engine for property animation that also computes the values for the
220 values and contains the timing details of each animation, information about whether an
255 property. They take the timing data that is provided by an {@link android.animation.Animator}
427 android.animation.ValueAnimator} (discussed in the previous section) and combines the timing
/frameworks/base/docs/html/ndk/samples/
Dsample_na.jd255 // is no need to do timing here.
/frameworks/base/docs/html/topic/libraries/testing-support-library/
Dindex.jd386 Tests on Android devices can fail randomly because of timing issues. This testing issue is
391 timing workarounds and ensures that your test actions and assertions run more reliably.
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd86 Bean &mdash; <strong>vsync timing</strong>, <strong>triple buffering</strong>,
652 &mdash; <strong>vsync timing</strong>, <strong>triple buffering</strong>,
1264 <p>To ensure a consistent framerate, Android 4.1 extends <strong>vsync timing</strong> across all d…
1268 … touch latency not only by <strong>synchronizing touch</strong> to vsync timing, but also by actua…
1426 … steady UI. So that apps also benefit, Android 4.1 <strong>extends vsync timing</strong> to all dr…
1428 …vantage of vsync timing for free, through Android’s <strong>animation framework</strong>. The anim…
1430 <p>For specialized uses, apps can access vsync timing through APIs exposed by a new Choreographer c…
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd235 playback it generates a callback into the application program. The timing of
267 close to the timing of the actual event. </p>
1073 end of a segment for timing purposes. </p>
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd68 <p class="note"><strong>Note:</strong> For timing operations that are guaranteed to occur
/frameworks/base/docs/html/training/material/
Danimations.jd346 patterns. With Android 5.0 (API level 21) and above, you can define custom timing curves and
/frameworks/base/docs/html-intl/intl/in/preview/
Dapi-overview.jd923 untuk mentransfer info frame-timing untuk jendela aplikasi saat ini. Data yang dikembalikan
948 API menyediakan objek {@code FrameMetrics}, yang berisi data timing yang
Dsupport.jd155 streaming pubsub API untuk mentransfer informasi frame-timing jendela aplikasi
/frameworks/base/docs/html/training/testing/ui-testing/
Despresso-testing.jd80 your tests. This capability also relieves you from having to adding any timing workarounds,
/frameworks/base/docs/html/preview/
Dapi-overview.jd1001 timing info for the app's current window. The data returned is
1026 The API provides a {@code FrameMetrics} object, which contains timing data that
Dsupport.jd486 streaming pubsub API to transfer frame timing info for the application’s
/frameworks/base/docs/html/sdk/
DOLD_RELEASENOTES.jd379 <li>Now retries to launch the app on the emulator if it fails due to timing issues when the emulato…
/frameworks/base/docs/html/ndk/downloads/
Drevision_history.jd2321 <li>Fixed Windows parallel builds that sometimes failed due to timing issues in the