Home
last modified time | relevance | path

Searched refs:NSEC_PER_MSEC (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/tests/
DMotionPredictor_test.cpp39 constexpr nsecs_t NSEC_PER_MSEC = 1'000'000; variable
186 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST()
195 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST()
207 EXPECT_NE(nullptr, predictor.predict(90 * NSEC_PER_MSEC)); in TEST()
210 EXPECT_EQ(nullptr, predictor.predict(100 * NSEC_PER_MSEC)); in TEST()
246 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST()
265 std::unique_ptr<MotionEvent> predicted = predictor.predict(90 * NSEC_PER_MSEC); in TEST_WITH_FLAGS()
283 std::unique_ptr<MotionEvent> predicted = predictor.predict(90 * NSEC_PER_MSEC); in TEST_WITH_FLAGS()
300 std::unique_ptr<MotionEvent> predicted = predictor.predict(82 * NSEC_PER_MSEC); in TEST_WITH_FLAGS()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleUidTimeReader.cpp25 static constexpr uint64_t NSEC_PER_MSEC = 1000000; variable
33 for (uint32_t i = 0; i < subVec.size(); ++i) subVec[i] /= NSEC_PER_MSEC; in copyVecsToArray()
72 flattened[i] /= NSEC_PER_MSEC; in addCpuTimeInFreqDelta()
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp26 static constexpr uint64_t NSEC_PER_MSEC = 1000000; variable
49 for (uint32_t i = 0; i < subVec.size(); ++i) subVec[i] /= NSEC_PER_MSEC; in copy2DVecToArray()
100 for (auto &time : times.active) time /= NSEC_PER_MSEC; in KernelCpuUidActiveTimeBpfMapReader_readBpfData()
Dcom_android_internal_os_KernelSingleProcessCpuThreadReader.cpp35 static constexpr uint64_t NSEC_PER_MSEC = 1000000; variable
168 cpuTimesMillis[index] = timeNanos / NSEC_PER_MSEC; in flattenTimeInStateData()
/frameworks/base/services/core/jni/
Dcom_android_server_power_stats_CpuPowerStatsCollector.cpp35 static constexpr uint64_t NSEC_PER_MSEC = 1000000; variable
127 out[scalingStep] = subVec[i] / NSEC_PER_MSEC; in flatten()
160 brackets[bracket] += subVec[i] / NSEC_PER_MSEC; in combineByBracket()