blob: b83cf947e3b4443af8687ef1e1558c029b127587 [file] [log] [blame]
Chia-I Wub00f59d2017-01-13 14:47:23 +08001component_class: HAL_HIDL
2component_type_version: 2.1
3component_name: "IComposerCallback"
4
5package: "android.hardware.graphics.composer"
6
7import: "android.hardware.graphics.composer@2.1::types"
Zhuoyao Zhang3bef9392017-02-13 18:03:06 -08008import: "android.hidl.base@1.0::types"
Chia-I Wub00f59d2017-01-13 14:47:23 +08009
10interface: {
11 attribute: {
12 name: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection"
13 type: TYPE_ENUM
14 enum_value: {
15 scalar_type: "int32_t"
16
17 enumerator: "INVALID"
18 scalar_value: {
19 int32_t: 0
20 }
21 enumerator: "CONNECTED"
22 scalar_value: {
23 int32_t: 1
24 }
25 enumerator: "DISCONNECTED"
26 scalar_value: {
27 int32_t: 2
28 }
29 }
30 }
31
32 api: {
33 name: "onHotplug"
34 arg: {
35 type: TYPE_SCALAR
36 scalar_type: "uint64_t"
37 }
38 arg: {
39 type: TYPE_ENUM
40 predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection"
41 }
42 callflow: {
43 next: "*"
44 }
45 }
46
47 api: {
48 name: "onRefresh"
49 arg: {
50 type: TYPE_SCALAR
51 scalar_type: "uint64_t"
52 }
53 callflow: {
54 next: "*"
55 }
56 }
57
58 api: {
59 name: "onVsync"
60 arg: {
61 type: TYPE_SCALAR
62 scalar_type: "uint64_t"
63 }
64 arg: {
65 type: TYPE_SCALAR
66 scalar_type: "int64_t"
67 }
68 callflow: {
69 next: "*"
70 }
71 }
72
73}