Home
last modified time | relevance | path

Searched refs:composer (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h26 namespace hardware::graphics::composer::hal {
29 namespace V2_1 = android::hardware::graphics::composer::V2_1;
30 namespace V2_2 = android::hardware::graphics::composer::V2_2;
31 namespace V2_3 = android::hardware::graphics::composer::V2_3;
32 namespace V2_4 = android::hardware::graphics::composer::V2_4;
75 inline bool hasChangesError(hardware::graphics::composer::hal::Error error) { in hasChangesError()
79 inline std::string to_string(hardware::graphics::composer::hal::Attribute attribute) { in to_string()
81 case hardware::graphics::composer::hal::Attribute::INVALID: in to_string()
83 case hardware::graphics::composer::hal::Attribute::WIDTH: in to_string()
85 case hardware::graphics::composer::hal::Attribute::HEIGHT: in to_string()
[all …]
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp244 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
250 status_t status = composer->addRegionSamplingListener(sampleArea, in TEST_F()
251 IInterface::asBinder(composer), listener); in TEST_F()
253 composer->removeRegionSamplingListener(listener); in TEST_F()
259 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
262 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
267 composer->removeRegionSamplingListener(listener); in TEST_F()
273 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
276 composer->addRegionSamplingListener(sampleArea, mTopLayer->getHandle(), listener); in TEST_F()
288 composer->removeRegionSamplingListener(listener); in TEST_F()
[all …]
DSamplingDemo.cpp125 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in main() local
126 composer->addRegionSamplingListener(homeButtonArea, homeButton->getStopLayerHandle(), in main()
128 composer->addRegionSamplingListener(backButtonArea, backButton->getStopLayerHandle(), in main()
/frameworks/native/services/vr/hardware_composer/
DAndroid.bp15 "android.frameworks.vr.composer@2.0",
16 "android.hardware.graphics.composer@2.1",
17 "android.hardware.graphics.composer@2.2",
18 "android.hardware.graphics.composer@2.3",
19 "android.hardware.graphics.composer@2.1-resources",
38 "android.hardware.graphics.composer@2.1-command-buffer",
39 "android.hardware.graphics.composer@2.3-hal",
43 "android.hardware.graphics.composer@2.3-hal",
51 "android.frameworks.vr.composer@2.0",
52 "android.hardware.graphics.composer@2.1",
[all …]
Dvr_hardware_composer_service.cpp38 android::sp<android::dvr::VrComposer> composer = in main() local
46 android::dvr::VrComposer::SERVICE_NAME(), composer.get(), in main()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DAndroid.bp12 "android.hardware.graphics.composer@2.1",
13 "android.hardware.graphics.composer@2.2",
14 "android.hardware.graphics.composer@2.3",
15 "android.hardware.graphics.composer@2.4",
16 "android.hardware.graphics.composer@2.1-resources",
43 "android.hardware.graphics.composer@2.4-command-buffer",
44 "android.hardware.graphics.composer@2.4-hal",
DFakeComposerService.h27 using ComposerClient = android::hardware::graphics::composer::V2_4::hal::ComposerClient;
31 using IComposer_2_1 = android::hardware::graphics::composer::V2_1::IComposer;
46 using IComposer_2_2 = android::hardware::graphics::composer::V2_2::IComposer;
60 using IComposer_2_3 = android::hardware::graphics::composer::V2_3::IComposer;
75 using IComposer_2_4 = android::hardware::graphics::composer::V2_4::IComposer;
DMockComposerHal.h24 using namespace android::hardware::graphics::composer;
25 using namespace android::hardware::graphics::composer::V2_4;
26 using namespace android::hardware::graphics::composer::V2_4::hal;
/frameworks/native/libs/vr/libvrflinger/
DAndroid.bp38 "android.frameworks.vr.composer@2.0",
40 "android.hardware.graphics.composer@2.1",
41 "android.hardware.graphics.composer@2.2",
42 "android.hardware.graphics.composer@2.3",
43 "android.hardware.graphics.composer@2.4",
66 "android.hardware.graphics.composer@2.1-command-buffer",
67 "android.hardware.graphics.composer@2.2-command-buffer",
68 "android.hardware.graphics.composer@2.3-command-buffer",
69 "android.hardware.graphics.composer@2.4-command-buffer",
/frameworks/native/services/surfaceflinger/
DAndroid.bp23 "android.frameworks.vr.composer@2.0",
30 "android.hardware.graphics.composer@2.1",
31 "android.hardware.graphics.composer@2.2",
32 "android.hardware.graphics.composer@2.3",
33 "android.hardware.graphics.composer@2.4",
65 "android.frameworks.vr.composer@2.0",
78 "android.hardware.graphics.composer@2.1-command-buffer",
79 "android.hardware.graphics.composer@2.2-command-buffer",
80 "android.hardware.graphics.composer@2.3-command-buffer",
81 "android.hardware.graphics.composer@2.4-command-buffer",
[all …]
DDisplayDevice.h142 hardware::graphics::composer::hal::PowerMode getPowerMode() const;
143 void setPowerMode(hardware::graphics::composer::hal::PowerMode mode);
179 hardware::graphics::composer::hal::PowerMode mPowerMode =
180 hardware::graphics::composer::hal::PowerMode::OFF;
191 hardware::graphics::composer::hal::HWDisplayId hwcDisplayId;
235 hardware::graphics::composer::hal::PowerMode initialPowerMode{
236 hardware::graphics::composer::hal::PowerMode::ON};
/frameworks/native/services/surfaceflinger/CompositionEngine/
DAndroid.bp9 "android.frameworks.vr.composer@2.0",
11 "android.hardware.graphics.composer@2.1",
12 "android.hardware.graphics.composer@2.2",
13 "android.hardware.graphics.composer@2.3",
14 "android.hardware.graphics.composer@2.4",
34 "android.hardware.graphics.composer@2.1-command-buffer",
35 "android.hardware.graphics.composer@2.2-command-buffer",
36 "android.hardware.graphics.composer@2.3-command-buffer",
37 "android.hardware.graphics.composer@2.4-command-buffer",
/frameworks/hardware/interfaces/vr/composer/2.0/
DAndroid.bp4 name: "android.frameworks.vr.composer@2.0",
16 "android.hardware.graphics.composer@2.1",
17 "android.hardware.graphics.composer@2.2",
18 "android.hardware.graphics.composer@2.3",
DIVrComposerClient.hal16 package android.frameworks.vr.composer@2.0;
20 import android.hardware.graphics.composer@2.3::IComposerClient;
23 extends android.hardware.graphics.composer@2.3::IComposerClient {
115 enum VrCommand : android.hardware.graphics.composer@2.3::IComposerClient.Command {
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_composer_client.h32 using hardware::graphics::composer::V2_1::hal::ComposerCommandEngine;
33 using hardware::graphics::composer::V2_3::hal::ComposerHal;
34 using hardware::graphics::composer::V2_3::hal::detail::ComposerClientImpl;
50 hardware::graphics::composer::V2_1::IComposerClient::Command command,
Dvr_hwc.h31 using namespace android::frameworks::vr::composer::V2_0;
33 using namespace android::hardware::graphics::composer::V2_3;
41 using android::hardware::graphics::composer::V2_1::Config;
42 using android::hardware::graphics::composer::V2_1::Display;
43 using android::hardware::graphics::composer::V2_1::Error;
44 using android::hardware::graphics::composer::V2_1::Layer;
45 using android::hardware::graphics::composer::V2_3::IComposerClient;
55 using android::hardware::graphics::composer::V2_3::hal::ComposerHal;
68 using Recti = hardware::graphics::composer::V2_3::IComposerClient::Rect;
69 using Rectf = hardware::graphics::composer::V2_3::IComposerClient::FRect;
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h38 using android::hardware::graphics::composer::V2_1::Config;
39 using android::hardware::graphics::composer::V2_1::Display;
40 using android::hardware::graphics::composer::V2_1::Error;
41 using android::hardware::graphics::composer::V2_1::IComposer;
42 using android::hardware::graphics::composer::V2_1::Layer;
43 using android::hardware::graphics::composer::V2_4::IComposerCallback;
44 using android::hardware::graphics::composer::V2_4::IComposerClient;
48 using Display = android::hardware::graphics::composer::V2_1::Display;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardVerifier.java348 final VCardComposer composer = new VCardComposer(context, mVCardType, mCharset); in verifyForExportTest() local
351 if (!composer.init(cursor)) { in verifyForExportTest()
352 AndroidTestCase.fail("init() failed. Reason: " + composer.getErrorReason()); in verifyForExportTest()
354 AndroidTestCase.assertFalse(composer.isAfterLast()); in verifyForExportTest()
356 while (!composer.isAfterLast()) { in verifyForExportTest()
364 final String vcard = composer.createOneEntry(mockGetEntityIteratorMethod); in verifyForExportTest()
372 composer.terminate(); in verifyForExportTest()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateStats.h45 android::hardware::graphics::composer::hal::PowerMode currentPowerMode) in RefreshRateStats()
52 void setPowerMode(android::hardware::graphics::composer::hal::PowerMode mode) { in setPowerMode()
112 if (mCurrentPowerMode == android::hardware::graphics::composer::hal::PowerMode::ON) { in flushTime()
144 android::hardware::graphics::composer::hal::PowerMode mCurrentPowerMode;
/frameworks/hardware/interfaces/vr/composer/1.0/
DAndroid.bp4 name: "android.frameworks.vr.composer@1.0",
14 "android.hardware.graphics.composer@2.1",
DIVrComposerClient.hal16 package android.frameworks.vr.composer@1.0;
20 import android.hardware.graphics.composer@2.1::IComposerClient;
23 extends android.hardware.graphics.composer@2.1::IComposerClient {
115 enum VrCommand : android.hardware.graphics.composer@2.1::IComposerClient.Command {
/frameworks/native/services/vr/hardware_composer/tests/
Dvr_composer_test.cpp101 sp<IVrComposer> composer = GetComposerProxy(); in TEST_F() local
109 sp<IVrComposer> composer = GetComposerProxy(); in TEST_F() local
112 ASSERT_TRUE(composer->registerObserver(callback).isOk()); in TEST_F()
121 sp<IVrComposer> composer = GetComposerProxy(); in TEST_F() local
123 ASSERT_TRUE(composer->registerObserver(callback).isOk()); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp39 namespace hal = android::hardware::graphics::composer::hal;
84 Return(hardware::graphics::composer::V2_4::Error::NONE))); in TEST_F()
103 .WillOnce(Return(hardware::graphics::composer::V2_4::Error::UNSUPPORTED)); in TEST_F()
157 .WillOnce(Return(hardware::graphics::composer::V2_4::Error::NONE)); in TEST_F()
167 .WillOnce(Return(hardware::graphics::composer::V2_4::Error::UNSUPPORTED)); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp34 sp<ISurfaceComposer> composer = ComposerService::getComposerService(); in TEST_F() local
40 composer->captureScreen(mDisplay, &outBuffer, Rect(), 0, 0, false)); in TEST_F()
46 ASSERT_EQ(NO_ERROR, composer->captureScreen(mDisplay, &outBuffer, Rect(), 0, 0, false)); in TEST_F()
58 composer->captureScreen(mDisplay, &outBuffer, outCapturedSecureLayers, in TEST_F()
/frameworks/native/libs/vr/libdvr/
Ddvr_hardware_composer_client.cpp79 android::sp<android::dvr::IVrComposer> composer; member
87 client->composer = android::interface_cast<android::dvr::IVrComposer>( in dvrHwcClientCreate()
89 if (!client->composer.get()) in dvrHwcClientCreate()
94 android::binder::Status status = client->composer->registerObserver( in dvrHwcClientCreate()
103 client->composer->clearObserver(); in dvrHwcClientDestroy()

123