Home
last modified time | relevance | path

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

1234

/test/vts/script/
Dcreate-test-project.py161 f.write(LICENSE_STATEMENT_POUND.format(year=self.current_year))
162 f.write('\n')
163 f.write(
174 f.write(
176 f.write(ANDROID_MK_CALL_SUB)
184 f.write(XML_HEADER)
185 f.write(LICENSE_STATEMENT_XML.format(year=self.current_year))
186 f.write(
200 f.write(PY_HEADER)
201 f.write(LICENSE_STATEMENT_POUND.format(year=self.current_year))
[all …]
/test/vts/testcases/host/fmq_hidl_test/
DVtsHalTestsMsgqV1_0HostTest.py181 self._sync_client.write(write_data, data_len),
207 self._sync_client.write(write_data, self.MAX_NUM_MSG),
212 self._sync_client.write([1], 1),
263 self._sync_client.write(write_data, self.MAX_NUM_MSG),
268 self._sync_client.write([1], 1),
320 self._sync_client.write(curr_write_data, chunk_size),
340 self._sync_client.write(write_data, num_messages),
347 self._sync_client.write(write_data, self.MAX_NUM_MSG),
382 self._unsync_client1.write(write_data, data_len),
409 self._unsync_client1.write(write_data, self.MAX_NUM_MSG),
[all …]
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DCSVWriter.java69 public void write(BenchmarkResult benchmarkResult) throws IOException { in write() method in CSVWriter
70 writer.write(benchmarkResult.toCsvLine()); in write()
74 writer.write(deviceInfoCsvLine()); in writeHeader()
75 writer.write(RESULT_FORMAT_COMMENT); in writeHeader()
76 writer.write('\n'); in writeHeader()
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DReportLogHostInfoStore.java58 formatWriter.write(currentLine, 0, currentLine.length()); in open()
62 formatWriter.write("{", 0 , 1); in open()
65 formatWriter.write("\"" + mStreamName + "\":", 0, mStreamName.length() + 3); in open()
82 formatWriter.write("}", 0, 1); in close()
93 metricsWriter.write(line, 0, line.length()); in close()
/test/framework/harnesses/host_controller/command_processor/
Dcommand_repack_test.py117 mock_zip_ref.write.assert_any_call(
121 mock_zip_ref.write.assert_any_call(
157 mock_zip_ref.write.assert_any_call(
161 mock_zip_ref.write.assert_any_call(
165 mock_zip_ref.write.assert_any_call(
167 mock_zip_ref.write.assert_any_call(
Dcommand_repack.py87 zip_ref.write(
98 zip_ref.write(
102 zip_ref.write(
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py194 self._queue1_writer.write(write_data, 2048), "Write queue failed.")
213 self._queue1_writer.write(write_data, 2048),
217 self._queue1_writer.write(write_data, 2048),
225 self._queue1_writer.write(write_data, 2049),
236 self._queue1_writer.write(write_data, 2048),
296 self._queue3_writer.write(write_data, 2048),
343 self._queue4_writer.write(converted_write_data, 3),
/test/vts/proto/
DVtsResourceControllerMessage.proto43 // Get space available to write in FMQ.
73 // Signal starting to write to memory.
75 // Signal starting to write to a particular region of memory.
77 // Perform actual write operation.
79 // Commit to a read/write operation.
117 // whether to reset read/write pointers
202 // number of bytes written into the file if the request is a write operation
203 // write() function in C I/O returns a ssize_t,
/test/framework/harnesses/host_controller/utils/ipc/
Dfile_lock_semaphore.py82 self._lock_fd[self._name].write(
116 self._lock_fd[self._name].write("%s" % max(0, (current_value - 1)))
123 self._lock_fd[self._name].write("%s" % min(current_max,
/test/vti/test_serving/gae/webapp/src/scheduler/
Dperiodic.py42 self.response.write(
52 self.response.write(
Djob_heartbeat_test.py47 self.job_heartbeat.response.write = mock.Mock()
80 scheduler.response.write = mock.Mock()
/test/mlts/benchmark/tools/
Dgen_mobilenet_input.py18 f.write(img_f64.astype('float32').tobytes())
21 f.write(((img_f64 + 1) * 255).astype('uint8').tobytes())
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStreamUtil.java47 outStream.write(buf, 0, size); in copyStreams()
61 result.write(buffer, 0, length); in readInputStream()
DMultipartForm.java108 output.write(body); in submitForm()
141 byteOutput.write(mData); in getContentBody()
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing.py48 self.response.write("<pre>Access Denied. Please visit "
54 self.response.write(
69 self.response.write(
/test/vts/utils/python/coverage/
Dsancov_parser_test.py58 stream.write(struct.pack('III', *values))
71 stream.write(struct.pack('LLL', *values))
/test/vts/utils/python/controllers/
Dandroid.py107 self.client.write(json.dumps({'cmd': command,
118 self.client.write(request.encode("utf8") + b'\n')
/test/vts-testcase/hal/script/configure/
Dtest_case_creator.py219 f.write(ANDROID_BP_TEMPLATE.format(test_name=self._test_name, year=self._current_year))
253 f.write(XML_HEADER)
254 f.write(LICENSE_STATEMENT_XML.format(year=self._current_year))
255 f.write(self.Prettify(configuration))
/test/vts/drivers/libdrivercomm/
DVtsDriverCommUtil.cpp91 int n = write(sockfd_, header.str().c_str(), header.str().length()); in VtsSocketSendBytes()
100 n = write(sockfd_, &message.c_str()[bytes_sent], msg_len - bytes_sent); in VtsSocketSendBytes()
/test/vts-testcase/hal/tv/cec/V1_0/host_cec_client/
Dcec_utils.py69 self.process.stdin.write(message + '\n')
83 self.process.stdin.write("tx " + source + destination + ":" + message + '\n')
/test/vts/hals/light/bullhead/
Dlights.c68 int amt = write(fd, buffer, bytes); in write_int()
89 int amt = write(fd, buffer, bytes); in write_on_off()
/test/vti/fuzz_test_serving/
Dmain.py21 self.response.write('VTS Fuzzing Dashboard')
/test/vts-testcase/security/poc/target/kernel_sound/28838221/
Dpoc.cpp35 ret = write(fd, buf, SIZE); in main()
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py40 sys.stderr.write('Exception: %s\n' % e)
41 sys.stderr.write('sys.path:\n%s' % str(sys.path))
/test/vti/test_serving/gae/webapp/src/handlers/
Dbase.py122 self.response.write(self.jinja2.render_template(tpl, **resp_dict))
191 self.response.write(self.jinja2.render_template(self.template, **resp))

1234