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