Home
last modified time | relevance | path

Searched refs:getEffect (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluationEngineTest.java88 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_empty()
90 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_empty()
92 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_empty()
107 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_oneElement()
116 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_oneElement()
125 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_oneElement()
134 assertThat(mEngine.evaluate(appInstallMetadata4).getEffect()) in testAllowedInstallers_oneElement()
150 assertThat(mEngine.evaluate(appInstallMetadata1).getEffect()) in testAllowedInstallers_multipleElement()
159 assertThat(mEngine.evaluate(appInstallMetadata2).getEffect()) in testAllowedInstallers_multipleElement()
168 assertThat(mEngine.evaluate(appInstallMetadata3).getEffect()) in testAllowedInstallers_multipleElement()
[all …]
DRuleEvaluatorTest.java62 assertThat(result.getEffect()).isEqualTo(ALLOW); in testEvaluateRules_noRules_allow()
78 assertThat(result.getEffect()).isEqualTo(ALLOW); in testEvaluateRules_noMatchedRules_allow()
101 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_oneMatch_deny()
131 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_multipleMatches_deny()
150 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_ruleWithNot_deny()
165 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_ruleWithIntegerOperators_deny()
188 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_validForm_deny()
211 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_orRules()
236 assertThat(result.getEffect()).isEqualTo(DENY); in testEvaluateRules_compoundFormulaWithNot_deny()
266 assertThat(result.getEffect()).isEqualTo(ALLOW); in testEvaluateRules_forceAllow()
[all …]
/frameworks/base/services/core/java/com/android/server/integrity/model/
DIntegrityCheckResult.java49 public Effect getEffect() { in getEffect() method in IntegrityCheckResult
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()
/frameworks/base/services/core/java/com/android/server/integrity/engine/
DRuleEvaluator.java61 .filter(rule -> rule.getEffect() == FORCE_ALLOW) in evaluateRules()
71 .filter(rule -> rule.getEffect() == DENY) in evaluateRules()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/model/
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()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVirtualizerTest.java80 getEffect(sSession); in onCreate()
116 getEffect(sSession);
142 getEffect(sSession); in onCheckedChanged()
220 private void getEffect(int session) { in getEffect() method in VirtualizerTest
DVisualizerTest.java84 if (getEffect(sSession) != null) { in onCreate()
130 getEffect(sSession);
169 getEffect(sSession); in onCheckedChanged()
189 private VisualizerInstance getEffect(int session) { in getEffect() method in VisualizerTest
DPresetReverbTest.java88 getEffect(sSession); in onCreate()
120 getEffect(sSession);
150 getEffect(sSession); in onCheckedChanged()
249 private void getEffect(int session) { in getEffect() method in PresetReverbTest
DBassBoostTest.java79 getEffect(sSession); in onCreate()
125 getEffect(sSession);
151 getEffect(sSession); in onCheckedChanged()
230 private void getEffect(int session) { in getEffect() method in BassBoostTest
DEqualizerTest.java83 getEffect(sSession); in onCreate()
176 getEffect(sSession);
205 getEffect(sSession); in onCheckedChanged()
355 private void getEffect(int session) { in getEffect() method in EqualizerTest
DEnvReverbTest.java101 getEffect(0); in onCreate()
198 getEffect(0); in onCheckedChanged()
515 private void getEffect(int session) { in getEffect() method in EnvReverbTest
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp404 auto getEffect(const State& state) const { in getEffect() function in VibratorEffectsBench
431 auto effect = getEffect(state);
461 auto effect = getEffect(state);
487 auto effect = getEffect(state);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp54 if (getEffect(id) != nullptr) { in registerEffect()
79 sp<EffectDescriptor> EffectDescriptorCollection::getEffect(int id) const in getEffect() function in android::EffectDescriptorCollection
90 sp<EffectDescriptor> effectDesc = getEffect(id); in unregisterEffect()
DAudioInputDescriptor.cpp440 sp<EffectDescriptor> clientEffect = client->getEnabledEffects().getEffect(effect->mId); in trackEffectEnabled()
/frameworks/base/core/java/android/content/integrity/
DRule.java107 public @Effect int getEffect() { in getEffect() method in Rule
/frameworks/base/core/tests/coretests/src/android/content/integrity/
DRuleTest.java53 assertThat(validRule.getEffect()).isEqualTo(DENY_EFFECT); in testValidRule()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DEffectDescriptor.h72 sp<EffectDescriptor> getEffect(int id) const;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java182 mPreviewView.takePicture(mPreviewView.getEffect()); in capture()
DCameraView.java323 public int getEffect() { in getEffect() method in CameraView
/frameworks/base/services/core/java/com/android/server/vibrator/
DStartSequentialEffectStep.java258 VibrationEffect effect = mono.getEffect(); in DeviceEffectMap()
DVibration.java384 dumpEffect(proto, SyncVibrationEffectProto.EFFECTS, effect.getEffect()); in dumpEffect()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java346 packageName, result.getEffect(), result.getMatchedRules())); in handleIntegrityVerification()
360 result.getEffect() == IntegrityCheckResult.Effect.ALLOW in handleIntegrityVerification()
/frameworks/base/services/core/java/com/android/server/integrity/serializer/
DRuleBinarySerializer.java195 bitOutputStream.setNext(EFFECT_BITS, rule.getEffect()); in serializeRule()
/frameworks/base/core/java/android/os/
DCombinedVibration.java371 public VibrationEffect getEffect() { in getEffect() method in CombinedVibration.Mono
/frameworks/av/services/audioflinger/
DIAfThread.h296 virtual sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const

12