Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationManager.java53 classificationContext -> new TextClassificationSession(
54 classificationContext, getTextClassifier());
163 @NonNull TextClassificationContext classificationContext) { in createTextClassificationSession()
164 Preconditions.checkNotNull(classificationContext); in createTextClassificationSession()
166 mSessionFactory.createTextClassificationSession(classificationContext); in createTextClassificationSession()
176 TextClassificationContext classificationContext, TextClassifier textClassifier) { in createTextClassificationSession() argument
177 Preconditions.checkNotNull(classificationContext); in createTextClassificationSession()
179 return new TextClassificationSession(classificationContext, textClassifier); in createTextClassificationSession()
DTextClassificationSessionFactory.java35 @NonNull TextClassificationContext classificationContext); in createTextClassificationSession()
DSystemTextClassifier.java261 @NonNull TextClassificationContext classificationContext, in initializeRemoteSession()
265 classificationContext.setUserId(mUserId); in initializeRemoteSession()
266 mManagerService.onCreateTextClassificationSession(classificationContext, mSessionId); in initializeRemoteSession()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java298 TextClassificationContext classificationContext, TextClassificationSessionId sessionId) in onCreateTextClassificationSession() argument
301 Preconditions.checkNotNull(classificationContext); in onCreateTextClassificationSession()
302 final int userId = classificationContext.getUserId(); in onCreateTextClassificationSession()
303 validateInput(mContext, classificationContext.getPackageName(), userId); in onCreateTextClassificationSession()
309 classificationContext, sessionId); in onCreateTextClassificationSession()
313 () -> onCreateTextClassificationSession(classificationContext, sessionId), in onCreateTextClassificationSession()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java713 TextClassificationContext classificationContext, in logSelectionStarted() argument
725 mClassificationContext = classificationContext; in logSelectionStarted()
908 TextClassificationContext classificationContext, @Nullable String actionLabel) { in generateTranslateEvent() argument
937 .setEventContext(classificationContext) in generateTranslateEvent()