Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/support/fragment/tests/java/android/support/v4/app/
DFragmentTestUtil.java48 public static void waitForExecution(final ActivityTestRule<? extends FragmentActivity> rule) { in waitForExecution()
61 private static void runOnUiThreadRethrow(ActivityTestRule<? extends Activity> rule, in runOnUiThreadRethrow()
75 final ActivityTestRule<? extends FragmentActivity> rule) { in executePendingTransactions()
81 final ActivityTestRule<? extends Activity> rule, final FragmentManager fm) { in executePendingTransactions()
92 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule) { in popBackStackImmediate()
104 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
118 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate()
132 public static void setContentView(final ActivityTestRule<FragmentTestActivity> rule, in setContentView()
154 ActivityTestRule<? extends FragmentActivity> rule) { in createController()
168 public static void resume(ActivityTestRule<? extends Activity> rule, in resume()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java100 AudioMixMatchCriterion(AudioAttributes attributes, int rule) { in AudioMixMatchCriterion()
106 AudioMixMatchCriterion(Integer intProp, int rule) { in AudioMixMatchCriterion()
148 private static boolean isValidSystemApiRule(int rule) { in isValidSystemApiRule()
159 private static boolean isValidAttributesSystemApiRule(int rule) { in isValidAttributesSystemApiRule()
170 private static boolean isValidRule(int rule) { in isValidRule()
182 private static boolean isPlayerRule(int rule) { in isPlayerRule()
230 public Builder addRule(AudioAttributes attrToMatch, int rule) in addRule()
259 public Builder excludeRule(AudioAttributes attrToMatch, int rule) in excludeRule()
281 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule()
311 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule()
[all …]
DAudioMix.java52 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix()
202 public Builder(AudioMixingRule rule) in Builder()
217 Builder setMixingRule(AudioMixingRule rule) in setMixingRule()
/frameworks/base/tools/split-select/
DTestRules.cpp28 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
DRule_test.cpp33 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
DSplitSelector_test.cpp59 sp<Rule> rule = rules[idx]; in TEST() local
DRule.cpp177 sp<Rule> Rule::simplify(sp<Rule> rule) { in simplify()
DSplitSelector.cpp76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); in getRules() local
/frameworks/support/design/tests/src/android/support/design/testutils/
DActivityUtils.java37 final ActivityTestRule<? extends RecreatedAppCompatActivity> rule) { in waitForExecution()
51 ActivityTestRule<? extends RecreatedAppCompatActivity> rule, Runnable r) { in runOnUiThreadRethrow()
69 ActivityTestRule<? extends RecreatedAppCompatActivity> rule, final T activity) in recreateActivity()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeConditions.java123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { in evaluateRule()
178 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing()
187 private boolean updateCondition(Uri id, Condition condition, ZenRule rule) { in updateCondition()
DZenModeHelper.java284 ZenRule rule; in getAutomaticZenRule() local
323 ZenRule rule = new ZenRule(); in addAutomaticZenRule() local
344 ZenModeConfig.ZenRule rule; in updateAutomaticZenRule() local
365 ZenRule rule = newConfig.automaticRules.get(id); in removeAutomaticZenRule() local
384 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules() local
406 public boolean canManageAutomaticZenRule(ZenRule rule) { in canManageAutomaticZenRule()
444 private boolean ruleValuesEqual(AutomaticZenRule rule, ZenRule defaultRule) { in ruleValuesEqual()
477 private boolean isSystemRule(AutomaticZenRule rule) { in isSystemRule()
500 private void populateZenRule(AutomaticZenRule automaticZenRule, ZenRule rule, boolean isNew) { in populateZenRule()
518 protected AutomaticZenRule createAutomaticZenRule(ZenRule rule) { in createAutomaticZenRule()
[all …]
/frameworks/support/transition/tests/src/android/support/transition/
DBaseTest.java29 public final ActivityTestRule<TransitionActivity> rule; field in BaseTest
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java163 Rule rule = candidateRules.get(i); in checkIntent() local
336 Rule rule = new Rule(); in readRules() local
373 Rule rule = rules.get(ruleIndex); in readRules() local
378 resolver.addComponentFilter(rule.getComponentFilter(i), rule); in readRules() local
487 private final Rule rule; field in IntentFirewall.FirewallIntentFilter
489 public FirewallIntentFilter(Rule rule) { in FirewallIntentFilter()
529 public void addComponentFilter(ComponentName componentName, Rule rule) { in addComponentFilter()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DBoundsRule.java70 ValueRule(ValueRule rule) { in ValueRule() method in BoundsRule.ValueRule
151 private int doCalculate(int value, ValueRule rule, int size) { in doCalculate()
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/android/arch/lifecycle/
DTestUtils.java34 public static <T extends Activity> T recreateActivity(final T activity, ActivityTestRule rule) in recreateActivity()
/frameworks/base/tools/aapt2/link/
DXmlCompatVersioner.cpp55 const ApiVersion& src_attr_version, const IDegradeRule* rule, in ProcessRule()
121 auto rule = rules_->find(attr_resid); in ProcessDoc() local
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp29 uint32_t rule) in AudioMixMatchCriterion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeController.java45 default void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
DZenModeControllerImpl.java193 private void fireManualRuleChanged(ZenRule rule) { in fireManualRuleChanged()
/frameworks/base/tools/apilint/
Dapilint.py209 def __init__(self, sig, clazz, detail, error, rule, msg): argument
242 def _fail(clazz, detail, error, rule, msg): argument
252 def warn(clazz, detail, rule, msg): argument
255 def error(clazz, detail, rule, msg): argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DZenModePanelTest.java186 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testHandleUpdateManualRule_stillSelectedAfterModeChange() local
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java190 int rule = mBuilder.isNavBarVertical() ? START_OF : ABOVE; in createContentFrame() local
266 int rule = mBuilder.isNavBarVertical() ? START_OF : ABOVE; in createActionBar() local
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java253 final String rule = allRules.valueAt(i); in diff() local
290 private static boolean isValidManualRule(ZenRule rule) { in isValidManualRule()
294 private static boolean isValidAutomaticRule(ZenRule rule) { in isValidAutomaticRule()
299 private static boolean sameCondition(ZenRule rule) { in sameCondition()
509 public static void writeRuleXml(ZenRule rule, XmlSerializer out) throws IOException { in writeRuleXml()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java2047 final String rule = allow ? "allow" : "deny"; in setFirewallInterfaceRule() local
2188 int rule = rules[index]; in setFirewallUidRules() local
2228 public void setFirewallUidRule(int chain, int uid, int rule) { in setFirewallUidRule()
2235 private void setFirewallUidRuleLocked(int chain, int uid, int rule) { in setFirewallUidRuleLocked()
2247 private boolean updateFirewallUidRuleLocked(int chain, int uid, int rule) { in updateFirewallUidRuleLocked()
2274 private @NonNull String getFirewallRuleName(int chain, int rule) { in getFirewallRuleName()
2782 void setFirewallRule(int chain, int uid, int rule) { in setFirewallRule()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java76 private static boolean isKnownMatchRule(final int rule) { in isKnownMatchRule()

12