Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_TargetTest.cpp1405 for (auto& [_, writer] : mWriters) { in execute()
1406 executeInternal(writer, payloads); in execute()
1411 void execute(ComposerClientWriter& writer, ComposerClientReader& reader) { in execute() argument
1413 executeInternal(writer, payloads); in execute()
1487 auto& writer = getWriter(display.getDisplayId()); in sendRefreshFrame() local
1489 mComposerClient->createLayer(display.getDisplayId(), kBufferSlotCount, &writer); in sendRefreshFrame()
1499 writer.setLayerBuffer(display.getDisplayId(), layer, /*slot*/ 0, buffer->handle, in sendRefreshFrame()
1501 writer.setLayerDataspace(display.getDisplayId(), layer, common::Dataspace::UNKNOWN); in sendRefreshFrame()
1503 writer.validateDisplay(display.getDisplayId(), ComposerClientWriter::kNoTimestamp, in sendRefreshFrame()
1508 writer.presentDisplay(display.getDisplayId()); in sendRefreshFrame()
[all …]
DReadbackVts.cpp29 void TestLayer::write(ComposerClientWriter& writer) { in write() argument
30 writer.setLayerDisplayFrame(mDisplay, mLayer, mDisplayFrame); in write()
31 writer.setLayerSourceCrop(mDisplay, mLayer, mSourceCrop); in write()
32 writer.setLayerZOrder(mDisplay, mLayer, mZOrder); in write()
33 writer.setLayerSurfaceDamage(mDisplay, mLayer, mSurfaceDamage); in write()
34 writer.setLayerTransform(mDisplay, mLayer, mTransform); in write()
35 writer.setLayerPlaneAlpha(mDisplay, mLayer, mAlpha); in write()
36 writer.setLayerBlendMode(mDisplay, mLayer, mBlendMode); in write()
37 writer.setLayerBrightness(mDisplay, mLayer, mBrightness); in write()
38 writer.setLayerDataspace(mDisplay, mLayer, mDataspace); in write()
[all …]
DReadbackVts.h54 ComposerClientWriter& writer) in TestLayer() argument
56 const auto& [status, layer] = client->createLayer(display, kBufferSlotCount, &writer); in TestLayer()
65 virtual void write(ComposerClientWriter& writer);
113 ComposerClientWriter& writer) in TestColorLayer() argument
114 : TestLayer{client, display, writer} {} in TestColorLayer()
116 void write(ComposerClientWriter& writer) override;
130 uint32_t height, common::PixelFormat format, ComposerClientWriter& writer,
133 void write(ComposerClientWriter& writer) override;
141 void setToClientComposition(ComposerClientWriter& writer);
DVtsComposerClient.cpp65 bool VtsComposerClient::tearDown(ComposerClientWriter* writer) { in tearDown() argument
66 return verifyComposerCallbackParams() && destroyAllLayers(writer); in tearDown()
101 ComposerClientWriter* writer) { in createLayer() argument
104 writer->setLayerLifecycleBatchCommandType(display, layer, in createLayer()
106 writer->setNewBufferSlotCount(display, layer, bufferSlotCount); in createLayer()
120 ComposerClientWriter* writer) { in destroyLayer() argument
122 writer->setLayerLifecycleBatchCommandType(display, layer, in destroyLayer()
661 bool VtsComposerClient::destroyAllLayers(ComposerClientWriter* writer) { in destroyAllLayers() argument
669 const auto status = destroyLayer(display, layer, writer); in destroyAllLayers()
/hardware/google/gfxstream/guest/mesa/bin/
Dgen_calendar_entries.py109 writer = csv.writer(f)
110 writer.writerows(data)
112writer.writerow([f'{major}.{minor}', date.isoformat(), f'{major}.{minor}.0-rc1', args.manager])
115 writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc{row}', args.manager])
117writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc4', args.manager, OR_FINAL.format(f…
151 writer = csv.writer(f)
152 writer.writerows(data)
156 writer.writerow([args.series, date.isoformat(), f'{args.series}.{base}', args.manager])
159 writer.writerow([None, date.isoformat(), f'{args.series}.{row}', args.manager])
161writer.writerow([None, date.isoformat(), f'{args.series}.3', args.manager, LAST_RELEASE.format(arg…
[all …]
Dpost_version.py47 writer = csv.writer(f)
48 writer.writerows(calendar)
Dgen_calendar_entries_test.py46 writer = csv.writer(f)
47 writer.writerows(data)
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DReadbackVts.cpp29 void TestLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
30 writer->selectLayer(mLayer); in write()
31 writer->setLayerDisplayFrame(mDisplayFrame); in write()
32 writer->setLayerSourceCrop(mSourceCrop); in write()
33 writer->setLayerZOrder(mZOrder); in write()
34 writer->setLayerSurfaceDamage(mSurfaceDamage); in write()
35 writer->setLayerTransform(mTransform); in write()
36 writer->setLayerPlaneAlpha(mAlpha); in write()
37 writer->setLayerBlendMode(mBlendMode); in write()
227 void TestColorLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
[all …]
DComposerVts.cpp61 void ComposerClient::execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument
65 ASSERT_TRUE(writer->writeQueue(&queueChanged, &commandLength, &commandHandles)); in execute()
68 auto ret = mClient->setInputCommandQueue(*writer->getMQDescriptor()); in execute()
89 writer->reset(); in execute()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h1290 write_bits(struct bit_writer *writer, int n_bits, int value) in write_bits() argument
1293 if (n_bits + writer->pos >= 8) { in write_bits()
1294 *(writer->dst++) = writer->buf | (value << writer->pos); in write_bits()
1295 writer->buf = 0; in write_bits()
1296 value >>= (8 - writer->pos); in write_bits()
1297 n_bits -= (8 - writer->pos); in write_bits()
1298 writer->pos = 0; in write_bits()
1300 writer->buf |= value << writer->pos; in write_bits()
1301 writer->pos += n_bits; in write_bits()
1426 write_rgb_indices_unorm(struct bit_writer *writer, in write_rgb_indices_unorm() argument
[all …]
/hardware/google/graphics/common/libhwjpeg/
DAppMarkerWriter.cpp341 CIFDWriter writer(tiffheader, current, m_n0thIFDFields); in WriteAPP1() local
343 writer.WriteShort(EXIF_TAG_ORIENTATION, 1, &m_pExif->orientation); in WriteAPP1()
344 writer.WriteShort(EXIF_TAG_YCBCR_POSITIONING, 1, &m_pExif->ycbcr_positioning); in WriteAPP1()
345 writer.WriteRational(EXIF_TAG_X_RESOLUTION, 1, &m_pExif->x_resolution); in WriteAPP1()
346 writer.WriteRational(EXIF_TAG_Y_RESOLUTION, 1, &m_pExif->y_resolution); in WriteAPP1()
347 writer.WriteShort(EXIF_TAG_RESOLUTION_UNIT, 1, &m_pExif->resolution_unit); in WriteAPP1()
348 if (m_szMake > 0) writer.WriteASCII(EXIF_TAG_MAKE, m_szMake + 1, m_pExif->maker); in WriteAPP1()
349 if (m_szModel > 0) writer.WriteASCII(EXIF_TAG_MODEL, m_szModel + 1, m_pExif->model); in WriteAPP1()
350 if (m_szSoftware > 0) writer.WriteASCII(EXIF_TAG_SOFTWARE, m_szSoftware + 1, m_pExif->software); in WriteAPP1()
351 writer.WriteCString(EXIF_TAG_DATE_TIME, EXIF_DATETIME_LENGTH, m_pExif->date_time); in WriteAPP1()
[all …]
/hardware/interfaces/scripts/
Dlist_hal_vts.py128 writer = csv.writer(out, )
129 writer.writerow(["package", "vts_module"])
132 writer.writerow([package, ""])
134 writer.writerow([package, module])
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp558 void waitForPresentationPositionAdvance(StreamWriter& writer, uint64_t* firstPosition = nullptr, in waitForPresentationPositionAdvance() argument
571 res != Result::OK && !writer.hasError() && in waitForPresentationPositionAdvance()
577 ASSERT_FALSE(writer.hasError()); in waitForPresentationPositionAdvance()
587 frames <= framesInitial && !writer.hasError() && in waitForPresentationPositionAdvance()
594 EXPECT_FALSE(writer.hasError()); in waitForPresentationPositionAdvance()
607 StreamWriter writer(stream.get(), stream->getBufferSize()); in TEST_P() local
608 ASSERT_TRUE(writer.start()); in TEST_P()
609 EXPECT_TRUE(writer.waitForAtLeastOneCycle()); in TEST_P()
619 StreamWriter writer(stream.get(), stream->getBufferSize()); in TEST_P() local
620 ASSERT_TRUE(writer.start()); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DReadbackVts.h62 virtual void write(const std::shared_ptr<CommandWriterBase>& writer);
99 void write(const std::shared_ptr<CommandWriterBase>& writer) override;
116 void write(const std::shared_ptr<CommandWriterBase>& writer) override;
124 void setDataspace(Dataspace dataspace, const std::shared_ptr<CommandWriterBase>& writer);
126 void setToClientComposition(const std::shared_ptr<CommandWriterBase>& writer);
DComposerVts.h62 void execute(V2_1::vts::TestCommandReader* reader, CommandWriterBase* writer);
/hardware/interfaces/graphics/composer/2.4/utils/vts/
DComposerVts.cpp135 void ComposerClient::execute(TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument
139 ASSERT_TRUE(writer->writeQueue(&queueChanged, &commandLength, &commandHandles)); in execute()
142 auto ret = mClient->setInputCommandQueue(*writer->getMQDescriptor()); in execute()
164 writer->reset(); in execute()
/hardware/libhardware/modules/sensors/tests/
DSensorEventQueue_test.cpp177 pthread_t writer, reader; in testFullQueueIo() local
179 pthread_create(&writer, NULL, fullQueueWriterTask, &writerCtx); in testFullQueueIo()
181 pthread_join(writer, NULL); in testFullQueueIo()
/hardware/interfaces/graphics/mapper/stable-c/implutils/include/android/hardware/graphics/mapper/utils/
DIMapperMetadataTypes.h330 MetadataWriter writer{destBuffer, destBufferSize};
331 writer.template writeHeader<HEADER>();
332 writer.write<int64_t>(values.size());
334 writer.write<int64_t>(value.components.size());
336 writer.write(component.type)
340 writer.write<int64_t>(value.offsetInBytes)
349 return writer.desiredSize();
386 MetadataWriter writer{destBuffer, destBufferSize};
387 writer.template writeHeader<HEADER>();
388 writer.write<int64_t>(value.size());
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp280 void ComposerClient::execute(TestCommandReader* reader, CommandWriterBase* writer) { in execute() argument
284 ASSERT_TRUE(writer->writeQueue(&queueChanged, &commandLength, &commandHandles)); in execute()
287 auto ret = mClient->setInputCommandQueue(*writer->getMQDescriptor()); in execute()
308 writer->reset(); in execute()
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/include/
DTestWakeupClientServiceImpl.h127 grpc::ServerWriter<GetRemoteTasksResponse>* writer);
264 grpc::ServerWriter<GetRemoteTasksResponse>* writer) override { in GetRemoteTasks() argument
265 return mImpl->GetRemoteTasks(context, request, writer); in GetRemoteTasks()
/hardware/interfaces/graphics/composer/2.4/utils/vts/include/composer-vts/2.4/
DComposerVts.h96 void execute(TestCommandReader* reader, CommandWriterBase* writer);
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/
DComposerVts.h105 void execute(TestCommandReader* reader, CommandWriterBase* writer);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_QCOM_render_pass_shader_resolve.adoc30 Shader resolve allows a shader writer to create complex, non-linear
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/src/
DTestWakeupClientServiceImpl.cpp241 ServerWriter<GetRemoteTasksResponse>* writer) { in GetRemoteTasks() argument
264 if (!writer->Write(response)) { in GetRemoteTasks()
/hardware/interfaces/tests/msgq/1.0/
DIBenchmarkMsgQ.hal32 * wait-free FMQ with the client as writer.

12