/device/google/contexthub/util/nanotool/ |
contexthub.cpp | 38 SensorType sensor_type; member in struct:android::SensorTypeNames 79 SensorType sensor_type; member in struct:android::SensorTypeAlias 88 bool SensorTypeIsAliasOf(SensorType sensor_type, SensorType alias) { 90 if (sensor_aliases_[i].sensor_type == sensor_type 102 return sensor_names_[i].sensor_type; 113 std::string ContextHub::SensorTypeToAbbrevName(SensorType sensor_type) { 115 if (sensor_names_[i].sensor_type == sensor_type) { 121 if (sensor_aliases_[i].sensor_alias == sensor_type) { [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 | 96 static bool GetCalibrationBytes(const char *key, SensorType sensor_type, 105 switch (sensor_type) { 143 static_cast<int>(sensor_type)); 291 SensorType sensor_type; local 293 std::tie(key, sensor_type) = kCalibrationKeys[i]; 294 if (GetCalibrationBytes(key.c_str(), sensor_type, cal_data)) { 295 success = SendCalibrationData(sensor_type, cal_data); 304 bool AndroidContextHub::SetCalibration(SensorType sensor_type, int32_t data) { 306 static_cast<int>(sensor_type), 307 ContextHub::SensorTypeToAbbrevName(sensor_type).c_str(), data) [all...] |
apptohostevent.cpp | 50 bool AppToHostEvent::CheckAppId(SensorType sensor_type) const { 53 switch (sensor_type) { 93 bool AppToHostEvent::CheckEventHeader(SensorType sensor_type) const { 98 if (!CheckAppId(sensor_type)) { 105 bool AppToHostEvent::IsCalibrationEventForSensor(SensorType sensor_type) const { 106 if (!CheckEventHeader(sensor_type)) { 116 bool AppToHostEvent::IsTestEventForSensor(SensorType sensor_type) const { 117 if (!CheckEventHeader(sensor_type)) {
|
contexthub.h | 87 SensorType sensor_type = SensorType::Invalid_; member in struct:android::SensorSpec 107 static std::string SensorTypeToAbbrevName(SensorType sensor_type); 152 bool DisableSensor(SensorType sensor_type); 189 void PrintSensorEvents(SensorType sensor_type, int sample_limit); 247 bool SendCalibrationData(SensorType sensor_type, 271 virtual bool SetCalibration(SensorType sensor_type, int32_t data); 272 virtual bool SetCalibration(SensorType sensor_type, float data); 273 virtual bool SetCalibration(SensorType sensor_type, int32_t x, 275 virtual bool SetCalibration(SensorType sensor_type, int32_t x,
|
apptohostevent.h | 98 bool IsCalibrationEventForSensor(SensorType sensor_type) const; 99 bool IsTestEventForSensor(SensorType sensor_type) const; 104 bool CheckAppId(SensorType sensor_type) const; 105 bool CheckEventHeader(SensorType sensor_type) const;
|
nanotool.cpp | 115 " Format is sensor_type[:rate[:latency_ms]][=cal_ref].\n" 189 args->sensors[i].sensor_type).c_str()); 198 && (args->sensors[i].sensor_type == SensorType::Barometer 199 || args->sensors[i].sensor_type == 204 args->sensors[i].sensor_type).c_str()); 267 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param); 268 if (spec.sensor_type == SensorType::Invalid_) {
|
sensorevent.cpp | 35 SensorType sensor_type = static_cast<SensorType>( local 39 switch (sensor_type) { 89 static_cast<int>(sensor_type));
|
nanomessage.cpp | 220 " sensor_type: %02x\n" 228 config.sensor_type,
|
nanomessage.h | 188 uint8_t sensor_type; member in struct:android::ConfigureSensorRequest::Configuration
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.h | 23 int find_name_by_sensor_type(const char *sensor_type, const char *type, char *sensor_name);
|
ml_sysfs_helper.c | 310 int find_name_by_sensor_type(const char *sensor_type, const char *type, char *sensor_name) 341 + strlen(sensor_type)); 348 sensor_type);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_sysfs_helper.h | 23 int find_name_by_sensor_type(const char *sensor_type, const char *type, char *sensor_name);
|
ml_sysfs_helper.c | 302 int find_name_by_sensor_type(const char *sensor_type, const char *type, char *sensor_name) 333 + strlen(sensor_type)); 340 sensor_type);
|
/device/google/contexthub/firmware/app/chre/common/ |
chre10_app.c | 29 #define SENSOR_TYPE(x) ((x) & 0xFF) 178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); 182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); 185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); 188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); 192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT 193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) {
|
chre_app.c | 29 #define SENSOR_TYPE(x) ((x) & 0xFF) 178 si = eOsSensorFind(SENSOR_TYPE(evt), 0, &sensorHandle); 182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); 185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); 188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); 192 if (SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_INSTANT_MOTION_DETECT 193 || SENSOR_TYPE(evt) == CHRE_SENSOR_TYPE_STATIONARY_DETECT) {
|
/system/chre/core/ |
core.mk | 23 COMMON_SRCS += core/sensor_type.cc
|
/system/chre/platform/shared/include/chre/platform/shared/ |
platform_sensor_util.h | 20 #include "chre/core/sensor_type.h"
|
/external/autotest/server/site_tests/firmware_ECThermal/ |
firmware_ECThermal.py | 360 sensor_type = self._get_temp_sensor_type(sensor_id) 361 if sensor_type == self.SENSOR_TYPE_IGNORED: 365 if self._thermal_setting[sensor_type][-1] == -273: 376 upper_bound = self._thermal_setting[sensor_type][3] 378 lower_bound = self._thermal_setting[sensor_type][idx + 2] - 3 381 lower_bound = self._thermal_setting[sensor_type][idx + 2] - 3 382 upper_bound = self._thermal_setting[sensor_type][idx + 3]
|
/device/google/contexthub/sensorhal/ |
hubdefs.h | 114 // Please keep existing values unchanged when adding or removing SENSOR_TYPE
|
/device/google/wahoo/folio_daemon/ |
main.cpp | 29 #define SENSOR_TYPE 33171016 99 SENSOR_TYPE);
|
/system/chre/core/include/chre/core/ |
sensor_request.h | 24 #include "chre/core/sensor_type.h"
|
/prebuilts/vndk/v27/arm/arch-arm-armv7-a-neon/shared/vndk-core/ |
android.hardware.sensors@1.0.so | |
/prebuilts/vndk/v27/arm64/arch-arm-armv7-a-neon/shared/vndk-core/ |
android.hardware.sensors@1.0.so | |
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.h | 239 int sensor_type);
|