Home
last modified time | relevance | path

Searched refs:rules (Results 1 – 25 of 139) sorted by relevance

123456

/frameworks/base/core/java/android/widget/
DRelativeLayout.java458 int[] rules = params.getRules(layoutDirection); in onMeasure() local
460 applyHorizontalSizeRules(params, myWidth, rules); in onMeasure()
554 final int[] rules = params.getRules(layoutDirection); in onMeasure() local
555 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in onMeasure()
557 } else if (rules[ALIGN_PARENT_RIGHT] != 0) { in onMeasure()
584 final int[] rules = params.getRules(layoutDirection); in onMeasure() local
585 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) { in onMeasure()
587 } else if (rules[ALIGN_PARENT_BOTTOM] != 0) { in onMeasure()
822 int[] rules = params.getRules(layoutDirection); in positionChildHorizontal() local
832 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) { in positionChildHorizontal()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java338 List<Rule> rules = rulesByType.get(ruleType); in readRules() local
349 rules.add(rule); in readRules()
369 List<Rule> rules = rulesByType.get(ruleType); in readRules() local
372 for (int ruleIndex=0; ruleIndex<rules.size(); ruleIndex++) { in readRules()
373 Rule rule = rules.get(ruleIndex); in readRules()
523 Rule[] rules = mRulesByComponent.get(componentName); in queryByComponent() local
524 if (rules != null) { in queryByComponent()
525 candidateRules.addAll(Arrays.asList(rules)); in queryByComponent()
530 Rule[] rules = mRulesByComponent.get(componentName); in addComponentFilter() local
531 rules = ArrayUtils.appendElement(Rule.class, rules, rule); in addComponentFilter()
[all …]
/frameworks/volley/
Dbuild.gradle5 // Any other changes to the build config belong in rules.gradle, which
15 // project(':volley').buildFileName = 'rules.gradle'
37 apply from: 'rules.gradle'
Dproguard-project.txt4 # Add project specific ProGuard rules here.
/frameworks/base/tools/split-select/
DSplitSelector.cpp69 KeyedVector<SplitDescription, sp<Rule> > rules; in getRules() local
78 rules.add(splits[j], rule); in getRules()
82 return rules; in getRules()
DSplitSelector_test.cpp56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); in TEST() local
57 ssize_t idx = rules.indexOfKey(expected); in TEST()
59 sp<Rule> rule = rules[idx]; in TEST()
/frameworks/opt/setupwizard/library/
Dstandalone-rules.gradle8 * project(':setup-wizard-lib').buildFileName = 'standalone-rules.gradle'
23 // And then in rules.gradle you can reference the dependency by
34 apply from: 'rules.gradle'
Dbuild.gradle24 // And then in rules.gradle you can reference the dependency by
35 apply from: 'rules.gradle'
Dstandalone.gradle17 apply from: 'standalone-rules.gradle'
/frameworks/base/proto/
DAndroid.mk9 LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt
14 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/jarjar-rules.txt
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DInstanceTargets.java49 int rules[] = params.getRules(); in sendMessage() local
50 if (rules[ALIGN_PARENT_RIGHT] != 0) { in sendMessage()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java551 final SparseIntArray rules = uidFirewallRules.clone(); in syncFirewallChainLocked() local
558 for (int i = 0; i < rules.size(); i++) { in syncFirewallChainLocked()
559 setFirewallUidRuleLocked(chain, rules.keyAt(i), rules.valueAt(i)); in syncFirewallChainLocked()
2139 final SparseIntArray rules = getUidFirewallRules(chain); in closeSocketsForFirewallChainLocked() local
2150 exemptUids = new int[rules.size()]; in closeSocketsForFirewallChainLocked()
2152 if (rules.valueAt(i) == NetworkPolicyManager.FIREWALL_RULE_ALLOW) { in closeSocketsForFirewallChainLocked()
2153 exemptUids[numUids] = rules.keyAt(i); in closeSocketsForFirewallChainLocked()
2169 ranges = new UidRange[rules.size()]; in closeSocketsForFirewallChainLocked()
2171 if (rules.valueAt(i) == NetworkPolicyManager.FIREWALL_RULE_DENY) { in closeSocketsForFirewallChainLocked()
2172 int uid = rules.keyAt(i); in closeSocketsForFirewallChainLocked()
[all …]
/frameworks/data-binding/compilationTests/src/test/resources/
Dapp_build.gradle18 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DTlvBufferUtilsTest.java26 import org.junit.rules.ErrorCollector;
27 import org.junit.rules.ExpectedException;
/frameworks/data-binding/integration-tests/TestApp/app/
Dbuild.gradle20 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/
Dbuild.gradle34 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/data-binding/integration-tests/IndependentLibrary/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/data-binding/samples/BindingDemo/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/data-binding/integration-tests/App With Spaces/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
/frameworks/base/tests/MusicServiceDemo/
Dproguard-project.txt4 # Add project specific ProGuard rules here.
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproguard-project.txt4 # Add project specific ProGuard rules here.

123456