/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
D | RuleEvaluationEngineTest.java | 88 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 …]
|
D | RuleEvaluatorTest.java | 62 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/ |
D | IntegrityCheckResult.java | 49 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/ |
D | RuleEvaluator.java | 61 .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/ |
D | IntegrityCheckResultTest.java | 41 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/ |
D | VirtualizerTest.java | 80 getEffect(sSession); in onCreate() 116 getEffect(sSession); 142 getEffect(sSession); in onCheckedChanged() 220 private void getEffect(int session) { in getEffect() method in VirtualizerTest
|
D | VisualizerTest.java | 84 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
|
D | PresetReverbTest.java | 88 getEffect(sSession); in onCreate() 120 getEffect(sSession); 150 getEffect(sSession); in onCheckedChanged() 249 private void getEffect(int session) { in getEffect() method in PresetReverbTest
|
D | BassBoostTest.java | 79 getEffect(sSession); in onCreate() 125 getEffect(sSession); 151 getEffect(sSession); in onCheckedChanged() 230 private void getEffect(int session) { in getEffect() method in BassBoostTest
|
D | EqualizerTest.java | 83 getEffect(sSession); in onCreate() 176 getEffect(sSession); 205 getEffect(sSession); in onCheckedChanged() 355 private void getEffect(int session) { in getEffect() method in EqualizerTest
|
D | EnvReverbTest.java | 101 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/ |
D | VibratorHalControllerBenchmarks.cpp | 404 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/ |
D | EffectDescriptor.cpp | 54 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()
|
D | AudioInputDescriptor.cpp | 440 sp<EffectDescriptor> clientEffect = client->getEnabledEffects().getEffect(effect->mId); in trackEffectEnabled()
|
/frameworks/base/core/java/android/content/integrity/ |
D | Rule.java | 107 public @Effect int getEffect() { in getEffect() method in Rule
|
/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
D | RuleTest.java | 53 assertThat(validRule.getEffect()).isEqualTo(DENY_EFFECT); in testValidRule()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | EffectDescriptor.h | 72 sp<EffectDescriptor> getEffect(int id) const;
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 182 mPreviewView.takePicture(mPreviewView.getEffect()); in capture()
|
D | CameraView.java | 323 public int getEffect() { in getEffect() method in CameraView
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | StartSequentialEffectStep.java | 258 VibrationEffect effect = mono.getEffect(); in DeviceEffectMap()
|
D | Vibration.java | 384 dumpEffect(proto, SyncVibrationEffectProto.EFFECTS, effect.getEffect()); in dumpEffect()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImpl.java | 346 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/ |
D | RuleBinarySerializer.java | 195 bitOutputStream.setNext(EFFECT_BITS, rule.getEffect()); in serializeRule()
|
/frameworks/base/core/java/android/os/ |
D | CombinedVibration.java | 371 public VibrationEffect getEffect() { in getEffect() method in CombinedVibration.Mono
|
/frameworks/av/services/audioflinger/ |
D | IAfThread.h | 296 virtual sp<IAfEffectModule> getEffect(audio_session_t sessionId, int effectId) const
|