/device/google/cuttlefish_common/guest/hals/sensors/ |
sensors.cpp | 43 SensorState::SensorState(SensorInfo info) 52 SensorInfo::SensorInfo(const char* name, const char* vendor, int version, 84 SensorInfo AccelerometerSensor() { 88 return SensorInfo(sc::kAccelerometerName, sc::kVendor, sc::kVersion, 97 SensorInfo GyroscopeSensor() { 101 return SensorInfo( 109 SensorInfo LightSensor() { 113 return SensorInfo(sc::kLightName, sc::kVendor, sc::kVersion, sc::kLightHandle, 121 SensorInfo MagneticFieldSensor() [all...] |
sensors.h | 27 // so we can cast a list of SensorInfo to a list of sensor_t. 28 class SensorInfo : public sensor_t { 31 SensorInfo() : sensor_t() {} 34 SensorInfo(const char* name, const char* vendor, int version, int handle, 41 friend SensorInfo AccelerometerSensor(); 42 friend SensorInfo GyroscopeSensor(); 43 friend SensorInfo LightSensor(); 44 friend SensorInfo MagneticFieldSensor(); 45 friend SensorInfo PressureSensor(); 46 friend SensorInfo ProximitySensor() [all...] |
/hardware/interfaces/sensors/1.0/ |
Android.bp | 30 "SensorInfo",
|
ISensors.hal | 23 getSensorsList() generates (vec<SensorInfo> list); 70 * @return dynamicSensorsAdded vector of SensorInfo contains dynamic sensor 78 vec<SensorInfo> dynamicSensorsAdded);
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
ASensorManager.h | 59 using SensorInfo = android::hardware::sensors::V1_0::SensorInfo; 68 android::hardware::hidl_vec<SensorInfo> mSensors;
|
ASensorManager.cpp | 27 using android::hardware::sensors::V1_0::SensorInfo; 351 return reinterpret_cast<const SensorInfo *>(sensor)->name.c_str(); 356 return reinterpret_cast<const SensorInfo *>(sensor)->vendor.c_str(); 362 reinterpret_cast<const SensorInfo *>(sensor)->type); 367 return reinterpret_cast<const SensorInfo *>(sensor)->resolution; 372 return reinterpret_cast<const SensorInfo *>(sensor)->minDelay; 377 return reinterpret_cast<const SensorInfo *>(sensor)->fifoMaxEventCount; 382 return reinterpret_cast<const SensorInfo *>(sensor)->fifoReservedEventCount; 387 return reinterpret_cast<const SensorInfo *>(sensor)->typeAsString.c_str(); 392 return reinterpret_cast<const SensorInfo *>(sensor)->maxRange [all...] |
ASensorEventQueue.cpp | 26 using android::hardware::sensors::V1_0::SensorInfo; 48 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle, 76 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle);
|
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
convert.h | 30 void convertFromSensor(const sensor_t &src, SensorInfo *dst); 31 void convertToSensor(const SensorInfo &src, sensor_t *dst);
|
/tools/loganalysis/src/com/android/loganalysis/rule/ |
ProcessUsageRule.java | 79 for (SensorInfoItem sensorInfo : usage.getSensorUsage()) { 80 if (sensorInfo.getUsageDurationMs() > sensorUsageThresholdMs) { 103 for (ProcessUsageInfoItem sensorInfo : mOffendingSensorList) { 104 for (SensorInfoItem sensors : sensorInfo.getSensorUsage()) { 108 sensorInfo.getProcessUID()));
|
/frameworks/native/services/sensorservice/hidl/ |
utils.cpp | 29 using ::android::hardware::sensors::V1_0::SensorInfo; 31 SensorInfo convertSensor(const Sensor& src) { 32 SensorInfo dst;
|
utils.h | 30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src);
|
SensorManager.cpp | 41 using ::android::hardware::sensors::V1_0::SensorInfo; 74 hidl_vec<SensorInfo> ret;
|
/system/chre/platform/slpi/see/ |
see_helper.cc | [all...] |
/system/chre/platform/slpi/smgr/ |
platform_sensor.cc | 315 * @param sensorInfo The sensorInfo as provided by the SMGR. 319 void addSensor(const sns_smgr_sensor_datatype_info_s_v01& sensorInfo, 322 sensor.sensorId = sensorInfo.SensorID; 323 sensor.dataType = sensorInfo.DataType; 326 static_cast<size_t>(sensorInfo.SensorName_len)); 327 memcpy(sensor.sensorName, sensorInfo.SensorName, bytesToCopy); 332 sensorInfo.SensorID, sensorInfo.DataType, calType); 335 Seconds(1).toRawNanoseconds() / sensorInfo.MaxSampleRate) [all...] |
/device/google/contexthub/firmware/os/inc/ |
sensors.h | 195 struct SensorInfo { 259 uint32_t sensorRegister(const struct SensorInfo *si, const struct SensorOps *ops, void *callData, bool initComplete); /* returns handle, copy is not made */ 260 uint32_t sensorRegisterAsApp(const struct SensorInfo *si, uint32_t tid, void *callData, bool initComplete); /* returns handle, copy is not made */ 272 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP); //enumerate all sensors of a type
|
syscallDo.h | 107 static inline uint32_t eOsSensorRegister(const struct SensorInfo *si, uint32_t tid, void *cookie, bool initComplete) 122 static inline const struct SensorInfo* eOsSensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP) 124 return (const struct SensorInfo*)syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_FIND), sensorType, idx, handleP);
|
sensors_priv.h | 25 const struct SensorInfo *si;
|
osApi.h | 85 #define SYSCALL_OS_MAIN_SENSOR_REG 1 // (const struct SensorInfo *si, uint32_t tid) -> u32 handle 88 #define SYSCALL_OS_MAIN_SENSOR_FIND 4 // (uint32_t sensorType, uint32_t idx, uint32_t *handleP) -> const struct SensorInfo* or NULL
|
/hardware/interfaces/sensors/1.0/default/ |
Sensors.cpp | 120 hidl_vec<SensorInfo> out; 125 SensorInfo *dst = &out[i]; 163 hidl_vec<SensorInfo> dynamicSensorsAdded; 218 SensorInfo info;
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
ISensorManager.hal | 23 import android.hardware.sensors@1.0::SensorInfo; 40 getSensorList() generates (vec<SensorInfo> list, Result result); 51 generates (SensorInfo sensor, Result result);
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
VtsHalSensorsV1_0TargetTest.cpp | 136 std::vector<SensorInfo> sensorList; 138 [&] (const ::android::hardware::hidl_vec<SensorInfo> &list) { 501 SensorInfo defaultSensorByType(SensorType type); 502 std::vector<SensorInfo> getSensorsList(); 578 static bool isDirectReportRateSupported(SensorInfo sensor, RateLevel rate); 579 static bool isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type); 792 bool SensorsHidlTest::isDirectReportRateSupported(SensorInfo sensor, RateLevel rate) { 799 bool SensorsHidlTest::isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type) { 810 SensorInfo SensorsHidlTest::defaultSensorByType(SensorType type) { 811 SensorInfo ret [all...] |
/frameworks/native/services/sensorservice/ |
SensorDevice.h | 182 using SensorInfo = hardware::sensors::V1_0::SensorInfo; 188 const hardware::hidl_vec<SensorInfo> &dynamicSensorsAdded,
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
see_helper.h | 113 struct SensorInfo { 284 DynamicVector<SensorInfo> mSensorInfos; 439 * @return SensorInfo instance found in mSensorInfos with the given 442 const SensorInfo *getSensorInfo(SensorType sensorType) const;
|
/system/chre/apps/chqts/src/general_test/ |
basic_sensor_test_base.cc | 256 sendFatalFailureToHost("SensorInfo.enabled not back to original"); 259 sendFatalFailureToHost("SensorInfo.interval not back to original"); 262 sendFatalFailureToHost("SensorInfo.latency not back to original");
|
/device/google/contexthub/firmware/os/core/ |
nanohub_chre.c | 249 const struct SensorInfo *info = sensorFind(sensorType, 0, pHandle); 266 const struct SensorInfo *si = s->si; 288 const struct SensorInfo *si = s->si; 386 const struct SensorInfo *si = s->si;
|