Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/hardware/google/pixel/thermal/
Dpixel-thermal-logd.rc37 write /dev/thermal/tz-by-name/quiet-therm-adc/mode disabled
38 write /dev/thermal/tz-by-name/quiet-therm-monitor/mode disabled
39 write /dev/thermal/tz-by-name/fps-therm-adc/mode disabled
40 write /dev/thermal/tz-by-name/fps-therm-monitor/mode disabled
42 write /dev/thermal/tz-by-name/mb-therm-adc/mode disabled
43 write /dev/thermal/tz-by-name/mb-therm-monitor/mode disabled
45 write /dev/thermal/tz-by-name/sdm-therm/mode disabled
46 write /dev/thermal/tz-by-name/sdm-therm-monitor/mode disabled
48 write /dev/thermal/tz-by-name/skin-therm-adc/mode disabled
49 write /dev/thermal/tz-by-name/skin-therm-monitor/mode disabled
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dhtml_printer.py46 self.f.write("""<!doctype html>
79 self.f.write("""
123 self.f.write("""
128 self.f.write('</div><!-- .container -->\n')
135 self.f.write(
137 self.f.write('<div class="accordion" id="fileAccordion">\n')
139 self.f.write("""</div><!-- #fileAccordion -->
154 self.f.write("""
164 self.f.write('<div class="col-1">')
167 …self.f.write("""<span class="badge badge-warning" data-toggle="tooltip" title="{num} warnings in t…
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dextensionmetadocgenerator.py11 from generator import GeneratorOptions, OutputGenerator, regSortFeatures, write
178write(f' ** *NOTE* The extension `{succeededBy}` is not supported for the API specification being…
187write(' ** Which in turn was _promoted_ to\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVers…
189write(' ** Which in turn was _promoted_ to extension\n' + ext.conditionalLinkExt(ext.supercedingE…
193write(' ** Which in turn was _deprecated_ by\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVe…
195write(' ** Which in turn was _deprecated_ by\n' + ext.conditionalLinkExt(ext.supercedingExtension…
198 write(' ** Which in turn was _deprecated_ without replacement', file=file)
201write(' ** Which in turn was _obsoleted_ by\n' + ext.conditionalLinkCoreAPI(ext.supercedingAPIVer…
203write(' ** Which in turn was _obsoleted_ by\n' + ext.conditionalLinkExt(ext.supercedingExtension)…
206 write(' ** Which in turn was _obsoleted_ without replacement', file=file)
[all …]
Drubygenerator.py7 from generator import OutputGenerator, enquote, write
39 write(self.beginDict(name), file=self.outFile)
45 write(f'{enquote(key)} => {value},', file=self.outFile)
46 write(self.endDict(), file=self.outFile)
55 write('def {}'.format(name), file=self.outFile)
56 write(' @{}'.format(name), file=self.outFile)
57 write('end', file=self.outFile)
65 write('class APInames\n', ' def initialize', file=self.outFile)
85 write(self.beginDict('mapDict'), file=self.outFile)
88 write('{} => {},'.format(enquote(baseType), 'nil'),
[all …]
Dinterfacedocgenerator.py8 from generator import OutputGenerator, write
50 write('=== ' + title, file=fp)
51 write('',file=fp)
69 write('ifdef::' + required + '[]', file=fp)
70 write(f'If {requiredlink} is supported:', file=fp)
71 write('',file=fp)
76 write(' * ' + markup + api, file=fp)
84 write(' * Extending ' + parentstring + ':', file=fp)
86 write(' ** ' + markup + api, file=fp)
89 write(' * ' + markup + api, file=fp)
[all …]
Djsgenerator.py5 from generator import OutputGenerator, enquote, write
38 write(self.beginDict(name), file=self.outFile)
44 write(f'{enquote(key)} : {value},', file=self.outFile)
45 write(self.endDict(), file=self.outFile)
77 write(self.beginDict('mapDict'), file=self.outFile)
80 write(f'{enquote(baseType)} : undefined,',
82 write(self.endDict(), file=self.outFile)
92 write(self.beginDict('requiredBy'), file=self.outFile)
97 write('{} : [{}],'.format(enquote(api), reqs), file=self.outFile)
98 write(self.endDict(), file=self.outFile)
Dpygenerator.py7 from generator import OutputGenerator, enquote, write
31 write(self.beginDict(name), file=self.outFile)
37 write(f'{enquote(key)} : {value},', file=self.outFile)
38 write(self.endDict(), file=self.outFile)
72 write(self.beginDict('mapDict'), file=self.outFile)
74 write('{} : {},'.format(enquote(baseType),
76 write(self.endDict(), file=self.outFile)
86 write(self.beginDict('requiredBy'), file=self.outFile)
91 write('{} : [{}],'.format(enquote(api), reqs), file=self.outFile)
92 write(self.endDict(), file=self.outFile)
Dcgenerator.py13 OutputGenerator, noneStr, regSortFeatures, write)
183 write('#ifndef', headerSym, file=self.outFile)
184 write('#define', headerSym, '1', file=self.outFile)
190 write(s, file=self.outFile)
194 write('#ifdef __cplusplus', file=self.outFile)
195 write('extern "C" {', file=self.outFile)
196 write('#endif', file=self.outFile)
205 write('#ifdef __cplusplus', file=self.outFile)
206 write('}', file=self.outFile)
207 write('#endif', file=self.outFile)
[all …]
Ddocgenerator.py9 from generator import GeneratorOptions, OutputGenerator, noneStr, write
244 write(self.genOpts.conventions.warning_comment, file=fp)
245 write('[[{0}]]'.format(basename), file=fp)
256 write('indexterm:[{}]'.format(index_term), file=fp)
258 write('[source,c++]', file=fp)
259 write('----', file=fp)
260 write(contents, file=fp)
261 write('----', file=fp)
271 write(self.genOpts.conventions.warning_comment, file=fp)
272write('// Include this no-xref version without cross reference id for multiple includes of same fi…
[all …]
Dhostsyncgenerator.py7 from generator import OutputGenerator, write
47 write(self.genOpts.conventions.warning_comment, file=fp)
50 write('.%s' % title, file=fp)
51 write('****', file=fp)
52 write(contents, file=fp, end='')
53 write('****', file=fp)
54 write('', file=fp)
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/Retired/
DextensionStubSource.py118 write('#ifndef VULKAN_EXT_H', file=self.outFileHeader)
119 write('#define VULKAN_EXT_H', file=self.outFileHeader)
120 write('', file=self.outFileHeader)
121 write('#ifdef __cplusplus', file=self.outFileHeader)
122 write('extern "C" {', file=self.outFileHeader)
123 write('#endif', file=self.outFileHeader)
129 write(s, file=self.outFile)
130 write(s, file=self.outFileHeader)
132 write(doc, file=self.outFileHeader)
134 write('#include <vulkan/vulkan.h>', file=self.outFile)
[all …]
/hardware/google/gfxstream/guest/vulkan_enc/
Dgoldfish_vk_marshaling_guest.cpp53 vkStream->write((uint32_t*)&forMarshaling->width, sizeof(uint32_t)); in marshal_VkExtent2D()
54 vkStream->write((uint32_t*)&forMarshaling->height, sizeof(uint32_t)); in marshal_VkExtent2D()
67 vkStream->write((uint32_t*)&forMarshaling->width, sizeof(uint32_t)); in marshal_VkExtent3D()
68 vkStream->write((uint32_t*)&forMarshaling->height, sizeof(uint32_t)); in marshal_VkExtent3D()
69 vkStream->write((uint32_t*)&forMarshaling->depth, sizeof(uint32_t)); in marshal_VkExtent3D()
83 vkStream->write((int32_t*)&forMarshaling->x, sizeof(int32_t)); in marshal_VkOffset2D()
84 vkStream->write((int32_t*)&forMarshaling->y, sizeof(int32_t)); in marshal_VkOffset2D()
97 vkStream->write((int32_t*)&forMarshaling->x, sizeof(int32_t)); in marshal_VkOffset3D()
98 vkStream->write((int32_t*)&forMarshaling->y, sizeof(int32_t)); in marshal_VkOffset3D()
99 vkStream->write((int32_t*)&forMarshaling->z, sizeof(int32_t)); in marshal_VkOffset3D()
[all …]
/hardware/google/pixel/vibrator/cs40l26/
DDspMemChunk.cpp83 write(8, 0); /* Padding */
84 write(8, 0); /* nsections placeholder */
85 write(8, 0); /* repeat */
88 write(16, (PWLE_FTR_BUZZ_BIT | PWLE_FTR_DVL_BIT)
90 write(8, PWLE_WT_TYPE); /* type12 */
91 write(24, PWLE_HEADER_WORD_COUNT); /* Header word count */
92 write(24, 0); /* Body word count placeholder */
94 write(24, 0); /* Waveform length placeholder */
95 write(8, 0); /* Repeat */
96 write(12, 0); /* Wait time between repeats */
[all …]
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_marshaling.cpp53 vkStream->write((uint32_t*)&forMarshaling->width, sizeof(uint32_t)); in marshal_VkExtent2D()
54 vkStream->write((uint32_t*)&forMarshaling->height, sizeof(uint32_t)); in marshal_VkExtent2D()
67 vkStream->write((uint32_t*)&forMarshaling->width, sizeof(uint32_t)); in marshal_VkExtent3D()
68 vkStream->write((uint32_t*)&forMarshaling->height, sizeof(uint32_t)); in marshal_VkExtent3D()
69 vkStream->write((uint32_t*)&forMarshaling->depth, sizeof(uint32_t)); in marshal_VkExtent3D()
83 vkStream->write((int32_t*)&forMarshaling->x, sizeof(int32_t)); in marshal_VkOffset2D()
84 vkStream->write((int32_t*)&forMarshaling->y, sizeof(int32_t)); in marshal_VkOffset2D()
97 vkStream->write((int32_t*)&forMarshaling->x, sizeof(int32_t)); in marshal_VkOffset3D()
98 vkStream->write((int32_t*)&forMarshaling->y, sizeof(int32_t)); in marshal_VkOffset3D()
99 vkStream->write((int32_t*)&forMarshaling->z, sizeof(int32_t)); in marshal_VkOffset3D()
[all …]
/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-hwcal.cpp58 void write(const std::string key, const T &value, std::string lpad = " ", in write() function in aidl::android::hardware::vibrator::HwCalTest
78 write("f0_measured", expect); in TEST_F()
99 write("redc_measured", expect); in TEST_F()
120 write("q_measured", expect); in TEST_F()
146 write("v_tick", expect); in TEST_F()
159 write("v_click", expect); in TEST_F()
172 write("v_long", expect); in TEST_F()
216 write("v_tick", std::array<uint32_t, expect.size() - 1>()); in TEST_F()
217 write("v_click", std::array<uint32_t, expect.size() - 1>()); in TEST_F()
218 write("v_long", std::array<uint32_t, expect.size() - 1>()); in TEST_F()
[all …]
/hardware/google/pixel/mm/
Dpixel-mm-gki.rc17 write /proc/sys/vm/min_free_kbytes 27386
18 write /proc/sys/vm/lowmem_reserve_ratio "0 0 0"
20 write /sys/kernel/mm/transparent_hugepage/enabled "never"
45 write /sys/kernel/tracing/instances/pixel/buffer_size_kb 64
46 write /sys/kernel/tracing/instances/pixel/events/cma/cma_alloc_busy_retry/enable 1
47 write /sys/kernel/tracing/instances/pixel/events/cma/cma_alloc_start/enable 1
48 write /sys/kernel/tracing/instances/pixel/events/cma/cma_alloc_info/enable 1
49 write /sys/kernel/tracing/instances/pixel/events/cma/cma_release/enable 1
50 write /sys/kernel/tracing/instances/pixel/events/chunk_heap/enable 1
51 write /sys/kernel/tracing/instances/pixel/events/dmabuf_heap/dma_buf_release/enable 1
[all …]
Dpixel-mm-legacy.rc26 write /sys/kernel/debug/tracing/instances/pixel-trace/buffer_size_kb 64
27 write /sys/kernel/debug/tracing/instances/pixel-trace/events/mm_event/enable 1
28 write /sys/kernel/debug/tracing/instances/pixel-trace/events/f2fs/f2fs_iostat/enable 1
29 write /sys/kernel/debug/tracing/instances/pixel-trace/events/ufs/ufs_stats/enable 1
30 write /sys/kernel/debug/tracing/instances/pixel-trace/events/ufs_pixel/ufs_stats/enable 1
35 write /d/tracing/instances/pixel-trace/tracing_on 0
38 write /d/tracing/instances/pixel-trace/tracing_on 1
41 write /d/tracing/instances/pixel-trace/tracing_on 0
44 write /d/tracing/instances/pixel-trace/tracing_on 1
47 write /d/tracing/instances/pixel-trace/tracing_on 0
[all …]
Dpixel-mm.rc25 write /sys/kernel/tracing/instances/pixel-trace/buffer_size_kb 64
26 write /sys/kernel/tracing/instances/pixel-trace/events/mm_event/enable 1
27 write /sys/kernel/tracing/instances/pixel-trace/events/f2fs/f2fs_iostat/enable 1
28 write /sys/kernel/tracing/instances/pixel-trace/events/ufs/ufs_stats/enable 1
29 write /sys/kernel/tracing/instances/pixel-trace/events/ufs_pixel/ufs_stats/enable 1
34 write /sys/kernel/tracing/instances/pixel-trace/tracing_on 0
37 write /sys/kernel/tracing/instances/pixel-trace/tracing_on 1
40 write /sys/kernel/tracing/instances/pixel-trace/tracing_on 0
43 write /sys/kernel/tracing/instances/pixel-trace/tracing_on 1
46 write /sys/kernel/tracing/instances/pixel-trace/tracing_on 0
[all …]
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-hwcal.cpp57 void write(const std::string key, const T &value, std::string lpad = " ", in write() function in aidl::android::hardware::vibrator::HwCalTest
76 write("f0_measured", expect); in TEST_F()
96 write("redc_measured", expect); in TEST_F()
116 write("q_measured", expect); in TEST_F()
129 write("q_index", value); in TEST_F()
151 write("q_measured", actual); in TEST_F()
169 write("v_levels", expect); in TEST_F()
195 write("v_levels", std::array<uint32_t, expect.size() - 1>()); in TEST_F()
209 write("v_levels", std::array<uint32_t, expect.size() + 1>()); in TEST_F()
223 write("v_levels", actual); in TEST_F()
[all …]
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h89 return write(HEADER::name).template write<int64_t>(HEADER::value); in writeHeader()
93 MetadataWriter& write(T value) { in write() function
101 MetadataWriter& write(float value) { in write() function
109 MetadataWriter& write(const std::string_view& value) { in write() function
111 write<int64_t>(sizeToWrite); in write()
118 MetadataWriter& write(const std::vector<uint8_t>& value) { in write() function
120 write<int64_t>(sizeToWrite); in write()
127 MetadataWriter& write(const ExtendableType& value) { in write() function
128 return write(value.name).write(value.value); in write()
131 MetadataWriter& write(const XyColor& value) { return write(value.x).write(value.y); } in write() function
[all …]
/hardware/interfaces/sensors/common/utils/
DEventMessageQueueWrapper.h44 virtual bool write(const V2_1::Event* events, size_t numToWrite) = 0;
45 virtual bool write(const std::vector<V2_1::Event>& events) = 0;
75 bool write(const V2_1::Event* events, size_t numToWrite) override { in write() function
76 return mQueue->write(reinterpret_cast<const V1_0::Event*>(events), numToWrite); in write()
79 virtual bool write(const std::vector<V2_1::Event>& events) override { in write() function
81 return mQueue->write(oldEvents.data(), oldEvents.size()); in write()
118 bool write(const V2_1::Event* events, size_t numToWrite) override { in write() function
119 return mQueue->write(events, numToWrite); in write()
122 bool write(const std::vector<V2_1::Event>& events) override { in write() function
123 return mQueue->write(events.data(), events.size()); in write()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h244 inline WriteState write(const WriteState& wState, const uint8_t& v) {
247 inline WriteState write(const WriteState& wState, const int8_t& v) {
250 inline WriteState write(const WriteState& wState, const uint16_t& v) {
253 inline WriteState write(const WriteState& wState, const int16_t& v) {
256 inline WriteState write(const WriteState& wState, const uint32_t& v) {
259 inline WriteState write(const WriteState& wState, const int32_t& v) {
262 inline WriteState write(const WriteState& wState, const uint64_t& v) {
265 inline WriteState write(const WriteState& wState, const int64_t& v) {
270 WriteState write(WriteState wState, const StringBuffer<T, TextStr>& v) {
282 WriteState write(WriteState wState, const StringBuffer<T, ByteStr>& v) {
[all …]
/hardware/google/gfxstream/guest/mesa/src/util/
Dxxd.py50 f.write("0x{:02x}, ".format(ord(b)).encode('utf-8'))
65 outfile.write("static const char {}[] = {{\n".format(name).encode('utf-8'))
79 outfile.write(b"\n ")
82 outfile.write(b"\n0")
83 outfile.write(b"\n};\n\n")
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManager.cpp787 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
792 outFile.write(reinterpret_cast<const char*>(&camId), sizeof(std::string)); in writeConfigDataToBinary()
796 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
798 outFile.write(reinterpret_cast<const char*>(&ctrl), sizeof(CameraParam)); in writeConfigDataToBinary()
799 outFile.write(reinterpret_cast<const char*>(&std::get<0>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
800 outFile.write(reinterpret_cast<const char*>(&std::get<1>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
801 outFile.write(reinterpret_cast<const char*>(&std::get<2>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
806 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
808 outFile.write(reinterpret_cast<const char*>(sid), sizeof(int32_t)); in writeConfigDataToBinary()
809 outFile.write(reinterpret_cast<const char*>(&cfg), sizeof(cfg)); in writeConfigDataToBinary()
[all …]
/hardware/interfaces/bluetooth/hci/test/
Dh4_protocol_unittest.cc145 TEMP_FAILURE_RETRY(write(chip_uart_fd_, header_, kAclHeaderSize + 1)); in WriteInboundAclData()
146 TEMP_FAILURE_RETRY(write(chip_uart_fd_, payload, strlen(payload))); in WriteInboundAclData()
163 TEMP_FAILURE_RETRY(write(chip_uart_fd_, header_, kScoHeaderSize + 1)); in WriteInboundScoData()
164 TEMP_FAILURE_RETRY(write(chip_uart_fd_, payload, strlen(payload))); in WriteInboundScoData()
182 TEMP_FAILURE_RETRY(write(chip_uart_fd_, header_, kEventHeaderSize + 1)); in WriteInboundEvent()
183 TEMP_FAILURE_RETRY(write(chip_uart_fd_, payload, strlen(payload))); in WriteInboundEvent()
203 TEMP_FAILURE_RETRY(write(chip_uart_fd_, header_, kIsoHeaderSize + 1)); in WriteInboundIsoData()
204 TEMP_FAILURE_RETRY(write(chip_uart_fd_, payload, strlen(payload))); in WriteInboundIsoData()
221 TEMP_FAILURE_RETRY(write(chip_uart_fd_, preamble, sizeof(preamble))); in WriteAndExpectManyInboundAclDataPackets()
222 TEMP_FAILURE_RETRY(write(chip_uart_fd_, payload, strlen(payload))); in WriteAndExpectManyInboundAclDataPackets()
[all …]

12345678910>>...25