Home
last modified time | relevance | path

Searched refs:mRules (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/integrity/
DRuleSet.java37 private final List<Rule> mRules; field in RuleSet
41 mRules = Collections.unmodifiableList(rules); in RuleSet()
53 return mRules; in getRules()
59 private List<Rule> mRules; field in RuleSet.Builder
62 mRules = new ArrayList<>(); in Builder()
78 mRules.addAll(rules); in addRules()
90 return new RuleSet(mVersion, mRules); in build()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1267 private int[] mRules = new int[VERB_COUNT]; field in LayoutParams
1305 final int[] rules = mRules; in LayoutParams()
1421 System.arraycopy(source.mRules, LEFT_OF, this.mRules, LEFT_OF, VERB_COUNT); in LayoutParams()
1483 mRules[verb] = subject; in addRule()
1521 return mRules[verb]; in getRule()
1553 System.arraycopy(mInitialRules, LEFT_OF, mRules, LEFT_OF, VERB_COUNT); in resolveRules()
1557 if (mRules[ALIGN_START] != 0) { in resolveRules()
1558 if (mRules[ALIGN_LEFT] == 0) { in resolveRules()
1561 mRules[ALIGN_LEFT] = mRules[ALIGN_START]; in resolveRules()
1563 mRules[ALIGN_START] = 0; in resolveRules()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java52 private final Set<OverrideRule> mRules = new HashSet<>(); field in DataEnabledOverride
320 mRules.clear(); in updateRules()
324 mRules.add(new OverrideRule(rule)); in updateRules()
336 mRules.add(OVERRIDE_RULE_ALWAYS_ALLOW_MMS); in setAlwaysAllowMms()
338 mRules.remove(OVERRIDE_RULE_ALWAYS_ALLOW_MMS); in setAlwaysAllowMms()
353 mRules.add(OVERRIDE_RULE_ALLOW_DATA_DURING_VOICE_CALL); in setDataAllowedInVoiceCall()
355 mRules.remove(OVERRIDE_RULE_ALLOW_DATA_DURING_VOICE_CALL); in setDataAllowedInVoiceCall()
365 return mRules.contains(OVERRIDE_RULE_ALLOW_DATA_DURING_VOICE_CALL); in isDataAllowedInVoiceCall()
370 for (OverrideRule rule : mRules) { in canSatisfyAnyRule()
433 for (OverrideRule rule : mRules) { in getRules()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCarrierRestrictionRules.java338 private final CarrierRestrictionRules mRules; field in CarrierRestrictionRules.Builder
341 mRules = new CarrierRestrictionRules(); in Builder()
346 return mRules; in build()
353 mRules.mAllowedCarriers.clear(); in setAllCarriersAllowed()
354 mRules.mExcludedCarriers.clear(); in setAllCarriersAllowed()
355 mRules.mCarrierRestrictionDefault = CARRIER_RESTRICTION_DEFAULT_ALLOWED; in setAllCarriersAllowed()
366 mRules.mAllowedCarriers = new ArrayList<CarrierIdentifier>(allowedCarriers); in setAllowedCarriers()
377 mRules.mExcludedCarriers = new ArrayList<CarrierIdentifier>(excludedCarriers); in setExcludedCarriers()
388 mRules.mCarrierRestrictionDefault = carrierRestrictionDefault; in setDefaultCarrierRestriction()
398 mRules.mMultiSimPolicy = multiSimPolicy; in setMultiSimPolicy()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataEnabledSettingsTest.java48 private String mRules = ""; field in DataEnabledSettingsTest
67 doReturn(mRules).when(mSubscriptionController).getDataEnabledOverrideRules(anyInt()); in setUp()
71 boolean changed = !Objects.equals(mRules, rules); in setUp()
72 mRules = rules; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPkcs15.java173 private List<String> mRules = null; field in UiccPkcs15
215 mRules = new ArrayList<String>(); in handleMessage()
310 mRules.add(tlvCert.getValue()); in parseAccf()
320 return mRules; in getRules()
331 if (mRules != null) { in dump()
333 for (String cert : mRules) { in dump()
DUiccCarrierPrivilegeRules.java193 private String mRules; field in UiccCarrierPrivilegeRules
223 mRules = ""; in UiccCarrierPrivilegeRules()
479 mRules = ""; in handleMessage()
512 mRules += IccUtils.bytesToHexString(response.payload) in handleMessage()
517 mAccessRules.addAll(parseRules(mRules)); in handleMessage()
568 mRules = ""; in handleMessage()
597 log("isDataComplete mRules:" + mRules); in isDataComplete()
598 if (mRules.startsWith(TAG_ALL_REF_AR_DO)) { in isDataComplete()
600 String lengthBytes = allRules.parseLength(mRules); in isDataComplete()
602 if (mRules.length() == TAG_ALL_REF_AR_DO.length() + lengthBytes.length() + in isDataComplete()