Searched refs:atomicFormula (Results 1 – 3 of 3) sorted by relevance
230 AtomicFormula atomicFormula, BitOutputStream bitOutputStream) throws IOException { in serializeAtomicFormula() argument231 if (atomicFormula == null) { in serializeAtomicFormula()236 bitOutputStream.setNext(KEY_BITS, atomicFormula.getKey()); in serializeAtomicFormula()237 if (atomicFormula.getTag() == AtomicFormula.STRING_ATOMIC_FORMULA_TAG) { in serializeAtomicFormula()239 (AtomicFormula.StringAtomicFormula) atomicFormula; in serializeAtomicFormula()245 } else if (atomicFormula.getTag() == AtomicFormula.LONG_ATOMIC_FORMULA_TAG) { in serializeAtomicFormula()247 (AtomicFormula.LongAtomicFormula) atomicFormula; in serializeAtomicFormula()253 } else if (atomicFormula.getTag() == AtomicFormula.BOOLEAN_ATOMIC_FORMULA_TAG) { in serializeAtomicFormula()255 (AtomicFormula.BooleanAtomicFormula) atomicFormula; in serializeAtomicFormula()260 String.format("Invalid atomic formula type: %s", atomicFormula.getClass())); in serializeAtomicFormula()
140 AtomicFormula.StringAtomicFormula atomicFormula) { in getIndexingDetailsForStringAtomicFormula() argument141 switch (atomicFormula.getKey()) { in getIndexingDetailsForStringAtomicFormula()143 return new RuleIndexingDetails(PACKAGE_NAME_INDEXED, atomicFormula.getValue()); in getIndexingDetailsForStringAtomicFormula()145 return new RuleIndexingDetails(APP_CERTIFICATE_INDEXED, atomicFormula.getValue()); in getIndexingDetailsForStringAtomicFormula()
131 BooleanAtomicFormula atomicFormula = in testValidAtomicFormula_boolValue() local134 assertThat(atomicFormula.getKey()).isEqualTo(AtomicFormula.PRE_INSTALLED); in testValidAtomicFormula_boolValue()135 assertThat(atomicFormula.getValue()).isTrue(); in testValidAtomicFormula_boolValue()