Polina Bondarenko | 59d05eb | 2016-11-03 16:41:18 +0100 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IThermal" |
| 4 | |
| 5 | package: "android.hardware.thermal" |
| 6 | |
| 7 | import: "android.hardware.thermal@1.0::types" |
| 8 | |
| 9 | interface: { |
| 10 | api: { |
| 11 | name: "getTemperatures" |
| 12 | return_type_hidl: { |
| 13 | type: TYPE_STRUCT |
| 14 | predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" |
| 15 | } |
| 16 | return_type_hidl: { |
| 17 | type: TYPE_VECTOR |
| 18 | vector_value: { |
| 19 | type: TYPE_STRUCT |
| 20 | predefined_type: "::android::hardware::thermal::V1_0::Temperature" |
| 21 | } |
| 22 | } |
| 23 | callflow: { |
| 24 | next: "*" |
| 25 | } |
| 26 | callflow: { |
| 27 | entry: true |
| 28 | } |
| 29 | callflow: { |
| 30 | exit: true |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | api: { |
| 35 | name: "getCpuUsages" |
| 36 | return_type_hidl: { |
| 37 | type: TYPE_STRUCT |
| 38 | predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" |
| 39 | } |
| 40 | return_type_hidl: { |
| 41 | type: TYPE_VECTOR |
| 42 | vector_value: { |
| 43 | type: TYPE_STRUCT |
| 44 | predefined_type: "::android::hardware::thermal::V1_0::CpuUsage" |
| 45 | } |
| 46 | } |
| 47 | callflow: { |
| 48 | next: "*" |
| 49 | } |
| 50 | callflow: { |
| 51 | entry: true |
| 52 | } |
| 53 | callflow: { |
| 54 | exit: true |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | api: { |
| 59 | name: "getCoolingDevices" |
| 60 | return_type_hidl: { |
| 61 | type: TYPE_STRUCT |
| 62 | predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus" |
| 63 | } |
| 64 | return_type_hidl: { |
| 65 | type: TYPE_VECTOR |
| 66 | vector_value: { |
| 67 | type: TYPE_STRUCT |
| 68 | predefined_type: "::android::hardware::thermal::V1_0::CoolingDevice" |
| 69 | } |
| 70 | } |
| 71 | callflow: { |
| 72 | next: "*" |
| 73 | } |
| 74 | callflow: { |
| 75 | entry: true |
| 76 | } |
| 77 | callflow: { |
| 78 | exit: true |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | } |