Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 114) 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.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/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/bt/profile/avrcp/
Ddevice.cc80 for (auto it = s.attributes.begin(); it != s.attributes.end(); it++) { in filter_cover_art()
82 s.attributes.erase(it); in filter_cover_art()
624 if (info.attributes.find(attribute) != info.attributes.end()) { in GetElementAttributesResponse()
625 response->AddAttributeEntry(*info.attributes.find(attribute)); in GetElementAttributesResponse()
629 for (const auto& attribute : info.attributes) { in GetElementAttributesResponse()
1041 if (info.attributes.find(attribute) != info.attributes.end()) { in GetItemAttributesNowPlayingResponse()
1042 builder->AddAttributeEntry(*info.attributes.find(attribute)); in GetItemAttributesNowPlayingResponse()
1048 for (const auto& attribute : info.attributes) { in GetItemAttributesNowPlayingResponse()
1103 if (item_requested.song.attributes.find(attribute) != in GetItemAttributesVFSResponse()
1104 item_requested.song.attributes.end()) { in GetItemAttributesVFSResponse()
[all …]
/system/tools/xsdc/src/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/tools/aidl/
Dast_cpp.cpp47 const std::vector<std::string>& template_params, const std::string& attributes) in ClassDecl() argument
48 : name_(name), parent_(parent), attributes_(attributes), template_params_(template_params) {} in ClassDecl()
54 const std::string& attributes) in ClassDecl() argument
57 attributes_(attributes), in ClassDecl()
105 const std::string& attributes) in Enum() argument
106 : enum_name_(name), underlying_type_(base_type), attributes_(attributes), is_class_(is_class) {} in Enum()
206 const std::string& attributes) in MethodDecl() argument
207 : MethodDecl(return_type, name, std::move(arg_list), 0u, attributes) {} in MethodDecl()
210 uint32_t modifiers, const std::string& attributes) in MethodDecl() argument
213 attributes_(attributes), in MethodDecl()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java230 List<XsdAttribute> attributes = new ArrayList<>(); in printClass() local
232 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
234 attributes.addAll(complexType.getAttributes()); in printClass()
236 for (XsdAttribute attribute : attributes) { in printClass()
253 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
271 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
710 List<XsdAttribute> attributes) throws JavaCodeGeneratorException { in stackComponents() argument
716 stackComponents((XsdComplexType) parent, elements, attributes); in stackComponents() local
723 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in stackComponents()
725 attributes.addAll(complexType.getAttributes()); in stackComponents()
[all …]
/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/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/core/fs_mgr/libfiemap/
Dmetadata.cpp207 uint32_t attributes) { in AddAttributes() argument
220 partition->set_attributes(partition->attributes() | attributes); in AddAttributes()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java361 List<XsdAttribute> attributes = new ArrayList(); in printClass() local
363 attributes.addAll(getAllAttributes(resolveAttributeGroup(attributeGroup))); in printClass()
365 attributes.addAll(complexType.getAttributes()); in printClass()
367 for (XsdAttribute attribute : attributes) { in printClass()
386 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
401 attributes, baseName); in printClass()
416 XsdAttribute attribute = resolveAttribute(attributes.get(i)); in printClass()
681 List<XsdElement> elements, List<XsdAttribute> attributes, String baseName) in printConstructor() argument
729 if (attributes.contains(attribute)) { in printConstructor()
876 List<XsdAttribute> attributes) throws CppCodeGeneratorException { in stackComponents() argument
[all …]
/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/prebuilts/api/27.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.
/system/sepolicy/prebuilts/api/26.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.
/system/sepolicy/prebuilts/api/29.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.
/system/sepolicy/prebuilts/api/28.0/private/
Dupdate_engine_common.te4 # postinstall_file regardless of its attributes in the new system.

12345