Home
last modified time | relevance | path

Searched refs:predictionContext (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/prediction/
DAppTargetPredictor.java44 public static AppTargetPredictor create(@NonNull AppPredictionContext predictionContext, in create() argument
47 if (UI_SURFACE_SHARE.equals(predictionContext.getUiSurface())) { in create()
49 predictionContext, updatePredictionsMethod, dataManager, callingUserId); in create()
52 predictionContext, updatePredictionsMethod, dataManager, callingUserId); in create()
61 AppTargetPredictor(@NonNull AppPredictionContext predictionContext, in AppTargetPredictor() argument
64 mPredictionContext = predictionContext; in AppTargetPredictor()
DShareTargetPredictor.java57 ShareTargetPredictor(@NonNull AppPredictionContext predictionContext, in ShareTargetPredictor() argument
60 super(predictionContext, updatePredictionsMethod, dataManager, callingUserId); in ShareTargetPredictor()
61 mIntentFilter = predictionContext.getExtras().getParcelable( in ShareTargetPredictor()
/frameworks/base/core/java/android/app/prediction/
DAppPredictionManager.java48 @NonNull AppPredictionContext predictionContext) { in createAppPredictionSession()
49 return new AppPredictor(mContext, predictionContext); in createAppPredictionSession()
DAppPredictor.java95 AppPredictor(@NonNull Context context, @NonNull AppPredictionContext predictionContext) { in AppPredictor() argument
101 mPredictionManager.createPredictionSession(predictionContext, mSessionId); in AppPredictor()
/frameworks/base/services/people/java/com/android/server/people/
DSessionInfo.java42 SessionInfo(AppPredictionContext predictionContext, DataManager dataManager, in SessionInfo() argument
44 mAppTargetPredictor = AppTargetPredictor.create(predictionContext, in SessionInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DShareTargetPredictorTest.java109 AppPredictionContext predictionContext = new AppPredictionContext.Builder(mContext) in setUp() local
115 predictionContext, mUpdatePredictionsMethod, mDataManager, USER_ID); in setUp()
237 AppPredictionContext predictionContext = new AppPredictionContext.Builder(mContext) in testPredictTargets_nullIntentFilter() local
243 predictionContext, mUpdatePredictionsMethod, mDataManager, USER_ID); in testPredictTargets_nullIntentFilter()
346 AppPredictionContext predictionContext = new AppPredictionContext.Builder(mContext) in testSortTargets_nullIntentFilter() local
352 predictionContext, mUpdatePredictionsMethod, mDataManager, USER_ID); in testSortTargets_nullIntentFilter()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java389 @NonNull final AppPredictionContext predictionContext, in AppPredictionSessionInfo() argument
396 mPredictionContext = predictionContext; in AppPredictionSessionInfo()