Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/system/chre/chpp/api_parser/
Dchre_api_to_chpp.py78 out.append("// This file was automatically generated by {}\n".format(
80 out.append("// Date: {} UTC\n".format(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
81 out.append("// Source: {} @ commit {}\n\n".format(self.json['filename'], self.commit_hash))
82 out.append("// DO NOT modify this file directly, as those changes will be lost the next\n")
83 out.append("// time the script is executed\n\n")
190 out.append("#include \"{}\"\n".format(incl))
191 out.append("\n")
198 out.append("//! See {{@link {}}} for details\n".format(name))
199 out.append("{} {{\n".format(self._get_chpp_type_from_chre(name)))
201 out.append(" {} {}{};{}\n".format(self._get_member_type(member_info),
[all …]
/system/core/toolbox/
Dgenerate-input.h-labels.py48 input_prop_list.append(name)
50 ev_list.append(name)
52 syn_list.append(name)
54 key_list.append(name)
56 rel_list.append(name)
58 abs_list.append(name)
60 sw_list.append(name)
62 msc_list.append(name)
64 led_list.append(name)
66 rep_list.append(name)
[all …]
/system/tools/mkbootimg/
Dunpack_bootimg.py86 lines.append(f'boot magic: {self.boot_magic}')
89 lines.append(f'kernel_size: {self.kernel_size}')
90 lines.append(
92 lines.append(f'ramdisk size: {self.ramdisk_size}')
93 lines.append(
95 lines.append(f'second bootloader size: {self.second_size}')
96 lines.append(
99 lines.append(
101 lines.append(f'page size: {self.page_size}')
103 lines.append(f'kernel_size: {self.kernel_size}')
[all …]
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/
DCppSimpleType.java64 expression.append( in getParsingExpression()
66 expression.append(String.format("{\n" in getParsingExpression()
72 expression.append("}\n"); in getParsingExpression()
74 expression.append( in getParsingExpression()
86 expression.append("{\nint _count = 0;\n"); in getWritingExpression()
87 expression.append(String.format("for (const auto& _v : %s) {\n", getValue)); in getWritingExpression()
98 expression.append("if (_count != 0) {\n" in getWritingExpression()
101 expression.append(String.format("_out << %s;\n}\n}\n", value)); in getWritingExpression()
104 expression.append(String.format("_out << toString(%s);\n", getValue)); in getWritingExpression()
106 expression.append(String.format("_out << (int)%s;\n", getValue)); in getWritingExpression()
[all …]
/system/tools/xsdc/src/main/java/com/android/xsdc/java/
DJavaSimpleType.java76 expression.append( in getParsingExpression()
78 expression.append("for (String _token : _raw.split(\"\\\\s+\")) {\n"); in getParsingExpression()
79 expression.append(String.format("_value.add(%s);\n", in getParsingExpression()
81 expression.append("}\n"); in getParsingExpression()
83 expression.append( in getParsingExpression()
94 expression.append("{\nint _count = 0;\n"); in getWritingExpression()
95 expression.append(String.format("for (%s v : %s) {\n", this.name, getValue)); in getWritingExpression()
96 expression.append("if (_count != 0) {\n" in getWritingExpression()
99 expression.append(String.format("_out.print(%s);\n}\n", in getWritingExpression()
101 expression.append("}\n"); in getWritingExpression()
[all …]
/system/libufdt/utils/src/
Dmkdtboimg.py117 sb.append('{key:>20} = {value:d}'.format(key='dt_size',
119 sb.append('{key:>20} = {value:d}'.format(key='dt_offset',
121 sb.append('{key:>20} = {value:08x}'.format(key='id',
123 sb.append('{key:>20} = {value:08x}'.format(key='rev',
126 sb.append('{key:>20} = {value:08x}'.format(key='flags',
128 sb.append('{key:>20} = {value:08x}'.format(key='custom[0]',
130 sb.append('{key:>20} = {value:08x}'.format(key='custom[1]',
132 sb.append('{key:>20} = {value:08x}'.format(key='custom[2]',
135 sb.append('{key:>20} = {value:08x}'.format(key='custom[3]',
339 self.__dt_entries.append(dt_entry)
[all …]
/system/libcppbor/src/
Dcppbor.cpp94 out.append("<NULL>"); in prettyPrintInternal()
106 out.append(buf); in prettyPrintInternal()
116 out.append(buf); in prettyPrintInternal()
121 out.append(buf); in prettyPrintInternal()
151 out.append(buf); in prettyPrintInternal()
153 out.append("{"); in prettyPrintInternal()
156 out.append(", "); in prettyPrintInternal()
159 out.append(buf); in prettyPrintInternal()
161 out.append("}"); in prettyPrintInternal()
166 out.append("'"); in prettyPrintInternal()
[all …]
/system/chre/host/hal_generic/aidl/
Devent_logger.cc107 logs.append("\nNanoapp loads:\n"); in dump()
117 logs.append(buffer); in dump()
121 logs.append("\nNanoapp unloads:\n"); in dump()
126 logs.append(buffer); in dump()
130 logs.append("\nMessages to Nanoapps:\n"); in dump()
136 logs.append(buffer); in dump()
140 logs.append("\nMessages from Nanoapps:\n"); in dump()
145 logs.append(buffer); in dump()
149 logs.append("\nContext hub restarts:\n"); in dump()
153 logs.append(buffer); in dump()
/system/apex/tests/src/com/android/tests/apex/
DSharedLibsApexTest.java81 ret.append("com.android.apex.test."); in getTestApex()
84 ret.append("foo"); in getTestApex()
87 ret.append("bar"); in getTestApex()
90 ret.append("baz"); in getTestApex()
93 ret.append("pony"); in getTestApex()
96 ret.append("sharedlibs_generated"); in getTestApex()
99 ret.append("sharedlibs_secondary_generated"); in getTestApex()
105 ret.append("_stripped"); in getTestApex()
113 ret.append(".v1"); in getTestApex()
116 ret.append(".v2"); in getTestApex()
[all …]
/system/extras/simpleperf/runtest/
Druntest.py43 self.children.append(child)
72 strs.append('Symbol name=%s comm=%s overhead=%f children_overhead=%f' % (
75 strs.append('\t%s' % self.call_tree)
90 strs.append('SymbolOverheadRequirement')
92 strs.append('symbol_name=%s' % self.symbol_name)
94 strs.append('comm=%s' % self.comm)
96 strs.append('min_overhead=%f' % self.min_overhead)
98 strs.append('max_overhead=%f' % self.max_overhead)
128 self.children.append(child)
189 strs.append('Test test_name=%s' % self.test_name)
[all …]
/system/netd/include/binder_utils/
DBinderUtil.h76 output.append(log.method_name + "("s); in binderCallLogFn()
80 output.append(log.input_args[i].second); in binderCallLogFn()
82 output.append(", "s); in binderCallLogFn()
85 output.append(")"s); in binderCallLogFn()
90 output.append(" -> "s); in binderCallLogFn()
97 output.append(fmt::format("{}({}, \"{}\")", exceptionToString(exceptionCode), in binderCallLogFn()
102 output.append("{" + log.result + "}"); in binderCallLogFn()
105 output.append(fmt::format(" <{:.2f}ms>", log.duration_ms)); in binderCallLogFn()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py140 events.append(v)
147 events.append(v)
165 data_points[k].append(v['value'])
171 kernel_timing_points[k].append(v)
176 logcat_timing_points[k].append(v)
181 boottime_points[k].append(v)
227 average_with_stddev.append((item[0], sum(item[1])/len(item[1]), stddev(item[1]),\
241 averaged_timing_points.append((item[0], average, std_dev, len(item[1])))
323 results.append(dmesg_events)
324 results.append(kernel_timing_events)
[all …]
/system/core/libutils/
DString8_test.cpp106 TEST_F(String8Test, append) { in TEST_F() argument
108 EXPECT_EQ(OK, s.append("foo")); in TEST_F()
110 EXPECT_EQ(OK, s.append("bar")); in TEST_F()
112 EXPECT_EQ(OK, s.append("baz", 0)); in TEST_F()
114 EXPECT_EQ(NO_MEMORY, s.append("baz", SIZE_MAX)); in TEST_F()
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java117 sb.append(",\n"); in cborPrettyPrint()
143 indentBuilder.append(' '); in cborPrettyPrintDataItem()
148 sb.append(String.format("tag %d ", dataItem.getTag().getValue())); in cborPrettyPrintDataItem()
154 sb.append("<invalid>"); in cborPrettyPrintDataItem()
159 sb.append(value); in cborPrettyPrintDataItem()
165 sb.append(value); in cborPrettyPrintDataItem()
171 sb.append("["); in cborPrettyPrintDataItem()
175 sb.append(", "); in cborPrettyPrintDataItem()
177 sb.append(String.format("0x%02x", b)); in cborPrettyPrintDataItem()
180 sb.append("]"); in cborPrettyPrintDataItem()
[all …]
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py78 self.callchain.append(CallChainNode())
134 self.exclude_filters.append(CompleteCallChainFilter())
136 self.exclude_filters.append(ErrorCodeFilter(args.exclude_error_code))
138 self.exclude_filters.append(EndDsoFilter(args.exclude_end_dso))
140 self.exclude_filters.append(EndSymbolFilter(args.exclude_end_symbol))
142 self.exclude_filters.append(SampleTimeFilter(args.exclude_sample_time))
145 self.include_filters.append(ErrorCodeFilter(args.include_error_code))
147 self.include_filters.append(EndDsoFilter(args.include_end_dso))
149 self.include_filters.append(EndSymbolFilter(args.include_end_symbol))
151 self.include_filters.append(SampleTimeFilter(args.include_sample_time))
[all …]
Dreport.py59 self.call_stack.append(function_name)
62 self.children.append(node)
70 strs.append('CallTreeNode percentage = %.2f' % self.percentage)
72 strs.append(' %s' % function_name)
89 strs.append('ReportItem (raw_line %s)' % self.raw_line)
91 strs.append('%s' % self.call_tree)
113 common_report_context.append(line)
134 cur_event_report.context.append(line)
136 event_reports.append(cur_event_report)
143 cur_event_report.report_items.append(cur_report_item)
[all …]
/system/sepolicy/prebuilts/api/34.0/public/
Dapp.te47 domain:netlink_kobject_uevent_socket { write append };
89 { create write setattr relabelfrom relabelto append unlink link rename };
93 { create write setattr relabelfrom relabelto append unlink link rename };
97 { create write setattr relabelfrom relabelto append unlink link rename };
104 { create write setattr relabelfrom relabelto append unlink link rename };
108 { create write setattr relabelfrom relabelto append unlink link rename };
111 { create write setattr relabelfrom relabelto append unlink link rename };
114 { create write setattr relabelfrom relabelto append unlink link rename };
117 { create write setattr relabelfrom relabelto append unlink link rename };
120 { create write setattr relabelfrom relabelto append unlink link rename };
[all …]
/system/sepolicy/public/
Dapp.te47 domain:netlink_kobject_uevent_socket { write append };
89 { create write setattr relabelfrom relabelto append unlink link rename };
93 { create write setattr relabelfrom relabelto append unlink link rename };
97 { create write setattr relabelfrom relabelto append unlink link rename };
104 { create write setattr relabelfrom relabelto append unlink link rename };
108 { create write setattr relabelfrom relabelto append unlink link rename };
111 { create write setattr relabelfrom relabelto append unlink link rename };
114 { create write setattr relabelfrom relabelto append unlink link rename };
117 { create write setattr relabelfrom relabelto append unlink link rename };
120 { create write setattr relabelfrom relabelto append unlink link rename };
[all …]
/system/sepolicy/prebuilts/api/33.0/public/
Dapp.te57 domain:netlink_kobject_uevent_socket { write append };
99 { create write setattr relabelfrom relabelto append unlink link rename };
103 { create write setattr relabelfrom relabelto append unlink link rename };
107 { create write setattr relabelfrom relabelto append unlink link rename };
114 { create write setattr relabelfrom relabelto append unlink link rename };
118 { create write setattr relabelfrom relabelto append unlink link rename };
121 { create write setattr relabelfrom relabelto append unlink link rename };
124 { create write setattr relabelfrom relabelto append unlink link rename };
127 { create write setattr relabelfrom relabelto append unlink link rename };
130 { create write setattr relabelfrom relabelto append unlink link rename };
[all …]
/system/update_engine/scripts/
Dsimulate_ota.py111 old_partitions.append(old_image)
113 new_partitions.append(scratch_image_name)
116 expected_new_partitions.append(new_image)
123 delta_generator_args.append("--is_partial_update")
125 delta_generator_args.append("--old_partitions=" + ":".join(old_partitions))
126 delta_generator_args.append("--partition_names=" + ":".join(partition_names))
127 delta_generator_args.append("--new_partitions=" + ":".join(new_partitions))
/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py66 offsets.append(offset)
69 self.accesses.append((time, offset, size, process_name))
84 self.accesses.append((time, offsets[i], lens[i], process_names[i]))
123 prints.append(str(offset) + ":" + str(counter))
134 self.processes.append((open_time, process_name, flags))
140 self.processes.append((open_time, process_name, flags))
161 process_names.append(opener[1] + "-" + name_to_pid_map.get(opener[1], '?') + " t:" + \
213 self.access_sizes.append(ext4_blocks_accessed)
320 access_list.append(pending_access)
359 reqs_to_remove.append(pending)
[all …]
/system/extras/perf_tools/
Dsbtpull.py86 def append(self, item): member in LogLineList
87 self.list.append(item)
113 itemList.append(item)
126 itemList.append(item)
148 resultsList.append(item)
164 commonList.append(_item)
167 notCommonList.append(_item)
185 diffList.append(thisItem)
244 logLineList.append(logLine)
272 self.rowSum.append(0)
[all …]
/system/security/keystore2/src/
Dmetrics_store.rs523 let mut append = |stat| { in pull_storage_stats() localVariable
536 append(db.get_storage_stat(MetricsStorage::DATABASE)); in pull_storage_stats()
537 append(db.get_storage_stat(MetricsStorage::KEY_ENTRY)); in pull_storage_stats()
538 append(db.get_storage_stat(MetricsStorage::KEY_ENTRY_ID_INDEX)); in pull_storage_stats()
539 append(db.get_storage_stat(MetricsStorage::KEY_ENTRY_DOMAIN_NAMESPACE_INDEX)); in pull_storage_stats()
540 append(db.get_storage_stat(MetricsStorage::BLOB_ENTRY)); in pull_storage_stats()
541 append(db.get_storage_stat(MetricsStorage::BLOB_ENTRY_KEY_ENTRY_ID_INDEX)); in pull_storage_stats()
542 append(db.get_storage_stat(MetricsStorage::KEY_PARAMETER)); in pull_storage_stats()
543 append(db.get_storage_stat(MetricsStorage::KEY_PARAMETER_KEY_ENTRY_ID_INDEX)); in pull_storage_stats()
544 append(db.get_storage_stat(MetricsStorage::KEY_METADATA)); in pull_storage_stats()
[all …]
/system/core/fs_mgr/libvbmeta/
Dwriter.cpp31 table.append(reinterpret_cast<const char*>(&input.header), SUPER_VBMETA_HEADER_SIZE); in SerializeVBMetaTable()
34 table.append(reinterpret_cast<const char*>(&desc), SUPER_VBMETA_DESCRIPTOR_SIZE); in SerializeVBMetaTable()
35 table.append(desc.vbmeta_name); in SerializeVBMetaTable()
/system/apex/apexer/
Dapexer_test.py179 self._to_cleanup.append(dir_name)
211 self._to_cleanup.append(dir_name)
236 self._to_cleanup.append(dir_name)
250 self._to_cleanup.append(dir_name)
276 cmd.append('-v')
296 self._to_cleanup.append(fn)
327 self._to_cleanup.append(fn)
344 self._to_cleanup.append(signed_payload)
348 cmd.append('add_hashtree_footer')
349 cmd.append('--do_not_generate_fec')
[all …]

12345678910>>...16