/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/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/interfaces/graphics/composer/aidl/vts/ |
D | VtsHalGraphicsComposer3_ReadbackTest.cpp | 74 const auto errors = mDisplayProperties.at(display.getDisplayId()).reader.takeErrors(); in TearDown() 75 ASSERT_TRUE(mDisplayProperties.at(display.getDisplayId()).reader.takeErrors().empty()); in TearDown() 77 .reader.takeChangedCompositionTypes(display.getDisplayId()) in TearDown() 218 mDisplayProperties.at(displayId).reader.parse(std::move(results)); in execute() 231 reader(displayId) {} in DisplayProperties() 238 ComposerClientReader reader; member 293 ASSERT_TRUE(mDisplayProperties.at(display.getDisplayId()).reader.takeErrors().empty()); in TEST_P() 302 .reader.takeChangedCompositionTypes(display.getDisplayId()) in TEST_P() 306 ASSERT_TRUE(mDisplayProperties.at(display.getDisplayId()).reader.takeErrors().empty()); in TEST_P() 310 ASSERT_TRUE(mDisplayProperties.at(display.getDisplayId()).reader.takeErrors().empty()); in TEST_P() [all …]
|
/hardware/interfaces/gnss/common/utils/default/include/ |
D | DeviceFileReader.h | 34 static DeviceFileReader reader; in Instance() local 35 return reader; in Instance()
|
/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/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/interfaces/uwb/aidl/default/src/ |
D | uwb_chip.rs | 46 let mut reader = fs::OpenOptions::new() in new() localVariable 54 let writer = reader in new() 80 reader in new() 93 reader in new()
|
/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/nxp/keymint/transport/include/ |
D | OmapiTransport.h | 154 std::shared_ptr<aidl::android::se::omapi::ISecureElementReader> reader, 164 std::shared_ptr<aidl::android::se::omapi::ISecureElementReader> reader,
|
/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/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);
|
/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/interfaces/graphics/composer/2.4/utils/vts/include/composer-vts/2.4/ |
D | ComposerVts.h | 96 void execute(TestCommandReader* reader, CommandWriterBase* writer);
|
/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/interfaces/automotive/remoteaccess/test_grpc_server/impl/test/ |
D | TestWakeupClientServiceImplUnitTest.cpp | 110 auto reader = mStub->GetRemoteTasks(&context, GetRemoteTasksRequest{}); in waitForRemoteTasks() local 112 while (reader->Read(&response)) { in waitForRemoteTasks() 122 reader->Finish(); in waitForRemoteTasks()
|
/hardware/interfaces/tests/msgq/1.0/ |
D | ITestMsgQ.hal | 27 * wait-free FMQ using the input descriptor with the client as reader. 40 * method is to be used to test multiple reader processes.
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 342 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseGpuSysfsNode() local 344 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseGpuSysfsNode() 433 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseNodes() local 436 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseNodes() 609 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseActions() local 612 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseActions() 774 std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseAdpfConfigs() local 776 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ParseAdpfConfigs()
|
/hardware/interfaces/audio/6.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/interfaces/audio/5.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/interfaces/automotive/remoteaccess/hal/default/src/ |
D | RemoteAccessService.cpp | 213 std::unique_ptr<ClientReaderInterface<GetRemoteTasksResponse>> reader; in runTaskLoop() local 218 reader = mGrpcStub->GetRemoteTasks(mGetRemoteTasksContext.get(), request); in runTaskLoop() 222 while (reader->Read(&response)) { in runTaskLoop() 233 Status status = reader->Finish(); in runTaskLoop()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/ |
D | ComposerVts.h | 105 void execute(TestCommandReader* reader, CommandWriterBase* writer);
|
/hardware/interfaces/audio/7.0/ |
D | IStreamIn.hal | 59 * Commands that can be executed on the driver reader thread. 68 * on the driver reader thread. 103 * -- command queue is used to instruct the reader thread what operation
|