Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/integrity/model/
H A DComponentBitSize.java26 public static final int FORMAT_VERSION_BITS = 8; field in ComponentBitSize
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/parser/
H A DRuleBinaryParser.java25 import static com.android.server.integrity.model.ComponentBitSize.FORMAT_VERSION_BITS;
75 randomAccessInputStream.skip(FORMAT_VERSION_BITS / BYTE_BITS); in parseRules()
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/serializer/
H A DRuleBinarySerializer.java25 import static com.android.server.integrity.model.ComponentBitSize.FORMAT_VERSION_BITS;
153 bitOutputStream.setNext(FORMAT_VERSION_BITS, formatVersionValue); in serializeRuleFileMetadata()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
H A DRuleBinarySerializerTest.java25 import static com.android.server.integrity.model.ComponentBitSize.FORMAT_VERSION_BITS;
99 getBytes(getBits(DEFAULT_FORMAT_VERSION, FORMAT_VERSION_BITS));
500 String expectedBits = getBits(formatVersion, FORMAT_VERSION_BITS); in testBinaryString_serializeFormatVersion()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
H A DRuleBinaryParserTest.java25 import static com.android.server.integrity.model.ComponentBitSize.FORMAT_VERSION_BITS;
97 getBytes(getBits(DEFAULT_FORMAT_VERSION, FORMAT_VERSION_BITS));