blob: 348c0ab4d698fca266115a9c5d5e5320c439e45c [file] [log] [blame]
Myles Watson960cae22016-11-23 16:51:17 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IBluetoothHci"
4
5package: "android.hardware.bluetooth"
6
7import: "android.hardware.bluetooth@1.0::IBluetoothHciCallbacks"
8import: "android.hardware.bluetooth@1.0::types"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -08009import: "android.hidl.base@1.0::types"
Myles Watson960cae22016-11-23 16:51:17 -080010
11interface: {
12 api: {
13 name: "initialize"
Myles Watson960cae22016-11-23 16:51:17 -080014 arg: {
15 type: TYPE_HIDL_INTERFACE
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080016 predefined_type: "::android::hardware::bluetooth::V1_0::IBluetoothHciCallbacks"
17 }
18 callflow: {
19 entry: true
20 }
21 callflow: {
22 next: "sendHciCommand"
23 next: "sendAclData"
24 next: "sendScoData"
25 next: "close"
Myles Watson960cae22016-11-23 16:51:17 -080026 }
27 }
28
29 api: {
30 name: "sendHciCommand"
31 arg: {
32 type: TYPE_VECTOR
33 vector_value: {
34 type: TYPE_SCALAR
35 scalar_type: "uint8_t"
36 }
37 }
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080038 callflow: {
39 next: "sendHciCommand"
40 next: "sendAclData"
41 next: "sendScoData"
42 next: "close"
43 }
Myles Watson960cae22016-11-23 16:51:17 -080044 }
45
46 api: {
47 name: "sendAclData"
48 arg: {
49 type: TYPE_VECTOR
50 vector_value: {
51 type: TYPE_SCALAR
52 scalar_type: "uint8_t"
53 }
54 }
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080055 callflow: {
56 next: "sendHciCommand"
57 next: "sendAclData"
58 next: "sendScoData"
59 next: "close"
60 }
Myles Watson960cae22016-11-23 16:51:17 -080061 }
62
63 api: {
64 name: "sendScoData"
65 arg: {
66 type: TYPE_VECTOR
67 vector_value: {
68 type: TYPE_SCALAR
69 scalar_type: "uint8_t"
70 }
71 }
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080072 callflow: {
73 next: "sendHciCommand"
74 next: "sendAclData"
75 next: "sendScoData"
76 next: "close"
77 }
Myles Watson960cae22016-11-23 16:51:17 -080078 }
79
80 api: {
81 name: "close"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080082 callflow: {
83 exit: true
84 }
Myles Watson960cae22016-11-23 16:51:17 -080085 }
86
87}