Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java114 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() local
115 if (shouldLogNow(timing, curTime)) { in updateLog()
116 String log = buildMessage(logMessage, timing); in updateLog()
125 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() argument
127 .append("[").append(timing == null ? 1 : timing.second).append("]:") in buildMessage()
133 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() local
134 if (timing != null) { in increaseLogCount()
135 cache.put(message, new Pair<>(timing.first, timing.second + 1)); in increaseLogCount()
139 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
140 return timing == null || curTime - timing.first > ERROR_LOG_DURATION_MILLIS; in shouldLogNow()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp31 const VSyncDispatch::ScheduleTiming& timing) { in getExpectedCallbackTime() argument
32 return nextVsyncTime - timing.readyDuration - timing.workDuration; in getExpectedCallbackTime()
36 const VSyncDispatch::ScheduleTiming& timing) { in getExpectedCallbackTime() argument
38 std::max(timing.earliestVsync, now + timing.workDuration + timing.readyDuration)); in getExpectedCallbackTime()
39 return getExpectedCallbackTime(nextVsyncTime, timing); in getExpectedCallbackTime()
83 ScheduleResult VSyncDispatchTimerQueueEntry::schedule(VSyncDispatch::ScheduleTiming timing, in schedule() argument
86 std::max(timing.earliestVsync, now + timing.workDuration + timing.readyDuration)); in schedule()
87 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
94 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()
103 nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()
[all …]
DVSyncDispatchTimerQueue.h50 ScheduleResult schedule(VSyncDispatch::ScheduleTiming timing, VSyncTracker& tracker,
/frameworks/native/services/surfaceflinger/tests/unittests/
DMessageQueueTest.cpp104 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = mDuration.count(), in TEST_F()
109 EXPECT_CALL(mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(1234)); in TEST_F()
117 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = mDuration.count(), in TEST_F()
121 EXPECT_CALL(mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(1234)); in TEST_F()
126 EXPECT_CALL(mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(4567)); in TEST_F()
134 const auto timing = scheduler::VSyncDispatch::ScheduleTiming{.workDuration = mDuration.count(), in TEST_F()
138 EXPECT_CALL(mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(1234)); in TEST_F()
168 const auto timing = in TEST_F()
173 EXPECT_CALL(mVSyncDispatch, schedule(mCallbackToken, timing)).WillOnce(Return(0)); in TEST_F()
DDispSyncSourceTest.cpp65 ON_CALL(*this, schedule).WillByDefault([this](CallbackToken token, ScheduleTiming timing) { in MockVSyncDispatch() argument
74 callback.vsyncTime = timing.earliestVsync; in MockVSyncDispatch()
76 timing.earliestVsync - timing.workDuration - timing.readyDuration; in MockVSyncDispatch()
/frameworks/rs/perf-test-scripts/
Dtiming209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
217 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
218 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
269 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
276 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
277 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
309 rm -f timing.tmp
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java52 private static class timing { class in UT_reduce
53 timing(long myJavaStart, long myJavaEnd, long myRsStart, in timing() method in UT_reduce.timing
70 timing(long myInputCells) { in timing() method in UT_reduce.timing
110 return (new timing(myJavaStart, myJavaEnd, myRsStart, in string()
115 return (new timing(myInputCells)).string(); in string()
197 private <T extends Number> boolean result(String testName, final timing t, in result()
207 private boolean result(String testName, final timing t, in result()
228 private boolean result(String testName, final timing t, in result()
249 private boolean result(String testName, final timing t, in result()
254 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java50 private static class timing { class in UT_reduce
51 timing(long myJavaStart, long myJavaEnd, long myRsStart, in timing() method in UT_reduce.timing
68 timing(long myInputCells) { in timing() method in UT_reduce.timing
108 return (new timing(myJavaStart, myJavaEnd, myRsStart, in string()
113 return (new timing(myInputCells)).string(); in string()
195 private <T extends Number> boolean result(String testName, final timing t, in result()
205 private boolean result(String testName, final timing t, in result()
226 private boolean result(String testName, final timing t, in result()
247 private boolean result(String testName, final timing t, in result()
252 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java94 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter() local
100 verifyTimingBundle(timing, labels); in testStopTimingNoWriter()
161 Bundle timing = mPerfCollector.stopTiming("timing8"); in testStopTiming() local
167 verifyTimingBundle(timing, labels); in testStopTiming()
248 Bundle timing = mPerfCollector.stopTiming("iteration5"); in testSimpleSequence() local
262 verifyTimingBundle(timing, labels); in testSimpleSequence()
465 private void verifyTimingBundle(Bundle timing, ArrayList<String> labels) { in verifyTimingBundle() argument
466 assertEquals(1, timing.size()); in verifyTimingBundle()
467 assertTrue(timing.containsKey(PerformanceCollector.METRIC_KEY_ITERATIONS)); in verifyTimingBundle()
468 ArrayList<Parcelable> iterations = timing.getParcelableArrayList( in verifyTimingBundle()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp280 std::vector<TimingInfo> timing; member
370 swapchain->timing.clear(); in OrphanSwapchain()
374 if (swapchain.timing.size() < MIN_NUM_FRAMES_AGO) { in get_num_ready_timings()
379 const size_t num_timings = swapchain.timing.size() - MIN_NUM_FRAMES_AGO + 1; in get_num_ready_timings()
381 TimingInfo& ti = swapchain.timing[i]; in get_num_ready_timings()
432 if (swapchain.timing.empty()) { in copy_ready_timings()
437 size_t last_ready = swapchain.timing.size() - 1; in copy_ready_timings()
438 while (!swapchain.timing[last_ready].ready()) { in copy_ready_timings()
449 const TimingInfo& ti = swapchain.timing[i]; in copy_ready_timings()
459 swapchain.timing.erase(swapchain.timing.begin(), in copy_ready_timings()
[all …]
/frameworks/av/tools/
Dmainline_hook_project.sh43 Security bulletin timing or unreleased functionality may determine when that can be landed.
Dmainline_hook_partial.sh164 Security bulletin timing or unreleased functionality may drive when this can be landed.
/frameworks/rs/tests/java_api/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/services/core/java/com/android/server/vibrator/
DVibrationThread.java1454 long timing = 0; in getVibratorOnDuration() local
1461 timing += segment.getDuration(); in getVibratorOnDuration()
1472 return Math.max(timing, 1000); in getVibratorOnDuration()
1478 timing += mVibrationSettings.getRampDownDuration(); in getVibratorOnDuration()
1480 return timing; in getVibratorOnDuration()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto292 // The maximum number of timing sessions an app can run within this particular standby
295 // The maximum number of timing sessions an app can run within this particular standby
298 // The maximum number of timing sessions an app can run within this particular standby
301 // The maximum number of timing sessions an app can run within this particular standby
304 // The maximum number of timing sessions an app can run within this particular standby
307 // The maximum number of timing sessions that should be allowed to run in the past
/frameworks/base/packages/SystemUI/docs/
Dbroadcasts.md13 …`system_server`. This improves the total dispatch time for broadcasts and prevents from timing out.
/frameworks/proto_logging/stats/
Datoms.proto1951 // password, screen timing out, or user going back to lock screen.
3702 * Logs basic timing information about touch events.
3781 * Logs gesture classification and timing information for touch events.