blob: baf95dc111355f1820df8e49361bdb34a379da19 [file] [log] [blame]
Chia-I Wuc7b1fa12016-12-23 12:12:15 +08001component_class: HAL_HIDL
2component_type_version: 2.0
3component_name: "IMapper"
4
5package: "android.hardware.graphics.mapper"
6
7import: "android.hardware.graphics.allocator@2.0::types"
8import: "android.hardware.graphics.common@1.0::types"
9import: "android.hardware.graphics.mapper@2.0::types"
Zhuoyao Zhang3bef9392017-02-13 18:03:06 -080010import: "android.hidl.base@1.0::types"
Chia-I Wuc7b1fa12016-12-23 12:12:15 +080011
12interface: {
13 attribute: {
14 name: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
15 type: TYPE_STRUCT
16 struct_value: {
17 name: "left"
18 type: TYPE_SCALAR
19 scalar_type: "int32_t"
20 }
21 struct_value: {
22 name: "top"
23 type: TYPE_SCALAR
24 scalar_type: "int32_t"
25 }
26 struct_value: {
27 name: "width"
28 type: TYPE_SCALAR
29 scalar_type: "int32_t"
30 }
31 struct_value: {
32 name: "height"
33 type: TYPE_SCALAR
34 scalar_type: "int32_t"
35 }
36 }
37
38 api: {
39 name: "retain"
40 return_type_hidl: {
41 type: TYPE_ENUM
42 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
43 }
44 arg: {
45 type: TYPE_HANDLE
46 }
47 callflow: {
48 entry: true
49 }
50 callflow: {
51 next: "*"
52 }
53 }
54
55 api: {
56 name: "release"
57 return_type_hidl: {
58 type: TYPE_ENUM
59 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
60 }
61 arg: {
62 type: TYPE_HANDLE
63 }
64 callflow: {
65 exit: true
66 }
67 }
68
69 api: {
70 name: "getDimensions"
71 return_type_hidl: {
72 type: TYPE_ENUM
73 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
74 }
75 return_type_hidl: {
76 type: TYPE_SCALAR
77 scalar_type: "uint32_t"
78 }
79 return_type_hidl: {
80 type: TYPE_SCALAR
81 scalar_type: "uint32_t"
82 }
83 arg: {
84 type: TYPE_HANDLE
85 }
86 callflow: {
87 next: "*"
88 }
89 }
90
91 api: {
92 name: "getFormat"
93 return_type_hidl: {
94 type: TYPE_ENUM
95 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
96 }
97 return_type_hidl: {
98 type: TYPE_ENUM
99 predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
100 }
101 arg: {
102 type: TYPE_HANDLE
103 }
104 callflow: {
105 next: "*"
106 }
107 }
108
109 api: {
110 name: "getLayerCount"
111 return_type_hidl: {
112 type: TYPE_ENUM
113 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
114 }
115 return_type_hidl: {
116 type: TYPE_SCALAR
117 scalar_type: "uint32_t"
118 }
119 arg: {
120 type: TYPE_HANDLE
121 }
122 callflow: {
123 next: "*"
124 }
125 }
126
127 api: {
128 name: "getProducerUsageMask"
129 return_type_hidl: {
130 type: TYPE_ENUM
131 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
132 }
133 return_type_hidl: {
134 type: TYPE_SCALAR
135 scalar_type: "uint64_t"
136 }
137 arg: {
138 type: TYPE_HANDLE
139 }
140 callflow: {
141 next: "*"
142 }
143 }
144
145 api: {
146 name: "getConsumerUsageMask"
147 return_type_hidl: {
148 type: TYPE_ENUM
149 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
150 }
151 return_type_hidl: {
152 type: TYPE_SCALAR
153 scalar_type: "uint64_t"
154 }
155 arg: {
156 type: TYPE_HANDLE
157 }
158 callflow: {
159 next: "*"
160 }
161 }
162
163 api: {
164 name: "getBackingStore"
165 return_type_hidl: {
166 type: TYPE_ENUM
167 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
168 }
169 return_type_hidl: {
170 type: TYPE_SCALAR
171 scalar_type: "uint64_t"
172 }
173 arg: {
174 type: TYPE_HANDLE
175 }
176 callflow: {
177 next: "*"
178 }
179 }
180
181 api: {
182 name: "getStride"
183 return_type_hidl: {
184 type: TYPE_ENUM
185 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
186 }
187 return_type_hidl: {
188 type: TYPE_SCALAR
189 scalar_type: "uint32_t"
190 }
191 arg: {
192 type: TYPE_HANDLE
193 }
194 callflow: {
195 next: "*"
196 }
197 }
198
199 api: {
200 name: "lock"
201 return_type_hidl: {
202 type: TYPE_ENUM
203 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
204 }
205 return_type_hidl: {
206 type: TYPE_POINTER
207 }
208 arg: {
209 type: TYPE_HANDLE
210 }
211 arg: {
212 type: TYPE_SCALAR
213 scalar_type: "uint64_t"
214 }
215 arg: {
216 type: TYPE_SCALAR
217 scalar_type: "uint64_t"
218 }
219 arg: {
220 type: TYPE_STRUCT
221 predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
222 }
223 arg: {
224 type: TYPE_HANDLE
225 }
226 callflow: {
227 next: "unlock"
228 }
229 }
230
231 api: {
232 name: "lockFlex"
233 return_type_hidl: {
234 type: TYPE_ENUM
235 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
236 }
237 return_type_hidl: {
238 type: TYPE_STRUCT
239 predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexLayout"
240 }
241 arg: {
242 type: TYPE_HANDLE
243 }
244 arg: {
245 type: TYPE_SCALAR
246 scalar_type: "uint64_t"
247 }
248 arg: {
249 type: TYPE_SCALAR
250 scalar_type: "uint64_t"
251 }
252 arg: {
253 type: TYPE_STRUCT
254 predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
255 }
256 arg: {
257 type: TYPE_HANDLE
258 }
259 callflow: {
260 next: "unlock"
261 }
262 }
263
264 api: {
265 name: "unlock"
266 return_type_hidl: {
267 type: TYPE_ENUM
268 predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
269 }
270 return_type_hidl: {
271 type: TYPE_HANDLE
272 }
273 arg: {
274 type: TYPE_HANDLE
275 }
276 callflow: {
277 next: "*"
278 }
279 }
280
281}