OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SensorType
(Results
1 - 10
of
10
) sorted by null
/device/google/contexthub/util/nanotool/
sensorevent.cpp
35
SensorType
sensor_type = static_cast<
SensorType
>(
40
case
SensorType
::Accel:
41
case
SensorType
::Gyro:
42
case
SensorType
::GyroUncal:
43
case
SensorType
::Magnetometer:
44
case
SensorType
::MagnetometerUncal:
45
case
SensorType
::Orientation:
46
case
SensorType
::Gravity:
47
case
SensorType
::LinearAccel
[
all
...]
apptohostevent.cpp
50
bool AppToHostEvent::CheckAppId(
SensorType
sensor_type) const {
54
case
SensorType
::Accel:
55
case
SensorType
::Gyro:
61
case
SensorType
::Proximity:
68
case
SensorType
::Barometer:
74
case
SensorType
::AmbientLightSensor:
87
bool AppToHostEvent::CheckEventHeader(
SensorType
sensor_type) const {
99
bool AppToHostEvent::IsCalibrationEventForSensor(
SensorType
sensor_type) const {
110
bool AppToHostEvent::IsTestEventForSensor(
SensorType
sensor_type) const {
contexthub.h
35
enum class
SensorType
{
86
SensorType
sensor_type =
SensorType
::Invalid_;
106
static std::string SensorTypeToAbbrevName(
SensorType
sensor_type);
107
static
SensorType
SensorAbbrevNameToType(const char *abbrev_name);
108
static
SensorType
SensorAbbrevNameToType(const std::string& abbrev_name);
151
bool DisableSensor(
SensorType
sensor_type);
185
* given
SensorType
, ignoring other events. If sample_limit is 0, then
188
void PrintSensorEvents(
SensorType
sensor_type, int sample_limit);
246
bool SendCalibrationData(
SensorType
sensor_type
[
all
...]
contexthub.cpp
38
SensorType
sensor_type;
43
{
SensorType
::Accel, "accel" },
44
{
SensorType
::AnyMotion, "anymo" },
45
{
SensorType
::NoMotion, "nomo" },
46
{
SensorType
::SignificantMotion, "sigmo" },
47
{
SensorType
::Flat, "flat" },
48
{
SensorType
::Gyro, "gyro" },
49
//{
SensorType
::GyroUncal, "gyro_uncal" },
50
{
SensorType
::Magnetometer, "mag" },
51
//{
SensorType
::MagnetometerUncal, "mag_uncal" }
[
all
...]
androidcontexthub.h
49
bool SetCalibration(
SensorType
sensor_type, int32_t data) override;
50
bool SetCalibration(
SensorType
sensor_type, float data) override;
51
bool SetCalibration(
SensorType
sensor_type, int32_t x, int32_t y, int32_t z)
53
bool SetCalibration(
SensorType
sensor_type, int32_t x, int32_t y,
64
static const char *SensorTypeToCalibrationKey(
SensorType
sensor_type);
androidcontexthub.cpp
50
static const std::vector<std::tuple<const char *,
SensorType
>> kCalibrationKeys = {
51
std::make_tuple("accel",
SensorType
::Accel),
52
std::make_tuple("gyro",
SensorType
::Gyro),
53
std::make_tuple("proximity",
SensorType
::Proximity),
54
std::make_tuple("barometer",
SensorType
::Barometer),
55
std::make_tuple("light",
SensorType
::AmbientLightSensor),
80
static bool GetCalibrationBytes(const char *key,
SensorType
sensor_type,
90
case
SensorType
::Accel:
91
case
SensorType
::Gyro:
95
case
SensorType
::AmbientLightSensor
[
all
...]
apptohostevent.h
94
bool IsCalibrationEventForSensor(
SensorType
sensor_type) const;
95
bool IsTestEventForSensor(
SensorType
sensor_type) const;
100
bool CheckAppId(
SensorType
sensor_type) const;
101
bool CheckEventHeader(
SensorType
sensor_type) const;
109
uint8_t
sensorType
;
sensorevent.h
100
SensorType
GetSensorType() const;
nanotool.cpp
197
&& (args->sensors[i].sensor_type ==
SensorType
::Barometer
199
SensorType
::AmbientLightSensor)) {
267
if (spec.sensor_type ==
SensorType
::Invalid_) {
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
mce.h
931
ULONGLONG
SensorType
:1;
949
UCHAR
SensorType
;
Completed in 149 milliseconds