OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hwSensor
(Results
1 - 3
of
3
) sorted by null
/frameworks/native/libs/sensor/tests/
Sensor_test.cpp
57
sensor_t
hwSensor
= {};
58
hwSensor
.name = "Test Sensor";
59
hwSensor
.vendor = "Test Vendor";
60
hwSensor
.version = 1;
61
hwSensor
.handle = 2;
62
hwSensor
.type = SENSOR_TYPE_ACCELEROMETER;
63
hwSensor
.maxRange = 10.f;
64
hwSensor
.resolution = 1.f;
65
hwSensor
.power = 5.f;
66
hwSensor
.minDelay = 1000
[
all
...]
/frameworks/native/libs/sensor/
Sensor.cpp
37
Sensor::Sensor(struct sensor_t const*
hwSensor
, int halVersion) :
38
Sensor(*
hwSensor
, uuid_t(), halVersion) {
41
Sensor::Sensor(struct sensor_t const&
hwSensor
, const uuid_t& uuid, int halVersion) :
43
mName =
hwSensor
.name;
44
mVendor =
hwSensor
.vendor;
45
mVersion =
hwSensor
.version;
46
mHandle =
hwSensor
.handle;
47
mType =
hwSensor
.type;
49
mMaxValue =
hwSensor
.maxRange; // FIXME: maxValue
50
mResolution =
hwSensor
.resolution
[
all
...]
/frameworks/native/libs/sensor/include/sensor/
Sensor.h
68
Sensor(struct sensor_t const*
hwSensor
, int halVersion = 0);
69
Sensor(struct sensor_t const&
hwSensor
, const uuid_t& uuid, int halVersion = 0);
Completed in 3650 milliseconds