/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/ |
D | RuleBinaryParserTest.java | 118 ByteBuffer rule = in testBinaryStream_validCompoundFormula_noIndexing() local 157 ByteBuffer rule = in testBinaryString_validCompoundFormula_notConnector_noIndexing() local 202 ByteBuffer rule = in testBinaryString_validCompoundFormula_andConnector_noIndexing() local 250 ByteBuffer rule = in testBinaryString_validCompoundFormula_orConnector_noIndexing() local 289 ByteBuffer rule = in testBinaryString_validAtomicFormula_stringValue_noIndexing() local 321 ByteBuffer rule = in testBinaryString_validAtomicFormula_hashedValue_noIndexing() local 355 ByteBuffer rule = in testBinaryString_validAtomicFormulaWithCertificateLineage() local 387 ByteBuffer rule = in testBinaryString_validAtomicFormula_integerValue_noIndexing() local 415 ByteBuffer rule = in testBinaryString_validAtomicFormula_booleanValue_noIndexing() local 442 ByteBuffer rule = in testBinaryString_invalidAtomicFormula_noIndexing() local [all …]
|
D | RuleIndexingControllerTest.java | 150 ByteBuffer rule = ByteBuffer.allocate(stringBytes.length); in verifyIndexRangeSearchIsCorrect_noIndexesAvailable() local 181 ByteBuffer rule = ByteBuffer.allocate(stringBytes.length); in verifyIndexingFileIsCorrupt() local 204 ByteBuffer rule = ByteBuffer.allocate(stringBytes.length); in obtainDefaultIndexingMapForTest() local
|
/frameworks/base/tools/split-select/ |
D | TestRules.cpp | 28 Rule rule; in EqRule() local 36 Rule rule; in GtRule() local 44 Rule rule; in LtRule() local 52 Rule rule; in ContainsAnyRule() local 60 Rule rule; in ContainsAnyRule() local 69 Rule rule; in AlwaysTrue() local
|
D | Rule_test.cpp | 33 Rule rule(AndRule() in TEST() local 78 sp<Rule> rule = new Rule(AndRule() in TEST() local 86 sp<Rule> rule = new Rule(AndRule() in TEST() local
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 126 AudioMixMatchCriterion(AudioAttributes attributes, int rule) { in AudioMixMatchCriterion() 132 AudioMixMatchCriterion(Integer intProp, int rule) { in AudioMixMatchCriterion() 304 private static boolean isValidSystemApiRule(int rule) { in isValidSystemApiRule() 316 private static boolean isValidAttributesSystemApiRule(int rule) { in isValidAttributesSystemApiRule() 327 private static boolean isValidRule(int rule) { in isValidRule() 340 private static boolean isPlayerRule(int rule) { in isPlayerRule() 351 private static boolean isRecorderRule(int rule) { in isRecorderRule() 398 public Builder addRule(AudioAttributes attrToMatch, int rule) in addRule() 426 public Builder excludeRule(AudioAttributes attrToMatch, int rule) in excludeRule() 448 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule() [all …]
|
D | AudioMix.java | 61 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() 296 public Builder(AudioMixingRule rule) in Builder() 311 Builder setMixingRule(AudioMixingRule rule) in setMixingRule()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/ |
D | RuleEvaluatorTest.java | 67 Rule rule = in testEvaluateRules_noMatchedRules_allow() local 137 Rule rule = new Rule( in testEvaluateRules_ruleWithNot_deny() local 156 Rule rule = in testEvaluateRules_ruleWithIntegerOperators_deny() local 171 Rule rule = new Rule( in testEvaluateRules_validForm_deny() local 194 Rule rule = new Rule( in testEvaluateRules_orRules() local 231 Rule rule = new Rule(compoundFormula, Rule.DENY); in testEvaluateRules_compoundFormulaWithNot_deny() local
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/ |
D | StaticMockFixtureRuleTest.java | 121 StaticMockFixtureRule rule = new StaticMockFixtureRule(mA1, mB1) { in testRuleWorksWithExplicitFixtures() local 159 StaticMockFixtureRule rule = new StaticMockFixtureRule(mSupplyA, mSupplyB) { in testRuleWorksWithFixtureSuppliers() local 201 StaticMockFixtureRule rule = new StaticMockFixtureRule(mA1, mB1) { in testTearDownOnSkippedTests() local 232 StaticMockFixtureRule rule = new StaticMockFixtureRule(mA1, mB1) { in testTearDownOnFailedTests() local
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | KeyCombinationManager.java | 115 void addRule(TwoKeysCombinationRule rule) { in addRule() 171 forAllActiveRules((rule) -> { in interceptKeyLocked() argument 189 final TwoKeysCombinationRule rule = mActiveRules.get(index); in interceptKeyLocked() local 251 final TwoKeysCombinationRule rule = rules.get(index); in forAllRules() local 262 final TwoKeysCombinationRule rule = mActiveRules.get(index); in forAllActiveRules() local
|
D | SingleKeyGestureDetector.java | 186 void addRule(SingleKeyRule rule) { in addRule() 236 final SingleKeyRule rule = mRules.get(index); in interceptKeyDown() local 383 final SingleKeyRule rule = (SingleKeyRule) msg.obj; in handleMessage() local
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 206 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml() local 243 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml_pkg_component() local 257 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml_pkg_configActivity() local 270 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml_getPkg_nullPkg() local 286 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml_emptyConditionId() local 419 private void writeRuleXml(ZenModeConfig.ZenRule rule, ByteArrayOutputStream os) in writeRuleXml()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/ |
D | RuleBinarySerializerTest.java | 156 Rule rule = in testBinaryStream_serializeValidCompoundFormula() local 221 Rule rule = in testBinaryString_serializeValidCompoundFormula_notConnector() local 261 Rule rule = in testBinaryString_serializeValidCompoundFormula_andConnector() local 311 Rule rule = in testBinaryString_serializeValidCompoundFormula_orConnector() local 360 Rule rule = in testBinaryString_serializeValidAtomicFormula_stringValue() local 393 Rule rule = in testBinaryString_serializeValidAtomicFormula_hashedValue() local 427 Rule rule = in testBinaryString_serializeValidAtomicFormula_integerValue() local 456 Rule rule = in testBinaryString_serializeValidAtomicFormula_booleanValue() local 484 Rule rule = new Rule(invalidFormula, Rule.DENY); in testBinaryString_serializeInvalidFormulaType() local
|
/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
D | RuleTest.java | 70 Rule rule = new Rule(compoundFormula, Rule.DENY); in testToString() local 93 Rule rule = in testParcelUnparcel() local
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | AutomaticZenRuleTest.java | 82 AutomaticZenRule rule = new AutomaticZenRule( in testLongFields_inSetters() local 106 AutomaticZenRule rule = new AutomaticZenRule( in testLongInputsFromParcel() local
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataRetryManagerTest.java | 178 DataSetupRetryRule rule = new DataSetupRetryRule(ruleString); in testDataSetupRetryRulesParsingFromString() local 248 DataSetupRetryRule rule = new DataSetupRetryRule(ruleString); in testDataSetupRetryRuleMatchingByFailCause() local 258 DataSetupRetryRule rule = new DataSetupRetryRule(ruleString); in testDataSetupRetryRuleMatchingByNetworkCapabilities() local 271 DataSetupRetryRule rule = new DataSetupRetryRule(ruleString); in testDataSetupRetryRuleMatchingByBothFailCauseAndNetworkCapabilities() local 620 DataHandoverRetryRule rule = new DataHandoverRetryRule(ruleString); in testDataHandoverRetryRulesParsingFromString() local
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 29 uint32_t rule) in AudioMixMatchCriterion() 153 const uint32_t rule = match ? RULE_MATCH_UID : RULE_EXCLUDE_UID; in hasUidRule() local 187 const uint32_t rule = match ? RULE_MATCH_USERID : RULE_EXCLUDE_USERID; in hasUserIdRule() local
|
D | PolicyAidlConversion.cpp | 134 uint32_t* rule) { in aidl2legacy_AudioMixMatchCriterionValue() 168 uint32_t rule) { in legacy2aidl_AudioMixMatchCriterionValue() 210 uint32_t rule = legacy.mRule; in legacy2aidl_AudioMixMatchCriterion() local
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | IntentFirewall.java | 180 Rule rule = candidateRules.get(i); in checkIntent() local 353 Rule rule = new Rule(); in readRules() local 390 Rule rule = rules.get(ruleIndex); in readRules() local 395 resolver.addComponentFilter(rule.getComponentFilter(i), rule); in readRules() local 504 private final Rule rule; field in IntentFirewall.FirewallIntentFilter 506 public FirewallIntentFilter(Rule rule) { in FirewallIntentFilter() 552 public void addComponentFilter(ComponentName componentName, Rule rule) { in addComponentFilter()
|
/frameworks/base/tools/apilint/ |
D | deprecated_at_birth.py | 227 def __init__(self, sig, clazz, detail, error, rule, msg): argument 260 def _fail(clazz, detail, error, rule, msg): argument 270 def warn(clazz, detail, rule, msg): argument 273 def error(clazz, detail, rule, msg): argument
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 72 for (const AnnotationRule& rule : sAnnotationRules) { in AppendCommentLine() local 143 for (const AnnotationRule& rule : sAnnotationRules) { in Print() local
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeConditions.java | 123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, ComponentName trigger, in evaluateRule() 175 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing()
|
D | ZenModeHelper.java | 315 ZenRule rule; in getAutomaticZenRule() local 361 ZenRule rule = new ZenRule(); in addAutomaticZenRule() local 382 ZenModeConfig.ZenRule rule; in updateAutomaticZenRule() local 438 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules() local 496 private boolean ruleMatches(Uri id, Condition condition, ZenRule rule) { in ruleMatches() 503 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing() 544 public boolean canManageAutomaticZenRule(ZenRule rule) { in canManageAutomaticZenRule() 620 private void populateZenRule(String pkg, AutomaticZenRule automaticZenRule, ZenRule rule, in populateZenRule() 644 protected AutomaticZenRule createAutomaticZenRule(ZenRule rule) { in createAutomaticZenRule() 860 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in cleanUpZenRules() local [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImplTest.java | 204 Rule rule = in updateRuleSet_notAuthorized() local 223 Rule rule = in updateRuleSet_notSystemApp() local 242 Rule rule = in updateRuleSet_authorized() local 485 Rule rule = new Rule(IntegrityFormula.Application.packageNameEquals("package"), Rule.DENY); in getCurrentRules() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | VibratorHelperTest.kt | 32 var rule = MockitoJUnit.rule() variable
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | RegisterComponentCallbacksTest.java | 57 public ActivityScenarioRule rule = new ActivityScenarioRule<>(TestActivity.class); field in RegisterComponentCallbacksTest
|