Home
last modified time | relevance | path

Searched refs:V2_4 (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DHal.h39 namespace V2_4 = android::hardware::graphics::composer::V2_4; variable
50 using V2_4::IComposer;
51 using V2_4::IComposerCallback;
52 using V2_4::IComposerClient;
53 using V2_4::VsyncPeriodChangeTimeline;
54 using V2_4::VsyncPeriodNanos;
181 inline std::string to_string(hardware::graphics::composer::hal::V2_4::Error error) { in to_string()
187 case hardware::graphics::composer::hal::V2_4::Error::NONE: in to_string()
189 case hardware::graphics::composer::hal::V2_4::Error::BAD_CONFIG: in to_string()
191 case hardware::graphics::composer::hal::V2_4::Error::BAD_DISPLAY: in to_string()
[all …]
DComposerHal.h64 namespace V2_4 = hardware::graphics::composer::V2_4; variable
78 using V2_4::CommandReaderBase;
79 using V2_4::CommandWriterBase;
80 using V2_4::IComposer;
81 using V2_4::IComposerCallback;
82 using V2_4::IComposerClient;
83 using V2_4::VsyncPeriodChangeTimeline;
84 using V2_4::VsyncPeriodNanos;
258 virtual V2_4::Error getDisplayConnectionType(
260 virtual V2_4::Error getDisplayVsyncPeriod(Display display,
[all …]
DHidlComposerHal.h52 namespace V2_4 = hardware::graphics::composer::V2_4; variable
65 using V2_4::CommandReaderBase;
66 using V2_4::CommandWriterBase;
67 using V2_4::IComposer;
68 using V2_4::IComposerCallback;
69 using V2_4::IComposerClient;
70 using V2_4::VsyncPeriodChangeTimeline;
71 using V2_4::VsyncPeriodNanos;
308 V2_4::Error getDisplayConnectionType(Display display,
310 V2_4::Error getDisplayVsyncPeriod(Display display, VsyncPeriodNanos* outVsyncPeriod) override;
[all …]
DAidlComposerHal.h205 V2_4::Error getDisplayConnectionType(Display display,
207 V2_4::Error getDisplayVsyncPeriod(Display display, VsyncPeriodNanos* outVsyncPeriod) override;
208 V2_4::Error setActiveConfigWithConstraints(
212 V2_4::Error setAutoLowLatencyMode(Display displayId, bool on) override;
213 V2_4::Error getSupportedContentTypes(
216 V2_4::Error setContentType(Display displayId,
218 V2_4::Error setLayerGenericMetadata(Display display, Layer layer, const std::string& key,
220 V2_4::Error getLayerGenericMetadataKeys(
DHidlComposerHal.cpp175 constexpr V2_4::Error kDefaultError_2_4 = static_cast<V2_4::Error>(kDefaultError);
227 if (tmpError == V2_4::Error::NONE) { in HidlComposer()
1208 V2_4::Error error = kDefaultError_2_4; in getDisplayCapabilities()
1213 if (error != V2_4::Error::NONE) { in getDisplayCapabilities()
1222 error = static_cast<V2_4::Error>(tmpError); in getDisplayCapabilities()
1223 if (error != V2_4::Error::NONE) { in getDisplayCapabilities()
1234 V2_4::Error HidlComposer::getDisplayConnectionType( in getDisplayConnectionType()
1236 using Error = V2_4::Error; in getDisplayConnectionType()
1244 if (error != V2_4::Error::NONE) { in getDisplayConnectionType()
1254 V2_4::Error HidlComposer::getDisplayVsyncPeriod(Display display, VsyncPeriodNanos* outVsyncPeriod) { in getDisplayVsyncPeriod()
[all …]
DAidlComposerHal.cpp204 translate<V2_4::VsyncPeriodChangeTimeline>( in onVsyncPeriodTimingChanged()
1356 V2_4::Error AidlComposer::getDisplayConnectionType( in getDisplayConnectionType()
1363 return static_cast<V2_4::Error>(status.getServiceSpecificError()); in getDisplayConnectionType()
1366 return V2_4::Error::NONE; in getDisplayConnectionType()
1369 V2_4::Error AidlComposer::getDisplayVsyncPeriod(Display display, VsyncPeriodNanos* outVsyncPeriod) { in getDisplayVsyncPeriod()
1375 return static_cast<V2_4::Error>(status.getServiceSpecificError()); in getDisplayVsyncPeriod()
1378 return V2_4::Error::NONE; in getDisplayVsyncPeriod()
1381 V2_4::Error AidlComposer::setActiveConfigWithConstraints( in setActiveConfigWithConstraints()
1395 return static_cast<V2_4::Error>(status.getServiceSpecificError()); in setActiveConfigWithConstraints()
1398 return V2_4::Error::NONE; in setActiveConfigWithConstraints()
[all …]
DHWComposer.cpp1185 if (error != hardware::graphics::composer::V2_4::Error::NONE) { in loadLayerMetadataSupport()
1186 if (error != hardware::graphics::composer::V2_4::Error::UNSUPPORTED) { in loadLayerMetadataSupport()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockComposer.h42 using android::hardware::graphics::composer::V2_4::IComposerCallback;
43 using android::hardware::graphics::composer::V2_4::IComposerClient;
140 V2_4::Error(Display, IComposerClient::DisplayConnectionType*));
142 V2_4::Error(Display, Config, std::vector<VsyncPeriodNanos>*));
143 MOCK_METHOD2(getDisplayVsyncPeriod, V2_4::Error(Display, VsyncPeriodNanos*));
145 V2_4::Error(Display, Config, const IComposerClient::VsyncPeriodChangeConstraints&,
147 MOCK_METHOD2(setAutoLowLatencyMode, V2_4::Error(Display, bool));
158 V2_4::Error(Display, std::vector<IComposerClient::ContentType>*));
159 MOCK_METHOD2(setContentType, V2_4::Error(Display, IComposerClient::ContentType));
161 V2_4::Error(Display, Layer, const std::string&, bool,
[all …]
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.h31 wp<hardware::camera::provider::V2_4::ICameraProvider> mActiveInterface;
33 sp<hardware::camera::provider::V2_4::ICameraProvider> mSavedInterface;
45 sp<hardware::camera::provider::V2_4::ICameraProvider>& interface,
50 const sp<hardware::camera::provider::V2_4::ICameraProvider> startProviderInterface();
DHidlProviderInfo.cpp119 sp<provider::V2_4::ICameraProvider>& interface, in initializeHidlProvider()
268 const sp<hardware::camera::provider::V2_4::ICameraProvider> interface = in setUpVendorTags()
329 const sp<provider::V2_4::ICameraProvider> interface = startProviderInterface(); in startDeviceInterface()
355 const sp<provider::V2_4::ICameraProvider>
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h147 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> tryGetService(
150 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> getService(
163 return hardware::camera::provider::V2_4::ICameraProvider::registerForNotifications( in registerForNotifications()
166 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> tryGetService( in tryGetService()
168 return hardware::camera::provider::V2_4::ICameraProvider::tryGetService(serviceName); in tryGetService()
170 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> getService( in getService()
172 return hardware::camera::provider::V2_4::ICameraProvider::getService(serviceName); in getService()
494 const sp<hardware::camera::provider::V2_4::ICameraProvider> &provider, in HidlHalCameraProvider()
498 sp<hardware::camera::provider::V2_4::ICameraProvider> mCameraProvider;
DCameraProviderManager.cpp117 manager->listManifestByInterface(provider::V2_4::ICameraProvider::descriptor, in listServices()
862 const sp<provider::V2_4::ICameraProvider> provider = in openHidlSession()
2142 sp<provider::V2_4::ICameraProvider> interface; in tryToInitializeHidlProviderLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DHWComposerTest.cpp55 namespace V2_4 = hardware::graphics::composer::V2_4;
118 Return(V2_4::Error::NONE))); in TEST_F()
475 Return(V2_4::Error::NONE))); in TEST_F()
493 EXPECT_CALL(*mHal, getLayerGenericMetadataKeys(_)).WillOnce(Return(V2_4::Error::UNSUPPORTED)); in TEST_F()
553 .WillOnce(Return(V2_4::Error::NONE)); in TEST_F()
563 .WillOnce(Return(V2_4::Error::UNSUPPORTED)); in TEST_F()
DSurfaceFlinger_DisplayModeSwitching.cpp42 using android::hardware::graphics::composer::V2_4::Error;
43 using android::hardware::graphics::composer::V2_4::VsyncPeriodChangeTimeline;
366 Return(hal::V2_4::Error::NONE))); in TEST_F()
440 Return(hal::V2_4::Error::NONE))); in TEST_F()
517 Return(hal::V2_4::Error::NONE))); in TEST_F()
DDisplayModeControllerTest.cpp94 Return(hal::V2_4::Error::NONE))); in expectModeSet()
106 .WillOnce(DoAll(SetArgPointee<3>(timeline), Return(hal::V2_4::Error::NONE))); in expectModeSet()
DDisplayTransactionTestHelpers.h468 Return(hal::V2_4::Error::NONE)));
DTimeStatsTest.cpp59 using PowerMode = hardware::graphics::composer::V2_4::IComposerClient::PowerMode;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.h179 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) = 0;
189 using PowerMode = android::hardware::graphics::composer::V2_4::IComposerClient::PowerMode;
282 hardware::graphics::composer::V2_4::IComposerClient::PowerMode powerMode) override;
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockTimeStats.h59 void(hardware::graphics::composer::V2_4::IComposerClient::PowerMode));
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp118 sp<provider::V2_4::ICameraProviderCallback> mCallbacks;
156 const sp<provider::V2_4::ICameraProviderCallback>& callbacks) override { in setCallback()
399 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> tryGetService( in tryGetService()
406 virtual sp<hardware::camera::provider::V2_4::ICameraProvider> getService( in getService()