Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 11 of 11) sorted by relevance

/external/qemu/android/
Dhw-sensors.c295 Sensor* sensor; in _hwSensorClient_tick() local
299 sensor = &hw->sensors[ANDROID_SENSOR_ACCELERATION]; in _hwSensorClient_tick()
301 sensor->u.acceleration.x, in _hwSensorClient_tick()
302 sensor->u.acceleration.y, in _hwSensorClient_tick()
303 sensor->u.acceleration.z); in _hwSensorClient_tick()
308 sensor = &hw->sensors[ANDROID_SENSOR_MAGNETIC_FIELD]; in _hwSensorClient_tick()
311 sensor->u.magnetic.x, in _hwSensorClient_tick()
312 sensor->u.magnetic.y, in _hwSensorClient_tick()
313 sensor->u.magnetic.z); in _hwSensorClient_tick()
318 sensor = &hw->sensors[ANDROID_SENSOR_ORIENTATION]; in _hwSensorClient_tick()
[all …]
Dsensors-port.c85 char sensor[ASP_MAX_SENSOR_MSG]; in _on_sensor_received() local
96 memcpy(sensor, msg, msgsize); in _on_sensor_received()
97 value = strchr(sensor, ':'); in _on_sensor_received()
102 sensor[value-sensor] = '\0'; in _on_sensor_received()
105 id = android_sensors_get_id_from_name(sensor); in _on_sensor_received()
128 W("Unknown sensor name '%s' in '%s'", sensor, msg); in _on_sensor_received()
Dconsole.c2432 char sensor[strlen(args) + 1]; in do_sensors_get() local
2433 if (1 != sscanf( args, "%s", &sensor[0] )) in do_sensors_get()
2436 int sensor_id = android_sensors_get_id_from_name( sensor ); in do_sensors_get()
2448 "%s = %g:%g:%g\r\n", sensor, a, b, c ); in do_sensors_get()
2459 snprintf( buffer, sizeof(buffer), "KO: '%s' sensor is disabled.\r\n", sensor ); in do_sensors_get()
2463 … "KO: unknown sensor name: %s, run 'sensor status' to get available sensors.\r\n", sensor ); in do_sensors_get()
2466 snprintf( buffer, sizeof(buffer), "KO: '%s' sensor: exception happens.\r\n", sensor ); in do_sensors_get()
2482 char* sensor; in do_sensors_set() local
2495 sensor = p; in do_sensors_set()
2504 if (! (strlen(sensor) && strlen(value))) in do_sensors_set()
[all …]
Dhw-sensors.h55 extern void android_hw_sensor_enable( AndroidSensor sensor );
/external/qemu/docs/
DANDROID-QEMUD-SERVICES.TXT92 This service is used for sensor emulation. All messages are framed and the
106 string, to set the minimum delay in milliseconds between sensor event
112 4/ Client sends "set:<sensor-name>:<flag>", where <sensor-name> is the
115 emulated sensor hardware.
117 the list of valid <sensor-name> values is the following:
121 orientation : for the orientation sensor
122 temperature : for the temperature sensor
140 produced if the corresponding sensor reporting has been enabled
148 internally to only care about differences between sensor broadcasts.
DANDROID-QEMUD.TXT32 enable/disable reception of specific sensor events.
152 implements emulator-specific sensor support in the system by talking to
/external/qemu/android/avd/
Dhardware-properties.ini253 # Proximity sensor
260 # Magnetic field sensor
267 # Orientation sensor
272 description = Provides orientation sensor values.
274 # Temperature sensor
279 description = Provides temperatore sensor values.
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java723 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() argument
731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) { in onSensorChanged()
/external/regex-re2/benchlog/
Dbenchlog.mini79 machdep.cpu.thermal.sensor: 1
Dbenchlog.wreck81 machdep.cpu.thermal.sensor: 1
/external/srec/config/en.us/dictionary/
Dlarge.ok25828 sensor sensP