/device/moto/shamu/sepolicy/ |
D | sensors.te | 2 type sensors, domain, domain_deprecated; 6 init_daemon_domain(sensors) 9 allow sensors self:capability { dac_override sys_nice chown setuid setgid net_bind_service}; 16 dontaudit sensors self:capability net_raw; 18 allow sensors persist_sensors_file:dir setattr; 20 allow sensors shared_log_device:chr_file rw_file_perms; 23 allow sensors power_control_device:chr_file w_file_perms; 25 allow sensors sensors_device:chr_file rw_file_perms; 26 type_transition sensors socket_device:sock_file sensors_socket "sensor_ctl_socket"; 27 allow sensors sensors_socket:sock_file create_file_perms; [all …]
|
D | gsiffd.te | 21 # Run stat on /dev/sensors 24 # Talk to the sensors daemon 25 unix_socket_connect(gsiffd, sensors, sensors)
|
D | system_server.te | 8 unix_socket_connect(system_server, sensors, sensors)
|
D | camera.te | 14 unix_socket_connect(camera, sensors, sensors)
|
D | file_contexts | 82 /dev/sensors u:object_r:sensors_device:s0 118 /persist/sensors(/.*)? u:object_r:persist_sensors_file:s0 137 /system/bin/sensors\.qcom u:object_r:sensors_exec:s0
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 352 struct BMI160Sensor sensors[NUM_OF_SENSOR]; member 750 if (mTask.sensors[STEPCNT].powered && mTask.step_cnt_changed) { in stepCntSamplingCallback() 759 sensorSignalInternalEvt(mTask.sensors[ACC].handle, in accFirmwareUpload() 766 sensorSignalInternalEvt(mTask.sensors[GYR].handle, in gyrFirmwareUpload() 773 sensorSignalInternalEvt(mTask.sensors[MAG].handle, in magFirmwareUpload() 780 sensorSignalInternalEvt(mTask.sensors[STEP].handle, in stepFirmwareUpload() 787 sensorSignalInternalEvt(mTask.sensors[DTAP].handle, in doubleTapFirmwareUpload() 794 sensorSignalInternalEvt(mTask.sensors[NOMO].handle, in noMotionFirmwareUpload() 801 sensorSignalInternalEvt(mTask.sensors[ANYMO].handle, in anyMotionFirmwareUpload() 808 sensorSignalInternalEvt(mTask.sensors[FLAT].handle, in flatFirmwareUpload() [all …]
|
/device/google/contexthub/util/nanotool/ |
D | nanotool.cpp | 53 std::vector<SensorSpec> sensors; member 153 if (!args->sensors.size() in ValidateArgs() 172 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs() 173 if (args->sensors[i].special_rate == SensorSpecialRate::None in ValidateArgs() 174 && args->sensors[i].rate_hz < 0) { in ValidateArgs() 178 args->sensors[i].sensor_type).c_str()); in ValidateArgs() 185 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs() 186 if (!args->sensors[i].have_cal_ref in ValidateArgs() 187 && (args->sensors[i].sensor_type == SensorType::Barometer in ValidateArgs() 188 || args->sensors[i].sensor_type == in ValidateArgs() [all …]
|
D | contexthub.cpp | 164 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) { in CalibrateSensors() argument 165 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() 203 bool ContextHub::EnableSensors(const std::vector<SensorSpec>& sensors) { in EnableSensors() argument 204 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in EnableSensors() 230 bool ContextHub::DisableSensors(const std::vector<SensorSpec>& sensors) { in DisableSensors() argument 231 return ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in DisableSensors() 285 void ContextHub::PrintSensorEvents(const std::vector<SensorSpec>& sensors, int limit) { in PrintSensorEvents() argument 287 auto event_printer = [&sensors, &limit, continuous](const SensorEvent& event) -> bool { in PrintSensorEvents() 289 for (unsigned int i = 0; i < sensors.size(); i++) { in PrintSensorEvents() 290 if (sensors[i].sensor_type == event_source in PrintSensorEvents() [all …]
|
D | contexthub.h | 132 bool CalibrateSensors(const std::vector<SensorSpec>& sensors); 138 bool EnableSensors(const std::vector<SensorSpec>& sensors); 146 bool DisableSensors(const std::vector<SensorSpec>& sensors); 178 void PrintSensorEvents(const std::vector<SensorSpec>& sensors, 198 bool ForEachSensor(const std::vector<SensorSpec>& sensors,
|
/device/google/contexthub/firmware/src/drivers/orientation/ |
D | orientation.c | 107 struct FusionSensor sensors[NUM_OF_FUSION_SENSOR]; member 322 if (mTask.sensors[GAME].active) { in updateOutput() 324 addSample(&mTask.sensors[GAME], in updateOutput() 331 if (mTask.sensors[GRAVITY].active) { in updateOutput() 335 addSample(&mTask.sensors[GRAVITY], in updateOutput() 345 if (mTask.sensors[ORIENT].active) { in updateOutput() 355 addSample(&mTask.sensors[ORIENT], in updateOutput() 359 if (mTask.sensors[GEOMAG].active) { in updateOutput() 360 addSample(&mTask.sensors[GEOMAG], in updateOutput() 367 if (mTask.sensors[ROTAT].active) { in updateOutput() [all …]
|
/device/google/atv/ |
D | config.ini | 15 hw.sensors.proximity=no 16 hw.sensors.magnetic_field=no 17 hw.sensors.orientation=no 18 hw.sensors.temperature=no
|
/device/generic/goldfish/sensors/ |
D | Android.mk | 26 LOCAL_MODULE := sensors.vbox_x86 28 LOCAL_MODULE := sensors.goldfish 38 LOCAL_MODULE := sensors.ranchu
|
D | sensors_qemu.c | 138 sensors_event_t sensors[MAX_NUM_SENSORS]; member 219 *event = d->sensors[i]; in sensor_device_pick_pending_event_locked() 259 sensors_event_t* events = dev->sensors; in sensor_device_poll_event_locked() 401 dev->sensors[i].timestamp = t; in sensor_device_poll_event_locked() 498 uint32_t sensors = enabled ? mask : 0; in sensor_device_activate() local 503 uint32_t new_sensors = (active & ~mask) | (sensors & mask); in sensor_device_activate()
|
/device/google/dragon/sensor_hub/ |
D | Android.mk | 25 LOCAL_MODULE := sensors.$(TARGET_BOOTLOADER_BOARD_NAME) 34 sensors.cpp \
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | Android.mk | 25 LOCAL_MODULE := sensors.$(TARGET_BOOTLOADER_BOARD_NAME) 34 sensors.cpp \
|
/device/google/contexthub/sensorhal/ |
D | Android.mk | 47 LOCAL_MODULE := sensors.$(TARGET_DEVICE) 63 sensors.cpp \
|
/device/intel/edison/sepolicy/ |
D | sensorservice.te | 2 # Sensorservice uses the sensors HAL... which needs sysfs file and i2c device access.
|
/device/huawei/angler/sepolicy/ |
D | property_contexts | 3 sensors.contexthub. u:object_r:contexthub_prop:s0
|
D | system_server.te | 26 # hubconnection to get and set sensors.contexthub.* properties
|
/device/lge/bullhead/sepolicy/ |
D | property_contexts | 6 sensors.contexthub. u:object_r:contexthub_prop:s0
|
D | system_server.te | 33 # hubconnection to get and set sensors.contexthub.* properties
|
/device/intel/edison/ |
D | BoardConfig.mk | 29 $(call add_peripheral, intel, sensors/mraa)
|
/device/moto/shamu/ |
D | init.shamu.rc | 79 mkdir /data/system/sensors 80 chmod 0775 /data/system/sensors 83 mkdir /data/misc/sensors 84 chmod 0775 /data/misc/sensors 86 mkdir /persist/sensors 87 chmod 0775 /persist/sensors 401 service sensors /system/bin/sensors.qcom
|
/device/generic/mini-emulator-armv7-a-neon/ |
D | mini_emulator_common.mk | 24 sensors.goldfish \
|
/device/generic/mini-emulator-arm64/ |
D | mini_emulator_common.mk | 24 sensors.goldfish \
|