Home
last modified time | relevance | path

Searched refs:sensors (Results 1 – 25 of 122) sorted by relevance

12345

/device/google/coral-sepolicy/vendor/qcom/common/
Dsensors.te2 type sensors, domain;
5 init_daemon_domain(sensors)
7 allow sensors self:socket create_socket_perms;
8 allowxperm sensors self:socket ioctl msm_sock_ipc_ioctls;
10 # Read/write persist partition for sensors registry
11 allow sensors sensors_persist_file:dir rw_dir_perms;
12 allow sensors sensors_persist_file:file create_file_perms;
13 allow sensors persist_file:dir search;
14 allow sensors persist_file:lnk_file read;
15 allow sensors mnt_vendor_file:dir r_dir_perms;
[all …]
/device/google/redbull-sepolicy/vendor/qcom/common/
Dsensors.te1 type sensors, domain;
3 init_daemon_domain(sensors)
5 # Read/write persist partition for sensors registry
6 allow sensors sensors_persist_file:dir rw_dir_perms;
7 allow sensors sensors_persist_file:file create_file_perms;
8 allow sensors sensors_persist_file:fifo_file r_file_perms;
9 allow sensors persist_file:dir search;
12 allow sensors sensors_persist_file:dir create;
13 allow sensors persist_sensors_reg_fac_file:dir r_dir_perms;
14 allow sensors persist_sensors_reg_fac_file:file { unlink r_file_perms };
[all …]
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dsensors.te2 type sensors, domain;
5 init_daemon_domain(sensors)
7 allow sensors self:capability {
13 allow sensors self:socket create_socket_perms;
14 allowxperm sensors self:socket ioctl msm_sock_ipc_ioctls;
16 allow sensors persist_sensors_file:dir rw_dir_perms;
17 allow sensors persist_sensors_file:file create_file_perms;
18 allow sensors mnt_vendor_file:dir { getattr search };
19 allow sensors persist_file:dir search;
21 allow sensors system_file:dir r_dir_perms;
[all …]
/device/google/bonito-sepolicy/vendor/qcom/common/
Dsensors.te2 type sensors, domain;
5 init_daemon_domain(sensors)
7 allow sensors self:capability {
13 allow sensors self:socket create_socket_perms;
14 allowxperm sensors self:socket ioctl msm_sock_ipc_ioctls;
16 allow sensors persist_sensors_file:dir rw_dir_perms;
17 allow sensors persist_sensors_file:file create_file_perms;
18 allow sensors mnt_vendor_file:dir { getattr search };
19 allow sensors persist_file:dir search;
21 allow sensors system_file:dir r_dir_perms;
[all …]
/device/google/sunfish-sepolicy/vendor/qcom/common/
Dsensors.te1 type sensors, domain;
3 init_daemon_domain(sensors)
7 allow sensors diag_device:chr_file rw_file_perms;
9 allow sensors persist_file:dir search;
10 allow sensors mnt_vendor_file:dir search;
11 allow sensors self:qipcrtr_socket create;
12 allow sensors sensors_persist_file:dir rw_dir_perms;
13 r_dir_file(sensors, sysfs_msm_subsys)
14 allow sensors sysfs_ssr:file r_file_perms;
16 dontaudit sensors sysfs_esoc:dir r_dir_perms;
/device/google/trout/hal/sensors/2.0/
DAndroid.bp17 name: "android.hardware.sensors@2.0-Google-IIO-Subhal",
27 "android.hardware.sensors@2.0-multihal.header",
30 "android.hardware.sensors@1.0",
31 "android.hardware.sensors@2.0",
32 "android.hardware.sensors@2.0-ScopedWakelock",
43 "android.hardware.sensors@2.X-multihal",
56 name: "android.hardware.sensors@2.0-Google-IIO-Subhal_test",
63 "android.hardware.sensors@1.0",
64 "android.hardware.sensors@2.0",
73 name: "android.hardware.sensors@2.0-Google-IIO-Subhal_test-MultiPoll",
[all …]
DSensorsSubHal.h23 using ::android::hardware::sensors::V1_0::SensorType;
27 namespace sensors {
32 using ::android::hardware::sensors::V1_0::OperationMode;
33 using ::android::hardware::sensors::V1_0::Result;
34 using ::android::hardware::sensors::V2_0::implementation::IHalProxyCallback;
35 using ::android::hardware::sensors::V2_0::subhal::implementation::ISensorsEventCallback;
43 using Event = ::android::hardware::sensors::V1_0::Event;
44 using RateLevel = ::android::hardware::sensors::V1_0::RateLevel;
45 using SharedMemInfo = ::android::hardware::sensors::V1_0::SharedMemInfo;
DREADME1 This directory contains a reference implementation for sensors sub-HAL to be
2 used by sensors Multi-Hal 2.0 service for Android Automotive OS with Android
3 running as a VM. This HAL accesses sensors exposed as IIO devices by the kernel.
6 which uses the ARM SCMI protocol to access the sensors exposed as VIRTIO SCMI device.
8 This HAL supports Accelerometer and Gyroscope continuous sensors.
DSensor.h35 using ::android::hardware::sensors::V1_0::AdditionalInfo;
36 using ::android::hardware::sensors::V1_0::Event;
37 using ::android::hardware::sensors::V1_0::OperationMode;
38 using ::android::hardware::sensors::V1_0::Result;
39 using ::android::hardware::sensors::V1_0::SensorInfo;
40 using ::android::hardware::sensors::V1_0::SensorType;
45 namespace sensors {
DSensorsSubHal.cpp23 static ::android::hardware::sensors::V2_0::subhal::implementation::SensorsSubHal subHal; in sensorsHalGetSubHal()
30 namespace sensors { namespace
36 using ::android::hardware::sensors::V1_0::Event;
37 using ::android::hardware::sensors::V1_0::RateLevel;
38 using ::android::hardware::sensors::V1_0::SharedMemInfo;
39 using ::android::hardware::sensors::V2_0::SensorTimeout;
40 using ::android::hardware::sensors::V2_0::WakeLockQueueFlagBits;
41 using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
139 std::vector<SensorInfo> sensors; in getSensorsList() local
144 sensors.push_back(sensorInfo); in getSensorsList()
[all …]
/device/generic/car/common/
Dconfig.ini13 hw.sensors.light=no
14 hw.sensors.pressure=no
15 hw.sensors.humidity=no
16 hw.sensors.proximity=no
17 hw.sensors.magnetic_field=no
18 hw.sensors.orientation=no
19 hw.sensors.temperature=no
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c857 struct LSM6DSMSensor sensors[NUM_SENSORS]; member
1455 …if (T(sensors[STEP_DETECTOR]).enabled || T(sensors[STEP_COUNTER]).enabled || T(sensors[SIGN_MOTION… in lsm6dsm_readStatusReg_()
1631 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runGapSelfTestProgram()
1666 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runGapSelfTestProgram()
1704 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runGapSelfTestProgram()
1739 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runGapSelfTestProgram()
1820 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runGapSelfTestProgram()
1879 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runCalibrationProgram()
1904 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runCalibrationProgram()
1949 …lsm6dsm_spiBatchTxRx(&T_SLAVE_INTERFACE(mode), lsm6dsm_spiCallback, &T(sensors[idx]), __FUNCTION__… in lsm6dsm_runCalibrationProgram()
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c478 struct BMI160Sensor sensors[NUM_OF_SENSOR]; member
947 if (mTask.sensors[STEPCNT].powered && mTask.step_cnt_changed) {
956 sensorSignalInternalEvt(mTask.sensors[ACC].handle,
963 sensorSignalInternalEvt(mTask.sensors[GYR].handle,
971 sensorSignalInternalEvt(mTask.sensors[MAG].handle,
979 sensorSignalInternalEvt(mTask.sensors[STEP].handle,
986 sensorSignalInternalEvt(mTask.sensors[DTAP].handle,
993 sensorSignalInternalEvt(mTask.sensors[NOMO].handle,
1000 sensorSignalInternalEvt(mTask.sensors[ANYMO].handle,
1007 sensorSignalInternalEvt(mTask.sensors[FLAT].handle,
[all …]
/device/google/contexthub/util/nanotool/
Dnanotool.cpp56 std::vector<SensorSpec> sensors; member
163 if (!args->sensors.size() in ValidateArgs()
183 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs()
184 if (args->sensors[i].special_rate == SensorSpecialRate::None in ValidateArgs()
185 && args->sensors[i].rate_hz < 0) { in ValidateArgs()
189 args->sensors[i].sensor_type).c_str()); in ValidateArgs()
196 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs()
197 if (!args->sensors[i].have_cal_ref in ValidateArgs()
198 && (args->sensors[i].sensor_type == SensorType::Barometer in ValidateArgs()
199 || args->sensors[i].sensor_type == in ValidateArgs()
[all …]
Dcontexthub.h135 bool CalibrateSensors(const std::vector<SensorSpec>& sensors);
140 bool TestSensors(const std::vector<SensorSpec>& sensors);
146 bool EnableSensors(const std::vector<SensorSpec>& sensors);
154 bool DisableSensors(const std::vector<SensorSpec>& sensors);
191 void PrintSensorEvents(const std::vector<SensorSpec>& sensors,
214 bool ForEachSensor(const std::vector<SensorSpec>& sensors,
/device/google/trout/
Daosp_trout_arm64.mk35 android.hardware.sensors@2.0-service.multihal \
36 android.hardware.sensors@2.0-service.multihal.rc \
37 android.hardware.sensors@2.0-Google-IIO-Subhal \
42 …device/google/trout/hal/sensors/2.0/config/sensor_hal_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/…
49 …device/google/trout/product_files/vendor/etc/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/senso…
/device/google/bonito/
Dproduct.prop50 ro.qti.sensors.dev_ori=true
52 # settings to disable sensors not needed
54 ro.qti.sensors.wu=false
56 ro.qti.sdk.sensors.gestures=false
57 ro.qti.sensors.amd=false
58 ro.qti.sensors.cmc=false
59 ro.qti.sensors.facing=false
60 ro.qti.sensors.pedometer=false
61 ro.qti.sensors.rmd=false
62 ro.qti.sensors.scrn_ortn=false
[all …]
/device/google/crosshatch/
Dproduct.prop50 ro.qti.sensors.dev_ori=true
52 # settings to disable sensors not needed
54 ro.qti.sensors.wu=false
56 ro.qti.sdk.sensors.gestures=false
57 ro.qti.sensors.amd=false
58 ro.qti.sensors.cmc=false
59 ro.qti.sensors.facing=false
60 ro.qti.sensors.pedometer=false
61 ro.qti.sensors.rmd=false
62 ro.qti.sensors.scrn_ortn=false
[all …]
/device/google/sunfish/
Dproduct.prop53 ro.qti.sensors.dev_ori=true
55 # settings to disable sensors not needed
57 ro.qti.sensors.wu=false
59 ro.qti.sdk.sensors.gestures=false
60 ro.qti.sensors.amd=false
61 ro.qti.sensors.cmc=false
62 ro.qti.sensors.facing=false
63 ro.qti.sensors.pedometer=false
64 ro.qti.sensors.rmd=false
65 ro.qti.sensors.scrn_ortn=false
[all …]
/device/google/coral/
Dproduct.prop50 ro.qti.sensors.dev_ori=true
52 # settings to disable sensors not needed
54 ro.qti.sensors.wu=false
56 ro.qti.sdk.sensors.gestures=false
57 ro.qti.sensors.amd=false
58 ro.qti.sensors.cmc=false
59 ro.qti.sensors.facing=false
60 ro.qti.sensors.pedometer=false
61 ro.qti.sensors.rmd=false
62 ro.qti.sensors.scrn_ortn=false
[all …]
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c116 struct FusionSensor sensors[NUM_OF_FUSION_SENSOR]; member
353 if (mTask.sensors[GAME].active) { in updateOutput()
355 if (!addSample(&mTask.sensors[GAME], in updateOutput()
364 if (mTask.sensors[GRAVITY].active) { in updateOutput()
369 if (!addSample(&mTask.sensors[GRAVITY], in updateOutput()
379 && mTask.sensors[LINEAR].active) { in updateOutput()
390 if (!addSample(&mTask.sensors[LINEAR], in updateOutput()
403 if (mTask.sensors[ORIENT].active) { in updateOutput()
414 if (!addSample(&mTask.sensors[ORIENT], in updateOutput()
423 if (mTask.sensors[GEOMAG].active) { in updateOutput()
[all …]
/device/google/redbull/
Dproduct.prop53 ro.qti.sensors.dev_ori=true
55 # settings to disable sensors not needed
57 ro.qti.sensors.wu=false
59 ro.qti.sdk.sensors.gestures=false
60 ro.qti.sensors.amd=false
61 ro.qti.sensors.cmc=false
62 ro.qti.sensors.facing=false
63 ro.qti.sensors.pedometer=false
64 ro.qti.sensors.rmd=false
65 ro.qti.sensors.scrn_ortn=false
[all …]
/device/generic/goldfish/sensors/
DAndroid.bp18 name: "android.hardware.sensors@2.1-impl.ranchu",
30 "android.hardware.sensors@2.0",
31 "android.hardware.sensors@2.1",
32 "android.hardware.sensors@2.0-ScopedWakelock",
39 header_libs: ["android.hardware.sensors@2.X-multihal.header"],
41 "-DLOG_TAG=\"android.hardware.sensors@2.1-impl.ranchu\"",
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c612 struct ICM40600Sensor sensors[NUM_OF_SENSOR]; member
936 const int16_t * const acc_offset = T(sensors[ACC]).offset;
937 const int16_t * const gyr_offset = T(sensors[GYR]).offset;
987 val = (-T(sensors[GYR]).offset[2] >> 8) & 0x0f;
998 val = (-T(sensors[ACC]).offset[0] >> 4) & 0xf0;
1017 struct ICM40600Sensor *sensor = &T(sensors[ACC]);
1050 struct ICM40600Sensor *sensor = &T(sensors[GYR]);
1283 spiBatchTxRx(&T(mode), sensorSpiCallback, &T(sensors[idx]), __FUNCTION__);
1302 spiBatchTxRx(&T(mode), sensorSpiCallback, &T(sensors[idx]), __FUNCTION__);
1337 spiBatchTxRx(&T(mode), sensorSpiCallback, &T(sensors[idx]), __FUNCTION__);
[all …]
/device/google/contexthub/sensorhal/
DAndroid.mk48 LOCAL_MODULE := sensors.angler
51 LOCAL_MODULE := sensors.bullhead
53 LOCAL_MODULE := sensors.$(TARGET_DEVICE)
72 sensors.cpp \

12345