Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 75) sorted by relevance

123

/test/vts/testcases/host/firmware_test/src/com/android/tests/firmware/
DBootImageInfo.java64 mRaf.read(bytes); in BootImageInfo()
68 mRaf.read(bytes); in BootImageInfo()
76 mRaf.read(bytes); in BootImageInfo()
81 mRaf.read(bytes); in BootImageInfo()
89 mRaf.read(bytes); in BootImageInfo()
100 mRaf.read(bytes); in BootImageInfo()
105 mRaf.read(bytes); in BootImageInfo()
239 mRaf.read(tmpBytes); in getRamdiskStream()
/test/vts/testcases/host/verify_boot_header/
DVtsFirmwareBootHeaderVerification.py105 image_file.read(8) # read boot magic
107 host_image_header_version) = unpack("9I", image_file.read(9 * 4))
122 ramdisk_buf = image_file.read(ramdisk_size)
129 recovery_dtbo_size = unpack("I", image_file.read(4))[0]
130 image_file.read(8) # ignore recovery dtbo load address
136 boot_header_size = unpack("I", image_file.read(4))[0]
138 dtb_size = unpack("I", image_file.read(4))[0]
140 image_file.read(8) # ignore DTB physical load address
/test/vts/testcases/host/fmq_hidl_test/
DVtsHalTestsMsgqV1_0HostTest.py167 self._sync_client.read(read_data, data_len),
195 self._sync_client.read([], 2),
234 self._sync_client.read(read_data, self.MAX_NUM_MSG)
250 self._sync_client.read([], 1),
297 self._sync_client.read(read_data, chunk_size),
368 self._unsync_client1.read(read_data, data_len),
396 self._unsync_client1.read([], 2),
438 self._unsync_client1.read(read_data, self.MAX_NUM_MSG),
455 self._unsync_client1.read([], 1),
512 self._unsync_client1.read(read_data, chunk_size),
[all …]
/test/vts/proto/
DVtsResourceControllerMessage.proto45 // Get number of items available to read.
67 // Signal starting to read memory.
69 // Signal starting to read a particular region of memory.
71 // Perform actual read operation.
79 // Commit to a read/write operation.
117 // whether to reset read/write pointers
122 // length of data to be read
135 // including scalar values and data read back from the queue.
137 // data read from the queue
173 // data read from memory
[all …]
/test/vts/testcases/codelab/hidl_memory_test/
DVtsCodelabHidlMemoryTest.py123 self._mem_obj.read()
170 self._mem_obj.read()
182 self._mem_obj.read()
203 self._mem_obj.read()
241 self._mem_obj.read()
244 memory_client2.read()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStreamUtil.java46 while ((size = inStream.read(buf)) != -1) { in copyStreams()
60 while ((length = inputStream.read(buffer)) != -1) { in readInputStream()
68 while (reader.read() >= 0) {} in drainAndClose()
DResultUploader.java66 while ((count = input.read(buffer)) > 0) { in getBytes()
/test/vts/utils/python/coverage/
Dparser.py58 struct.unpack(self.format + 'ssss', self.stream.read(4)))
78 return struct.unpack(self.format + 'I', self.stream.read(4))[0]
112 struct.unpack(self.format + 's' * length, self.stream.read(
Dsancov_parser.py64 self._sancov_file.read(self._size))
82 magic = struct.unpack('L', self._sancov_file.read(8))[0];
/test/vts-testcase/kernel/loop/
Dvts_kernel_loopconfig_test.cpp52 auto read = fgets(line.data(), line.size(), pipe.get()); in TEST_F() local
53 ASSERT_NE(read, nullptr); in TEST_F()
55 auto minCountStr = std::string(read); in TEST_F()
/test/vts/testcases/codelab/fmq_test/
DVtsCodelabFmqTest.py196 read_success = self._queue1_reader.read(read_data, 2048)
203 read_success = self._queue1_reader.read(read_data, 5)
239 read_success = self._queue1_reader.read(read_data, 2048)
298 read_success1 = self._queue3_reader1.read(read_data1, 2048)
299 read_success2 = self._queue3_reader2.read(read_data2, 2048)
349 self._queue4_reader.read(read_data, 3),
/test/vts/testcases/host/verify_dtbo/
DVtsFirmwareDtboVerification.py87 buf = file_in.read(DTBO_HEADER_SIZE)
95 flags = struct.unpack(">I", file_in.read(1 * 4))[0]
105 unzipped_dtbo_file = zlib.decompress(f.read(), DECOMPRESS_WBIT_ARG)
109 fdt_magic = struct.unpack(">I", f.read(1 * 4))[0]
/test/vts/utils/python/library/
Dar_parser.py54 if ar.read(8) != "!<arch>\n":
57 header = ar.read(60)
/test/vts/testcases/host/firmware_dtbo_test/src/com/android/tests/firmwaredtbo/
DFirmwareDtboVerification.java145 raf.read(bytes); in decompressDTEntries()
157 raf.read(bytes); in decompressDTEntries()
173 fileInputStream.read(compressedData); in decompressDTEntries()
182 gzipStream.read(cpio_header); in decompressDTEntries()
185 fileInputStream.read(cpio_header); in decompressDTEntries()
/test/framework/harnesses/host_controller/utils/ipc/
Dfile_lock_semaphore.py95 return int(self._lock_fd[self._name].read().split()[1])
109 return int(self._lock_fd[self._name].read().split()[0])
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DMemoryTest.profiler.cpp64 arg_0_mem->read(); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
93 result_0_mem->read(); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
140 arg_0_mem->read(); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
259 arg_0_mem->read(); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
/test/vts/drivers/libdrivercomm/
DVtsDriverCommUtil.cpp121 int ret = read(sockfd_, &header_buffer[header_index], 1); in VtsSocketRecvBytes()
145 int result = read(sockfd_, &msg[bytes_read], msg_len - bytes_read); in VtsSocketRecvBytes()
/test/vts-testcase/hal/script/build/
Dbuild_rule_gen.py121 build_template = str(template_file.read())
233 return self._warning_header in myfile.read()
Dbuild_rule_gen_utils.py53 if build_rule == existing_file.read():
/test/vts-testcase/fuzz/script/config/
Dconfig_gen.py105 bp_template = str(template_file.read())
107 xml_template = str(template_file.read())
/test/framework/harnesses/host_controller/utils/gsi/
Dimg_utils.py37 os_version = fo.read(4)
/test/vts/testcases/host/camera_its/
DCameraITSTest.py161 logging.info(fout.read())
162 logging.error(ferr.read())
/test/vts/utils/python/systrace/
Dsystrace_controller.py146 line += process.stdout.read(1)
218 data = f.read()
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DReadElfTest.java111 ReadElf elf = ReadElf.read(targetFile); in checkReadElf()
284 while ((length = input.read(buffer)) > 0) { in getResrouceFile()
/test/vts-testcase/kernel/api/tun/
Dvts_kernel_tun_test.cpp86 ASSERT_TRUE(read(fd_, &test_output, 1) < 0); in TEST_P()

123