Home
last modified time | relevance | path

Searched refs:predicted (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/input/tests/
DMotionPredictor_test.cpp186 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST() local
187 ASSERT_EQ(nullptr, predicted); in TEST()
195 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST() local
196 ASSERT_NE(nullptr, predicted); in TEST()
197 ASSERT_GE(predicted->getEventTime(), 41); in TEST()
246 std::unique_ptr<MotionEvent> predicted = predictor.predict(40 * NSEC_PER_MSEC); in TEST() local
247 ASSERT_EQ(nullptr, predicted); in TEST()
265 std::unique_ptr<MotionEvent> predicted = predictor.predict(90 * NSEC_PER_MSEC); in TEST_WITH_FLAGS() local
266 EXPECT_NE(nullptr, predicted); in TEST_WITH_FLAGS()
267 EXPECT_EQ(static_cast<size_t>(5), predicted->getHistorySize() + 1); in TEST_WITH_FLAGS()
[all …]
/frameworks/base/tests/Input/src/com/android/test/input/
DMotionPredictorTest.kt126 val predicted = predictor.predict(Duration.ofMillis(8).toNanos()) in testPredictedCoordinatesAndTime() constant
127 assertNotNull(predicted) in testPredictedCoordinatesAndTime()
131 assertEquals(12, predicted!!.eventTime) in testPredictedCoordinatesAndTime()
132 assertEquals(30f, predicted.x, /*delta=*/10f) in testPredictedCoordinatesAndTime()
133 assertEquals(60f, predicted.y, /*delta=*/15f) in testPredictedCoordinatesAndTime()
/frameworks/base/apct-tests/perftests/core/src/android/input/
DMotionPredictorBenchmark.kt117 val predicted = checkNotNull(predictor.predict(predictionTime.toNanos())) in timeRecordAndPredict() constant
118 assertTrue(predicted.eventTime <= (predictionTime + offset).toMillis()) in timeRecordAndPredict()
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h162 bool predicted = false; member
168 return hadClientComposition || changed || reused || predicted; in hasInterestingData()
DTimeStats.cpp347 if (record.predicted) mTimeStats.compositionStrategyPredictedLegacy++; in pushCompositionStrategyState()
/frameworks/proto_logging/stats/enums/wifi/
Denums.proto370 * Wi-Fi usability state as predicted by the network scorer
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java1789 boolean predicted = (reason & REASON_MAIN_MASK) == REASON_MAIN_PREDICTED; in setAppStandbyBucket()
1796 && predicted) { in setAppStandbyBucket()
1804 if (predicted in setAppStandbyBucket()
1838 if (predicted && newBucket >= STANDBY_BUCKET_RARE) { in setAppStandbyBucket()
1891 if (predicted) { in setAppStandbyBucket()
/frameworks/av/media/libheadtracking/
DREADME.md132 obtain a predicted head pose (w/ given latency).
/frameworks/proto_logging/stats/atoms/wifi/
Dwifi_extension_atoms.proto530 // Whether or not Wi-Fi is predicted as usable by the scorer
533 // Wi-Fi usability state as predicted by the scorer
/frameworks/proto_logging/stats/atoms/sysui/
Dsysui_atoms.proto195 // Used to store the predicted rank of the target
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp482 record.predicted = i < COMPOSITION_STRATEGY_PREDICTED_FRAMES; in TEST_F()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2965 clientCompositionRecord.predicted |= in composite()
/frameworks/proto_logging/stats/
Datoms.proto1850 // Whether or not Wi-Fi is predicted as usable by the scorer
1853 // Wi-Fi usability state as predicted by the scorer