/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | blob_test.cpp | 59 struct blob_reader reader; in TEST() local 96 blob_reader_init(&reader, blob.data, blob.size); in TEST() 99 (const char *)blob_read_bytes(&reader, sizeof(bytes_test_str))) << in TEST() 102 blob_copy_bytes(&reader, reserve_buf, sizeof(reserve_buf)); in TEST() 108 (const char *) blob_read_bytes(&reader, sizeof(overwrite_test_str))) in TEST() 111 EXPECT_EQ(uint32_test, blob_read_uint32(&reader)) << "blob_write/read_uint32"; in TEST() 112 EXPECT_EQ(uint32_overwrite, blob_read_uint32(&reader)) << "blob_overwrite_uint32"; in TEST() 113 EXPECT_EQ(uint64_test, blob_read_uint64(&reader)) << "blob_write/read_uint64"; in TEST() 114 EXPECT_EQ((intptr_t) &blob, blob_read_intptr(&reader)) << "blob_write/read_intptr"; in TEST() 116 EXPECT_STREQ(string_test_str, blob_read_string(&reader)) << "blob_write/read_string"; in TEST() [all …]
|
D | register_allocate_test.cpp | 253 struct blob_reader reader; in TEST_F() local 254 blob_reader_init(&reader, blob.data, blob.size); in TEST_F() 256 regs = ra_set_deserialize(mem_ctx, &reader); in TEST_F()
|
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/ |
D | IMapperMetadataTypes.h | 300 auto reader = MetadataReader{metadata, metadataSize}.template checkHeader<HEADER>(); 301 auto result = reader.readString(); 302 return reader.ok() ? std::optional<std::string>{result} : std::nullopt; 355 MetadataReader reader{metadata, metadataSize}; 356 reader.template checkHeader<HEADER>(); 357 auto numPlanes = reader.readInt<int64_t>().value_or(0); 359 for (int i = 0; i < numPlanes && reader.ok(); i++) { 361 auto numPlaneComponents = reader.readInt<int64_t>().value_or(0); 363 for (int j = 0; j < numPlaneComponents && reader.ok(); j++) { 365 reader.read(component.type) [all …]
|
/hardware/nxp/keymint/transport/ |
D | OmapiTransport.cpp | 165 std::shared_ptr<::aidl::android::se::omapi::ISecureElementReader> reader; in initialize() local 166 status = omapiSeService->getReader(readerName, &reader); in initialize() 173 mVSReaders[readerName] = std::move(reader); in initialize() 180 for (const auto& [name, reader] : mVSReaders) { in initialize() 183 eSEReader = reader; in initialize() 204 std::shared_ptr<aidl::android::se::omapi::ISecureElementReader> reader, in internalTransmitApdu() argument 209 if (reader == nullptr) { in internalTransmitApdu() 215 auto res = reader->isSecureElementPresent(&status); in internalTransmitApdu() 225 res = reader->openSession(&session); in internalTransmitApdu() 323 for (const auto& [name, reader] : mVSReaders) { in closeConnection() [all …]
|
/hardware/interfaces/uwb/aidl/default/src/ |
D | uwb_chip.rs | 91 fn consume_device_reset_rsp_and_ntf(reader: &mut File) { in consume_device_reset_rsp_and_ntf() 98 read_exact(reader, &mut buffer).unwrap(); in consume_device_reset_rsp_and_ntf() 174 let reader = serial in open() localVariable 180 let mut reader = AsyncFd::new(reader).unwrap(); in open() localVariable 205 match reader.get_mut().read(&mut buffer) { in open() 220 result = reader.readable() => result.unwrap() in open() 227 read_exact(reader.get_mut(), &mut buffer[read_len..]).unwrap(); in open() 242 read_exact(reader.get_mut(), &mut buffer[UWB_HEADER_SIZE..]).unwrap(); in open()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/ |
D | quiet-include-failure.rb | 19 def process doc, reader, target, attributes 23 reader
|
D | open_listing_block.rb | 22 process do |parent, reader, attrs| 24 parse_content wrapper, reader
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/ifdef-mismatch/ |
D | extension.rb | 123 def process document, reader 125 reader = IfDefMismatchPreprocessorReader.new(document, reader.lines)
|
/hardware/interfaces/graphics/composer/2.4/utils/vts/ |
D | ComposerVts.cpp | 135 void ComposerClient::execute(TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument 156 reader->setMQDescriptor(tmpDescriptor); in execute() 160 ASSERT_TRUE(reader->readQueue(tmpOutLength, tmpOutHandles)); in execute() 161 reader->parse(); in execute() 163 reader->reset(); in execute()
|
/hardware/interfaces/gnss/common/utils/default/include/ |
D | DeviceFileReader.h | 34 static DeviceFileReader reader; in Instance() local 35 return reader; in Instance()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | AudioPrimaryHidlHalTest.cpp | 724 void waitForCapturePositionAdvance(StreamReader& reader, uint64_t* firstPosition = nullptr, in waitForCapturePositionAdvance() argument 736 res != Result::OK && !reader.hasError() && in waitForCapturePositionAdvance() 742 ASSERT_FALSE(reader.hasError()); in waitForCapturePositionAdvance() 747 frames <= framesInitial && !reader.hasError() && in waitForCapturePositionAdvance() 754 EXPECT_FALSE(reader.hasError()); in waitForCapturePositionAdvance() 767 StreamReader reader(stream.get(), stream->getBufferSize()); in TEST_P() local 768 ASSERT_TRUE(reader.start()); in TEST_P() 769 EXPECT_TRUE(reader.waitForAtLeastOneCycle()); in TEST_P() 779 StreamReader reader(stream.get(), stream->getBufferSize()); in TEST_P() local 780 ASSERT_TRUE(reader.start()); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 61 void ComposerClient::execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument 81 reader->setMQDescriptor(tmpDescriptor); in execute() 85 ASSERT_TRUE(reader->readQueue(tmpOutLength, tmpOutHandles)); in execute() 86 reader->parse(); in execute() 88 reader->reset(); in execute()
|
/hardware/libhardware/modules/sensors/tests/ |
D | SensorEventQueue_test.cpp | 177 pthread_t writer, reader; in testFullQueueIo() local 178 pthread_create(&reader, NULL, fullQueueReaderTask, &readerCtx); in testFullQueueIo() 182 pthread_join(reader, NULL); in testFullQueueIo()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 280 void ComposerClient::execute(TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument 300 reader->setMQDescriptor(tmpDescriptor); in execute() 304 ASSERT_TRUE(reader->readQueue(tmpOutLength, tmpOutHandles)); in execute() 305 reader->parse(); in execute() 307 reader->reset(); in execute()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/extension-highlighter/ |
D | extension.rb | 224 def process document, reader 239 …reader = ExtensionHighlighterPreprocessorReader.new(document, actual_diff_extensions, reader.lines)
|
/hardware/nxp/keymint/transport/include/ |
D | OmapiTransport.h | 143 std::shared_ptr<aidl::android::se::omapi::ISecureElementReader> reader, 153 std::shared_ptr<aidl::android::se::omapi::ISecureElementReader> reader,
|
/hardware/google/gfxstream/guest/mesa/bin/ |
D | post_version.py | 34 calendar = list(csv.reader(f))
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalTest.cpp | 105 StreamReader reader(stream.get(), stream->getBufferSize()); in TEST_P() local 106 ASSERT_TRUE(reader.start()); in TEST_P() 107 reader.pause(); // This ensures that at least one read has happened. in TEST_P() 108 EXPECT_FALSE(reader.hasError()); in TEST_P()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_pipeline_cache.c | 263 struct blob_reader reader; in vk_pipeline_cache_object_deserialize() local 264 blob_reader_init(&reader, data, data_size); in vk_pipeline_cache_object_deserialize() 267 ops->deserialize(cache, key_data, key_size, &reader); in vk_pipeline_cache_object_deserialize() 272 assert(reader.current == reader.end && !reader.overrun); in vk_pipeline_cache_object_deserialize()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 314 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseGpuSysfsNode() local 316 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseGpuSysfsNode() 379 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseNodes() local 382 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseNodes() 544 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseActions() local 547 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseActions() 709 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseAdpfConfigs() local 711 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseAdpfConfigs()
|
/hardware/interfaces/audio/2.0/ |
D | IStreamIn.hal | 44 * Commands that can be executed on the driver reader thread. 53 * on the driver reader thread. 88 * -- command queue is used to instruct the reader thread what operation
|
/hardware/google/pixel/thermal/virtualtemp_estimator/ |
D | virtualtemp_estimator_test.cpp | 70 std::unique_ptr<Json::CharReader> reader(reader_builder.newCharReader()); in get_input_combination() local 73 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in get_input_combination() 339 std::unique_ptr<Json::CharReader> reader(reader_builder.newCharReader()); in run_batch_process() local 342 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in run_batch_process()
|
/hardware/interfaces/audio/4.0/ |
D | IStreamIn.hal | 44 * Commands that can be executed on the driver reader thread. 53 * on the driver reader thread. 94 * -- command queue is used to instruct the reader thread what operation
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/style/ |
D | scid.adoc | 12 reference safety critical change justifications intended to give the reader
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ComposerVts.h | 62 void execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer);
|