blob: 5ba9ee14818097e4c07a3cff9e51c8bf21c2e99d [file] [log] [blame]
Sean Pauled2ec4b2016-03-10 15:35:40 -05001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Matvii Zorin0ddc3292020-07-27 18:29:15 +030017#ifndef ANDROID_DRM_HWC_TWO_H_
18#define ANDROID_DRM_HWC_TWO_H_
19
Sean Pauled2ec4b2016-03-10 15:35:40 -050020#include <hardware/hwcomposer2.h>
Roman Stratiienkoaa3cd542020-08-29 11:26:16 +030021
Roman Kovalivskyi12b91a32019-12-11 19:09:51 +020022#include <array>
Roman Stratiienkoe78235c2021-12-23 17:36:12 +020023#include <cmath>
Sean Pauled2ec4b2016-03-10 15:35:40 -050024#include <map>
Roman Stratiienkof81d2c82022-01-11 19:47:24 +020025#include <optional>
Sean Pauled2ec4b2016-03-10 15:35:40 -050026
Roman Stratiienko13cc3662020-08-29 21:35:39 +030027#include "compositor/DrmDisplayCompositor.h"
28#include "drm/ResourceManager.h"
29#include "drm/VSyncWorker.h"
Roman Stratiienkoaa3cd542020-08-29 11:26:16 +030030#include "drmhwcomposer.h"
Roman Stratiienkoaa3cd542020-08-29 11:26:16 +030031
Sean Pauled2ec4b2016-03-10 15:35:40 -050032namespace android {
33
Matvii Zorinef3c7972020-08-11 15:15:44 +030034class Backend;
35
Roman Stratiienko26fd2b22022-01-04 12:59:29 +020036class DrmHwcTwo {
Sean Pauled2ec4b2016-03-10 15:35:40 -050037 public:
38 DrmHwcTwo();
39
Sean Paulac874152016-03-10 16:00:26 -050040 HWC2::Error Init();
41
Roman Stratiienko863a3c22021-09-29 13:00:29 +030042 std::pair<HWC2_PFN_HOTPLUG, hwc2_callback_data_t> hotplug_callback_{};
43 std::pair<HWC2_PFN_VSYNC, hwc2_callback_data_t> vsync_callback_{};
Roman Stratiienko11ef8c52021-09-29 13:01:39 +030044#if PLATFORM_SDK_VERSION > 29
45 std::pair<HWC2_PFN_VSYNC_2_4, hwc2_callback_data_t> vsync_2_4_callback_{};
46#endif
Roman Stratiienko863a3c22021-09-29 13:00:29 +030047 std::pair<HWC2_PFN_REFRESH, hwc2_callback_data_t> refresh_callback_{};
Roman Stratiienko23701092020-09-26 02:08:41 +030048
Roman Stratiienko863a3c22021-09-29 13:00:29 +030049 std::mutex callback_lock_;
Roman Stratiienko23701092020-09-26 02:08:41 +030050
Sean Pauled2ec4b2016-03-10 15:35:40 -050051 class HwcLayer {
52 public:
Sean Paulac874152016-03-10 16:00:26 -050053 HWC2::Composition sf_type() const {
54 return sf_type_;
55 }
56 HWC2::Composition validated_type() const {
57 return validated_type_;
58 }
59 void accept_type_change() {
60 sf_type_ = validated_type_;
61 }
62 void set_validated_type(HWC2::Composition type) {
63 validated_type_ = type;
64 }
65 bool type_changed() const {
66 return sf_type_ != validated_type_;
67 }
68
69 uint32_t z_order() const {
70 return z_order_;
71 }
72
73 buffer_handle_t buffer() {
74 return buffer_;
75 }
76 void set_buffer(buffer_handle_t buffer) {
77 buffer_ = buffer;
78 }
79
Roman Stratiienko0d1a2cd2019-11-28 17:51:16 +020080 hwc_rect_t display_frame() {
81 return display_frame_;
82 }
83
Sean Paulac874152016-03-10 16:00:26 -050084 void PopulateDrmLayer(DrmHwcLayer *layer);
85
Roman Stratiienkoe78235c2021-12-23 17:36:12 +020086 bool RequireScalingOrPhasing() const {
Roman Stratiienko65f2ba82019-12-20 17:04:01 +020087 float src_width = source_crop_.right - source_crop_.left;
88 float src_height = source_crop_.bottom - source_crop_.top;
89
Roman Stratiienkoe78235c2021-12-23 17:36:12 +020090 auto dest_width = float(display_frame_.right - display_frame_.left);
91 auto dest_height = float(display_frame_.bottom - display_frame_.top);
Roman Stratiienko65f2ba82019-12-20 17:04:01 +020092
93 bool scaling = src_width != dest_width || src_height != dest_height;
Roman Stratiienkoe78235c2021-12-23 17:36:12 +020094 bool phasing = (source_crop_.left - std::floor(source_crop_.left) != 0) ||
95 (source_crop_.top - std::floor(source_crop_.top) != 0);
Roman Stratiienko65f2ba82019-12-20 17:04:01 +020096 return scaling || phasing;
97 }
98
Sean Paulac874152016-03-10 16:00:26 -050099 // Layer hooks
Roman Stratiienkoaaaa4692021-09-29 12:50:10 +0300100 HWC2::Error SetCursorPosition(int32_t /*x*/, int32_t /*y*/);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500101 HWC2::Error SetLayerBlendMode(int32_t mode);
102 HWC2::Error SetLayerBuffer(buffer_handle_t buffer, int32_t acquire_fence);
Roman Stratiienkoaaaa4692021-09-29 12:50:10 +0300103 HWC2::Error SetLayerColor(hwc_color_t /*color*/);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500104 HWC2::Error SetLayerCompositionType(int32_t type);
105 HWC2::Error SetLayerDataspace(int32_t dataspace);
106 HWC2::Error SetLayerDisplayFrame(hwc_rect_t frame);
107 HWC2::Error SetLayerPlaneAlpha(float alpha);
108 HWC2::Error SetLayerSidebandStream(const native_handle_t *stream);
109 HWC2::Error SetLayerSourceCrop(hwc_frect_t crop);
110 HWC2::Error SetLayerSurfaceDamage(hwc_region_t damage);
111 HWC2::Error SetLayerTransform(int32_t transform);
112 HWC2::Error SetLayerVisibleRegion(hwc_region_t visible);
Roman Stratiienkoe2f2c922021-02-13 10:57:47 +0200113 HWC2::Error SetLayerZOrder(uint32_t order);
Sean Paulac874152016-03-10 16:00:26 -0500114
Roman Stratiienko0fade372021-02-20 13:59:55 +0200115 UniqueFd acquire_fence_;
116
Roman Stratiienko3e2f9e72021-05-21 14:33:28 +0300117 /*
118 * Release fence is not used.
119 * There is no release fence support available in the DRM/KMS. In case no
120 * release fence provided application will use this buffer for writing when
121 * the next frame present fence is signaled.
122 */
Roman Stratiienko0fade372021-02-20 13:59:55 +0200123 UniqueFd release_fence_;
124
Sean Paulac874152016-03-10 16:00:26 -0500125 private:
126 // sf_type_ stores the initial type given to us by surfaceflinger,
127 // validated_type_ stores the type after running ValidateDisplay
128 HWC2::Composition sf_type_ = HWC2::Composition::Invalid;
129 HWC2::Composition validated_type_ = HWC2::Composition::Invalid;
130
Roman Stratiienkoe78235c2021-12-23 17:36:12 +0200131 buffer_handle_t buffer_ = nullptr;
Sean Paulac874152016-03-10 16:00:26 -0500132 hwc_rect_t display_frame_;
Roman Stratiienkoe78235c2021-12-23 17:36:12 +0200133 float alpha_ = 1.0F;
Sean Paulac874152016-03-10 16:00:26 -0500134 hwc_frect_t source_crop_;
Roman Stratiienko2ed4cbe2021-09-29 12:47:35 +0300135 DrmHwcTransform transform_ = DrmHwcTransform::kIdentity;
Sean Paulac874152016-03-10 16:00:26 -0500136 uint32_t z_order_ = 0;
Roman Stratiienko5063d532021-09-29 12:47:31 +0300137 DrmHwcBlending blending_ = DrmHwcBlending::kNone;
Roman Stratiienko515da8f2021-09-29 12:47:21 +0300138 DrmHwcColorSpace color_space_ = DrmHwcColorSpace::kUndefined;
139 DrmHwcSampleRange sample_range_ = DrmHwcSampleRange::kUndefined;
Sean Paulac874152016-03-10 16:00:26 -0500140 };
141
Sean Pauled2ec4b2016-03-10 15:35:40 -0500142 class HwcDisplay {
143 public:
Alexandru Gheorghe6f0030f2018-05-01 17:25:48 +0100144 HwcDisplay(ResourceManager *resource_manager, DrmDevice *drm,
Roman Stratiienko863a3c22021-09-29 13:00:29 +0300145 hwc2_display_t handle, HWC2::DisplayType type, DrmHwcTwo *hwc2);
Sean Paulac874152016-03-10 16:00:26 -0500146 HwcDisplay(const HwcDisplay &) = delete;
147 HWC2::Error Init(std::vector<DrmPlane *> *planes);
148
Roman Stratiienko2a1f1ae2021-10-23 17:47:35 +0300149 HWC2::Error CreateComposition(AtomicCommitArgs &a_args);
Matvii Zorined90ef92021-01-29 18:32:06 +0200150 std::vector<DrmHwcTwo::HwcLayer *> GetOrderLayersByZPos();
Roman Kovalivskyi8fae1562020-01-30 20:20:47 +0200151
Andrii Chepurnyi495e4cc2018-08-01 17:42:56 +0300152 void ClearDisplay();
Sean Paulac874152016-03-10 16:00:26 -0500153
Roman Stratiienko0d1a2cd2019-11-28 17:51:16 +0200154 std::string Dump();
155
Sean Pauled2ec4b2016-03-10 15:35:40 -0500156 // HWC Hooks
157 HWC2::Error AcceptDisplayChanges();
158 HWC2::Error CreateLayer(hwc2_layer_t *layer);
159 HWC2::Error DestroyLayer(hwc2_layer_t layer);
Roman Stratiienkoa148f212021-11-16 18:23:18 +0200160 HWC2::Error GetActiveConfig(hwc2_config_t *config) const;
Sean Pauled2ec4b2016-03-10 15:35:40 -0500161 HWC2::Error GetChangedCompositionTypes(uint32_t *num_elements,
162 hwc2_layer_t *layers,
163 int32_t *types);
164 HWC2::Error GetClientTargetSupport(uint32_t width, uint32_t height,
165 int32_t format, int32_t dataspace);
166 HWC2::Error GetColorModes(uint32_t *num_modes, int32_t *modes);
167 HWC2::Error GetDisplayAttribute(hwc2_config_t config, int32_t attribute,
168 int32_t *value);
169 HWC2::Error GetDisplayConfigs(uint32_t *num_configs,
170 hwc2_config_t *configs);
171 HWC2::Error GetDisplayName(uint32_t *size, char *name);
172 HWC2::Error GetDisplayRequests(int32_t *display_requests,
173 uint32_t *num_elements, hwc2_layer_t *layers,
174 int32_t *layer_requests);
175 HWC2::Error GetDisplayType(int32_t *type);
Andrii Chepurnyi50d37452020-04-24 14:20:24 +0300176#if PLATFORM_SDK_VERSION > 27
177 HWC2::Error GetRenderIntents(int32_t mode, uint32_t *outNumIntents,
178 int32_t *outIntents);
Andrii Chepurnyi857a53f2020-04-29 23:15:28 +0300179 HWC2::Error SetColorModeWithIntent(int32_t mode, int32_t intent);
Andrii Chepurnyi50d37452020-04-24 14:20:24 +0300180#endif
John Stultz8c7229d2020-02-07 21:31:08 +0000181#if PLATFORM_SDK_VERSION > 28
Lowry Li (Arm Technology China)b3d81782019-12-18 14:28:22 +0800182 HWC2::Error GetDisplayIdentificationData(uint8_t *outPort,
183 uint32_t *outDataSize,
184 uint8_t *outData);
185 HWC2::Error GetDisplayCapabilities(uint32_t *outNumCapabilities,
186 uint32_t *outCapabilities);
Andrii Chepurnyi2619aab2020-07-03 11:21:33 +0300187 HWC2::Error GetDisplayBrightnessSupport(bool *supported);
188 HWC2::Error SetDisplayBrightness(float);
John Stultz8c7229d2020-02-07 21:31:08 +0000189#endif
Roman Stratiienko6f5df172020-09-27 22:48:08 +0300190#if PLATFORM_SDK_VERSION > 29
191 HWC2::Error GetDisplayConnectionType(uint32_t *outType);
192 HWC2::Error GetDisplayVsyncPeriod(hwc2_vsync_period_t *outVsyncPeriod);
193
194 HWC2::Error SetActiveConfigWithConstraints(
195 hwc2_config_t config,
196 hwc_vsync_period_change_constraints_t *vsyncPeriodChangeConstraints,
197 hwc_vsync_period_change_timeline_t *outTimeline);
198 HWC2::Error SetAutoLowLatencyMode(bool on);
Roman Stratiienkoe2f2c922021-02-13 10:57:47 +0200199 HWC2::Error GetSupportedContentTypes(
200 uint32_t *outNumSupportedContentTypes,
201 const uint32_t *outSupportedContentTypes);
Roman Stratiienko6f5df172020-09-27 22:48:08 +0300202
203 HWC2::Error SetContentType(int32_t contentType);
204#endif
205
Sean Pauled2ec4b2016-03-10 15:35:40 -0500206 HWC2::Error GetDozeSupport(int32_t *support);
Sean Paulac874152016-03-10 16:00:26 -0500207 HWC2::Error GetHdrCapabilities(uint32_t *num_types, int32_t *types,
208 float *max_luminance,
209 float *max_average_luminance,
210 float *min_luminance);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500211 HWC2::Error GetReleaseFences(uint32_t *num_elements, hwc2_layer_t *layers,
212 int32_t *fences);
Matteo Franchinc56eede2019-12-03 17:10:38 +0000213 HWC2::Error PresentDisplay(int32_t *present_fence);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500214 HWC2::Error SetActiveConfig(hwc2_config_t config);
Andrii Chepurnyi495e4cc2018-08-01 17:42:56 +0300215 HWC2::Error ChosePreferredConfig();
Sean Pauled2ec4b2016-03-10 15:35:40 -0500216 HWC2::Error SetClientTarget(buffer_handle_t target, int32_t acquire_fence,
217 int32_t dataspace, hwc_region_t damage);
218 HWC2::Error SetColorMode(int32_t mode);
219 HWC2::Error SetColorTransform(const float *matrix, int32_t hint);
220 HWC2::Error SetOutputBuffer(buffer_handle_t buffer, int32_t release_fence);
221 HWC2::Error SetPowerMode(int32_t mode);
222 HWC2::Error SetVsyncEnabled(int32_t enabled);
223 HWC2::Error ValidateDisplay(uint32_t *num_types, uint32_t *num_requests);
Vincent Donnefort9abec032019-10-09 15:43:43 +0100224 HwcLayer *get_layer(hwc2_layer_t layer) {
225 auto it = layers_.find(layer);
226 if (it == layers_.end())
227 return nullptr;
228 return &it->second;
Sean Pauled2ec4b2016-03-10 15:35:40 -0500229 }
230
Matvii Zorin373de712020-08-11 14:05:12 +0300231 /* Statistics */
232 struct Stats {
Roman Stratiienkoe78235c2021-12-23 17:36:12 +0200233 Stats minus(Stats b) const {
Matvii Zorin373de712020-08-11 14:05:12 +0300234 return {total_frames_ - b.total_frames_,
235 total_pixops_ - b.total_pixops_,
236 gpu_pixops_ - b.gpu_pixops_,
237 failed_kms_validate_ - b.failed_kms_validate_,
238 failed_kms_present_ - b.failed_kms_present_,
239 frames_flattened_ - b.frames_flattened_};
240 }
241
242 uint32_t total_frames_ = 0;
243 uint64_t total_pixops_ = 0;
244 uint64_t gpu_pixops_ = 0;
245 uint32_t failed_kms_validate_ = 0;
246 uint32_t failed_kms_present_ = 0;
247 uint32_t frames_flattened_ = 0;
248 };
249
Roman Stratiienkoa148f212021-11-16 18:23:18 +0200250 struct HwcDisplayConfig {
251 int id{};
252 int group_id{};
253 DrmMode mode;
254 bool disabled{};
255
Roman Stratiienkoe78235c2021-12-23 17:36:12 +0200256 bool IsInterlaced() const {
Roman Stratiienkoa148f212021-11-16 18:23:18 +0200257 return (mode.flags() & DRM_MODE_FLAG_INTERLACE) != 0;
258 }
259 };
260
261 std::map<int /*config_id*/, struct HwcDisplayConfig> hwc_configs_;
262
263 int active_config_id_ = 0;
264 int preferred_config_id_ = 0;
265
Roman Stratiienko24a7fc42021-12-23 16:25:20 +0200266 const Backend *backend() const;
267 void set_backend(std::unique_ptr<Backend> backend);
Matvii Zorinef3c7972020-08-11 15:15:44 +0300268
Matvii Zorin373de712020-08-11 14:05:12 +0300269 const std::vector<DrmPlane *> &primary_planes() const {
270 return primary_planes_;
271 }
272
273 const std::vector<DrmPlane *> &overlay_planes() const {
274 return overlay_planes_;
275 }
276
277 std::map<hwc2_layer_t, HwcLayer> &layers() {
278 return layers_;
279 }
280
281 const DrmDisplayCompositor &compositor() const {
282 return compositor_;
283 }
284
285 const DrmDevice *drm() const {
286 return drm_;
287 }
288
289 const DrmConnector *connector() const {
290 return connector_;
291 }
292
Matvii Zorin373de712020-08-11 14:05:12 +0300293 ResourceManager *resource_manager() const {
294 return resource_manager_;
295 }
296
297 android_color_transform_t &color_transform_hint() {
298 return color_transform_hint_;
299 }
300
301 Stats &total_stats() {
302 return total_stats_;
303 }
304
Roman Stratiienkoe8c06792021-09-30 10:09:31 +0300305 /* returns true if composition should be sent to client */
306 bool ProcessClientFlatteningState(bool skip) {
307 int flattenning_state = flattenning_state_;
308 if (flattenning_state == ClientFlattenningState::Disabled) {
309 return false;
310 }
311
312 if (skip) {
313 flattenning_state_ = ClientFlattenningState::NotRequired;
314 return false;
315 }
316
317 if (flattenning_state == ClientFlattenningState::ClientRefreshRequested) {
318 flattenning_state_ = ClientFlattenningState::Flattened;
319 return true;
320 }
321
322 flattening_vsync_worker_.VSyncControl(true);
323 flattenning_state_ = ClientFlattenningState::VsyncCountdownMax;
324 return false;
325 }
326
Sean Pauled2ec4b2016-03-10 15:35:40 -0500327 private:
Roman Stratiienkoe8c06792021-09-30 10:09:31 +0300328 enum ClientFlattenningState : int32_t {
329 Disabled = -3,
330 NotRequired = -2,
331 Flattened = -1,
332 ClientRefreshRequested = 0,
333 VsyncCountdownMax = 60, /* 1 sec @ 60FPS */
334 };
335
336 std::atomic_int flattenning_state_{ClientFlattenningState::NotRequired};
337 VSyncWorker flattening_vsync_worker_;
338
Roman Kovalivskyi12b91a32019-12-11 19:09:51 +0200339 constexpr static size_t MATRIX_SIZE = 16;
340
Roman Stratiienko863a3c22021-09-29 13:00:29 +0300341 DrmHwcTwo *hwc2_;
342
Roman Stratiienkof81d2c82022-01-11 19:47:24 +0200343 std::optional<DrmMode> staged_mode;
344
Alexandru Gheorghe6f0030f2018-05-01 17:25:48 +0100345 ResourceManager *resource_manager_;
Alexandru Gheorghe0f5abd72018-05-01 14:37:10 +0100346 DrmDevice *drm_;
Sean Paulac874152016-03-10 16:00:26 -0500347 DrmDisplayCompositor compositor_;
Sean Paulac874152016-03-10 16:00:26 -0500348
349 std::vector<DrmPlane *> primary_planes_;
350 std::vector<DrmPlane *> overlay_planes_;
351
Matvii Zorinef3c7972020-08-11 15:15:44 +0300352 std::unique_ptr<Backend> backend_;
353
Sean Paulac874152016-03-10 16:00:26 -0500354 VSyncWorker vsync_worker_;
Roman Stratiienkoe78235c2021-12-23 17:36:12 +0200355 DrmConnector *connector_ = nullptr;
356 DrmCrtc *crtc_ = nullptr;
Sean Paulac874152016-03-10 16:00:26 -0500357 hwc2_display_t handle_;
358 HWC2::DisplayType type_;
359 uint32_t layer_idx_ = 0;
Sean Pauled2ec4b2016-03-10 15:35:40 -0500360 std::map<hwc2_layer_t, HwcLayer> layers_;
Sean Paulac874152016-03-10 16:00:26 -0500361 HwcLayer client_layer_;
Roman Stratiienkob3b5c1e2021-02-15 13:44:19 +0200362 int32_t color_mode_{};
363 std::array<float, MATRIX_SIZE> color_transform_matrix_{};
Roman Kovalivskyi12b91a32019-12-11 19:09:51 +0200364 android_color_transform_t color_transform_hint_;
Sean Paulac874152016-03-10 16:00:26 -0500365
366 uint32_t frame_no_ = 0;
Matvii Zorin373de712020-08-11 14:05:12 +0300367 Stats total_stats_;
368 Stats prev_stats_;
Roman Stratiienko0d1a2cd2019-11-28 17:51:16 +0200369 std::string DumpDelta(DrmHwcTwo::HwcDisplay::Stats delta);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500370 };
371
Vincent Donnefort315444c2019-10-09 14:23:42 +0100372 static HwcDisplay *GetDisplay(DrmHwcTwo *hwc, hwc2_display_t display_handle) {
373 auto it = hwc->displays_.find(display_handle);
374 if (it == hwc->displays_.end())
375 return nullptr;
376
377 return &it->second;
378 }
379
Sean Pauled2ec4b2016-03-10 15:35:40 -0500380 // Device functions
381 HWC2::Error CreateVirtualDisplay(uint32_t width, uint32_t height,
Sean Paulf72cccd2018-08-27 13:59:08 -0400382 int32_t *format, hwc2_display_t *display);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500383 HWC2::Error DestroyVirtualDisplay(hwc2_display_t display);
Roman Stratiienko0d1a2cd2019-11-28 17:51:16 +0200384 void Dump(uint32_t *outSize, char *outBuffer);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500385 uint32_t GetMaxVirtualDisplayCount();
386 HWC2::Error RegisterCallback(int32_t descriptor, hwc2_callback_data_t data,
387 hwc2_function_pointer_t function);
Andrii Chepurnyi495e4cc2018-08-01 17:42:56 +0300388 HWC2::Error CreateDisplay(hwc2_display_t displ, HWC2::DisplayType type);
Roman Stratiienko26fd2b22022-01-04 12:59:29 +0200389
390 private:
Andrii Chepurnyi495e4cc2018-08-01 17:42:56 +0300391 void HandleDisplayHotplug(hwc2_display_t displayid, int state);
392 void HandleInitialHotplugState(DrmDevice *drmDevice);
Sean Pauled2ec4b2016-03-10 15:35:40 -0500393
Roman Stratiienko1e053b42021-10-25 22:54:20 +0300394 void HandleHotplugUEvent();
395
Alexandru Gheorghec5463582018-03-27 15:52:02 +0100396 ResourceManager resource_manager_;
Sean Pauled2ec4b2016-03-10 15:35:40 -0500397 std::map<hwc2_display_t, HwcDisplay> displays_;
Roman Stratiienko0d1a2cd2019-11-28 17:51:16 +0200398
399 std::string mDumpString;
Sean Pauled2ec4b2016-03-10 15:35:40 -0500400};
Sean Paulf72cccd2018-08-27 13:59:08 -0400401} // namespace android
Matvii Zorin0ddc3292020-07-27 18:29:15 +0300402
403#endif