Home
last modified time | relevance | path

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

12345

/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/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.cc177 qurt_thread_attr_t attributes; in chre_slpi_start_thread() local
179 qurt_thread_attr_init(&attributes); in chre_slpi_start_thread()
180 qurt_thread_attr_set_name(&attributes, threadName); in chre_slpi_start_thread()
181 qurt_thread_attr_set_priority(&attributes, kThreadPriority); in chre_slpi_start_thread()
182 qurt_thread_attr_set_stack_addr(&attributes, &gStack); in chre_slpi_start_thread()
183 qurt_thread_attr_set_stack_size(&attributes, kStackSize); in chre_slpi_start_thread()
184 qurt_thread_attr_set_tcb_partition(&attributes, kTcbPartition); in chre_slpi_start_thread()
188 int result = qurt_thread_create(&gThreadHandle, &attributes, in chre_slpi_start_thread()
/system/bt/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc33 std::set<AttributeEntry> attributes; in LLVMFuzzerTestOneInput() local
36 attributes.insert(AttributeEntry(Attribute::TITLE, s)); in LLVMFuzzerTestOneInput()
37 auto song = MediaElementItem(0x02, s, attributes); in LLVMFuzzerTestOneInput()
/system/sepolicy/tests/
Dtreble_sepolicy_tests.py32 self.attributes = set()
45 print "\tattributes="+str(sctx.attributes)
80 if "appdomain" in alldomains[d].attributes:
91 if "coredomain" in domain.attributes:
151 alldomains[domain].attributes.add(result)
179 if attr in alldomains[domain].attributes:
203 if domain.fromSystem and "coredomain" not in domain.attributes:
216 if domain.fromVendor and "coredomain" in domain.attributes:
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc110 std::set<AttributeEntry> attributes; in TEST() local
111 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
112 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST()
120 std::set<AttributeEntry> attributes; in TEST() local
121 attributes.insert(AttributeEntry(Attribute::TITLE, "Test Title")); in TEST()
122 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST()
/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/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java114 String uri, String localName, String qName, Attributes attributes) { in startElement() argument
117 for (int i = 0; i < attributes.getLength(); ++i) { in startElement()
118 attributeMap.put(attributes.getLocalName(i), attributes.getValue(i)); in startElement()
338 List<XsdAttribute> attributes = new ArrayList<>(); in makeAttributeGroup() local
344 attributes.add((XsdAttribute) tag); in makeAttributeGroup()
350 return setDeprecatedAndFinal(new XsdAttributeGroup(name, ref, attributes, attributeGroups), in makeAttributeGroup()
383 List<XsdAttribute> attributes = new ArrayList<>(); in makeComplexType() local
392 attributes.add((XsdAttribute) tag); in makeComplexType()
414 attributes, attributeGroups, elements, group), state.deprecated, state.finalValue, in makeComplexType()
478 List<XsdAttribute> attributes = new ArrayList<>(); in makeGeneralRestriction() local
[all …]
/system/core/deprecated-adf/libadfhwc/include/adfhwc/
Dadfhwc.h126 uint32_t config, const uint32_t *attributes, int32_t *values);
134 uint32_t config, const uint32_t *attributes, int32_t *values);
/system/bt/profile/avrcp/
Ddevice.cc602 if (info.attributes.find(attribute) != info.attributes.end()) { in GetElementAttributesResponse()
603 response->AddAttributeEntry(*info.attributes.find(attribute)); in GetElementAttributesResponse()
607 for (const auto& attribute : info.attributes) { in GetElementAttributesResponse()
1014 if (info.attributes.find(attribute) != info.attributes.end()) { in GetItemAttributesNowPlayingResponse()
1015 builder->AddAttributeEntry(*info.attributes.find(attribute)); in GetItemAttributesNowPlayingResponse()
1021 for (const auto& attribute : info.attributes) { in GetItemAttributesNowPlayingResponse()
1071 if (item_requested.song.attributes.find(attribute) != in GetItemAttributesVFSResponse()
1072 item_requested.song.attributes.end()) { in GetItemAttributesVFSResponse()
1074 *item_requested.song.attributes.find(attribute)); in GetItemAttributesVFSResponse()
1080 for (const auto& attribute : item_requested.song.attributes) { in GetItemAttributesVFSResponse()
[all …]
/system/core/deprecated-adf/libadfhwc/
Dadfhwc.cpp146 uint32_t config, const uint32_t *attributes, int32_t *values) in adf_getDisplayAttributes() argument
161 for (int i = 0; attributes[i] != HWC_DISPLAY_NO_ATTRIBUTE; i++) in adf_getDisplayAttributes()
163 attributes[i]); in adf_getDisplayAttributes()
197 uint32_t config, const uint32_t *attributes, int32_t *values) in adf_getDisplayAttributes_hwc2() argument
212 for (int i = 0; attributes[i] != HWC2_ATTRIBUTE_INVALID; i++) in adf_getDisplayAttributes_hwc2()
214 dev->display_configs[config], attributes[i]); in adf_getDisplayAttributes_hwc2()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java262 List<XsdAttribute> attributes = new ArrayList(); in printClass() local
264 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
266 attributes.addAll(complexType.getAttributes()); in printClass()
268 for (XsdAttribute attribute : attributes) { in printClass()
287 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
301 attributes, baseName); in printClass()
316 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
574 List<XsdElement> elements, List<XsdAttribute> attributes, String baseName) in printConstructor() argument
622 if (attributes.contains(attribute)) { in printConstructor()
751 List<XsdAttribute> attributes) throws CppCodeGeneratorException { in stackComponents() argument
[all …]
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java209 List<XsdAttribute> attributes = new ArrayList<>(); in printClass() local
211 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
213 attributes.addAll(complexType.getAttributes()); in printClass()
215 for (XsdAttribute attribute : attributes) { in printClass()
232 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
250 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
632 List<XsdAttribute> attributes) throws JavaCodeGeneratorException { in stackComponents() argument
638 stackComponents((XsdComplexType) parent, elements, attributes); in stackComponents() local
645 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in stackComponents()
647 attributes.addAll(complexType.getAttributes()); in stackComponents()
[all …]
/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/extras/partition_tools/
Dlpadd.cc108 uint32_t attributes, const std::string& image_path);
161 uint32_t attributes, const std::string& image_path) { in AddPartition() argument
167 auto partition = builder_->AddPartition(partition_name, group_name, attributes); in AddPartition()
470 uint32_t attributes = LP_PARTITION_ATTR_NONE; in main() local
472 attributes |= LP_PARTITION_ATTR_READONLY; in main()
474 if (!super.AddPartition(partition_name, group_name, attributes, image_path)) { in main()
/system/core/fs_mgr/libfiemap/
Dmetadata.cpp207 uint32_t attributes) { in AddAttributes() argument
220 partition->set_attributes(partition->attributes() | attributes); in AddAttributes()
/system/sepolicy/tools/
Dcheckfc.c88 static bool ebitmap_attribute_assertion_init(ebitmap_t *assertions, const char * const attributes[]) in ebitmap_attribute_assertion_init() argument
91 while (*attributes) { in ebitmap_attribute_assertion_init()
93 int bit_pos = get_attr_bit(global_state.sepolicy.pdb, *attributes); in ebitmap_attribute_assertion_init()
104 attributes++; in ebitmap_attribute_assertion_init()
/system/sepolicy/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.
/system/sepolicy/prebuilts/api/30.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.
/system/sepolicy/prebuilts/api/27.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.

12345