Home
last modified time | relevance | path

Searched refs:ruleBytes (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
H A DRuleBinaryParserTest.java121 rule.put(ruleBytes); in testBinaryStream_validCompoundFormula_noIndexing()
160 rule.put(ruleBytes); in testBinaryString_validCompoundFormula_notConnector_noIndexing()
205 rule.put(ruleBytes); in testBinaryString_validCompoundFormula_andConnector_noIndexing()
253 rule.put(ruleBytes); in testBinaryString_validCompoundFormula_orConnector_noIndexing()
292 rule.put(ruleBytes); in testBinaryString_validAtomicFormula_stringValue_noIndexing()
324 rule.put(ruleBytes); in testBinaryString_validAtomicFormula_hashedValue_noIndexing()
358 rule.put(ruleBytes); in testBinaryString_validAtomicFormulaWithCertificateLineage()
390 rule.put(ruleBytes); in testBinaryString_validAtomicFormula_integerValue_noIndexing()
418 rule.put(ruleBytes); in testBinaryString_validAtomicFormula_booleanValue_noIndexing()
445 rule.put(ruleBytes); in testBinaryString_invalidAtomicFormula_noIndexing()
[all …]
H A DBinaryFileOperationsTest.java65 byte[] ruleBytes = in testGetHashedStringValue()
70 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetHashedStringValue()
81 byte[] ruleBytes = getBytes(getValueBits(PACKAGE_NAME)); in testGetStringValue_withSizeAndHashingInfo()
82 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetStringValue_withSizeAndHashingInfo()
93 byte[] ruleBytes = getBytes(getBits(randomValue, /* numOfBits= */ 32)); in testGetIntValue()
94 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetIntValue()
102 byte[] ruleBytes = getBytes(booleanValue); in testGetBooleanValue_true()
103 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetBooleanValue_true()
111 byte[] ruleBytes = getBytes(booleanValue); in testGetBooleanValue_false()
112 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetBooleanValue_false()
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/parser/
H A DRuleParser.java27 List<Rule> parse(byte[] ruleBytes) throws RuleParseException; in parse() argument
H A DRuleBinaryParser.java55 public List<Rule> parse(byte[] ruleBytes) throws RuleParseException { in parse() argument
56 return parse(RandomAccessObject.ofBytes(ruleBytes), Collections.emptyList()); in parse()