Chia-I Wu | b00f59d | 2017-01-13 14:47:23 +0800 | [diff] [blame^] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 2.1 |
| 3 | component_name: "IComposer" |
| 4 | |
| 5 | package: "android.hardware.graphics.composer" |
| 6 | |
| 7 | import: "android.hardware.graphics.composer@2.1::IComposerClient" |
| 8 | import: "android.hardware.graphics.composer@2.1::types" |
| 9 | |
| 10 | interface: { |
| 11 | attribute: { |
| 12 | name: "::android::hardware::graphics::composer::V2_1::IComposer::Capability" |
| 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: "SIDEBAND_STREAM" |
| 22 | scalar_value: { |
| 23 | int32_t: 1 |
| 24 | } |
| 25 | enumerator: "SKIP_CLIENT_COLOR_TRANSFORM" |
| 26 | scalar_value: { |
| 27 | int32_t: 2 |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | api: { |
| 33 | name: "getCapabilities" |
| 34 | return_type_hidl: { |
| 35 | type: TYPE_VECTOR |
| 36 | vector_value: { |
| 37 | type: TYPE_ENUM |
| 38 | predefined_type: "::android::hardware::graphics::composer::V2_1::IComposer::Capability" |
| 39 | } |
| 40 | } |
| 41 | callflow: { |
| 42 | entry: true |
| 43 | } |
| 44 | callflow: { |
| 45 | exit: true |
| 46 | } |
| 47 | callflow: { |
| 48 | next: "*" |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | api: { |
| 53 | name: "dumpDebugInfo" |
| 54 | return_type_hidl: { |
| 55 | type: TYPE_STRING |
| 56 | } |
| 57 | callflow: { |
| 58 | entry: true |
| 59 | } |
| 60 | callflow: { |
| 61 | exit: true |
| 62 | } |
| 63 | callflow: { |
| 64 | next: "*" |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | api: { |
| 69 | name: "createClient" |
| 70 | return_type_hidl: { |
| 71 | type: TYPE_ENUM |
| 72 | predefined_type: "::android::hardware::graphics::composer::V2_1::Error" |
| 73 | } |
| 74 | return_type_hidl: { |
| 75 | type: TYPE_HIDL_INTERFACE |
| 76 | predefined_type: "IComposerClient" |
| 77 | is_callback: false |
| 78 | } |
| 79 | callflow: { |
| 80 | entry: true |
| 81 | } |
| 82 | callflow: { |
| 83 | next: "*" |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | } |