/aosp14/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
H A D | CompoundFormulaTest.java | 44 new CompoundFormula( in testValidCompoundFormula() 78 CompoundFormula formula = in testParcelUnparcel() 79 new CompoundFormula( in testParcelUnparcel() 108 new CompoundFormula(CompoundFormula.NOT, Arrays.asList(ATOMIC_FORMULA_1)); in testFormulaMatches_notFalse_true() 120 new CompoundFormula(CompoundFormula.NOT, Arrays.asList(ATOMIC_FORMULA_1)); in testFormulaMatches_notTrue_false() 127 new CompoundFormula( in testFormulaMatches_trueAndTrue_true() 141 new CompoundFormula( in testFormulaMatches_trueAndFalse_false() 154 new CompoundFormula( in testFormulaMatches_falseAndTrue_false() 167 new CompoundFormula( in testFormulaMatches_falseAndFalse_false() 180 new CompoundFormula( in testFormulaMatches_trueOrTrue_true() [all …]
|
H A D | RuleTest.java | 66 CompoundFormula compoundFormula = in testToString() 67 new CompoundFormula( in testToString() 68 CompoundFormula.AND, in testToString() 95 new CompoundFormula( in testParcelUnparcel() 96 CompoundFormula.AND, in testParcelUnparcel() 99 new CompoundFormula( in testParcelUnparcel() 100 CompoundFormula.NOT, in testParcelUnparcel()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
H A D | RuleEvaluatorTest.java | 115 new CompoundFormula( in testEvaluateRules_multipleMatches_deny() 116 CompoundFormula.AND, in testEvaluateRules_multipleMatches_deny() 138 new CompoundFormula( in testEvaluateRules_ruleWithNot_deny() 172 new CompoundFormula( in testEvaluateRules_validForm_deny() 195 new CompoundFormula( in testEvaluateRules_orRules() 217 CompoundFormula openSubFormula = in testEvaluateRules_compoundFormulaWithNot_deny() 218 new CompoundFormula( in testEvaluateRules_compoundFormulaWithNot_deny() 229 CompoundFormula compoundFormula = in testEvaluateRules_compoundFormulaWithNot_deny() 230 new CompoundFormula(CompoundFormula.NOT, Collections.singletonList(openSubFormula)); in testEvaluateRules_compoundFormulaWithNot_deny() 250 new CompoundFormula( in testEvaluateRules_forceAllow() [all …]
|
/aosp14/frameworks/base/core/java/android/content/integrity/ |
H A D | CompoundFormula.java | 45 public final class CompoundFormula extends IntegrityFormula implements Parcelable { class 65 public static final Creator<CompoundFormula> CREATOR = 66 new Creator<CompoundFormula>() { 68 public CompoundFormula createFromParcel(Parcel in) { 69 return new CompoundFormula(in); 73 public CompoundFormula[] newArray(int size) { 74 return new CompoundFormula[size]; 85 public CompoundFormula(@Connector int connector, List<IntegrityFormula> formulas) { in CompoundFormula() method in CompoundFormula 93 CompoundFormula(Parcel in) { in CompoundFormula() method in CompoundFormula 174 CompoundFormula that = (CompoundFormula) o; in equals()
|
H A D | IntegrityFormula.java | 243 return CompoundFormula.CREATOR.createFromParcel(in); in readFromParcel() 265 return new CompoundFormula(CompoundFormula.OR, Arrays.asList(formulae)); in any() 276 return new CompoundFormula(CompoundFormula.AND, Arrays.asList(formulae)); in all() 282 return new CompoundFormula(CompoundFormula.NOT, Arrays.asList(formula)); in not()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/ |
H A D | RuleIndexingDetailsIdentifierTest.java | 29 import android.content.integrity.CompoundFormula; 84 new CompoundFormula( 85 CompoundFormula.AND, 92 new CompoundFormula( 100 new CompoundFormula( 109 new CompoundFormula( 207 new CompoundFormula( in getIndexType_negatedRuleContainingPackageNameFormula() 266 new CompoundFormula( in getRuleWithPackageName() 267 CompoundFormula.AND, in getRuleWithPackageName() 279 new CompoundFormula( in getRuleWithAppCertificate() [all …]
|
H A D | RuleBinarySerializerTest.java | 44 import android.content.integrity.CompoundFormula; 158 new CompoundFormula( in testBinaryStream_serializeValidCompoundFormula() 223 new CompoundFormula( in testBinaryString_serializeValidCompoundFormula_notConnector() 263 new CompoundFormula( in testBinaryString_serializeValidCompoundFormula_andConnector() 313 new CompoundFormula( in testBinaryString_serializeValidCompoundFormula_orConnector() 748 new CompoundFormula( in getRuleWithPackageNameAndSampleInstallerName() 749 CompoundFormula.AND, in getRuleWithPackageNameAndSampleInstallerName() 786 new CompoundFormula( in getRuleWithAppCertificateAndSampleInstallerName() 787 CompoundFormula.AND, in getRuleWithAppCertificateAndSampleInstallerName() 824 new CompoundFormula( in getNonIndexedRuleWithInstallerName() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/serializer/ |
H A D | RuleIndexingDetailsIdentifier.java | 24 import android.content.integrity.CompoundFormula; 82 return getIndexingDetailsForCompoundFormula((CompoundFormula) formula); in getIndexingDetails() 98 CompoundFormula compoundFormula) { in getIndexingDetailsForCompoundFormula() 103 case CompoundFormula.AND: in getIndexingDetailsForCompoundFormula() 104 case CompoundFormula.OR: in getIndexingDetailsForCompoundFormula()
|
H A D | RuleBinarySerializer.java | 39 import android.content.integrity.CompoundFormula; 205 } else if (formula instanceof CompoundFormula) { in serializeFormula() 206 serializeCompoundFormula((CompoundFormula) formula, bitOutputStream); in serializeFormula() 216 CompoundFormula compoundFormula, BitOutputStream bitOutputStream) throws IOException { in serializeCompoundFormula()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/ |
H A D | IntegrityCheckResultTest.java | 22 import android.content.integrity.CompoundFormula; 90 new CompoundFormula( in isDenyCausedByAppCertificate() 91 CompoundFormula.AND, in isDenyCausedByAppCertificate() 117 new CompoundFormula( in isDenyCausedByInstaller() 118 CompoundFormula.AND, in isDenyCausedByInstaller()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/ |
H A D | RuleBinaryParserTest.java | 38 import android.content.integrity.CompoundFormula; 65 private static final String NOT = getBits(CompoundFormula.NOT, CONNECTOR_BITS); 67 private static final String OR = getBits(CompoundFormula.OR, CONNECTOR_BITS); 125 new CompoundFormula( in testBinaryStream_validCompoundFormula_noIndexing() 126 CompoundFormula.NOT, in testBinaryStream_validCompoundFormula_noIndexing() 164 new CompoundFormula( in testBinaryString_validCompoundFormula_notConnector_noIndexing() 165 CompoundFormula.NOT, in testBinaryString_validCompoundFormula_notConnector_noIndexing() 209 new CompoundFormula( in testBinaryString_validCompoundFormula_andConnector_noIndexing() 210 CompoundFormula.AND, in testBinaryString_validCompoundFormula_andConnector_noIndexing() 257 new CompoundFormula( in testBinaryString_validCompoundFormula_orConnector_noIndexing() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
H A D | RuleBinaryParser.java | 38 import android.content.integrity.CompoundFormula; 151 private CompoundFormula parseCompoundFormula(BitInputStream bitInputStream) throws IOException { in parseCompoundFormula() 161 return new CompoundFormula(connector, formulas); in parseCompoundFormula()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/ |
H A D | IntegrityFileManagerTest.java | 27 import android.content.integrity.CompoundFormula; 124 new CompoundFormula( in testGetRules() 125 CompoundFormula.OR, in testGetRules()
|
/aosp14/frameworks/base/boot/ |
H A D | preloaded-classes | 1472 android.content.integrity.CompoundFormula$1 1473 android.content.integrity.CompoundFormula
|
H A D | boot-image-profile.txt | 24255 Landroid/content/integrity/CompoundFormula$1; 24256 Landroid/content/integrity/CompoundFormula;
|
/aosp14/frameworks/base/config/ |
H A D | preloaded-classes | 1476 android.content.integrity.CompoundFormula$1 1477 android.content.integrity.CompoundFormula
|
H A D | boot-image-profile.txt | 34362 Landroid/content/integrity/CompoundFormula$1; 34363 Landroid/content/integrity/CompoundFormula;
|