Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
H A DPredictor.cpp247 prediction.getExampleLayerStack().dump(result); in describeLayerStack()
250 prediction.dump(result); in describeLayerStack()
277 return prediction; in getPrediction()
282 const auto& [_, prediction] = *candidateEntry; in getPrediction()
283 return prediction; in getPrediction()
296 match = &prediction; in getExactMatch()
299 match = &(candidateEntry->prediction); in getExactMatch()
342 match = &(candidateEntry->prediction); in getApproximateMatch()
377 if (prediction.getPlan() != result) { in recordPredictedResult()
381 prediction.recordMiss(predictedPlan.type); in recordPredictedResult()
[all …]
/aosp12/frameworks/base/core/java/android/app/prediction/
H A 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;
H A DAppPredictionContext.aidl17 package android.app.prediction;
H A DAppPredictionSessionId.aidl17 package android.app.prediction;
H A DAppTarget.aidl17 package android.app.prediction;
/aosp12/frameworks/base/core/java/android/service/appprediction/
H A 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;
H A 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;
/aosp12/frameworks/base/services/people/java/com/android/server/people/prediction/
H A 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;
H A 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;
/aosp12/frameworks/base/services/people/java/com/android/server/people/
H A 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;
H A 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;
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/
H A DPredictorTest.cpp375 Prediction prediction({}, plan); in TEST_F() local
377 EXPECT_EQ(plan, prediction.getPlan()); in TEST_F()
381 prediction.dump(result); in TEST_F()
385 Prediction prediction({}, {}); in TEST_F() local
389 prediction.recordHit(Prediction::Type::Exact); in TEST_F()
394 prediction.recordHit(Prediction::Type::Approximate); in TEST_F()
397 EXPECT_EQ(kExactMatches, prediction.getHitCount(Prediction::Type::Exact)); in TEST_F()
403 Prediction prediction({}, {}); in TEST_F() local
407 prediction.recordMiss(Prediction::Type::Exact); in TEST_F()
412 prediction.recordMiss(Prediction::Type::Approximate); in TEST_F()
[all …]
/aosp12/frameworks/base/services/appprediction/java/com/android/server/appprediction/
H A 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;
H A DAppPredictionPerUserService.java24 import android.app.prediction.AppPredictionContext;
25 import android.app.prediction.AppPredictionSessionId;
26 import android.app.prediction.AppTargetEvent;
27 import android.app.prediction.IPredictionCallback;
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DAppPredictionServiceResolverComparator.java19 import static android.app.prediction.AppTargetEvent.ACTION_LAUNCH;
21 import android.app.prediction.AppPredictor;
22 import android.app.prediction.AppTarget;
23 import android.app.prediction.AppTargetEvent;
24 import android.app.prediction.AppTargetId;
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
H A DAppEventProducer.java18 import static android.app.prediction.AppTargetEvent.ACTION_DISMISS;
19 import static android.app.prediction.AppTargetEvent.ACTION_LAUNCH;
20 import static android.app.prediction.AppTargetEvent.ACTION_PIN;
21 import static android.app.prediction.AppTargetEvent.ACTION_UNPIN;
44 import android.app.prediction.AppTarget;
45 import android.app.prediction.AppTargetEvent;
46 import android.app.prediction.AppTargetId;
H A DPredictionHelper.java20 import android.app.prediction.AppTarget;
21 import android.app.prediction.AppTargetEvent;
22 import android.app.prediction.AppTargetId;
H A DQuickstepModelDelegate.java35 import android.app.prediction.AppPredictionContext;
36 import android.app.prediction.AppPredictionManager;
37 import android.app.prediction.AppPredictor;
38 import android.app.prediction.AppTarget;
39 import android.app.prediction.AppTargetEvent;
/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DVSyncPredictor.cpp219 auto const prediction = (ordinalRequest * slope) + intercept + oldest; in nextAnticipatedVSyncTimeFromLocked() local
223 traceInt64If("VSP-prediction", prediction); in nextAnticipatedVSyncTimeFromLocked()
227 str << "prediction made from: " << timePoint << "prediction: " << prediction << " (+" in nextAnticipatedVSyncTimeFromLocked()
228 << prediction - timePoint << ") slope: " << slope << " intercept: " << intercept in nextAnticipatedVSyncTimeFromLocked()
234 LOG_ALWAYS_FATAL_IF(prediction < timePoint, "VSyncPredictor: model miscalculation: %s", in nextAnticipatedVSyncTimeFromLocked()
237 return prediction; in nextAnticipatedVSyncTimeFromLocked()
/aosp12/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
H A DPredictionService.java23 import android.app.prediction.AppPredictionContext;
24 import android.app.prediction.AppPredictionSessionId;
25 import android.app.prediction.AppTarget;
26 import android.app.prediction.AppTargetEvent;
27 import android.app.prediction.AppTargetId;
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
H A DHotseatPredictionModel.java23 import android.app.prediction.AppTarget;
24 import android.app.prediction.AppTargetEvent;
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
H A DPredictor.h273 PromotionCandidate(NonBufferHash hash, Prediction&& prediction)
274 : hash(hash), prediction(std::move(prediction)) {}
277 Prediction prediction;
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/
H A 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;
/aosp12/frameworks/av/media/codecs/amrwb/enc/inc/
H A Dqisf_ns.tab23 * Version whith no prediction
26 #define ORDER 16 /* order of linear prediction filter */
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
H A DShareTargetPredictorTest.java17 package com.android.server.people.prediction;
32 import android.app.prediction.AppPredictionContext;
33 import android.app.prediction.AppPredictionManager;
34 import android.app.prediction.AppTarget;
35 import android.app.prediction.AppTargetEvent;
36 import android.app.prediction.AppTargetId;

1234