Home
last modified time | relevance | path

Searched refs:classification (Results 1 – 17 of 17) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassificationTest.java87 final TextClassification classification = new TextClassification.Builder() in testTextClassification() local
97 assertEquals(TEXT, classification.getText()); in testTextClassification()
98 assertEquals(2, classification.getEntityCount()); in testTextClassification()
99 assertEquals(TextClassifier.TYPE_EMAIL, classification.getEntity(0)); in testTextClassification()
100 assertEquals(TextClassifier.TYPE_ADDRESS, classification.getEntity(1)); in testTextClassification()
101 assertEquals(addressScore, classification.getConfidenceScore(TextClassifier.TYPE_ADDRESS), in testTextClassification()
103 assertEquals(emailScore, classification.getConfidenceScore(TextClassifier.TYPE_EMAIL), in testTextClassification()
105 assertEquals(0, classification.getConfidenceScore("random_type"), ACCEPTED_DELTA); in testTextClassification()
108 assertNull(classification.getIntent()); in testTextClassification()
109 assertNull(classification.getLabel()); in testTextClassification()
[all …]
DTextClassifierServiceSwapTest.java198 final TextClassification classification = tc.classifyText(request); in testResourceIconsRewrittenToContentUriIcons_classifyText() local
199 final Icon icon = classification.getActions().get(0).getIcon(); in testResourceIconsRewrittenToContentUriIcons_classifyText()
/cts/tests/tests/assist/src/android/assist/cts/classification/unittests/
DFieldClassificationResponseTest.java17 package android.assist.cts.classification.unittests;
19 import static android.assist.cts.classification.unittests.Helper.assertFieldClassificationResponseE…
24 import android.service.assist.classification.FieldClassification;
25 import android.service.assist.classification.FieldClassificationResponse;
DHelper.java17 package android.assist.cts.classification.unittests;
21 import android.service.assist.classification.FieldClassification;
22 import android.service.assist.classification.FieldClassificationResponse;
DFieldClassificationTest.java17 package android.assist.cts.classification.unittests;
19 import static android.assist.cts.classification.unittests.Helper.assertFieldClassificationEquals;
24 import android.service.assist.classification.FieldClassification;
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCannedFieldClassificationResponse.java21 import android.service.assist.classification.FieldClassification;
22 import android.service.assist.classification.FieldClassificationResponse;
59 public Builder addFieldClassification(CannedFieldClassification classification) { in addFieldClassification() argument
60 mClassifications.add(classification); in addFieldClassification()
DInstrumentedFieldClassificationService.java26 import android.service.assist.classification.FieldClassificationRequest;
27 import android.service.assist.classification.FieldClassificationResponse;
28 import android.service.assist.classification.FieldClassificationService;
106 android.service.assist.classification.FieldClassificationRequest request, in onClassificationRequest()
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DTestServiceClient.java79 public void sendByTextClassification(TextClassification classification) throws RemoteException { in sendByTextClassification() argument
80 mTestService.sendByTextClassification(classification); in sendByTextClassification()
/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp61 jint classification = env->CallIntMethod(obj, gMotionEventMethodIds.getClassification); in nativeMotionEventTest() local
88 ASSERT(AMotionEvent_getClassification(event) == classification, in nativeMotionEventTest()
90 classification); in nativeMotionEventTest()
/cts/tests/framework/base/windowmanager/backgroundactivity/common/aidl/android/server/wm/backgroundactivity/common/
DITestService.aidl28 void sendByTextClassification(in TextClassification classification); in sendByTextClassification() argument
/cts/tests/framework/base/windowmanager/backgroundactivity/common/src/android/server/wm/backgroundactivity/common/
DTestService.java93 public void sendByTextClassification(TextClassification classification) { in sendByTextClassification() argument
94 View.OnClickListener onClickListener = classification.getOnClickListener(); in sendByTextClassification()
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/
Dpoc.cpp105 outMsg->body.motion.classification = msg.body.motion.classification; in sanitizeMessage()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DFillResponseTest.java30 import android.service.assist.classification.FieldClassification;
/cts/tests/mediapc/common/
DREADME.md105 system automatically chooses to record the higher classification
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt12335 package android.service.assist.classification {
12347 …ic static final android.os.Parcelable.Creator<android.service.assist.classification.FieldClassific…
12351 …ClassificationResponse(@NonNull java.util.Set<android.service.assist.classification.FieldClassific…
12353 …method @NonNull public java.util.Set<android.service.assist.classification.FieldClassification> ge…
12355 …ic static final android.os.Parcelable.Creator<android.service.assist.classification.FieldClassific…
12361classification.FieldClassificationRequest, @NonNull android.os.CancellationSignal, @NonNull androi…
12364 …field public static final String SERVICE_INTERFACE = "android.service.assist.classification.FieldC…
Dtest-current.txt2994 …method @NonNull public java.util.Set<android.service.assist.classification.FieldClassification> ge…
Dcurrent.txt39960 package android.service.assist.classification {
39968 …ic static final android.os.Parcelable.Creator<android.service.assist.classification.FieldClassific…
40181 …edFieldClassifications(@NonNull java.util.Set<android.service.assist.classification.FieldClassific…