/system/tools/hidl/docs/src/writer/elements/ |
D | MethodElement.kt | 35 declarationParser.prefix?.let { sb.append("${it} ") } in <lambda>() 36 sb.append("${declarationParser.name} (") in <lambda>() 38 sb.append(htmlEscape("${arg.type} ${arg.name}")) in <lambda>() 39 if (i < declarationParser.params.size-1) sb.append(", ") in <lambda>() 41 sb.append(")") in <lambda>() 43 sb.append("\ngenerates (") in <lambda>() 45 sb.append(htmlEscape("${arg.type} ${arg.name}")) in <lambda>() 46 if (i < declarationParser.returns.size-1) sb.append(", ") in <lambda>() 48 sb.append(")") in <lambda>() 80 sb.append(""" in <lambda>() [all …]
|
D | CompoundElement.kt | 31 sb.append("${declarationParser.type.value} ${declarationParser.name} {") in <lambda>() 34 sb.append("${typedef}${arg.type} ${arg.name}") in <lambda>() 35 if (i < declarationParser.members.size-1) sb.append("; ") in <lambda>() 37 sb.append("}") in <lambda>() 45 sb.append(""" in <lambda>() 54 sb.append(""" in <lambda>() 64 sb.append(""" in <lambda>()
|
D | AbstractElement.kt | 56 sb.append(""" in <lambda>() 64 sb.append(""" in <lambda>() 74 sb.append(""" in <lambda>()
|
D | EnumElement.kt | 36 sb.append(""" in <lambda>() 46 sb.append(""" in <lambda>() 56 sb.append(""" in <lambda>()
|
/system/core/toolbox/ |
D | generate-input.h-labels.py | 48 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/hidl/docs/src/writer/files/ |
D | InterfaceFileWriter.kt | 34 sb.append("<section>\n") in replaceVars() 35 sb.append("<h2>Methods</h2>\n") in replaceVars() 36 sb.append(parser.methods.map { MethodElement(it).toHTML() }.joinToString("\n")) in replaceVars() 37 sb.append("\n</section>\n") in replaceVars() 58 sb.append("interface ${parser.name}") in buildDeclaration() 60 sb.append(" extends ") in buildDeclaration() 61 if (parser.extendsVersion != null) sb.append("@${parser.extendsVersion}::") in buildDeclaration() 62 sb.append(parser.extendsName) in buildDeclaration()
|
D | AbstractParserFileWriter.kt | 43 sb.append("<section>\n") in replaceVars() 44 sb.append("<h2>Properties</h2>\n") in replaceVars() 46 sb.append(parser.typedefs.map { TypedefElement(it).toHTML() }.joinToString("\n")) in replaceVars() 48 sb.append(parser.enums.map { EnumElement(it).toHTML() }.joinToString("\n")) in replaceVars() 50 sb.append(parser.structs.map { CompoundElement(it).toHTML() }.joinToString("\n")) in replaceVars() 52 sb.append(parser.unions.map { CompoundElement(it).toHTML() }.joinToString("\n")) in replaceVars() 53 sb.append("\n</section>\n") in replaceVars()
|
/system/tools/hidl/docs/src/writer/ |
D | formatutils.kt | 43 out.append("&#") in htmlEscape() 44 out.append(c.toInt()) in htmlEscape() 45 out.append(';') in htmlEscape() 47 out.append(c) in htmlEscape() 60 if (useParagraphs) sb.append("<p>") in formatTextasHTML() 63 sb.append(htmlEscape(string.trim()).replace(Regex("\\s*\n\n\\s*"), replaceText)) in formatTextasHTML() 64 if (useParagraphs) sb.append("</p>") in formatTextasHTML() 79 if (sb[sb.length - 1] != '.') sb.append(".") // add period, if needed in getDescSummaryText()
|
/system/libufdt/utils/src/ |
D | mkdtboimg.py | 102 sb.append('{key:>20} = {value:d}'.format(key='dt_size', 104 sb.append('{key:>20} = {value:d}'.format(key='dt_offset', 106 sb.append('{key:>20} = {value:08x}'.format(key='id', 108 sb.append('{key:>20} = {value:08x}'.format(key='rev', 110 sb.append('{key:>20} = {value:08x}'.format(key='custom[0]', 112 sb.append('{key:>20} = {value:08x}'.format(key='custom[1]', 114 sb.append('{key:>20} = {value:08x}'.format(key='custom[2]', 116 sb.append('{key:>20} = {value:08x}'.format(key='custom[3]', 303 self.__dt_entries.append(dt_entry) 386 sb.append('dt_table_header:') [all …]
|
/system/core/adb/ |
D | types_test.cpp | 50 bc.append(copy_block(block)); in TEST() 59 bc.append(create_block("foobar")); in TEST() 69 bc.append(create_block("foo")); in TEST() 70 bc.append(create_block("bar")); in TEST() 71 bc.append(create_block("baz")); in TEST() 91 bc.append(create_block("foo")); in TEST() 92 bc.append(create_block("bar")); in TEST() 93 bc.append(create_block("baz")); in TEST() 94 bc.append(create_block("qux")); in TEST() 95 bc.append(create_block("quux")); in TEST()
|
D | benchmark_device.py | 76 speeds.append(size_mb / float(end - begin)) 92 speeds.append(size_mb / float(end - begin)) 111 speeds.append(file_size_mb / float(end - begin)) 129 speeds.append(file_size_mb / float(end - begin)) 143 speeds.append(file_size_mb / float(end - begin))
|
/system/netd/include/ |
D | BinderUtil.h | 68 output.append(logTransaction["method_name"].asString() + "("s); in binderCallLogFn() 75 output.append(value); in binderCallLogFn() 77 output.append(", "s); in binderCallLogFn() 80 output.append(")"s); in binderCallLogFn() 86 output.append(" -> "s); in binderCallLogFn() 93 output.append(::android::base::StringPrintf( in binderCallLogFn() 100 output.append(::android::base::StringPrintf("{%s}", fastWriter.write(returnArgs).c_str())); in binderCallLogFn() 103 output.append( in binderCallLogFn()
|
/system/apex/apexer/ |
D | apexer.py | 255 cmd.append(img_file) 256 cmd.append(str(size_in_mb) + 'M') 263 cmd.append(args.file_contexts) 268 cmd.append('-e') # input is not android_sparse_file 273 cmd.append('-s') # share dup blocks 274 cmd.append(img_file) 278 cmd.append('-e') # input is not android_sparse_file 283 cmd.append('-s') # share dup blocks 284 cmd.append(img_file) 289 cmd.append('-M') # shrink as small as possible [all …]
|
/system/tools/xsdc/src/com/android/xsdc/cpp/ |
D | CppSimpleType.java | 54 expression.append( in getParsingExpression() 56 expression.append("for (auto& token : android::base::Split(raw, \" \")) {\n"); in getParsingExpression() 57 expression.append(String.format("value.push_back(std::move(%s));\n", in getParsingExpression() 59 expression.append("}\n"); in getParsingExpression() 61 expression.append( in getParsingExpression()
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaSimpleType.java | 63 expression.append( in getParsingExpression() 65 expression.append("for (String token : raw.split(\"\\\\s+\")) {\n"); in getParsingExpression() 66 expression.append(String.format("value.add(%s);\n", in getParsingExpression() 68 expression.append("}\n"); in getParsingExpression() 70 expression.append( in getParsingExpression()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | TestHelper.java | 135 log.append("Compilation failed!\n\n"); in compile() 137 log.append("Code: ").append(diagnostic.getCode()).append("\n"); in compile() 138 log.append("Kind: " + diagnostic.getKind() + "\n"); in compile() 139 log.append("Line: " + diagnostic.getLineNumber() + "\n"); in compile() 140 log.append("Column: " + diagnostic.getColumnNumber() + "\n"); in compile() 141 log.append("Source: " + diagnostic.getSource() + "\n"); in compile() 142 log.append("Message: " + diagnostic.getMessage(Locale.getDefault()) + "\n"); in compile()
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 43 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/update_engine/scripts/ |
D | update_device.py | 389 cmds.append(['push', args.otafile, data_local_tmp_file]) 390 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file, 392 cmds.append(['shell', 'su', '0', 'chcon', 394 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file]) 395 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file]) 406 cmds.append( 408 finalize_cmds.append(['reverse', '--remove', 'tcp:%d' % DEVICE_PORT]) 412 cmds.append( 415 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0', 417 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH]) [all …]
|
/system/extras/simpleperf/scripts/ |
D | report.py | 58 self.call_stack.append(function_name) 61 self.children.append(node) 69 strs.append('CallTreeNode percentage = %.2f' % self.percentage) 71 strs.append(' %s' % function_name) 88 strs.append('ReportItem (raw_line %s)' % self.raw_line) 90 strs.append('%s' % self.call_tree) 111 common_report_context.append(line) 132 cur_event_report.context.append(line) 134 event_reports.append(cur_event_report) 141 cur_event_report.report_items.append(cur_report_item) [all …]
|
D | debug_unwind_reporter.py | 71 new_list.append(entry) 74 new_list.append(entry) 77 new_list.append(map_entry) 80 new_list.append(entry) 83 new_list.append(entry) 85 new_list.append(map_entry) 190 result_list.append(sample_result) 246 items.append((key, value)) 339 ips.append(int(m.group(1), 16)) 340 sps.append(int(m.group(2), 16)) [all …]
|
/system/sepolicy/prebuilts/api/28.0/ |
D | plat_pub_versioned.cil | 3052 (allow appdomain cgroup_28_0 (file (ioctl read write getattr lock append map open))) 3060 (allow appdomain method_trace_data_file_28_0 (file (write create lock append map open))) 3065 (allow appdomain system_server_28_0 (fifo_file (ioctl read write getattr lock append map open))) 3068 (allow appdomain appdomain (fifo_file (ioctl read write getattr lock append map open))) 3071 …0 app_data_file_28_0 (file (ioctl read write create getattr setattr lock append map unlink rename … 3072 …p_data_file_28_0 (lnk_file (ioctl read write create getattr setattr lock append map unlink rename … 3073 …_data_file_28_0 (sock_file (ioctl read write create getattr setattr lock append map unlink rename … 3074 …_data_file_28_0 (fifo_file (ioctl read write create getattr setattr lock append map unlink rename … 3108 (allow appdomain anr_data_file_28_0 (file (append open))) 3112 (allow appdomain dumpstate_28_0 (fifo_file (append))) [all …]
|
/system/sepolicy/prebuilts/api/27.0/ |
D | nonplat_sepolicy.cil | 1961 (allow bootanim_27_0 gpu_device_27_0 (chr_file (ioctl read write getattr lock append map open))) 1965 (allow bootanim_27_0 audio_device_27_0 (chr_file (ioctl read write getattr lock append map open))) 1968 (allow bootanim_27_0 ion_device_27_0 (chr_file (ioctl read write getattr lock append map open))) 1984 …tstat_data_file_27_0 (file (ioctl read write create getattr setattr lock append map unlink rename … 1990 …ndpoint_socket_type (unix_stream_socket (read write getattr setattr lock append listen accept geto… 1992 …t_type (unix_stream_socket (ioctl read write create getattr setattr lock append bind connect liste… 1995 …erformance_client_endpoint_socket_type (sock_file (ioctl read write getattr lock append map open))) 1997 …channel_socket_type (unix_stream_socket (read write getattr setattr lock append getopt setopt shut… 2000 (allow bufferhubd_27_0 gpu_device_27_0 (chr_file (ioctl read write getattr lock append map open))) 2013 (allow cameraserver_27_0 ion_device_27_0 (chr_file (ioctl read write getattr lock append map open))) [all …]
|
/system/sepolicy/prebuilts/api/26.0/ |
D | nonplat_sepolicy.cil | 1741 (allow bootanim_26_0 gpu_device_26_0 (chr_file (ioctl read write getattr lock append open))) 1745 (allow bootanim_26_0 audio_device_26_0 (chr_file (ioctl read write getattr lock append open))) 1748 (allow bootanim_26_0 ion_device_26_0 (chr_file (ioctl read write getattr lock append open))) 1764 …tstat_data_file_26_0 (file (ioctl read write create getattr setattr lock append unlink rename open… 1770 …ndpoint_socket_type (unix_stream_socket (read write getattr setattr lock append listen accept geto… 1772 …t_type (unix_stream_socket (ioctl read write create getattr setattr lock append bind connect liste… 1775 …dx_performance_client_endpoint_socket_type (sock_file (ioctl read write getattr lock append open))) 1777 …channel_socket_type (unix_stream_socket (read write getattr setattr lock append getopt setopt shut… 1780 (allow bufferhubd_26_0 gpu_device_26_0 (chr_file (ioctl read write getattr lock append open))) 1793 (allow cameraserver_26_0 ion_device_26_0 (chr_file (ioctl read write getattr lock append open))) [all …]
|
/system/tools/hidl/docs/src/lexer/ |
D | HidlLexer.kt | 67 sb.append(matches[1]!!.value) in <lambda>() 88 annotationArgs.append(scanner.next()).append(" ") in <lambda>() 93 annotationArgs.append(scanner.next()) //')' in <lambda>()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_file_read.py | 66 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 …]
|