Home
last modified time | relevance | path

Searched refs:Effect (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/integrity/model/
H A DIntegrityCheckResult.java36 public enum Effect { enum in IntegrityCheckResult
41 private final Effect mEffect;
44 private IntegrityCheckResult(Effect effect, @Nullable List<Rule> ruleList) { in IntegrityCheckResult()
49 public Effect getEffect() { in getEffect()
63 return new IntegrityCheckResult(Effect.ALLOW, Collections.emptyList()); in allow()
72 return new IntegrityCheckResult(Effect.ALLOW, ruleList); in allow()
82 return new IntegrityCheckResult(Effect.DENY, ruleList); in deny()
89 if (getEffect() == Effect.DENY) { in getLoggingResponse()
91 } else if (getEffect() == Effect.ALLOW && getMatchedRules().isEmpty()) { in getLoggingResponse()
93 } else if (getEffect() == Effect.ALLOW && !getMatchedRules().isEmpty()) { in getLoggingResponse()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
H A DRuleEvaluationEngineTest.java89 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_empty()
91 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_empty()
93 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_empty()
108 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_oneElement()
117 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
126 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
135 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_oneElement()
151 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_multipleElement()
160 .isEqualTo(IntegrityCheckResult.Effect.ALLOW); in testAllowedInstallers_multipleElement()
169 .isEqualTo(IntegrityCheckResult.Effect.DENY); in testAllowedInstallers_multipleElement()
[all …]
H A DRuleEvaluatorTest.java19 import static com.android.server.integrity.model.IntegrityCheckResult.Effect.ALLOW;
20 import static com.android.server.integrity.model.IntegrityCheckResult.Effect.DENY;
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp76 static_assert(static_cast<uint8_t>(V1_3::Effect::CLICK) ==
77 static_cast<uint8_t>(aidl::Effect::CLICK));
80 static_assert(static_cast<uint8_t>(V1_3::Effect::TICK) == static_cast<uint8_t>(aidl::Effect::TICK));
81 static_assert(static_cast<uint8_t>(V1_3::Effect::THUD) == static_cast<uint8_t>(aidl::Effect::THUD));
82 static_assert(static_cast<uint8_t>(V1_3::Effect::POP) == static_cast<uint8_t>(aidl::Effect::POP));
84 static_cast<uint8_t>(aidl::Effect::HEAVY_CLICK));
85 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_1) ==
86 static_cast<uint8_t>(aidl::Effect::RINGTONE_1));
87 static_assert(static_cast<uint8_t>(V1_3::Effect::RINGTONE_2) ==
88 static_cast<uint8_t>(aidl::Effect::RINGTONE_2));
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DVibrationEffect.java146 Effect.RINGTONE_1,
147 Effect.RINGTONE_2,
148 Effect.RINGTONE_3,
149 Effect.RINGTONE_4,
150 Effect.RINGTONE_5,
151 Effect.RINGTONE_6,
152 Effect.RINGTONE_7,
153 Effect.RINGTONE_8,
154 Effect.RINGTONE_9,
155 Effect.RINGTONE_10,
[all …]
/aosp14/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffectFactory.java443 public Effect createEffect(String effectName) { in createEffect()
487 private Effect instantiateEffect(Class effectClass, String name) { in instantiateEffect()
489 if (!Effect.class.isAssignableFrom(effectClass)) { in instantiateEffect()
504 Effect effect = null; in instantiateEffect()
506 effect = (Effect)effectConstructor.newInstance(mEffectContext, name); in instantiateEffect()
H A DEffectUpdateListener.java33 public void onEffectUpdated(Effect effect, Object info); in onEffectUpdated()
H A DEffect.java37 public abstract class Effect { class
H A DFilterEffect.java32 public abstract class FilterEffect extends Effect {
/aosp14/frameworks/base/core/java/android/content/integrity/
H A DRule.java52 public @interface Effect {} annotation in Rule
64 private final @Effect int mEffect;
66 public Rule(@NonNull IntegrityFormula formula, @Effect int effect) { in Rule()
107 public @Effect int getEffect() { in getEffect()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
H A DIntegrityCheckResultTest.java41 assertThat(allowResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.ALLOW); in createAllowResult()
59 assertThat(allowResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.ALLOW); in createAllowResultWithRule()
78 assertThat(denyResult.getEffect()).isEqualTo(IntegrityCheckResult.Effect.DENY); in createDenyResultWithRule()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/integrity/
H A DRuleTest.java34 private static final @Rule.Effect int DENY_EFFECT = Rule.DENY;
/aosp14/frameworks/base/services/core/java/com/android/server/integrity/
H A DAppIntegrityManagerServiceImpl.java359 result.getEffect() == IntegrityCheckResult.Effect.ALLOW in handleIntegrityVerification()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt25846 public abstract class Effect {
25847 ctor public Effect();
25862 method public android.media.effect.Effect createEffect(String);
25894 method public void onEffectUpdated(android.media.effect.Effect, Object);
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt25667 …EffectFactory;->instantiateEffect(Ljava/lang/Class;Ljava/lang/String;)Landroid/media/effect/Effect;