Home
last modified time | relevance | path

Searched refs:serializedPreconditions (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsModelParamsSupplierTest.java42 byte[] serializedPreconditions = new byte[]{0x12, 0x24, 0x36}; in getSerializedPreconditions_validActionsModelParams()
47 serializedPreconditions); in getSerializedPreconditions_validActionsModelParams()
51 assertThat(actual).isEqualTo(serializedPreconditions); in getSerializedPreconditions_validActionsModelParams()
62 byte[] serializedPreconditions = new byte[]{0x12, 0x24, 0x36}; in getSerializedPreconditions_invalidVersion()
67 serializedPreconditions); in getSerializedPreconditions_invalidVersion()
83 byte[] serializedPreconditions = new byte[]{0x12, 0x24, 0x36}; in getSerializedPreconditions_invalidLocales()
88 serializedPreconditions); in getSerializedPreconditions_invalidLocales()
/frameworks/base/core/java/android/view/textclassifier/
DActionsModelParamsSupplier.java116 byte[] serializedPreconditions = in parse()
118 return new ActionsModelParams(version, locales, serializedPreconditions); in parse()
159 byte[] serializedPreconditions) { in ActionsModelParams() argument
162 mSerializedPreconditions = Preconditions.checkNotNull(serializedPreconditions); in ActionsModelParams()