Home
last modified time | relevance | path

Searched refs:AppInstallMetadata (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java24 import android.content.integrity.AppInstallMetadata;
72 AppInstallMetadata appInstallMetadata1 = in testAllowedInstallers_empty()
77 AppInstallMetadata appInstallMetadata2 = in testAllowedInstallers_empty()
82 AppInstallMetadata appInstallMetadata3 = in testAllowedInstallers_empty()
101 AppInstallMetadata appInstallMetadata1 = in testAllowedInstallers_oneElement()
110 AppInstallMetadata appInstallMetadata2 = in testAllowedInstallers_oneElement()
119 AppInstallMetadata appInstallMetadata3 = in testAllowedInstallers_oneElement()
128 AppInstallMetadata appInstallMetadata4 = in testAllowedInstallers_oneElement()
144 AppInstallMetadata appInstallMetadata1 = in testAllowedInstallers_multipleElement()
153 AppInstallMetadata appInstallMetadata2 = in testAllowedInstallers_multipleElement()
[all …]
DRuleEvaluatorTest.java24 import android.content.integrity.AppInstallMetadata;
48 private static final AppInstallMetadata APP_INSTALL_METADATA =
49 new AppInstallMetadata.Builder()
/frameworks/base/core/tests/coretests/src/android/content/integrity/
DInstallerAllowedByManifestFormulaTest.java40 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_installerAndCertBothInManifest()
53 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_installerAndCertDoesNotMatchInManifest()
66 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_installerNotInManifest()
79 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_certificateDoesNotMatchManifest()
92 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_emptyManifest()
102 AppInstallMetadata appInstallMetadata = getAppInstallMetadataBuilder() in testFormulaMatches_certificateNotSpecifiedInManifest()
114 private AppInstallMetadata.Builder getAppInstallMetadataBuilder() { in getAppInstallMetadataBuilder()
115 return new AppInstallMetadata.Builder() in getAppInstallMetadataBuilder()
DAtomicFormulaTest.java241 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_packageNameFormula_true()
253 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_packageNameFormula_false()
264 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_multipleAppCertificates_true()
278 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_multipleAppCertificates_false()
292 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_multipleInstallerCertificates_true()
307 AppInstallMetadata appInstallMetadata = in testFormulaMatches_string_multipleInstallerCertificates_false()
370 AppInstallMetadata appInstallMetadata = in testFormulaMatches_long_eq_true()
381 AppInstallMetadata appInstallMetadata = in testFormulaMatches_long_eq_false()
392 AppInstallMetadata appInstallMetadata = in testFormulaMatches_long_gt_true()
403 AppInstallMetadata appInstallMetadata = in testFormulaMatches_long_gt_false()
[all …]
DCompoundFormulaTest.java102 AppInstallMetadata appInstallMetadata = in testFormulaMatches_notFalse_true()
114 AppInstallMetadata appInstallMetadata = in testFormulaMatches_notTrue_false()
129 AppInstallMetadata appInstallMetadata = in testFormulaMatches_trueAndTrue_true()
143 AppInstallMetadata appInstallMetadata = in testFormulaMatches_trueAndFalse_false()
156 AppInstallMetadata appInstallMetadata = in testFormulaMatches_falseAndTrue_false()
169 AppInstallMetadata appInstallMetadata = in testFormulaMatches_falseAndFalse_false()
182 AppInstallMetadata appInstallMetadata = in testFormulaMatches_trueOrTrue_true()
195 AppInstallMetadata appInstallMetadata = in testFormulaMatches_trueOrFalse_true()
208 AppInstallMetadata appInstallMetadata = in testFormulaMatches_falseOrTrue_true()
221 AppInstallMetadata appInstallMetadata = in testFormulaMatches_falseOrFalse_false()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
DRuleIndexingControllerTest.java30 import android.content.integrity.AppInstallMetadata;
53 AppInstallMetadata appInstallMetadata = in verifyIndexRangeSearchIsCorrect()
54 new AppInstallMetadata.Builder() in verifyIndexRangeSearchIsCorrect()
75 AppInstallMetadata appInstallMetadata = in verifyIndexRangeSearchIsCorrect_multipleAppCertificates()
76 new AppInstallMetadata.Builder() in verifyIndexRangeSearchIsCorrect_multipleAppCertificates()
98 AppInstallMetadata appInstallMetadata = in verifyIndexRangeSearchIsCorrect_keysInFirstAndLastBlock()
99 new AppInstallMetadata.Builder() in verifyIndexRangeSearchIsCorrect_keysInFirstAndLastBlock()
120 AppInstallMetadata appInstallMetadata = in verifyIndexRangeSearchIsCorrect_keysMatchWithValues()
121 new AppInstallMetadata.Builder() in verifyIndexRangeSearchIsCorrect_keysMatchWithValues()
152 AppInstallMetadata appInstallMetadata = in verifyIndexRangeSearchIsCorrect_noIndexesAvailable()
[all …]
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluationEngine.java19 import android.content.integrity.AppInstallMetadata;
67 AppInstallMetadata appInstallMetadata) { in evaluate()
72 private List<Rule> loadRules(AppInstallMetadata appInstallMetadata) { in loadRules()
DRuleEvaluator.java23 import android.content.integrity.AppInstallMetadata;
50 List<Rule> rules, AppInstallMetadata appInstallMetadata) { in evaluateRules()
/frameworks/base/core/java/android/content/integrity/
DAppInstallMetadata.java36 public final class AppInstallMetadata { class
52 private AppInstallMetadata(Builder builder) { in AppInstallMetadata() method in AppInstallMetadata
294 public AppInstallMetadata build() { in build()
297 return new AppInstallMetadata(this); in build()
DInstallerAllowedByManifestFormula.java62 public boolean matches(AppInstallMetadata appInstallMetadata) { in matches()
81 AppInstallMetadata appInstallMetadata, in installerInAllowedInstallersFromManifest()
DAtomicFormula.java203 public boolean matches(AppInstallMetadata appInstallMetadata) { in matches()
287 private static long getLongMetadataValue(AppInstallMetadata appInstallMetadata, int key) { in getLongMetadataValue()
399 public boolean matches(AppInstallMetadata appInstallMetadata) { in matches()
465 AppInstallMetadata appInstallMetadata, int key) { in getMetadataValue()
567 public boolean matches(AppInstallMetadata appInstallMetadata) { in matches()
628 AppInstallMetadata appInstallMetadata, int key) { in getBooleanMetadataValue()
DIntegrityFormula.java180 public abstract boolean matches(AppInstallMetadata appInstallMetadata); in matches()
DCompoundFormula.java119 public boolean matches(AppInstallMetadata appInstallMetadata) { in matches()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DIntegrityFileManagerTest.java23 import android.content.integrity.AppInstallMetadata;
141 AppInstallMetadata appInstallMetadata = in testGetRules()
142 new AppInstallMetadata.Builder() in testGetRules()
182 AppInstallMetadata appInstallMetadata = in testGetRules_indexedForManyRules()
183 new AppInstallMetadata.Builder() in testGetRules_indexedForManyRules()
DAppIntegrityManagerServiceImplTest.java52 import android.content.integrity.AppInstallMetadata;
323 ArgumentCaptor<AppInstallMetadata> metadataCaptor = in handleBroadcast_correctArgs()
324 ArgumentCaptor.forClass(AppInstallMetadata.class); in handleBroadcast_correctArgs()
326 AppInstallMetadata appInstallMetadata = metadataCaptor.getValue(); in handleBroadcast_correctArgs()
361 ArgumentCaptor<AppInstallMetadata> metadataCaptor = in handleBroadcast_correctArgs_multipleCerts()
362 ArgumentCaptor.forClass(AppInstallMetadata.class); in handleBroadcast_correctArgs_multipleCerts()
364 AppInstallMetadata appInstallMetadata = metadataCaptor.getValue(); in handleBroadcast_correctArgs_multipleCerts()
384 ArgumentCaptor<AppInstallMetadata> metadataCaptor = in handleBroadcast_correctArgs_sourceStamp()
385 ArgumentCaptor.forClass(AppInstallMetadata.class); in handleBroadcast_correctArgs_sourceStamp()
387 AppInstallMetadata appInstallMetadata = metadataCaptor.getValue(); in handleBroadcast_correctArgs_sourceStamp()
/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRuleIndexingController.java24 import android.content.integrity.AppInstallMetadata;
58 public List<RuleIndexRange> identifyRulesToEvaluate(AppInstallMetadata appInstallMetadata) { in identifyRulesToEvaluate()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java20 import android.content.integrity.AppInstallMetadata;
153 public List<Rule> readRules(@Nullable AppInstallMetadata appInstallMetadata) in readRules()
DAppIntegrityManagerServiceImpl.java38 import android.content.integrity.AppInstallMetadata;
310 AppInstallMetadata.Builder builder = new AppInstallMetadata.Builder(); in handleIntegrityVerification()
321 AppInstallMetadata appInstallMetadata = builder.build(); in handleIntegrityVerification()
489 private void extractSourceStamp(Uri dataUri, AppInstallMetadata.Builder appInstallMetadata) { in extractSourceStamp()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
DRuleIndexingDetailsIdentifierTest.java27 import android.content.integrity.AppInstallMetadata;
298 public boolean matches(AppInstallMetadata appInstallMetadata) { in getInvalidFormula()
DRuleBinarySerializerTest.java42 import android.content.integrity.AppInstallMetadata;
868 public boolean matches(AppInstallMetadata appInstallMetadata) { in getInvalidFormula()
/frameworks/base/services/
Dart-profile20055AppInstallMetadata$Builder;)V+]Ljava/io/File;Ljava/io/File;]Landroid/util/apk/SourceStampVerificat…
20071AppInstallMetadata;Landroid/content/integrity/AppInstallMetadata;]Landroid/content/integrity/AppIn…
20084 …egrity/IntegrityFileManager;->readRules(Landroid/content/integrity/AppInstallMetadata;)Ljava/util/…
20090 …/engine/RuleEvaluationEngine;->evaluate(Landroid/content/integrity/AppInstallMetadata;)Lcom/androi…
20092 …engine/RuleEvaluationEngine;->loadRules(Landroid/content/integrity/AppInstallMetadata;)Ljava/util/…
20093 …e/RuleEvaluator$$ExternalSyntheticLambda0;-><init>(Landroid/content/integrity/AppInstallMetadata;)V
20099 …aluator;->evaluateRules(Ljava/util/List;Landroid/content/integrity/AppInstallMetadata;)Lcom/androi…
20100 …/RuleEvaluator;->lambda$evaluateRules$0(Landroid/content/integrity/AppInstallMetadata;Landroid/con…
20163AppInstallMetadata;)Ljava/util/List;+]Ljava/util/LinkedHashMap;Ljava/util/LinkedHashMap;]Ljava/lan…