blob: b400f0e9a791dd29131290563f1987f28b4091cb [file] [log] [blame]
Ryan Campbell548f2a02016-11-07 09:27:51 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IBootControl"
4
5package: "android.hardware.boot"
6
7import: "android.hardware.boot@1.0::types"
Zhuoyao Zhang3bef9392017-02-13 18:03:06 -08008import: "android.hidl.base@1.0::types"
Ryan Campbell548f2a02016-11-07 09:27:51 -08009
10interface: {
11 api: {
12 name: "getNumberSlots"
13 return_type_hidl: {
14 type: TYPE_SCALAR
15 scalar_type: "uint32_t"
16 }
17 }
18
19 api: {
20 name: "getCurrentSlot"
21 return_type_hidl: {
22 type: TYPE_SCALAR
23 scalar_type: "uint32_t"
24 }
25 }
26
27 api: {
28 name: "markBootSuccessful"
29 return_type_hidl: {
30 type: TYPE_STRUCT
31 predefined_type: "::android::hardware::boot::V1_0::CommandResult"
32 }
33 }
34
35 api: {
36 name: "setActiveBootSlot"
37 return_type_hidl: {
38 type: TYPE_STRUCT
39 predefined_type: "::android::hardware::boot::V1_0::CommandResult"
40 }
41 arg: {
42 type: TYPE_SCALAR
43 scalar_type: "uint32_t"
44 }
45 }
46
47 api: {
48 name: "setSlotAsUnbootable"
49 return_type_hidl: {
50 type: TYPE_STRUCT
51 predefined_type: "::android::hardware::boot::V1_0::CommandResult"
52 }
53 arg: {
54 type: TYPE_SCALAR
55 scalar_type: "uint32_t"
56 }
57 }
58
59 api: {
60 name: "isSlotBootable"
61 return_type_hidl: {
62 type: TYPE_ENUM
63 predefined_type: "::android::hardware::boot::V1_0::BoolResult"
64 }
65 arg: {
66 type: TYPE_SCALAR
67 scalar_type: "uint32_t"
68 }
69 }
70
71 api: {
72 name: "isSlotMarkedSuccessful"
73 return_type_hidl: {
74 type: TYPE_ENUM
75 predefined_type: "::android::hardware::boot::V1_0::BoolResult"
76 }
77 arg: {
78 type: TYPE_SCALAR
79 scalar_type: "uint32_t"
80 }
81 }
82
83 api: {
84 name: "getSuffix"
85 return_type_hidl: {
86 type: TYPE_STRING
87 }
88 arg: {
89 type: TYPE_SCALAR
90 scalar_type: "uint32_t"
91 }
92 }
93
94}