Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 77) sorted by relevance

1234

/system/extras/simpleperf/scripts/inferno/
Dscript.js49 svgElement.zoomStack = [svgElement.getElementById(svgElement.attributes['rootid'].value)];
57 let width = parseFloat(rect.attributes['width'].value) * svgWidth * 0.01;
109 let clicked_origin_y = clicked_rect.attributes['oy'].value;
118 clicked_origin_x = clicked_rect.attributes['ox'].value;
119 clicked_origin_width = clicked_rect.attributes['owidth'].value;
133 let rect_o_x = parseFloat(rect.attributes['ox'].value);
134 let rect_o_y = parseFloat(rect.attributes['oy'].value);
145 let newrec_x = rect.attributes['x'].value = (rect_o_x - clicked_origin_x) * scaleFactor +
147 let newrec_y = rect.attributes['y'].value = rect_o_y + (svgBoxHeight - clicked_origin_y
150 text.attributes['y'].value = newrec_y + 12;
[all …]
/system/tools/xsdc/src/main/java/com/android/xsdc/tag/
DXsdComplexType.java25 final private List<XsdAttribute> attributes; field in XsdComplexType
30 XsdComplexType(String name, XsdType base, List<XsdAttribute> attributes, in XsdComplexType() argument
35 this.attributes = Collections.unmodifiableList( in XsdComplexType()
36 attributes != null ? attributes : new ArrayList<>()); in XsdComplexType()
49 return attributes; in getAttributes()
DXsdAttributeGroup.java26 final private List<XsdAttribute> attributes; field in XsdAttributeGroup
30 List<XsdAttribute> attributes, in XsdAttributeGroup() argument
36 this.attributes = Collections.unmodifiableList(attributes); in XsdAttributeGroup()
41 return attributes; in getAttributes()
DXsdGeneralRestriction.java24 final private List<XsdAttribute> attributes; field in XsdGeneralRestriction
29 public XsdGeneralRestriction(XsdType base, List<XsdAttribute> attributes, in XsdGeneralRestriction() argument
34 this.attributes = Collections.unmodifiableList(attributes); in XsdGeneralRestriction()
45 return attributes; in getAttributes()
DXsdGeneralExtension.java24 final private List<XsdAttribute> attributes; field in XsdGeneralExtension
29 public XsdGeneralExtension(XsdType base, List<XsdAttribute> attributes, in XsdGeneralExtension() argument
34 this.attributes = Collections.unmodifiableList(attributes); in XsdGeneralExtension()
45 return attributes; in getAttributes()
DXsdSimpleContent.java22 public XsdSimpleContent(String name, XsdType base, List<XsdAttribute> attributes) { in XsdSimpleContent() argument
23 super(name, base, attributes, null, null, null); in XsdSimpleContent()
DXsdComplexContent.java23 public XsdComplexContent(String name, XsdType base, List<XsdAttribute> attributes, in XsdComplexContent() argument
25 super(name, base, attributes, attributeGroups, elements, group); in XsdComplexContent()
/system/chre/platform/slpi/
Dinit.cc194 qurt_thread_attr_t attributes; in chre_slpi_start_thread() local
196 qurt_thread_attr_init(&attributes); in chre_slpi_start_thread()
197 qurt_thread_attr_set_name(&attributes, threadName); in chre_slpi_start_thread()
198 qurt_thread_attr_set_priority(&attributes, kThreadPriority); in chre_slpi_start_thread()
199 qurt_thread_attr_set_stack_addr(&attributes, &gStack); in chre_slpi_start_thread()
200 qurt_thread_attr_set_stack_size(&attributes, kStackSize); in chre_slpi_start_thread()
201 qurt_thread_attr_set_tcb_partition(&attributes, kTcbPartition); in chre_slpi_start_thread()
205 int result = qurt_thread_create(&gThreadHandle, &attributes, in chre_slpi_start_thread()
/system/tools/xsdc/src/main/java/com/android/xsdc/
DXsdHandler.java116 String uri, String localName, String qName, Attributes attributes) { in startElement() argument
119 for (int i = 0; i < attributes.getLength(); ++i) { in startElement()
120 attributeMap.put(attributes.getLocalName(i), attributes.getValue(i)); in startElement()
343 List<XsdAttribute> attributes = new ArrayList<>(); in makeAttributeGroup() local
349 attributes.add((XsdAttribute) tag); in makeAttributeGroup()
355 return setDeprecatedAndFinal(new XsdAttributeGroup(name, ref, attributes, attributeGroups), in makeAttributeGroup()
388 List<XsdAttribute> attributes = new ArrayList<>(); in makeComplexType() local
397 attributes.add((XsdAttribute) tag); in makeComplexType()
419 attributes, attributeGroups, elements, group), state.deprecated, state.finalValue, in makeComplexType()
483 List<XsdAttribute> attributes = new ArrayList<>(); in makeGeneralRestriction() local
[all …]
/system/connectivity/wificond/tests/
Dnl80211_packet_unittest.cpp198 std::vector<BaseNL80211Attr> attributes; in TEST() local
199 EXPECT_TRUE(netlink_packet.GetAllAttributes(&attributes)); in TEST()
201 EXPECT_TRUE(attributes.size() == 3); in TEST()
204 static_cast<NL80211Attr<uint8_t>*>(&attributes[0]); in TEST()
208 static_cast<NL80211Attr<uint32_t>*>(&attributes[1]); in TEST()
212 static_cast<NL80211Attr<uint32_t>*>(&attributes[2]); in TEST()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h130 Partition(std::string_view name, std::string_view group_name, uint32_t attributes);
144 uint32_t attributes() const { return attributes_; } in attributes() function
145 void set_attributes(uint32_t attributes) { attributes_ = attributes; } in set_attributes() argument
285 uint32_t attributes);
289 Partition* AddPartition(const std::string& name, uint32_t attributes);
/system/tools/xsdc/src/main/java/com/android/xsdc/java/
DJavaCodeGenerator.java234 List<XsdAttribute> attributes = new ArrayList<>(); in printClass() local
236 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
238 attributes.addAll(complexType.getAttributes()); in printClass()
240 for (XsdAttribute attribute : attributes) { in printClass()
257 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
275 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
734 List<XsdAttribute> attributes) throws JavaCodeGeneratorException { in stackComponents() argument
740 stackComponents((XsdComplexType) parent, elements, attributes); in stackComponents() local
747 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in stackComponents()
749 attributes.addAll(complexType.getAttributes()); in stackComponents()
[all …]
/system/extras/partition_tools/
Dlpadd.cc112 uint32_t attributes, const std::string& image_path, bool replace);
165 uint32_t attributes, const std::string& image_path, bool replace) { in AddPartition() argument
180 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition()
488 uint32_t attributes = LP_PARTITION_ATTR_NONE; in main() local
490 attributes |= LP_PARTITION_ATTR_READONLY; in main()
492 if (!super.AddPartition(partition_name, group_name, attributes, image_path, replace)) { in main()
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp210 uint32_t attributes) { in AddAttributes() argument
223 partition->set_attributes(partition->attributes() | attributes); in AddAttributes()
Dmetadata.h34 uint32_t attributes);
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/
DCppCodeGenerator.java417 List<XsdAttribute> attributes = new ArrayList<>(); in printClass() local
419 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
421 attributes.addAll(complexType.getAttributes()); in printClass()
423 for (XsdAttribute attribute : attributes) { in printClass()
442 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
457 attributes, baseName); in printClass()
472 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
853 List<XsdElement> elements, List<XsdAttribute> attributes, String baseName) in printConstructor() argument
899 if (attributes.contains(attribute)) { in printConstructor()
1144 List<XsdAttribute> attributes) throws CppCodeGeneratorException { in stackComponents() argument
[all …]
/system/hardware/interfaces/media/aidl/android/media/audio/common/
DAudioHalAttributesGroup.aidl44 AudioAttributes[] attributes;
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/2/android/media/audio/common/
DAudioHalAttributesGroup.aidl39 android.media.audio.common.AudioAttributes[] attributes;
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/3/android/media/audio/common/
DAudioHalAttributesGroup.aidl40 android.media.audio.common.AudioAttributes[] attributes;
/system/hardware/interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioHalAttributesGroup.aidl40 android.media.audio.common.AudioAttributes[] attributes;
/system/core/fs_mgr/liblp/
Dutility.cpp275 partition.attributes |= LP_PARTITION_ATTR_UPDATED; in UpdateMetadataForInPlaceSnapshot()
319 if (partition.attributes & ~LP_PARTITION_ATTRIBUTE_MASK_V0) { in SetMetadataHeaderV0()
321 << " partition attribute: " << ToHexString(partition.attributes); in SetMetadataHeaderV0()
324 partition.attributes &= LP_PARTITION_ATTRIBUTE_MASK_V0; in SetMetadataHeaderV0()
Dbuilder.cpp98 Partition::Partition(std::string_view name, std::string_view group_name, uint32_t attributes) in Partition() argument
99 : name_(name), group_name_(group_name), attributes_(attributes), size_(0) {} in Partition()
336 AddPartition(GetPartitionName(partition), group_name, partition.attributes); in Init()
525 Partition* MetadataBuilder::AddPartition(const std::string& name, uint32_t attributes) { in AddPartition() argument
526 return AddPartition(name, kDefaultGroup, attributes); in AddPartition()
530 uint32_t attributes) { in AddPartition() argument
543 partitions_.push_back(std::make_unique<Partition>(name, group_name, attributes)); in AddPartition()
920 if (partition->attributes() & ~(LP_PARTITION_ATTRIBUTE_MASK)) { in Export()
925 if (partition->attributes() & LP_PARTITION_ATTRIBUTE_MASK_V1) { in Export()
933 part.attributes = partition->attributes(); in Export()
[all …]
/system/sepolicy/tools/sepolicy-analyze/
DREADME11 rules via attributes and default-enabled conditional rules
40 terms of attributes associated with those same types. The rule
70 Displays the attributes associated with the specified type name.
74 Displays all attributes in the policy.
92 The -w or --warn option may be used to warn on any types, attributes,
/system/sepolicy/tests/
Dpolicy.py242 attributes = self.GetAllTypes(True)
246 elif Type in attributes:
532 self.attributes = set()
563 if "appdomain" in self.alldomains[d].attributes:
572 if "coredomain" in domain.attributes:
631 self.alldomains[domain].attributes.add(result)
654 if attr in self.alldomains[domain].attributes:
666 print("\tattributes="+str(sctx.attributes))
/system/sepolicy/tools/
Dcheckfc.c89 static bool ebitmap_attribute_assertion_init(ebitmap_t *assertions, const char * const attributes[]) in ebitmap_attribute_assertion_init() argument
92 while (*attributes) { in ebitmap_attribute_assertion_init()
94 int bit_pos = get_attr_bit(global_state.sepolicy.pdb, *attributes); in ebitmap_attribute_assertion_init()
105 attributes++; in ebitmap_attribute_assertion_init()

1234