blob: 638fd0895cf1f8f9daa8668fa433e58e29d02055 [file] [log] [blame]
Yuexi Mae5f2e672016-11-30 17:32:27 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "ITvInput"
4
5package: "android.hardware.tv.input"
6
7import: "android.hardware.tv.input@1.0::ITvInputCallback"
8import: "android.hardware.tv.input@1.0::types"
9
10interface: {
11 api: {
12 name: "setCallback"
13 arg: {
14 type: TYPE_HIDL_CALLBACK
15 predefined_type: "ITvInputCallback"
16 is_callback: true
17 }
18 callflow: {
19 entry: true
20 }
21 callflow: {
22 exit: true
23 }
24 callflow: {
25 next: "getStreamConfigurations"
26 }
27 }
28
29 api: {
30 name: "getStreamConfigurations"
31 return_type_hidl: {
32 type: TYPE_ENUM
33 predefined_type: "::android::hardware::tv::input::V1_0::Result"
34 }
35 return_type_hidl: {
36 type: TYPE_VECTOR
37 vector_value: {
38 type: TYPE_STRUCT
39 predefined_type: "::android::hardware::tv::input::V1_0::TvStreamConfig"
40 }
41 }
42 arg: {
43 type: TYPE_SCALAR
44 scalar_type: "int32_t"
45 }
46 callflow: {
47 next: "openStream"
48 next: "getStreamConfigurations"
49 next: "closeStream"
50 }
51 }
52
53 api: {
54 name: "openStream"
55 return_type_hidl: {
56 type: TYPE_ENUM
57 predefined_type: "::android::hardware::tv::input::V1_0::Result"
58 }
59 return_type_hidl: {
60 }
61 arg: {
62 type: TYPE_SCALAR
63 scalar_type: "int32_t"
64 }
65 arg: {
66 type: TYPE_SCALAR
67 scalar_type: "int32_t"
68 }
69 callflow: {
70 next: "closeStream"
71 next: "getStreamConfigurations"
72 next: "openStream"
73 }
74 }
75
76 api: {
77 name: "closeStream"
78 return_type_hidl: {
79 type: TYPE_ENUM
80 predefined_type: "::android::hardware::tv::input::V1_0::Result"
81 }
82 arg: {
83 type: TYPE_SCALAR
84 scalar_type: "int32_t"
85 }
86 arg: {
87 type: TYPE_SCALAR
88 scalar_type: "int32_t"
89 }
90 callflow: {
91 next: "getStreamConfigurations"
92 next: "openStream"
93 next: "closeStream"
94 }
95 }
96
97}