/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/xsdc/src/com/android/xsdc/cpp/ |
D | CppSimpleType.java | 60 expression.append( in getParsingExpression() 62 expression.append("for (auto& token : android::base::Split(raw, \" \")) {\n"); in getParsingExpression() 63 expression.append(String.format("value.push_back(std::move(%s));\n", in getParsingExpression() 65 expression.append("}\n"); in getParsingExpression() 67 expression.append( in getParsingExpression() 79 expression.append("{\nint count = 0;\n"); in getWritingExpression() 80 expression.append(String.format("for (const auto& v : %s) {\n", getValue)); in getWritingExpression() 91 expression.append("if (count != 0) {\n" in getWritingExpression() 94 expression.append(String.format("out << %s;\n}\n}\n", value)); in getWritingExpression() 97 expression.append(String.format("out << %sToString(%s);\n", this.name, getValue)); in getWritingExpression() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaSimpleType.java | 68 expression.append( in getParsingExpression() 70 expression.append("for (String token : raw.split(\"\\\\s+\")) {\n"); in getParsingExpression() 71 expression.append(String.format("value.add(%s);\n", in getParsingExpression() 73 expression.append("}\n"); in getParsingExpression() 75 expression.append( in getParsingExpression() 86 expression.append("{\nint count = 0;\n"); in getWritingExpression() 87 expression.append(String.format("for (%s v : %s) {\n", this.name, getValue)); in getWritingExpression() 88 expression.append("if (count != 0) {\n" in getWritingExpression() 91 expression.append("out.printf(\"%s \", v);\n}\n"); in getWritingExpression() 92 expression.append("}\n"); in getWritingExpression() [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() [all …]
|
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/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/netd/include/binder_utils/ |
D | BinderUtil.h | 71 output.append(logTransaction["method_name"].asString() + "("s); in binderCallLogFn() 78 output.append(value); in binderCallLogFn() 80 output.append(", "s); in binderCallLogFn() 83 output.append(")"s); in binderCallLogFn() 89 output.append(" -> "s); in binderCallLogFn() 96 output.append(::android::base::StringPrintf( in binderCallLogFn() 103 output.append(::android::base::StringPrintf("{%s}", fastWriter.write(returnArgs).c_str())); in binderCallLogFn() 106 output.append( in binderCallLogFn()
|
/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/apex/apexer/ |
D | apexer.py | 500 cmd.append(img_file) 501 cmd.append(str(size_in_mb) + 'M') 508 cmd.append(args.file_contexts) 513 cmd.append('-e') # input is not android_sparse_file 518 cmd.append('-s') # share dup blocks 519 cmd.append(img_file) 523 cmd.append('-e') # input is not android_sparse_file 528 cmd.append('-s') # share dup blocks 529 cmd.append(img_file) 534 cmd.append('-M') # shrink as small as possible [all …]
|
D | apexer_test.py | 179 self._to_cleanup.append(dir_name) 204 self._to_cleanup.append(dir_name) 218 self._to_cleanup.append(dir_name) 258 self._to_cleanup.append(fn) 267 self._to_cleanup.append(fn) 283 self._to_cleanup.append(signed_payload) 287 cmd.append('add_hashtree_footer') 288 cmd.append('--do_not_generate_fec') 298 cmd.append('--no_hashtree') 314 self._to_cleanup.append(fn)
|
/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/update_engine/scripts/ |
D | update_device.py | 400 cmds.append(['push', args.otafile, data_local_tmp_file]) 401 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file, 403 cmds.append(['shell', 'su', '0', 'chcon', 405 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file]) 406 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file]) 417 cmds.append( 419 finalize_cmds.append(['reverse', '--remove', 'tcp:%d' % DEVICE_PORT]) 423 cmds.append( 426 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0', 428 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH]) [all …]
|
/system/bt/gd/cert/ |
D | performance_test_logger.py | 35 self.single_points[label].append(datetime.now()) 40 self.start_interval_points[label].append(datetime.now()) 45 self.end_interval_points[label].append(datetime.now()) 61 intervals.append(interval)
|
/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/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 …]
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | tombstoned.te | 14 # TODO: Remove append / write permissions. They were temporarily 16 allow tombstoned anr_data_file:file { append write }; 17 auditallow tombstoned anr_data_file:file { append write };
|
/system/media/camera/docs/ |
D | metadata_parser_xml.py | 231 enum_values.append(value_body) 234 enum_deprecateds.append(value_body) 237 enum_optionals.append(value_body) 240 enum_hiddens.append(value_body) 243 enum_ndk_hiddens.append(value_body) 285 array_sizes.append(size.string) 292 tupl_values.append(val.name) 313 tag_ids.append(tag['id'])
|
/system/core/fs_mgr/libvbmeta/ |
D | writer.cpp | 31 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/sepolicy/prebuilts/api/28.0/public/ |
D | tombstoned.te | 14 # TODO: Remove append / write permissions. They were temporarily 16 allow tombstoned anr_data_file:file { append write }; 17 auditallow tombstoned anr_data_file:file { append write };
|
/system/bt/test/ |
D | run_host_unit_tests.py | 133 cmd.append('--gtest_output=xml:{0}'.format(log_output_path)) 135 cmd.append('--gtest_filter=%s' % test_filter) 144 build_cmd.append('-j' + str(num_tasks)) 145 build_cmd.append(target) 184 test_results.append(False) 186 test_results.append(True)
|
/system/timezone/ |
D | download-iana-files.py | 26 sys.path.append('%s/external/icu/tools' % os.environ.get('ANDROID_BUILD_TOP')) 63 iana_tar_filenames.append(filename) 105 output_files.append(new_local_iana_tar_file) 106 output_files.append(new_local_signature_file)
|