Remove .vts spec files

Test: mmma hardware/interfaces
Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605
This commit is contained in:
Tri Vo
2017-02-22 10:21:27 -08:00
parent 24602752fa
commit d94a7d2df9
42 changed files with 0 additions and 11427 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,115 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "IVehicle"
package: "android.hardware.automotive.vehicle"
import: "android.hardware.automotive.vehicle@2.0::IVehicleCallback"
import: "android.hardware.automotive.vehicle@2.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getAllPropConfigs"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig"
}
}
}
api: {
name: "getPropConfigs"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig"
}
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
}
api: {
name: "get"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue"
}
}
api: {
name: "set"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue"
}
}
api: {
name: "subscribe"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::automotive::vehicle::V2_0::IVehicleCallback"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::SubscribeOptions"
}
}
}
api: {
name: "unsubscribe"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::automotive::vehicle::V2_0::IVehicleCallback"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "debugDump"
return_type_hidl: {
type: TYPE_STRING
}
}
}

View File

@@ -1,46 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "IVehicleCallback"
package: "android.hardware.automotive.vehicle"
import: "android.hardware.automotive.vehicle@2.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "onPropertyEvent"
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue"
}
}
}
api: {
name: "onPropertySet"
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::automotive::vehicle::V2_0::VehiclePropValue"
}
}
api: {
name: "onPropertySetError"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::automotive::vehicle::V2_0::StatusCode"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,191 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "IBiometricsFingerprint"
package: "android.hardware.biometrics.fingerprint"
import: "android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprintClientCallback"
import: "android.hardware.biometrics.fingerprint@2.1::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "setNotify"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::IBiometricsFingerprintClientCallback"
}
callflow: {
next: "setActiveGroup"
}
callflow: {
entry: true
}
}
api: {
name: "preEnroll"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "enroll"
next: "postEnroll"
}
}
api: {
name: "enroll"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
arg: {
type: TYPE_ARRAY
vector_size: 69
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "cancel"
next: "enroll"
next: "postEnroll"
next: "remove"
}
}
api: {
name: "postEnroll"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
callflow: {
next: "authenticate"
next: "setActiveGroup"
next: "enumerate"
next: "remove"
}
}
api: {
name: "getAuthenticatorId"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "authenticate"
}
}
api: {
name: "cancel"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
callflow: {
next: "authenticate"
next: "enroll"
next: "enumerate"
next: "remove"
next: "setActiveGroup"
}
}
api: {
name: "enumerate"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
callflow: {
next: "remove"
next: "enroll"
next: "authenticate"
next: "setActiveGroup"
}
}
api: {
name: "remove"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "enumerate"
next: "authenticate"
next: "cancel"
next: "getAuthenticatorId"
next: "setActiveGroup"
}
}
api: {
name: "setActiveGroup"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_STRING
}
callflow: {
next: "authenticate"
next: "preEnroll"
next: "enumerate"
next: "remove"
}
}
api: {
name: "authenticate"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "cancel"
next: "preEnroll"
next: "remove"
}
}
}

View File

@@ -1,126 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "IBiometricsFingerprintClientCallback"
package: "android.hardware.biometrics.fingerprint"
import: "android.hardware.biometrics.fingerprint@2.1::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "onEnrollResult"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "onAcquired"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "onAuthenticated"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "onError"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintError"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "onRemoved"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "onEnumerate"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
}

View File

@@ -1,262 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "types"
package: "android.hardware.biometrics.fingerprint"
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SYS_UNKNOWN"
scalar_value: {
int32_t: 1
}
enumerator: "SYS_OK"
scalar_value: {
int32_t: 0
}
enumerator: "SYS_ENOENT"
scalar_value: {
int32_t: -2
}
enumerator: "SYS_EINTR"
scalar_value: {
int32_t: -4
}
enumerator: "SYS_EIO"
scalar_value: {
int32_t: -5
}
enumerator: "SYS_EAGAIN"
scalar_value: {
int32_t: -11
}
enumerator: "SYS_ENOMEM"
scalar_value: {
int32_t: -12
}
enumerator: "SYS_EACCES"
scalar_value: {
int32_t: -13
}
enumerator: "SYS_EFAULT"
scalar_value: {
int32_t: -14
}
enumerator: "SYS_EBUSY"
scalar_value: {
int32_t: -16
}
enumerator: "SYS_EINVAL"
scalar_value: {
int32_t: -22
}
enumerator: "SYS_ENOSPC"
scalar_value: {
int32_t: -28
}
enumerator: "SYS_ETIMEDOUT"
scalar_value: {
int32_t: -110
}
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintError"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "ERROR_NO_ERROR"
scalar_value: {
int32_t: 0
}
enumerator: "ERROR_HW_UNAVAILABLE"
scalar_value: {
int32_t: 1
}
enumerator: "ERROR_UNABLE_TO_PROCESS"
scalar_value: {
int32_t: 2
}
enumerator: "ERROR_TIMEOUT"
scalar_value: {
int32_t: 3
}
enumerator: "ERROR_NO_SPACE"
scalar_value: {
int32_t: 4
}
enumerator: "ERROR_CANCELED"
scalar_value: {
int32_t: 5
}
enumerator: "ERROR_UNABLE_TO_REMOVE"
scalar_value: {
int32_t: 6
}
enumerator: "ERROR_LOCKOUT"
scalar_value: {
int32_t: 7
}
enumerator: "ERROR_VENDOR"
scalar_value: {
int32_t: 8
}
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "ACQUIRED_GOOD"
scalar_value: {
int32_t: 0
}
enumerator: "ACQUIRED_PARTIAL"
scalar_value: {
int32_t: 1
}
enumerator: "ACQUIRED_INSUFFICIENT"
scalar_value: {
int32_t: 2
}
enumerator: "ACQUIRED_IMAGER_DIRTY"
scalar_value: {
int32_t: 3
}
enumerator: "ACQUIRED_TOO_SLOW"
scalar_value: {
int32_t: 4
}
enumerator: "ACQUIRED_TOO_FAST"
scalar_value: {
int32_t: 5
}
enumerator: "ACQUIRED_VENDOR"
scalar_value: {
int32_t: 6
}
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId"
type: TYPE_STRUCT
struct_value: {
name: "gid"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "fid"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintEnroll"
type: TYPE_STRUCT
struct_value: {
name: "finger"
type: TYPE_STRUCT
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId"
}
struct_value: {
name: "samplesRemaining"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "msg"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintIterator"
type: TYPE_STRUCT
struct_value: {
name: "finger"
type: TYPE_STRUCT
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId"
}
struct_value: {
name: "remainingTemplates"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquired"
type: TYPE_STRUCT
struct_value: {
name: "acquiredInfo"
type: TYPE_ENUM
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAcquiredInfo"
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintAuthenticated"
type: TYPE_STRUCT
struct_value: {
name: "finger"
type: TYPE_STRUCT
predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintFingerId"
}
struct_value: {
name: "hat"
type: TYPE_ARRAY
vector_size: 69
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::biometrics::fingerprint::V2_1::FingerprintMsgType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "ERROR"
scalar_value: {
int32_t: -1
}
enumerator: "ACQUIRED"
scalar_value: {
int32_t: 1
}
enumerator: "TEMPLATE_ENROLLING"
scalar_value: {
int32_t: 3
}
enumerator: "TEMPLATE_REMOVED"
scalar_value: {
int32_t: 4
}
enumerator: "AUTHENTICATED"
scalar_value: {
int32_t: 5
}
enumerator: "TEMPLATE_ENUMERATING"
scalar_value: {
int32_t: 6
}
}
}

View File

@@ -1,94 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IBootControl"
package: "android.hardware.boot"
import: "android.hardware.boot@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getNumberSlots"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "getCurrentSlot"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "markBootSuccessful"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::boot::V1_0::CommandResult"
}
}
api: {
name: "setActiveBootSlot"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::boot::V1_0::CommandResult"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "setSlotAsUnbootable"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::boot::V1_0::CommandResult"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "isSlotBootable"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::boot::V1_0::BoolResult"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "isSlotMarkedSuccessful"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::boot::V1_0::BoolResult"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "getSuffix"
return_type_hidl: {
type: TYPE_STRING
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
}

View File

@@ -1,42 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.boot"
attribute: {
name: "::android::hardware::boot::V1_0::CommandResult"
type: TYPE_STRUCT
struct_value: {
name: "success"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "errMsg"
type: TYPE_STRING
}
}
attribute: {
name: "::android::hardware::boot::V1_0::BoolResult"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "FALSE"
scalar_value: {
int32_t: 0
}
enumerator: "TRUE"
scalar_value: {
int32_t: 1
}
enumerator: "INVALID_SLOT"
scalar_value: {
int32_t: -1
}
}
}

View File

@@ -1,147 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IContexthub"
package: "android.hardware.contexthub"
import: "android.hardware.contexthub@1.0::IContexthubCallback"
import: "android.hardware.contexthub@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getHubs"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::ContextHub"
}
}
}
api: {
name: "registerCallback"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::contexthub::V1_0::IContexthubCallback"
}
}
api: {
name: "sendMessageToHub"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg"
}
}
api: {
name: "loadNanoApp"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::NanoAppBinary"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "unloadNanoApp"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "enableNanoApp"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "disableNanoApp"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "queryApps"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
}

View File

@@ -1,62 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IContexthubCallback"
package: "android.hardware.contexthub"
import: "android.hardware.contexthub@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "handleClientMsg"
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::ContextHubMsg"
}
}
api: {
name: "handleTxnResult"
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::TransactionResult"
}
}
api: {
name: "handleHubEvent"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::AsyncEventType"
}
}
api: {
name: "handleAppAbort"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "handleAppsInfo"
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::HubAppInfo"
}
}
}
}

View File

@@ -1,477 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.contexthub"
attribute: {
name: "::android::hardware::contexthub::V1_0::Result"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "OK"
scalar_value: {
uint32_t: 0
}
enumerator: "UNKNOWN_FAILURE"
scalar_value: {
uint32_t: 1
}
enumerator: "BAD_PARAMS"
scalar_value: {
uint32_t: 2
}
enumerator: "NOT_INIT"
scalar_value: {
uint32_t: 3
}
enumerator: "TRANSACTION_FAILED"
scalar_value: {
uint32_t: 4
}
enumerator: "TRANSACTION_PENDING"
scalar_value: {
uint32_t: 5
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::NanoAppFlags"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "SIGNED"
scalar_value: {
uint32_t: 1
}
enumerator: "ENCRYPTED"
scalar_value: {
uint32_t: 2
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::NanoAppBinary"
type: TYPE_STRUCT
struct_value: {
name: "appId"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "appVersion"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "flags"
type: TYPE_MASK
scalar_type: "uint32_t"
predefined_type: "::android::hardware::contexthub::V1_0::NanoAppFlags"
}
struct_value: {
name: "targetChreApiMajorVersion"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "targetChreApiMinorVersion"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "customBinary"
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::SensorType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "RESERVED"
scalar_value: {
uint32_t: 0
}
enumerator: "ACCELEROMETER"
scalar_value: {
uint32_t: 1
}
enumerator: "GYROSCOPE"
scalar_value: {
uint32_t: 2
}
enumerator: "MAGNETOMETER"
scalar_value: {
uint32_t: 3
}
enumerator: "BAROMETER"
scalar_value: {
uint32_t: 4
}
enumerator: "PROXIMITY_SENSOR"
scalar_value: {
uint32_t: 5
}
enumerator: "AMBIENT_LIGHT_SENSOR"
scalar_value: {
uint32_t: 6
}
enumerator: "STATIONARY_DETECT"
scalar_value: {
uint32_t: 7
}
enumerator: "INSTANT_MOTION_DETECT"
scalar_value: {
uint32_t: 8
}
enumerator: "GPS"
scalar_value: {
uint32_t: 256
}
enumerator: "WIFI"
scalar_value: {
uint32_t: 512
}
enumerator: "AUDIO"
scalar_value: {
uint32_t: 768
}
enumerator: "CAMERA"
scalar_value: {
uint32_t: 1024
}
enumerator: "BLE"
scalar_value: {
uint32_t: 1280
}
enumerator: "WWAN"
scalar_value: {
uint32_t: 1536
}
enumerator: "PRIVATE_SENSOR_BASE"
scalar_value: {
uint32_t: 65536
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::PhysicalSensor"
type: TYPE_STRUCT
struct_value: {
name: "sensorType"
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::SensorType"
}
struct_value: {
name: "type"
type: TYPE_STRING
}
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "vendor"
type: TYPE_STRING
}
struct_value: {
name: "version"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "fifoReservedCount"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "fifoMaxCount"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "minDelayMs"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "maxDelayMs"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "peakPowerMw"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::ContextHub"
type: TYPE_STRUCT
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "vendor"
type: TYPE_STRING
}
struct_value: {
name: "toolchain"
type: TYPE_STRING
}
struct_value: {
name: "platformVersion"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "toolchainVersion"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "hubId"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "peakMips"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "stoppedPowerDrawMw"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "sleepPowerDrawMw"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "peakPowerDrawMw"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "connectedSensors"
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::PhysicalSensor"
}
}
struct_value: {
name: "maxSupportedMsgLen"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "chrePlatformId"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "chreApiMajorVersion"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "chreApiMinorVersion"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "chrePatchVersion"
type: TYPE_SCALAR
scalar_type: "uint16_t"
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::HostEndPoint"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint16_t"
enumerator: "BROADCAST"
scalar_value: {
uint16_t: 65535
}
enumerator: "UNSPECIFIED"
scalar_value: {
uint16_t: 65534
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::ContextHubMsg"
type: TYPE_STRUCT
struct_value: {
name: "appName"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "hostEndPoint"
type: TYPE_SCALAR
scalar_type: "uint16_t"
}
struct_value: {
name: "msgType"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "msg"
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::HubMemoryType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "MAIN"
scalar_value: {
uint32_t: 0
}
enumerator: "SECONDARY"
scalar_value: {
uint32_t: 1
}
enumerator: "TCM"
scalar_value: {
uint32_t: 2
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::HubMemoryFlag"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "READ"
scalar_value: {
uint32_t: 1
}
enumerator: "WRITE"
scalar_value: {
uint32_t: 2
}
enumerator: "EXEC"
scalar_value: {
uint32_t: 4
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::MemRange"
type: TYPE_STRUCT
struct_value: {
name: "totalBytes"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "freeBytes"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::contexthub::V1_0::HubMemoryType"
}
struct_value: {
name: "flags"
type: TYPE_MASK
scalar_type: "uint32_t"
predefined_type: "::android::hardware::contexthub::V1_0::HubMemoryFlag"
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::AsyncEventType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "RESTARTED"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::TransactionResult"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SUCCESS"
scalar_value: {
int32_t: 0
}
enumerator: "FAILURE"
scalar_value: {
int32_t: 1
}
}
}
attribute: {
name: "::android::hardware::contexthub::V1_0::HubAppInfo"
type: TYPE_STRUCT
struct_value: {
name: "appId"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "version"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "memUsage"
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::contexthub::V1_0::MemRange"
}
}
struct_value: {
name: "enabled"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}

View File

@@ -1,94 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IGatekeeper"
package: "android.hardware.gatekeeper"
import: "android.hardware.gatekeeper@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "enroll"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "verify"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
api: {
name: "deleteUser"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "deleteAllUsers"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse"
}
}
}

View File

@@ -1,59 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.gatekeeper"
attribute: {
name: "::android::hardware::gatekeeper::V1_0::GatekeeperStatusCode"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "STATUS_REENROLL"
scalar_value: {
int32_t: 1
}
enumerator: "STATUS_OK"
scalar_value: {
int32_t: 0
}
enumerator: "ERROR_GENERAL_FAILURE"
scalar_value: {
int32_t: -1
}
enumerator: "ERROR_RETRY_TIMEOUT"
scalar_value: {
int32_t: -2
}
enumerator: "ERROR_NOT_IMPLEMENTED"
scalar_value: {
int32_t: -3
}
}
}
attribute: {
name: "::android::hardware::gatekeeper::V1_0::GatekeeperResponse"
type: TYPE_STRUCT
struct_value: {
name: "code"
type: TYPE_ENUM
predefined_type: "::android::hardware::gatekeeper::V1_0::GatekeeperStatusCode"
}
struct_value: {
name: "timeout"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "data"
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}

View File

@@ -1,88 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "IAllocator"
package: "android.hardware.graphics.allocator"
import: "android.hardware.graphics.allocator@2.0::IAllocatorClient"
import: "android.hardware.graphics.allocator@2.0::types"
import: "android.hardware.graphics.common@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::allocator::V2_0::IAllocator::Capability"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "TEST_ALLOCATE"
scalar_value: {
int32_t: 1
}
enumerator: "LAYERED_BUFFERS"
scalar_value: {
int32_t: 2
}
}
}
api: {
name: "getCapabilities"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocator::Capability"
}
}
callflow: {
entry: true
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "dumpDebugInfo"
return_type_hidl: {
type: TYPE_STRING
}
callflow: {
entry: true
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "createClient"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_HIDL_INTERFACE
predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient"
}
callflow: {
entry: true
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,170 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "IAllocatorClient"
package: "android.hardware.graphics.allocator"
import: "android.hardware.graphics.allocator@2.0::types"
import: "android.hardware.graphics.common@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient::BufferDescriptorInfo"
type: TYPE_STRUCT
struct_value: {
name: "width"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "height"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "layerCount"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "format"
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
}
struct_value: {
name: "producerUsageMask"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "consumerUsageMask"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
api: {
name: "createDescriptor"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::graphics::allocator::V2_0::IAllocatorClient::BufferDescriptorInfo"
}
callflow: {
entry: true
}
callflow: {
next: "*"
}
}
api: {
name: "destroyDescriptor"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "testAllocate"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
callflow: {
next: "allocate"
}
}
api: {
name: "allocate"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
callflow: {
next: "exportHandle"
}
}
api: {
name: "free"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "exportHandle"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_HANDLE
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "free"
}
}
}

View File

@@ -1,142 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "types"
package: "android.hardware.graphics.allocator"
attribute: {
name: "::android::hardware::graphics::allocator::V2_0::Error"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "NONE"
scalar_value: {
int32_t: 0
}
enumerator: "BAD_DESCRIPTOR"
scalar_value: {
int32_t: 1
}
enumerator: "BAD_BUFFER"
scalar_value: {
int32_t: 2
}
enumerator: "BAD_VALUE"
scalar_value: {
int32_t: 3
}
enumerator: "NOT_SHARED"
scalar_value: {
int32_t: 4
}
enumerator: "NO_RESOURCES"
scalar_value: {
int32_t: 5
}
enumerator: "UNDEFINED"
scalar_value: {
int32_t: 6
}
enumerator: "UNSUPPORTED"
scalar_value: {
int32_t: 7
}
}
}
attribute: {
name: "::android::hardware::graphics::allocator::V2_0::ProducerUsage"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint64_t"
enumerator: "CPU_READ"
scalar_value: {
uint64_t: 2
}
enumerator: "CPU_READ_OFTEN"
scalar_value: {
uint64_t: 4
}
enumerator: "CPU_WRITE"
scalar_value: {
uint64_t: 32
}
enumerator: "CPU_WRITE_OFTEN"
scalar_value: {
uint64_t: 64
}
enumerator: "GPU_RENDER_TARGET"
scalar_value: {
uint64_t: 512
}
enumerator: "PROTECTED"
scalar_value: {
uint64_t: 16384
}
enumerator: "CAMERA"
scalar_value: {
uint64_t: 131072
}
enumerator: "VIDEO_DECODER"
scalar_value: {
uint64_t: 4194304
}
enumerator: "SENSOR_DIRECT_DATA"
scalar_value: {
uint64_t: 8388608
}
}
}
attribute: {
name: "::android::hardware::graphics::allocator::V2_0::ConsumerUsage"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint64_t"
enumerator: "CPU_READ"
scalar_value: {
uint64_t: 2
}
enumerator: "CPU_READ_OFTEN"
scalar_value: {
uint64_t: 4
}
enumerator: "GPU_TEXTURE"
scalar_value: {
uint64_t: 256
}
enumerator: "HWCOMPOSER"
scalar_value: {
uint64_t: 2048
}
enumerator: "CLIENT_TARGET"
scalar_value: {
uint64_t: 4096
}
enumerator: "CURSOR"
scalar_value: {
uint64_t: 32768
}
enumerator: "VIDEO_ENCODER"
scalar_value: {
uint64_t: 65536
}
enumerator: "CAMERA"
scalar_value: {
uint64_t: 262144
}
enumerator: "RENDERSCRIPT"
scalar_value: {
uint64_t: 1048576
}
enumerator: "GPU_DATA_BUFFER"
scalar_value: {
uint64_t: 8388608
}
}
}

View File

@@ -1,89 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "IComposer"
package: "android.hardware.graphics.composer"
import: "android.hardware.graphics.common@1.0::types"
import: "android.hardware.graphics.composer@2.1::IComposerCallback"
import: "android.hardware.graphics.composer@2.1::IComposerClient"
import: "android.hardware.graphics.composer@2.1::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposer::Capability"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "SIDEBAND_STREAM"
scalar_value: {
int32_t: 1
}
enumerator: "SKIP_CLIENT_COLOR_TRANSFORM"
scalar_value: {
int32_t: 2
}
}
}
api: {
name: "getCapabilities"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposer::Capability"
}
}
callflow: {
entry: true
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "dumpDebugInfo"
return_type_hidl: {
type: TYPE_STRING
}
callflow: {
entry: true
}
callflow: {
exit: true
}
callflow: {
next: "*"
}
}
api: {
name: "createClient"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_HIDL_INTERFACE
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient"
}
callflow: {
entry: true
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,73 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "IComposerCallback"
package: "android.hardware.graphics.composer"
import: "android.hardware.graphics.composer@2.1::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "CONNECTED"
scalar_value: {
int32_t: 1
}
enumerator: "DISCONNECTED"
scalar_value: {
int32_t: 2
}
}
}
api: {
name: "onHotplug"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback::Connection"
}
callflow: {
next: "*"
}
}
api: {
name: "onRefresh"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "onVsync"
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int64_t"
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,916 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "IComposerClient"
package: "android.hardware.graphics.composer"
import: "android.hardware.graphics.common@1.0::types"
import: "android.hardware.graphics.composer@2.1::IComposerCallback"
import: "android.hardware.graphics.composer@2.1::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "WIDTH"
scalar_value: {
int32_t: 1
}
enumerator: "HEIGHT"
scalar_value: {
int32_t: 2
}
enumerator: "VSYNC_PERIOD"
scalar_value: {
int32_t: 3
}
enumerator: "DPI_X"
scalar_value: {
int32_t: 4
}
enumerator: "DPI_Y"
scalar_value: {
int32_t: 5
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayRequest"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "FLIP_CLIENT_TARGET"
scalar_value: {
uint32_t: 1
}
enumerator: "WRITE_CLIENT_TARGET_TO_OUTPUT"
scalar_value: {
uint32_t: 2
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::LayerRequest"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "CLEAR_CLIENT_TARGET"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "OFF"
scalar_value: {
int32_t: 0
}
enumerator: "DOZE"
scalar_value: {
int32_t: 1
}
enumerator: "DOZE_SUSPEND"
scalar_value: {
int32_t: 3
}
enumerator: "ON"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "ENABLE"
scalar_value: {
int32_t: 1
}
enumerator: "DISABLE"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::BlendMode"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "NONE"
scalar_value: {
int32_t: 1
}
enumerator: "PREMULTIPLIED"
scalar_value: {
int32_t: 2
}
enumerator: "COVERAGE"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Composition"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "CLIENT"
scalar_value: {
int32_t: 1
}
enumerator: "DEVICE"
scalar_value: {
int32_t: 2
}
enumerator: "SOLID_COLOR"
scalar_value: {
int32_t: 3
}
enumerator: "CURSOR"
scalar_value: {
int32_t: 4
}
enumerator: "SIDEBAND"
scalar_value: {
int32_t: 5
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "PHYSICAL"
scalar_value: {
int32_t: 1
}
enumerator: "VIRTUAL"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::HandleIndex"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "EMPTY"
scalar_value: {
int32_t: -1
}
enumerator: "CACHED"
scalar_value: {
int32_t: -2
}
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Rect"
type: TYPE_STRUCT
struct_value: {
name: "left"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "top"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "right"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "bottom"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::FRect"
type: TYPE_STRUCT
struct_value: {
name: "left"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "top"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "right"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "bottom"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Color"
type: TYPE_STRUCT
struct_value: {
name: "r"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "g"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "b"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
struct_value: {
name: "a"
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
attribute: {
name: "::android::hardware::graphics::composer::V2_1::IComposerClient::Command"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "LENGTH_MASK"
scalar_value: {
int32_t: 65535
}
enumerator: "OPCODE_SHIFT"
scalar_value: {
int32_t: 16
}
enumerator: "OPCODE_MASK"
scalar_value: {
int32_t: -65536
}
enumerator: "SELECT_DISPLAY"
scalar_value: {
int32_t: 0
}
enumerator: "SELECT_LAYER"
scalar_value: {
int32_t: 65536
}
enumerator: "SET_ERROR"
scalar_value: {
int32_t: 16777216
}
enumerator: "SET_CHANGED_COMPOSITION_TYPES"
scalar_value: {
int32_t: 16842752
}
enumerator: "SET_DISPLAY_REQUESTS"
scalar_value: {
int32_t: 16908288
}
enumerator: "SET_PRESENT_FENCE"
scalar_value: {
int32_t: 16973824
}
enumerator: "SET_RELEASE_FENCES"
scalar_value: {
int32_t: 17039360
}
enumerator: "SET_COLOR_TRANSFORM"
scalar_value: {
int32_t: 33554432
}
enumerator: "SET_CLIENT_TARGET"
scalar_value: {
int32_t: 33619968
}
enumerator: "SET_OUTPUT_BUFFER"
scalar_value: {
int32_t: 33685504
}
enumerator: "VALIDATE_DISPLAY"
scalar_value: {
int32_t: 33751040
}
enumerator: "ACCEPT_DISPLAY_CHANGES"
scalar_value: {
int32_t: 33816576
}
enumerator: "PRESENT_DISPLAY"
scalar_value: {
int32_t: 33882112
}
enumerator: "SET_LAYER_CURSOR_POSITION"
scalar_value: {
int32_t: 50331648
}
enumerator: "SET_LAYER_BUFFER"
scalar_value: {
int32_t: 50397184
}
enumerator: "SET_LAYER_SURFACE_DAMAGE"
scalar_value: {
int32_t: 50462720
}
enumerator: "SET_LAYER_BLEND_MODE"
scalar_value: {
int32_t: 67108864
}
enumerator: "SET_LAYER_COLOR"
scalar_value: {
int32_t: 67174400
}
enumerator: "SET_LAYER_COMPOSITION_TYPE"
scalar_value: {
int32_t: 67239936
}
enumerator: "SET_LAYER_DATASPACE"
scalar_value: {
int32_t: 67305472
}
enumerator: "SET_LAYER_DISPLAY_FRAME"
scalar_value: {
int32_t: 67371008
}
enumerator: "SET_LAYER_PLANE_ALPHA"
scalar_value: {
int32_t: 67436544
}
enumerator: "SET_LAYER_SIDEBAND_STREAM"
scalar_value: {
int32_t: 67502080
}
enumerator: "SET_LAYER_SOURCE_CROP"
scalar_value: {
int32_t: 67567616
}
enumerator: "SET_LAYER_TRANSFORM"
scalar_value: {
int32_t: 67633152
}
enumerator: "SET_LAYER_VISIBLE_REGION"
scalar_value: {
int32_t: 67698688
}
enumerator: "SET_LAYER_Z_ORDER"
scalar_value: {
int32_t: 67764224
}
}
}
api: {
name: "registerCallback"
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerCallback"
}
callflow: {
entry: true
}
callflow: {
next: "*"
}
}
api: {
name: "getMaxVirtualDisplayCount"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "createVirtualDisplay"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "destroyVirtualDisplay"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "createLayer"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "destroyLayer"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getActiveConfig"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getClientTargetSupport"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::Dataspace"
}
callflow: {
next: "*"
}
}
api: {
name: "getColorModes"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getDisplayAttribute"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Attribute"
}
callflow: {
next: "*"
}
}
api: {
name: "getDisplayConfigs"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getDisplayName"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_STRING
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getDisplayType"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::DisplayType"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getDozeSupport"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getHdrCapabilities"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::Hdr"
}
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
callflow: {
next: "*"
}
}
api: {
name: "setClientTargetSlotCount"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "setActiveConfig"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "setColorMode"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::ColorMode"
}
callflow: {
next: "*"
}
}
api: {
name: "setPowerMode"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::PowerMode"
}
callflow: {
next: "*"
}
}
api: {
name: "setVsyncEnabled"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::IComposerClient::Vsync"
}
callflow: {
next: "*"
}
}
api: {
name: "setInputCommandQueue"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
arg: {
type: TYPE_FMQ_SYNC
fmq_value: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
callflow: {
next: "*"
}
}
api: {
name: "getOutputCommandQueue"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_FMQ_SYNC
fmq_value: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
callflow: {
next: "*"
}
}
api: {
name: "executeCommands"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::composer::V2_1::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_HANDLE
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_HANDLE
}
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,48 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.1
component_name: "types"
package: "android.hardware.graphics.composer"
attribute: {
name: "::android::hardware::graphics::composer::V2_1::Error"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "NONE"
scalar_value: {
int32_t: 0
}
enumerator: "BAD_CONFIG"
scalar_value: {
int32_t: 1
}
enumerator: "BAD_DISPLAY"
scalar_value: {
int32_t: 2
}
enumerator: "BAD_LAYER"
scalar_value: {
int32_t: 3
}
enumerator: "BAD_PARAMETER"
scalar_value: {
int32_t: 4
}
enumerator: "NO_RESOURCES"
scalar_value: {
int32_t: 6
}
enumerator: "NOT_VALIDATED"
scalar_value: {
int32_t: 7
}
enumerator: "UNSUPPORTED"
scalar_value: {
int32_t: 8
}
}
}

View File

@@ -1,281 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "IMapper"
package: "android.hardware.graphics.mapper"
import: "android.hardware.graphics.allocator@2.0::types"
import: "android.hardware.graphics.common@1.0::types"
import: "android.hardware.graphics.mapper@2.0::types"
import: "android.hidl.base@1.0::types"
interface: {
attribute: {
name: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
type: TYPE_STRUCT
struct_value: {
name: "left"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "top"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "width"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "height"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "retain"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
entry: true
}
callflow: {
next: "*"
}
}
api: {
name: "release"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
exit: true
}
}
api: {
name: "getDimensions"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getFormat"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::common::V1_0::PixelFormat"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getLayerCount"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getProducerUsageMask"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getConsumerUsageMask"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getBackingStore"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "getStride"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
api: {
name: "lock"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_POINTER
}
arg: {
type: TYPE_HANDLE
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "unlock"
}
}
api: {
name: "lockFlex"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexLayout"
}
arg: {
type: TYPE_HANDLE
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::graphics::mapper::V2_0::IMapper::Rect"
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "unlock"
}
}
api: {
name: "unlock"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::allocator::V2_0::Error"
}
return_type_hidl: {
type: TYPE_HANDLE
}
arg: {
type: TYPE_HANDLE
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,139 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "types"
package: "android.hardware.graphics.mapper"
attribute: {
name: "::android::hardware::graphics::mapper::V2_0::FlexComponent"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "Y"
scalar_value: {
int32_t: 1
}
enumerator: "CB"
scalar_value: {
int32_t: 2
}
enumerator: "CR"
scalar_value: {
int32_t: 4
}
enumerator: "R"
scalar_value: {
int32_t: 1024
}
enumerator: "G"
scalar_value: {
int32_t: 2048
}
enumerator: "B"
scalar_value: {
int32_t: 4096
}
enumerator: "A"
scalar_value: {
int32_t: 1073741824
}
}
}
attribute: {
name: "::android::hardware::graphics::mapper::V2_0::FlexFormat"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INVALID"
scalar_value: {
int32_t: 0
}
enumerator: "Y"
scalar_value: {
int32_t: 1
}
enumerator: "YCBCR"
scalar_value: {
int32_t: 7
}
enumerator: "YCBCRA"
scalar_value: {
int32_t: 1073741831
}
enumerator: "RGB"
scalar_value: {
int32_t: 7168
}
enumerator: "RGBA"
scalar_value: {
int32_t: 1073748992
}
}
}
attribute: {
name: "::android::hardware::graphics::mapper::V2_0::FlexPlane"
type: TYPE_STRUCT
struct_value: {
name: "topLeft"
type: TYPE_POINTER
}
struct_value: {
name: "component"
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexComponent"
}
struct_value: {
name: "bitsPerComponent"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "bitsUsed"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "hIncrement"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "vIncrement"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "hSubsampling"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "vSubsampling"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
attribute: {
name: "::android::hardware::graphics::mapper::V2_0::FlexLayout"
type: TYPE_STRUCT
struct_value: {
name: "format"
type: TYPE_ENUM
predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexFormat"
}
struct_value: {
name: "planes"
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::graphics::mapper::V2_0::FlexPlane"
}
}
}

View File

@@ -1,38 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "ILight"
package: "android.hardware.light"
import: "android.hardware.light@2.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "setLight"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::light::V2_0::Status"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::light::V2_0::Type"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::light::V2_0::LightState"
}
}
api: {
name: "getSupportedTypes"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_ENUM
predefined_type: "::android::hardware::light::V2_0::Type"
}
}
}
}

View File

@@ -1,149 +0,0 @@
component_class: HAL_HIDL
component_type_version: 2.0
component_name: "types"
package: "android.hardware.light"
attribute: {
name: "::android::hardware::light::V2_0::Status"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SUCCESS"
scalar_value: {
int32_t: 0
}
enumerator: "LIGHT_NOT_SUPPORTED"
scalar_value: {
int32_t: 1
}
enumerator: "BRIGHTNESS_NOT_SUPPORTED"
scalar_value: {
int32_t: 2
}
enumerator: "UNKNOWN"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::light::V2_0::Flash"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "NONE"
scalar_value: {
int32_t: 0
}
enumerator: "TIMED"
scalar_value: {
int32_t: 1
}
enumerator: "HARDWARE"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::light::V2_0::Brightness"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "USER"
scalar_value: {
int32_t: 0
}
enumerator: "SENSOR"
scalar_value: {
int32_t: 1
}
enumerator: "LOW_PERSISTENCE"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::light::V2_0::Type"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "BACKLIGHT"
scalar_value: {
int32_t: 0
}
enumerator: "KEYBOARD"
scalar_value: {
int32_t: 1
}
enumerator: "BUTTONS"
scalar_value: {
int32_t: 2
}
enumerator: "BATTERY"
scalar_value: {
int32_t: 3
}
enumerator: "NOTIFICATIONS"
scalar_value: {
int32_t: 4
}
enumerator: "ATTENTION"
scalar_value: {
int32_t: 5
}
enumerator: "BLUETOOTH"
scalar_value: {
int32_t: 6
}
enumerator: "WIFI"
scalar_value: {
int32_t: 7
}
enumerator: "COUNT"
scalar_value: {
int32_t: 8
}
}
}
attribute: {
name: "::android::hardware::light::V2_0::LightState"
type: TYPE_STRUCT
struct_value: {
name: "color"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "flashMode"
type: TYPE_ENUM
predefined_type: "::android::hardware::light::V2_0::Flash"
}
struct_value: {
name: "flashOnMs"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "flashOffMs"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "brightnessMode"
type: TYPE_ENUM
predefined_type: "::android::hardware::light::V2_0::Brightness"
}
}

View File

@@ -1,34 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IMemtrack"
package: "android.hardware.memtrack"
import: "android.hardware.memtrack@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getMemory"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::memtrack::V1_0::MemtrackStatus"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::memtrack::V1_0::MemtrackRecord"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::memtrack::V1_0::MemtrackType"
}
}
}

View File

@@ -1,121 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.memtrack"
attribute: {
name: "::android::hardware::memtrack::V1_0::MemtrackFlag"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "SMAPS_ACCOUNTED"
scalar_value: {
uint32_t: 2
}
enumerator: "SMAPS_UNACCOUNTED"
scalar_value: {
uint32_t: 4
}
enumerator: "SHARED"
scalar_value: {
uint32_t: 8
}
enumerator: "SHARED_PSS"
scalar_value: {
uint32_t: 16
}
enumerator: "PRIVATE"
scalar_value: {
uint32_t: 32
}
enumerator: "SYSTEM"
scalar_value: {
uint32_t: 64
}
enumerator: "DEDICATED"
scalar_value: {
uint32_t: 128
}
enumerator: "NONSECURE"
scalar_value: {
uint32_t: 256
}
enumerator: "SECURE"
scalar_value: {
uint32_t: 512
}
}
}
attribute: {
name: "::android::hardware::memtrack::V1_0::MemtrackType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "OTHER"
scalar_value: {
uint32_t: 0
}
enumerator: "GL"
scalar_value: {
uint32_t: 1
}
enumerator: "GRAPHICS"
scalar_value: {
uint32_t: 2
}
enumerator: "MULTIMEDIA"
scalar_value: {
uint32_t: 3
}
enumerator: "CAMERA"
scalar_value: {
uint32_t: 4
}
enumerator: "NUM_TYPES"
scalar_value: {
uint32_t: 5
}
}
}
attribute: {
name: "::android::hardware::memtrack::V1_0::MemtrackStatus"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "SUCCESS"
scalar_value: {
uint32_t: 0
}
enumerator: "MEMORY_TRACKING_NOT_SUPPORTED"
scalar_value: {
uint32_t: 1
}
enumerator: "TYPE_NOT_SUPPORTED"
scalar_value: {
uint32_t: 2
}
}
}
attribute: {
name: "::android::hardware::memtrack::V1_0::MemtrackRecord"
type: TYPE_STRUCT
struct_value: {
name: "sizeInBytes"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "flags"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}

View File

@@ -1,58 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IPower"
package: "android.hardware.power"
import: "android.hardware.power@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "setInteractive"
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "powerHint"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::power::V1_0::PowerHint"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "setFeature"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::power::V1_0::Feature"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "getPlatformLowPowerStats"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::power::V1_0::PowerStatePlatformSleepState"
}
}
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::power::V1_0::Status"
}
}
}

View File

@@ -1,129 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.power"
attribute: {
name: "::android::hardware::power::V1_0::PowerHint"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "VSYNC"
scalar_value: {
uint32_t: 1
}
enumerator: "INTERACTION"
scalar_value: {
uint32_t: 2
}
enumerator: "VIDEO_ENCODE"
scalar_value: {
uint32_t: 3
}
enumerator: "VIDEO_DECODE"
scalar_value: {
uint32_t: 4
}
enumerator: "LOW_POWER"
scalar_value: {
uint32_t: 5
}
enumerator: "SUSTAINED_PERFORMANCE"
scalar_value: {
uint32_t: 6
}
enumerator: "VR_MODE"
scalar_value: {
uint32_t: 7
}
enumerator: "LAUNCH"
scalar_value: {
uint32_t: 8
}
}
}
attribute: {
name: "::android::hardware::power::V1_0::Feature"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "POWER_FEATURE_DOUBLE_TAP_TO_WAKE"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::power::V1_0::Status"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "SUCCESS"
scalar_value: {
uint32_t: 0
}
enumerator: "FILESYSTEM_ERROR"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::power::V1_0::PowerStateVoter"
type: TYPE_STRUCT
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "totalTimeInMsecVotedForSinceBoot"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "totalNumberOfTimesVotedSinceBoot"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
}
attribute: {
name: "::android::hardware::power::V1_0::PowerStatePlatformSleepState"
type: TYPE_STRUCT
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "residencyInMsecSinceBoot"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "totalTransitions"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "supportedOnlyInSuspend"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "voters"
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::power::V1_0::PowerStateVoter"
}
}
}

View File

@@ -1,172 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "ISensors"
package: "android.hardware.sensors"
import: "android.hardware.sensors@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getSensorsList"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::SensorInfo"
}
}
}
api: {
name: "setOperationMode"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::OperationMode"
}
}
api: {
name: "activate"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
api: {
name: "poll"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::Event"
}
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::SensorInfo"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "batch"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int64_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int64_t"
}
}
api: {
name: "flush"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "injectSensorData"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::Event"
}
}
api: {
name: "registerDirectChannel"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::SharedMemInfo"
}
}
api: {
name: "unregisterDirectChannel"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
api: {
name: "configDirectReport"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::Result"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::RateLevel"
}
}
}

View File

@@ -1,901 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.sensors"
attribute: {
name: "::android::hardware::sensors::V1_0::Result"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "OK"
scalar_value: {
int32_t: 0
}
enumerator: "PERMISSION_DENIED"
scalar_value: {
int32_t: -1
}
enumerator: "NO_MEMORY"
scalar_value: {
int32_t: -12
}
enumerator: "BAD_VALUE"
scalar_value: {
int32_t: -22
}
enumerator: "INVALID_OPERATION"
scalar_value: {
int32_t: -38
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::OperationMode"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "NORMAL"
scalar_value: {
int32_t: 0
}
enumerator: "DATA_INJECTION"
scalar_value: {
int32_t: 1
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "META_DATA"
scalar_value: {
int32_t: 0
}
enumerator: "ACCELEROMETER"
scalar_value: {
int32_t: 1
}
enumerator: "MAGNETIC_FIELD"
scalar_value: {
int32_t: 2
}
enumerator: "ORIENTATION"
scalar_value: {
int32_t: 3
}
enumerator: "GYROSCOPE"
scalar_value: {
int32_t: 4
}
enumerator: "LIGHT"
scalar_value: {
int32_t: 5
}
enumerator: "PRESSURE"
scalar_value: {
int32_t: 6
}
enumerator: "TEMPERATURE"
scalar_value: {
int32_t: 7
}
enumerator: "PROXIMITY"
scalar_value: {
int32_t: 8
}
enumerator: "GRAVITY"
scalar_value: {
int32_t: 9
}
enumerator: "LINEAR_ACCELERATION"
scalar_value: {
int32_t: 10
}
enumerator: "ROTATION_VECTOR"
scalar_value: {
int32_t: 11
}
enumerator: "RELATIVE_HUMIDITY"
scalar_value: {
int32_t: 12
}
enumerator: "AMBIENT_TEMPERATURE"
scalar_value: {
int32_t: 13
}
enumerator: "MAGNETIC_FIELD_UNCALIBRATED"
scalar_value: {
int32_t: 14
}
enumerator: "GAME_ROTATION_VECTOR"
scalar_value: {
int32_t: 15
}
enumerator: "GYROSCOPE_UNCALIBRATED"
scalar_value: {
int32_t: 16
}
enumerator: "SIGNIFICANT_MOTION"
scalar_value: {
int32_t: 17
}
enumerator: "STEP_DETECTOR"
scalar_value: {
int32_t: 18
}
enumerator: "STEP_COUNTER"
scalar_value: {
int32_t: 19
}
enumerator: "GEOMAGNETIC_ROTATION_VECTOR"
scalar_value: {
int32_t: 20
}
enumerator: "HEART_RATE"
scalar_value: {
int32_t: 21
}
enumerator: "TILT_DETECTOR"
scalar_value: {
int32_t: 22
}
enumerator: "WAKE_GESTURE"
scalar_value: {
int32_t: 23
}
enumerator: "GLANCE_GESTURE"
scalar_value: {
int32_t: 24
}
enumerator: "PICK_UP_GESTURE"
scalar_value: {
int32_t: 25
}
enumerator: "WRIST_TILT_GESTURE"
scalar_value: {
int32_t: 26
}
enumerator: "DEVICE_ORIENTATION"
scalar_value: {
int32_t: 27
}
enumerator: "POSE_6DOF"
scalar_value: {
int32_t: 28
}
enumerator: "STATIONARY_DETECT"
scalar_value: {
int32_t: 29
}
enumerator: "MOTION_DETECT"
scalar_value: {
int32_t: 30
}
enumerator: "HEART_BEAT"
scalar_value: {
int32_t: 31
}
enumerator: "DYNAMIC_SENSOR_META"
scalar_value: {
int32_t: 32
}
enumerator: "ADDITIONAL_INFO"
scalar_value: {
int32_t: 33
}
enumerator: "LOW_LATENCY_OFFBODY_DETECT"
scalar_value: {
int32_t: 34
}
enumerator: "ACCELEROMETER_UNCALIBRATED"
scalar_value: {
int32_t: 35
}
enumerator: "DEVICE_PRIVATE_BASE"
scalar_value: {
int32_t: 65536
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorFlagBits"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "WAKE_UP"
scalar_value: {
uint32_t: 1
}
enumerator: "CONTINUOUS_MODE"
scalar_value: {
uint32_t: 0
}
enumerator: "ON_CHANGE_MODE"
scalar_value: {
uint32_t: 2
}
enumerator: "ONE_SHOT_MODE"
scalar_value: {
uint32_t: 4
}
enumerator: "SPECIAL_REPORTING_MODE"
scalar_value: {
uint32_t: 6
}
enumerator: "DATA_INJECTION"
scalar_value: {
uint32_t: 16
}
enumerator: "DYNAMIC_SENSOR"
scalar_value: {
uint32_t: 32
}
enumerator: "ADDITIONAL_INFO"
scalar_value: {
uint32_t: 64
}
enumerator: "DIRECT_CHANNEL_ASHMEM"
scalar_value: {
uint32_t: 1024
}
enumerator: "DIRECT_CHANNEL_GRALLOC"
scalar_value: {
uint32_t: 2048
}
enumerator: "MASK_REPORTING_MODE"
scalar_value: {
uint32_t: 14
}
enumerator: "MASK_DIRECT_REPORT"
scalar_value: {
uint32_t: 896
}
enumerator: "MASK_DIRECT_CHANNEL"
scalar_value: {
uint32_t: 3072
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorFlagShift"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint8_t"
enumerator: "REPORTING_MODE"
scalar_value: {
uint8_t: 1
}
enumerator: "DATA_INJECTION"
scalar_value: {
uint8_t: 4
}
enumerator: "DYNAMIC_SENSOR"
scalar_value: {
uint8_t: 5
}
enumerator: "ADDITIONAL_INFO"
scalar_value: {
uint8_t: 6
}
enumerator: "DIRECT_REPORT"
scalar_value: {
uint8_t: 7
}
enumerator: "DIRECT_CHANNEL"
scalar_value: {
uint8_t: 10
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorInfo"
type: TYPE_STRUCT
struct_value: {
name: "sensorHandle"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "vendor"
type: TYPE_STRING
}
struct_value: {
name: "version"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SensorType"
}
struct_value: {
name: "typeAsString"
type: TYPE_STRING
}
struct_value: {
name: "maxRange"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "resolution"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "power"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "minDelay"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "fifoReservedEventCount"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "fifoMaxEventCount"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "requiredPermission"
type: TYPE_STRING
}
struct_value: {
name: "maxDelay"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "flags"
type: TYPE_MASK
scalar_type: "uint32_t"
predefined_type: "::android::hardware::sensors::V1_0::SensorFlagBits"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorStatus"
type: TYPE_ENUM
enum_value: {
scalar_type: "int8_t"
enumerator: "NO_CONTACT"
scalar_value: {
int8_t: -1
}
enumerator: "UNRELIABLE"
scalar_value: {
int8_t: 0
}
enumerator: "ACCURACY_LOW"
scalar_value: {
int8_t: 1
}
enumerator: "ACCURACY_MEDIUM"
scalar_value: {
int8_t: 2
}
enumerator: "ACCURACY_HIGH"
scalar_value: {
int8_t: 3
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::Vec3"
type: TYPE_STRUCT
struct_value: {
name: "x"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "y"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "z"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "status"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SensorStatus"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::Vec4"
type: TYPE_STRUCT
struct_value: {
name: "x"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "y"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "z"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "w"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::Uncal"
type: TYPE_STRUCT
struct_value: {
name: "x"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "y"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "z"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "x_bias"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "y_bias"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "z_bias"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::HeartRate"
type: TYPE_STRUCT
struct_value: {
name: "bpm"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "status"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SensorStatus"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::MetaDataEventType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "META_DATA_FLUSH_COMPLETE"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::MetaData"
type: TYPE_STRUCT
struct_value: {
name: "what"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::MetaDataEventType"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::DynamicSensorInfo"
type: TYPE_STRUCT
struct_value: {
name: "connected"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "sensorHandle"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "uuid"
type: TYPE_ARRAY
vector_size: 16
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::AdditionalInfoType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "AINFO_BEGIN"
scalar_value: {
uint32_t: 0
}
enumerator: "AINFO_END"
scalar_value: {
uint32_t: 1
}
enumerator: "AINFO_UNTRACKED_DELAY"
scalar_value: {
uint32_t: 65536
}
enumerator: "AINFO_INTERNAL_TEMPERATURE"
scalar_value: {
uint32_t: 65537
}
enumerator: "AINFO_VEC3_CALIBRATION"
scalar_value: {
uint32_t: 65538
}
enumerator: "AINFO_SENSOR_PLACEMENT"
scalar_value: {
uint32_t: 65539
}
enumerator: "AINFO_SAMPLING"
scalar_value: {
uint32_t: 65540
}
enumerator: "AINFO_CHANNEL_NOISE"
scalar_value: {
uint32_t: 131072
}
enumerator: "AINFO_CHANNEL_SAMPLER"
scalar_value: {
uint32_t: 131073
}
enumerator: "AINFO_CHANNEL_FILTER"
scalar_value: {
uint32_t: 131074
}
enumerator: "AINFO_CHANNEL_LINEAR_TRANSFORM"
scalar_value: {
uint32_t: 131075
}
enumerator: "AINFO_CHANNEL_NONLINEAR_MAP"
scalar_value: {
uint32_t: 131076
}
enumerator: "AINFO_CHANNEL_RESAMPLER"
scalar_value: {
uint32_t: 131077
}
enumerator: "AINFO_LOCAL_GEOMAGNETIC_FIELD"
scalar_value: {
uint32_t: 196608
}
enumerator: "AINFO_LOCAL_GRAVITY"
scalar_value: {
uint32_t: 196609
}
enumerator: "AINFO_DOCK_STATE"
scalar_value: {
uint32_t: 196610
}
enumerator: "AINFO_HIGH_PERFORMANCE_MODE"
scalar_value: {
uint32_t: 196611
}
enumerator: "AINFO_MAGNETIC_FIELD_CALIBRATION"
scalar_value: {
uint32_t: 196612
}
enumerator: "AINFO_CUSTOM_START"
scalar_value: {
uint32_t: 268435456
}
enumerator: "AINFO_DEBUGGING_START"
scalar_value: {
uint32_t: 1073741824
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::AdditionalInfo"
type: TYPE_STRUCT
sub_struct: {
name: "::android::hardware::sensors::V1_0::AdditionalInfo::Payload"
type: TYPE_UNION
union_value: {
name: "data_int32"
type: TYPE_ARRAY
vector_size: 14
vector_value: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
}
union_value: {
name: "data_float"
type: TYPE_ARRAY
vector_size: 14
vector_value: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
}
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfoType"
}
struct_value: {
name: "serial"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "u"
type: TYPE_UNION
predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfo::Payload"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::EventPayload"
type: TYPE_UNION
union_value: {
name: "vec3"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::Vec3"
}
union_value: {
name: "vec4"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::Vec4"
}
union_value: {
name: "uncal"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::Uncal"
}
union_value: {
name: "meta"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::MetaData"
}
union_value: {
name: "scalar"
type: TYPE_SCALAR
scalar_type: "float_t"
}
union_value: {
name: "stepCount"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
union_value: {
name: "heartRate"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::HeartRate"
}
union_value: {
name: "pose6DOF"
type: TYPE_ARRAY
vector_size: 15
vector_value: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
union_value: {
name: "dynamic"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::DynamicSensorInfo"
}
union_value: {
name: "additional"
type: TYPE_STRUCT
predefined_type: "::android::hardware::sensors::V1_0::AdditionalInfo"
}
union_value: {
name: "data"
type: TYPE_ARRAY
vector_size: 16
vector_value: {
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::Event"
type: TYPE_STRUCT
struct_value: {
name: "timestamp"
type: TYPE_SCALAR
scalar_type: "int64_t"
}
struct_value: {
name: "sensorHandle"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "sensorType"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SensorType"
}
struct_value: {
name: "u"
type: TYPE_UNION
predefined_type: "::android::hardware::sensors::V1_0::EventPayload"
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::RateLevel"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "STOP"
scalar_value: {
int32_t: 0
}
enumerator: "NORMAL"
scalar_value: {
int32_t: 1
}
enumerator: "FAST"
scalar_value: {
int32_t: 2
}
enumerator: "VERY_FAST"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SharedMemType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "ASHMEM"
scalar_value: {
int32_t: 1
}
enumerator: "GRALLOC"
scalar_value: {
int32_t: 2
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SharedMemFormat"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SENSORS_EVENT"
scalar_value: {
int32_t: 1
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SensorsEventFormatOffset"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint16_t"
enumerator: "SIZE_FIELD"
scalar_value: {
uint16_t: 0
}
enumerator: "REPORT_TOKEN"
scalar_value: {
uint16_t: 4
}
enumerator: "SENSOR_TYPE"
scalar_value: {
uint16_t: 8
}
enumerator: "ATOMIC_COUNTER"
scalar_value: {
uint16_t: 12
}
enumerator: "TIMESTAMP"
scalar_value: {
uint16_t: 16
}
enumerator: "DATA"
scalar_value: {
uint16_t: 24
}
enumerator: "RESERVED"
scalar_value: {
uint16_t: 88
}
enumerator: "TOTAL_LENGTH"
scalar_value: {
uint16_t: 104
}
}
}
attribute: {
name: "::android::hardware::sensors::V1_0::SharedMemInfo"
type: TYPE_STRUCT
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SharedMemType"
}
struct_value: {
name: "format"
type: TYPE_ENUM
predefined_type: "::android::hardware::sensors::V1_0::SharedMemFormat"
}
struct_value: {
name: "size"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "memoryHandle"
type: TYPE_HANDLE
}
}

View File

@@ -1,83 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IThermal"
package: "android.hardware.thermal"
import: "android.hardware.thermal@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "getTemperatures"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::Temperature"
}
}
callflow: {
next: "*"
}
callflow: {
entry: true
}
callflow: {
exit: true
}
}
api: {
name: "getCpuUsages"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::CpuUsage"
}
}
callflow: {
next: "*"
}
callflow: {
entry: true
}
callflow: {
exit: true
}
}
api: {
name: "getCoolingDevices"
return_type_hidl: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::ThermalStatus"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::thermal::V1_0::CoolingDevice"
}
}
callflow: {
next: "*"
}
callflow: {
entry: true
}
callflow: {
exit: true
}
}
}

View File

@@ -1,157 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.thermal"
attribute: {
name: "::android::hardware::thermal::V1_0::TemperatureType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "UNKNOWN"
scalar_value: {
int32_t: -1
}
enumerator: "CPU"
scalar_value: {
int32_t: 0
}
enumerator: "GPU"
scalar_value: {
int32_t: 1
}
enumerator: "BATTERY"
scalar_value: {
int32_t: 2
}
enumerator: "SKIN"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::CoolingType"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "FAN_RPM"
scalar_value: {
uint32_t: 0
}
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::Temperature"
type: TYPE_STRUCT
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::thermal::V1_0::TemperatureType"
}
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "currentValue"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "throttlingThreshold"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "shutdownThreshold"
type: TYPE_SCALAR
scalar_type: "float_t"
}
struct_value: {
name: "vrThrottlingThreshold"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::CoolingDevice"
type: TYPE_STRUCT
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::thermal::V1_0::CoolingType"
}
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "currentValue"
type: TYPE_SCALAR
scalar_type: "float_t"
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::CpuUsage"
type: TYPE_STRUCT
struct_value: {
name: "name"
type: TYPE_STRING
}
struct_value: {
name: "active"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "total"
type: TYPE_SCALAR
scalar_type: "uint64_t"
}
struct_value: {
name: "isOnline"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::ThermalStatusCode"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "SUCCESS"
scalar_value: {
uint32_t: 0
}
enumerator: "FAILURE"
scalar_value: {
uint32_t: 1
}
}
}
attribute: {
name: "::android::hardware::thermal::V1_0::ThermalStatus"
type: TYPE_STRUCT
struct_value: {
name: "code"
type: TYPE_ENUM
predefined_type: "::android::hardware::thermal::V1_0::ThermalStatusCode"
}
struct_value: {
name: "debugMessage"
type: TYPE_STRING
}
}

View File

@@ -1,172 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IHdmiCec"
package: "android.hardware.tv.cec"
import: "android.hardware.tv.cec@1.0::IHdmiCecCallback"
import: "android.hardware.tv.cec@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "addLogicalAddress"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::Result"
}
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress"
}
callflow: {
next: "*"
}
}
api: {
name: "clearLogicalAddress"
callflow: {
next: "addLogicalAddress"
}
callflow: {
exit: true
}
}
api: {
name: "getPhysicalAddress"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::Result"
}
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint16_t"
}
callflow: {
next: "*"
}
}
api: {
name: "sendMessage"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::SendMessageResult"
}
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::cec::V1_0::CecMessage"
}
callflow: {
next: "*"
}
}
api: {
name: "setCallback"
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::tv::cec::V1_0::IHdmiCecCallback"
}
callflow: {
next: "addLogicalAddress"
}
callflow: {
entry: true
}
}
api: {
name: "getCecVersion"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getVendorId"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
callflow: {
next: "*"
}
}
api: {
name: "getPortInfo"
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::cec::V1_0::HdmiPortInfo"
}
}
callflow: {
next: "*"
}
}
api: {
name: "setOption"
arg: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::OptionKey"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
callflow: {
next: "*"
}
}
api: {
name: "setLanguage"
arg: {
type: TYPE_STRING
}
callflow: {
next: "*"
}
}
api: {
name: "enableAudioReturnChannel"
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
callflow: {
next: "*"
}
}
api: {
name: "isConnected"
return_type_hidl: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
callflow: {
next: "*"
}
}
}

View File

@@ -1,27 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IHdmiCecCallback"
package: "android.hardware.tv.cec"
import: "android.hardware.tv.cec@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "onCecMessage"
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::cec::V1_0::CecMessage"
}
}
api: {
name: "onHotplugEvent"
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::cec::V1_0::HotplugEvent"
}
}
}

View File

@@ -1,604 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.tv.cec"
attribute: {
name: "::android::hardware::tv::cec::V1_0::MaxLength"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "MESSAGE_BODY"
scalar_value: {
int32_t: 15
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::CecDeviceType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INACTIVE"
scalar_value: {
int32_t: -1
}
enumerator: "TV"
scalar_value: {
int32_t: 0
}
enumerator: "RECORDER"
scalar_value: {
int32_t: 1
}
enumerator: "TUNER"
scalar_value: {
int32_t: 3
}
enumerator: "PLAYBACK"
scalar_value: {
int32_t: 4
}
enumerator: "AUDIO_SYSTEM"
scalar_value: {
int32_t: 5
}
enumerator: "MAX"
scalar_value: {
int32_t: 5
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::CecLogicalAddress"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "TV"
scalar_value: {
int32_t: 0
}
enumerator: "RECORDER_1"
scalar_value: {
int32_t: 1
}
enumerator: "RECORDER_2"
scalar_value: {
int32_t: 2
}
enumerator: "TUNER_1"
scalar_value: {
int32_t: 3
}
enumerator: "PLAYBACK_1"
scalar_value: {
int32_t: 4
}
enumerator: "AUDIO_SYSTEM"
scalar_value: {
int32_t: 5
}
enumerator: "TUNER_2"
scalar_value: {
int32_t: 6
}
enumerator: "TUNER_3"
scalar_value: {
int32_t: 7
}
enumerator: "PLAYBACK_2"
scalar_value: {
int32_t: 8
}
enumerator: "RECORDER_3"
scalar_value: {
int32_t: 9
}
enumerator: "TUNER_4"
scalar_value: {
int32_t: 10
}
enumerator: "PLAYBACK_3"
scalar_value: {
int32_t: 11
}
enumerator: "FREE_USE"
scalar_value: {
int32_t: 14
}
enumerator: "UNREGISTERED"
scalar_value: {
int32_t: 15
}
enumerator: "BROADCAST"
scalar_value: {
int32_t: 15
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::CecMessageType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "FEATURE_ABORT"
scalar_value: {
int32_t: 0
}
enumerator: "IMAGE_VIEW_ON"
scalar_value: {
int32_t: 4
}
enumerator: "TUNER_STEP_INCREMENT"
scalar_value: {
int32_t: 5
}
enumerator: "TUNER_STEP_DECREMENT"
scalar_value: {
int32_t: 6
}
enumerator: "TUNER_DEVICE_STATUS"
scalar_value: {
int32_t: 7
}
enumerator: "GIVE_TUNER_DEVICE_STATUS"
scalar_value: {
int32_t: 8
}
enumerator: "RECORD_ON"
scalar_value: {
int32_t: 9
}
enumerator: "RECORD_STATUS"
scalar_value: {
int32_t: 10
}
enumerator: "RECORD_OFF"
scalar_value: {
int32_t: 11
}
enumerator: "TEXT_VIEW_ON"
scalar_value: {
int32_t: 13
}
enumerator: "RECORD_TV_SCREEN"
scalar_value: {
int32_t: 15
}
enumerator: "GIVE_DECK_STATUS"
scalar_value: {
int32_t: 26
}
enumerator: "DECK_STATUS"
scalar_value: {
int32_t: 27
}
enumerator: "SET_MENU_LANGUAGE"
scalar_value: {
int32_t: 50
}
enumerator: "CLEAR_ANALOG_TIMER"
scalar_value: {
int32_t: 51
}
enumerator: "SET_ANALOG_TIMER"
scalar_value: {
int32_t: 52
}
enumerator: "TIMER_STATUS"
scalar_value: {
int32_t: 53
}
enumerator: "STANDBY"
scalar_value: {
int32_t: 54
}
enumerator: "PLAY"
scalar_value: {
int32_t: 65
}
enumerator: "DECK_CONTROL"
scalar_value: {
int32_t: 66
}
enumerator: "TIMER_CLEARED_STATUS"
scalar_value: {
int32_t: 67
}
enumerator: "USER_CONTROL_PRESSED"
scalar_value: {
int32_t: 68
}
enumerator: "USER_CONTROL_RELEASED"
scalar_value: {
int32_t: 69
}
enumerator: "GIVE_OSD_NAME"
scalar_value: {
int32_t: 70
}
enumerator: "SET_OSD_NAME"
scalar_value: {
int32_t: 71
}
enumerator: "SET_OSD_STRING"
scalar_value: {
int32_t: 100
}
enumerator: "SET_TIMER_PROGRAM_TITLE"
scalar_value: {
int32_t: 103
}
enumerator: "SYSTEM_AUDIO_MODE_REQUEST"
scalar_value: {
int32_t: 112
}
enumerator: "GIVE_AUDIO_STATUS"
scalar_value: {
int32_t: 113
}
enumerator: "SET_SYSTEM_AUDIO_MODE"
scalar_value: {
int32_t: 114
}
enumerator: "REPORT_AUDIO_STATUS"
scalar_value: {
int32_t: 122
}
enumerator: "GIVE_SYSTEM_AUDIO_MODE_STATUS"
scalar_value: {
int32_t: 125
}
enumerator: "SYSTEM_AUDIO_MODE_STATUS"
scalar_value: {
int32_t: 126
}
enumerator: "ROUTING_CHANGE"
scalar_value: {
int32_t: 128
}
enumerator: "ROUTING_INFORMATION"
scalar_value: {
int32_t: 129
}
enumerator: "ACTIVE_SOURCE"
scalar_value: {
int32_t: 130
}
enumerator: "GIVE_PHYSICAL_ADDRESS"
scalar_value: {
int32_t: 131
}
enumerator: "REPORT_PHYSICAL_ADDRESS"
scalar_value: {
int32_t: 132
}
enumerator: "REQUEST_ACTIVE_SOURCE"
scalar_value: {
int32_t: 133
}
enumerator: "SET_STREAM_PATH"
scalar_value: {
int32_t: 134
}
enumerator: "DEVICE_VENDOR_ID"
scalar_value: {
int32_t: 135
}
enumerator: "VENDOR_COMMAND"
scalar_value: {
int32_t: 137
}
enumerator: "VENDOR_REMOTE_BUTTON_DOWN"
scalar_value: {
int32_t: 138
}
enumerator: "VENDOR_REMOTE_BUTTON_UP"
scalar_value: {
int32_t: 139
}
enumerator: "GIVE_DEVICE_VENDOR_ID"
scalar_value: {
int32_t: 140
}
enumerator: "MENU_REQUEST"
scalar_value: {
int32_t: 141
}
enumerator: "MENU_STATUS"
scalar_value: {
int32_t: 142
}
enumerator: "GIVE_DEVICE_POWER_STATUS"
scalar_value: {
int32_t: 143
}
enumerator: "REPORT_POWER_STATUS"
scalar_value: {
int32_t: 144
}
enumerator: "GET_MENU_LANGUAGE"
scalar_value: {
int32_t: 145
}
enumerator: "SELECT_ANALOG_SERVICE"
scalar_value: {
int32_t: 146
}
enumerator: "SELECT_DIGITAL_SERVICE"
scalar_value: {
int32_t: 147
}
enumerator: "SET_DIGITAL_TIMER"
scalar_value: {
int32_t: 151
}
enumerator: "CLEAR_DIGITAL_TIMER"
scalar_value: {
int32_t: 153
}
enumerator: "SET_AUDIO_RATE"
scalar_value: {
int32_t: 154
}
enumerator: "INACTIVE_SOURCE"
scalar_value: {
int32_t: 157
}
enumerator: "CEC_VERSION"
scalar_value: {
int32_t: 158
}
enumerator: "GET_CEC_VERSION"
scalar_value: {
int32_t: 159
}
enumerator: "VENDOR_COMMAND_WITH_ID"
scalar_value: {
int32_t: 160
}
enumerator: "CLEAR_EXTERNAL_TIMER"
scalar_value: {
int32_t: 161
}
enumerator: "SET_EXTERNAL_TIMER"
scalar_value: {
int32_t: 162
}
enumerator: "INITIATE_ARC"
scalar_value: {
int32_t: 192
}
enumerator: "REPORT_ARC_INITIATED"
scalar_value: {
int32_t: 193
}
enumerator: "REPORT_ARC_TERMINATED"
scalar_value: {
int32_t: 194
}
enumerator: "REQUEST_ARC_INITIATION"
scalar_value: {
int32_t: 195
}
enumerator: "REQUEST_ARC_TERMINATION"
scalar_value: {
int32_t: 196
}
enumerator: "TERMINATE_ARC"
scalar_value: {
int32_t: 197
}
enumerator: "ABORT"
scalar_value: {
int32_t: 255
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::AbortReason"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "UNRECOGNIZED_MODE"
scalar_value: {
int32_t: 0
}
enumerator: "NOT_IN_CORRECT_MODE"
scalar_value: {
int32_t: 1
}
enumerator: "CANNOT_PROVIDE_SOURCE"
scalar_value: {
int32_t: 2
}
enumerator: "INVALID_OPERAND"
scalar_value: {
int32_t: 3
}
enumerator: "REFUSED"
scalar_value: {
int32_t: 4
}
enumerator: "UNABLE_TO_DETERMINE"
scalar_value: {
int32_t: 5
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::Result"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SUCCESS"
scalar_value: {
int32_t: 0
}
enumerator: "FAILURE_UNKNOWN"
scalar_value: {
int32_t: 1
}
enumerator: "FAILURE_INVALID_ARGS"
scalar_value: {
int32_t: 2
}
enumerator: "FAILURE_INVALID_STATE"
scalar_value: {
int32_t: 3
}
enumerator: "FAILURE_NOT_SUPPORTED"
scalar_value: {
int32_t: 4
}
enumerator: "FAILURE_BUSY"
scalar_value: {
int32_t: 5
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::SendMessageResult"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "SUCCESS"
scalar_value: {
int32_t: 0
}
enumerator: "NACK"
scalar_value: {
int32_t: 1
}
enumerator: "BUSY"
scalar_value: {
int32_t: 2
}
enumerator: "FAIL"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::HdmiPortType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "INPUT"
scalar_value: {
int32_t: 0
}
enumerator: "OUTPUT"
scalar_value: {
int32_t: 1
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::OptionKey"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "WAKEUP"
scalar_value: {
int32_t: 1
}
enumerator: "ENABLE_CEC"
scalar_value: {
int32_t: 2
}
enumerator: "SYSTEM_CEC_CONTROL"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::CecMessage"
type: TYPE_STRUCT
struct_value: {
name: "initiator"
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress"
}
struct_value: {
name: "destination"
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::CecLogicalAddress"
}
struct_value: {
name: "body"
type: TYPE_VECTOR
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::HotplugEvent"
type: TYPE_STRUCT
struct_value: {
name: "connected"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "portId"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
attribute: {
name: "::android::hardware::tv::cec::V1_0::HdmiPortInfo"
type: TYPE_STRUCT
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::cec::V1_0::HdmiPortType"
}
struct_value: {
name: "portId"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "cecSupported"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "arcSupported"
type: TYPE_SCALAR
scalar_type: "bool_t"
}
struct_value: {
name: "physicalAddress"
type: TYPE_SCALAR
scalar_type: "uint16_t"
}
}

View File

@@ -1,99 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "ITvInput"
package: "android.hardware.tv.input"
import: "android.hardware.audio.common@2.0::types"
import: "android.hardware.tv.input@1.0::ITvInputCallback"
import: "android.hardware.tv.input@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "setCallback"
arg: {
type: TYPE_HIDL_CALLBACK
predefined_type: "::android::hardware::tv::input::V1_0::ITvInputCallback"
}
callflow: {
entry: true
}
callflow: {
exit: true
}
callflow: {
next: "getStreamConfigurations"
}
}
api: {
name: "getStreamConfigurations"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::input::V1_0::Result"
}
return_type_hidl: {
type: TYPE_VECTOR
vector_value: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::input::V1_0::TvStreamConfig"
}
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
callflow: {
next: "openStream"
next: "getStreamConfigurations"
next: "closeStream"
}
}
api: {
name: "openStream"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::input::V1_0::Result"
}
return_type_hidl: {
type: TYPE_HANDLE
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
callflow: {
next: "closeStream"
next: "getStreamConfigurations"
next: "openStream"
}
}
api: {
name: "closeStream"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::input::V1_0::Result"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
arg: {
type: TYPE_SCALAR
scalar_type: "int32_t"
}
callflow: {
next: "getStreamConfigurations"
next: "openStream"
next: "closeStream"
}
}
}

View File

@@ -1,20 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "ITvInputCallback"
package: "android.hardware.tv.input"
import: "android.hardware.audio.common@2.0::types"
import: "android.hardware.tv.input@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "notify"
arg: {
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::input::V1_0::TvInputEvent"
}
}
}

View File

@@ -1,176 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.tv.input"
import: "android.hardware.audio.common@2.0::types"
attribute: {
name: "::android::hardware::tv::input::V1_0::Result"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "OK"
scalar_value: {
int32_t: 0
}
enumerator: "UNKNOWN"
scalar_value: {
int32_t: 1
}
enumerator: "NO_RESOURCE"
scalar_value: {
int32_t: 2
}
enumerator: "INVALID_ARGUMENTS"
scalar_value: {
int32_t: 3
}
enumerator: "INVALID_STATE"
scalar_value: {
int32_t: 4
}
}
}
attribute: {
name: "::android::hardware::tv::input::V1_0::TvInputType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "OTHER"
scalar_value: {
int32_t: 1
}
enumerator: "TUNER"
scalar_value: {
int32_t: 2
}
enumerator: "COMPOSITE"
scalar_value: {
int32_t: 3
}
enumerator: "SVIDEO"
scalar_value: {
int32_t: 4
}
enumerator: "SCART"
scalar_value: {
int32_t: 5
}
enumerator: "COMPONENT"
scalar_value: {
int32_t: 6
}
enumerator: "VGA"
scalar_value: {
int32_t: 7
}
enumerator: "DVI"
scalar_value: {
int32_t: 8
}
enumerator: "HDMI"
scalar_value: {
int32_t: 9
}
enumerator: "DISPLAY_PORT"
scalar_value: {
int32_t: 10
}
}
}
attribute: {
name: "::android::hardware::tv::input::V1_0::TvInputDeviceInfo"
type: TYPE_STRUCT
struct_value: {
name: "deviceId"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::input::V1_0::TvInputType"
}
struct_value: {
name: "portId"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "audioType"
type: TYPE_ENUM
predefined_type: "::android::hardware::audio::common::V2_0::AudioDevice"
}
struct_value: {
name: "audioAddress"
type: TYPE_ARRAY
vector_size: 32
vector_value: {
type: TYPE_SCALAR
scalar_type: "uint8_t"
}
}
}
attribute: {
name: "::android::hardware::tv::input::V1_0::TvInputEventType"
type: TYPE_ENUM
enum_value: {
scalar_type: "int32_t"
enumerator: "DEVICE_AVAILABLE"
scalar_value: {
int32_t: 1
}
enumerator: "DEVICE_UNAVAILABLE"
scalar_value: {
int32_t: 2
}
enumerator: "STREAM_CONFIGURATIONS_CHANGED"
scalar_value: {
int32_t: 3
}
}
}
attribute: {
name: "::android::hardware::tv::input::V1_0::TvInputEvent"
type: TYPE_STRUCT
struct_value: {
name: "type"
type: TYPE_ENUM
predefined_type: "::android::hardware::tv::input::V1_0::TvInputEventType"
}
struct_value: {
name: "deviceInfo"
type: TYPE_STRUCT
predefined_type: "::android::hardware::tv::input::V1_0::TvInputDeviceInfo"
}
}
attribute: {
name: "::android::hardware::tv::input::V1_0::TvStreamConfig"
type: TYPE_STRUCT
struct_value: {
name: "streamId"
type: TYPE_SCALAR
scalar_type: "int32_t"
}
struct_value: {
name: "maxVideoWidth"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
struct_value: {
name: "maxVideoHeight"
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}

View File

@@ -1,31 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IVibrator"
package: "android.hardware.vibrator"
import: "android.hardware.vibrator@1.0::types"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "on"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::vibrator::V1_0::Status"
}
arg: {
type: TYPE_SCALAR
scalar_type: "uint32_t"
}
}
api: {
name: "off"
return_type_hidl: {
type: TYPE_ENUM
predefined_type: "::android::hardware::vibrator::V1_0::Status"
}
}
}

View File

@@ -1,24 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "types"
package: "android.hardware.vibrator"
attribute: {
name: "::android::hardware::vibrator::V1_0::Status"
type: TYPE_ENUM
enum_value: {
scalar_type: "uint32_t"
enumerator: "OK"
scalar_value: {
uint32_t: 0
}
enumerator: "ERR"
scalar_value: {
uint32_t: 1
}
}
}

View File

@@ -1,37 +0,0 @@
component_class: HAL_HIDL
component_type_version: 1.0
component_name: "IVr"
package: "android.hardware.vr"
import: "android.hidl.base@1.0::types"
interface: {
api: {
name: "init"
callflow: {
next: "*"
}
callflow: {
entry: true
}
callflow: {
exit: true
}
}
api: {
name: "setVrMode"
arg: {
type: TYPE_SCALAR
scalar_type: "bool_t"
}
callflow: {
next: "*"
}
callflow: {
exit: true
}
}
}