O Google tem o compromisso de promover a igualdade racial para as comunidades negras.
Saiba como.
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
sensors_module_t Struct Reference
#include <
sensors.h
>
Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with
hw_module_t
followed by module specific information.
Definition at line
1149
of file
sensors.h
.
Enumerate all available sensors. The list is returned in "list".
-
Returns
-
number of sensors in the list
Definition at line
1156
of file
sensors.h
.
int(* set_operation_mode)(unsigned int mode)
|
Place the module in a specific mode. The following modes are defined
0 - Normal operation. Default state of the module. 1 - Loopback mode. Data is injected for the supported sensors by the sensor service in this mode.
-
Returns
-
0 on success -EINVAL if requested mode is not supported -EPERM if operation is not allowed
Definition at line
1169
of file
sensors.h
.
The documentation for this struct was generated from the following file:
-
hardware/libhardware/include/hardware/
sensors.h
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Não contém as informações de que eu preciso"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Muito complicado / etapas demais"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Desatualizado"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema na tradução"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema com as amostras / o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Outro"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Fácil de entender"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Meu problema foi resolvido"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Outro"
}]
{"lastModified": "\u00daltima atualiza\u00e7\u00e3o 2019-10-02 UTC."}
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2019-10-02 UTC."]]