Home
last modified time | relevance | path

Searched refs:prediction (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DPredictor.cpp187 const Prediction& prediction = getPrediction(*approximateMatch); in getPredictedPlan() local
189 .plan = prediction.getPlan(), in getPredictedPlan()
261 const auto& [hash, prediction] = *predictionsEntry; in describeLayerStack()
263 prediction.getExampleLayerStack().dump(result); in describeLayerStack()
266 prediction.dump(result); in describeLayerStack()
281 const Prediction& prediction = mPredictions.at(hash); in listSimilarStacks() local
282 prediction.getExampleLayerStack().dumpLayerNames(result); in listSimilarStacks()
292 const auto& [_, prediction] = *predictionEntry; in getPrediction()
293 return prediction; in getPrediction()
298 const auto& [_, prediction] = *candidateEntry; in getPrediction()
[all …]
/frameworks/base/core/java/android/app/prediction/
DIPredictionManager.aidl17 package android.app.prediction;
19 import android.app.prediction.AppTarget;
20 import android.app.prediction.AppTargetEvent;
21 import android.app.prediction.AppPredictionContext;
22 import android.app.prediction.AppPredictionSessionId;
23 import android.app.prediction.IPredictionCallback;
DAppTarget.aidl17 package android.app.prediction;
DAppPredictionContext.aidl17 package android.app.prediction;
DAppTargetEvent.aidl17 package android.app.prediction;
DAppPredictionSessionId.aidl17 package android.app.prediction;
DAppTargetId.aidl17 package android.app.prediction;
DAppTargetEvent.java16 package android.app.prediction;
80 mTarget = parcel.readParcelable(null, android.app.prediction.AppTarget.class); in AppTargetEvent()
DIPredictionCallback.aidl17 package android.app.prediction;
/frameworks/base/core/java/android/service/appprediction/
DIPredictionService.aidl19 import android.app.prediction.AppTarget;
20 import android.app.prediction.AppTargetEvent;
21 import android.app.prediction.AppPredictionContext;
22 import android.app.prediction.AppPredictionSessionId;
23 import android.app.prediction.IPredictionCallback;
DAppPredictionService.java26 import android.app.prediction.AppPredictionContext;
27 import android.app.prediction.AppPredictionSessionId;
28 import android.app.prediction.AppTarget;
29 import android.app.prediction.AppTargetEvent;
30 import android.app.prediction.AppTargetId;
31 import android.app.prediction.IPredictionCallback;
/frameworks/base/services/people/java/com/android/server/people/
DSessionInfo.java20 import android.app.prediction.AppPredictionContext;
21 import android.app.prediction.AppTarget;
22 import android.app.prediction.IPredictionCallback;
30 import com.android.server.people.prediction.AppTargetPredictor;
DPeopleService.java28 import android.app.prediction.AppPredictionContext;
29 import android.app.prediction.AppPredictionSessionId;
30 import android.app.prediction.AppTarget;
31 import android.app.prediction.AppTargetEvent;
32 import android.app.prediction.IPredictionCallback;
/frameworks/base/services/people/java/com/android/server/people/prediction/
DAppTargetPredictor.java17 package com.android.server.people.prediction;
23 import android.app.prediction.AppPredictionContext;
24 import android.app.prediction.AppTarget;
25 import android.app.prediction.AppTargetEvent;
26 import android.app.prediction.AppTargetId;
DShareTargetPredictor.java17 package com.android.server.people.prediction;
27 import android.app.prediction.AppPredictionContext;
28 import android.app.prediction.AppPredictionManager;
29 import android.app.prediction.AppPredictor;
30 import android.app.prediction.AppTarget;
31 import android.app.prediction.AppTargetEvent;
32 import android.app.prediction.AppTargetId;
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
DPredictorTest.cpp379 Prediction prediction({}, plan); in TEST_F() local
381 EXPECT_EQ(plan, prediction.getPlan()); in TEST_F()
385 prediction.dump(result); in TEST_F()
389 Prediction prediction({}, {}); in TEST_F() local
393 prediction.recordHit(Prediction::Type::Exact); in TEST_F()
398 prediction.recordHit(Prediction::Type::Approximate); in TEST_F()
401 EXPECT_EQ(kExactMatches, prediction.getHitCount(Prediction::Type::Exact)); in TEST_F()
402 EXPECT_EQ(kApproximateMatches, prediction.getHitCount(Prediction::Type::Approximate)); in TEST_F()
403 EXPECT_EQ(kExactMatches + kApproximateMatches, prediction.getHitCount(Prediction::Type::Total)); in TEST_F()
407 Prediction prediction({}, {}); in TEST_F() local
[all …]
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java29 import android.app.prediction.AppPredictionContext;
30 import android.app.prediction.AppPredictionSessionId;
31 import android.app.prediction.AppTargetEvent;
32 import android.app.prediction.IPredictionCallback;
33 import android.app.prediction.IPredictionManager;
/frameworks/base/core/java/com/android/internal/app/
DAppPredictionServiceResolverComparator.java19 import static android.app.prediction.AppTargetEvent.ACTION_LAUNCH;
22 import android.app.prediction.AppPredictor;
23 import android.app.prediction.AppTarget;
24 import android.app.prediction.AppTargetEvent;
25 import android.app.prediction.AppTargetId;
DChooserFlags.java19 import android.app.prediction.AppPredictionManager;
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp231 auto const prediction = (ordinalRequest * slope) + intercept + oldest; in nextAnticipatedVSyncTimeFromLocked() local
235 traceInt64If("VSP-prediction", prediction); in nextAnticipatedVSyncTimeFromLocked()
239 str << "prediction made from: " << timePoint << "prediction: " << prediction << " (+" in nextAnticipatedVSyncTimeFromLocked()
240 << prediction - timePoint << ") slope: " << slope << " intercept: " << intercept in nextAnticipatedVSyncTimeFromLocked()
246 LOG_ALWAYS_FATAL_IF(prediction < timePoint, "VSyncPredictor: model miscalculation: %s", in nextAnticipatedVSyncTimeFromLocked()
249 return prediction; in nextAnticipatedVSyncTimeFromLocked()
/frameworks/av/media/codecs/amrwb/enc/inc/
Dqisf_ns.tab23 * Version whith no prediction
26 #define ORDER 16 /* order of linear prediction filter */
/frameworks/base/packages/AppPredictionLib/src/com/android/app/prediction/
DConstants.java17 package com.android.app.prediction;
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java39 import android.app.prediction.AppPredictionContext;
40 import android.app.prediction.AppPredictionSessionId;
41 import android.app.prediction.AppTarget;
42 import android.app.prediction.IPredictionCallback;
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DPredictor.h275 PromotionCandidate(NonBufferHash hash, Prediction&& prediction)
276 : hash(hash), prediction(std::move(prediction)) {}
279 Prediction prediction;
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp263 auto prediction = mTokenManager->getPredictionsForToken( in expectVsyncEventFrameTimelinesCorrect() local
265 EXPECT_TRUE(prediction.has_value()); in expectVsyncEventFrameTimelinesCorrect()
266 EXPECT_EQ(prediction.value().endTime, in expectVsyncEventFrameTimelinesCorrect()
269 EXPECT_EQ(prediction.value().presentTime, in expectVsyncEventFrameTimelinesCorrect()
425 auto prediction = in TEST_F() local
427 EXPECT_TRUE(prediction.has_value()); in TEST_F()
428 EXPECT_EQ(prediction.value().endTime, vsyncEventData.frameTimelines[i].deadlineTimestamp) in TEST_F()
430 EXPECT_EQ(prediction.value().presentTime, in TEST_F()

123