Home
last modified time | relevance | path

Searched refs:formatVersion (Results 1 – 23 of 23) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/android/app/timezone/
H A DRulesStateTest.java38 "2016a", formatVersion(1, 2), false /* operationInProgress */, in equalsAndHashCode()
44 "2016a", formatVersion(1, 2), false /* operationInProgress */, in equalsAndHashCode()
50 "2016b", formatVersion(1, 2), false /* operationInProgress */, in equalsAndHashCode()
56 "2016a", formatVersion(1, 1), false /* operationInProgress */, in equalsAndHashCode()
62 "2016a", formatVersion(1, 1), true /* operationInProgress */, in equalsAndHashCode()
68 "2016a", formatVersion(1, 1), false /* operationInProgress */, in equalsAndHashCode()
74 "2016a", formatVersion(1, 1), false /* operationInProgress */, in equalsAndHashCode()
80 "2016a", formatVersion(1, 1), false /* operationInProgress */, in equalsAndHashCode()
86 "2016a", formatVersion(1, 1), false /* operationInProgress */, in equalsAndHashCode()
95 "2016a", formatVersion(1, 1), false /* operationInProgress */, in parcelable()
[all …]
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
H A Ddictionary_structure_with_buffer_policy_factory.cpp57 const int formatVersion, const std::vector<int> &locale, in newPolicyForOnMemoryDict() argument
59 FormatUtils::FORMAT_VERSION dictFormatVersion = FormatUtils::getFormatVersion(formatVersion); in newPolicyForOnMemoryDict()
76 formatVersion); in newPolicyForOnMemoryDict()
85 const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForOnMemoryV4Dict() argument
88 HeaderPolicy headerPolicy(formatVersion, locale, attributeMap); in newPolicyForOnMemoryV4Dict()
113 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::detectFormatVersion( in newPolicyForDirectoryDict() local
115 switch (formatVersion) { in newPolicyForDirectoryDict()
126 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
132 headerFilePath, formatVersion, std::move(mmappedBuffer)); in newPolicyForDirectoryDict()
145 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion, in newPolicyForV4Dict() argument
[all …]
H A Ddictionary_structure_with_buffer_policy_factory.h37 newPolicyForOnMemoryDict(const int formatVersion, const std::vector<int> &locale,
45 newPolicyForOnMemoryV4Dict(const FormatUtils::FORMAT_VERSION formatVersion,
54 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion,
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Ddict_file_writing_utils.cpp45 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion); in createEmptyDictFile() local
46 switch (formatVersion) { in createEmptyDictFile()
51 filePath, localeAsCodePointVector, attributeMap, formatVersion); in createEmptyDictFile()
56 filePath, localeAsCodePointVector, attributeMap, formatVersion); in createEmptyDictFile()
68 const FormatUtils::FORMAT_VERSION formatVersion) { in createEmptyV4DictFile() argument
69 HeaderPolicy headerPolicy(formatVersion, localeAsCodePointVector, attributeMap); in createEmptyV4DictFile()
H A Dformat_utils.cpp28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) { in getFormatVersion() argument
29 switch (formatVersion) { in getFormatVersion()
H A Ddict_file_writing_utils.h52 const FormatUtils::FORMAT_VERSION formatVersion);
58 const FormatUtils::FORMAT_VERSION formatVersion);
H A Dformat_utils.h50 static FORMAT_VERSION getFormatVersion(const int formatVersion);
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DWordListMetadata.java59 final int version, final int formatVersion, in WordListMetadata() argument
72 mFormatVersion = formatVersion; in WordListMetadata()
94 final Integer formatVersion = values.getAsInteger(MetadataDbHelper.FORMATVERSION_COLUMN); in createFromContentValues() local
106 || null == formatVersion in createFromContentValues()
112 checksum, retryCount, localFilename, remoteFilename, version, formatVersion, in createFromContentValues()
H A DMetadataDbHelper.java485 final long filesize, final int version, final int formatVersion) { in makeContentValues() argument
501 result.put(FORMATVERSION_COLUMN, formatVersion); in makeContentValues()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_dict_buffers.cpp41 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers() argument
50 formatVersion)); in openVer4DictBuffers()
130 const FormatUtils::FORMAT_VERSION formatVersion) in Ver4DictBuffers() argument
134 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion), in Ver4DictBuffers()
H A Dver4_dict_buffers.h49 const FormatUtils::FORMAT_VERSION formatVersion);
134 const FormatUtils::FORMAT_VERSION formatVersion);
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_dict_buffers.cpp35 const FormatUtils::FORMAT_VERSION formatVersion) { in openVer4DictBuffers() argument
66 formatVersion, buffers)); in openVer4DictBuffers()
172 const FormatUtils::FORMAT_VERSION formatVersion, in Ver4DictBuffers() argument
175 mHeaderPolicy(mHeaderBuffer->getReadOnlyByteArrayView().data(), formatVersion), in Ver4DictBuffers()
H A Dver4_dict_buffers.h40 const FormatUtils::FORMAT_VERSION formatVersion);
114 const FormatUtils::FORMAT_VERSION formatVersion,
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/serializer/
H A DRuleSerializer.java31 Optional<Integer> formatVersion, in serialize() argument
37 byte[] serialize(List<Rule> rules, Optional<Integer> formatVersion) in serialize() argument
H A DRuleBinarySerializer.java67 public byte[] serialize(List<Rule> rules, Optional<Integer> formatVersion) in serialize() argument
71 serialize(rules, formatVersion, rulesOutputStream, new ByteArrayOutputStream()); in serialize()
82 Optional<Integer> formatVersion, in serialize() argument
107 serializeRuleFileMetadata(formatVersion, ruleFileByteTrackedOutputStream); in serialize()
148 Optional<Integer> formatVersion, ByteTrackedOutputStream outputStream) in serializeRuleFileMetadata() argument
150 int formatVersionValue = formatVersion.orElse(DEFAULT_FORMAT_VERSION); in serializeRuleFileMetadata()
/aosp12/system/extras/verity/
H A DBootSignature.java66 private ASN1Integer formatVersion; field in BootSignature
93 this.formatVersion = new ASN1Integer(FORMAT_VERSION); in BootSignature()
107 formatVersion = (ASN1Integer) sequence.getObjectAt(0); in BootSignature()
108 if (formatVersion.getValue().intValue() != FORMAT_VERSION) { in BootSignature()
192 v.add(formatVersion); in toASN1Primitive()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DBinaryDictionaryTests.java75 private File createEmptyDictionaryAndGetFile(final int formatVersion) { in createEmptyDictionaryAndGetFile() argument
76 return createEmptyDictionaryWithAttributesAndGetFile(formatVersion, in createEmptyDictionaryAndGetFile()
80 private File createEmptyDictionaryWithAttributesAndGetFile(final int formatVersion, in createEmptyDictionaryWithAttributesAndGetFile() argument
83 final File dictFile = createEmptyVer4DictionaryAndGetFile(formatVersion, in createEmptyDictionaryWithAttributesAndGetFile()
93 private File createEmptyVer4DictionaryAndGetFile(final int formatVersion, in createEmptyVer4DictionaryAndGetFile() argument
99 if (BinaryDictionaryUtils.createEmptyDictFile(file.getAbsolutePath(), formatVersion, in createEmptyVer4DictionaryAndGetFile()
104 + " cannot be created. Format version: " + formatVersion); in createEmptyVer4DictionaryAndGetFile()
113 private BinaryDictionary getEmptyBinaryDictionary(final int formatVersion) { in getEmptyBinaryDictionary() argument
114 final File dictFile = createEmptyDictionaryAndGetFile(formatVersion); in getEmptyBinaryDictionary()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DExpandableBinaryDictionary.java117 static boolean matchesExpectedBinaryDictFormatVersionForThisType(final int formatVersion) { in matchesExpectedBinaryDictFormatVersionForThisType() argument
118 return formatVersion == FormatSpec.VERSION4; in matchesExpectedBinaryDictFormatVersionForThisType()
121 private static boolean needsToMigrateDictionary(final int formatVersion) { in needsToMigrateDictionary() argument
124 return formatVersion == FormatSpec.VERSION402; in needsToMigrateDictionary()
H A DBinaryDictionary.java144 final Locale locale, final String dictType, final long formatVersion, in BinaryDictionary() argument
161 mNativeDict = createOnMemoryNative(formatVersion, locale.toString(), keyArray, valueArray); in BinaryDictionary()
171 private static native long createOnMemoryNative(long formatVersion, in createOnMemoryNative() argument
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_policy.h35 HeaderPolicy(const uint8_t *const dictBuf, const FormatUtils::FORMAT_VERSION formatVersion) in HeaderPolicy() argument
36 : mDictFormatVersion(formatVersion), in HeaderPolicy()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
H A DRuleBinarySerializerTest.java498 int formatVersion = 1; in testBinaryString_serializeFormatVersion() local
500 String expectedBits = getBits(formatVersion, FORMAT_VERSION_BITS); in testBinaryString_serializeFormatVersion()
505 Collections.emptyList(), /* formatVersion= */ Optional.of(formatVersion)); in testBinaryString_serializeFormatVersion()
/aosp12/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp72 jlong formatVersion, jstring locale, jobjectArray attributeKeyStringArray, in latinime_BinaryDictionary_createOnMemory() argument
90 formatVersion, localeCodePoints, &attributeMap); in latinime_BinaryDictionary_createOnMemory()
/aosp12/packages/apps/RemoteProvisioner/tests/unittests/
H A Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...