Searched refs:sensor_id (Results 1 - 5 of 5) sorted by relevance

/external/qemu/android/
H A Dhw-sensors.h67 extern int android_sensors_get( int sensor_id, float* a, float* b, float* c );
70 extern int android_sensors_set( int sensor_id, float a, float b, float c );
76 extern const char* android_sensors_get_name_from_id( int sensor_id );
79 extern uint8_t android_sensors_get_sensor_status( int sensor_id );
H A Dsensors-port.c65 * entire list is marked with an entry, containing -1 at its 'sensor_id' field.
70 int sensor_id; member in struct:SensorEntry
78 int sensor_id; member in struct:SensorDescriptor
90 int sensor_id; member in struct:SensorEvent
118 return entry == NULL || entry->sensor_id == -1;
205 desc->sensor_id = entry->sensor_id;
210 desc->sensor_name, desc->sensor_id, desc->emulator_id);
227 if (asp->sensors[n]->sensor_id == id) {
313 _sensor_from_sdkctl_id(asp, event->sensor_id);
[all...]
H A Dhw-sensors.c501 _hwSensors_setSensorValue( HwSensors* h, int sensor_id, float a, float b, float c ) argument
503 Sensor* s = &h->sensors[sensor_id];
725 android_sensors_get_name_from_id( int sensor_id )
727 if (sensor_id < 0 || sensor_id >= MAX_SENSORS)
730 return _sensorNameFromId(sensor_id);
758 android_sensors_get( int sensor_id, float* a, float* b, float* c ) argument
766 if (sensor_id < 0 || sensor_id >= MAX_SENSORS)
769 Sensor* sensor = &hw->sensors[sensor_id];
785 android_sensors_set( int sensor_id, float a, float b, float c ) argument
[all...]
H A Dconsole.c2436 int sensor_id = android_sensors_get_id_from_name( sensor ); local
2440 if (sensor_id < 0) {
2441 status = sensor_id;
2444 status = android_sensors_get( sensor_id, &a, &b, &c );
2507 int sensor_id = android_sensors_get_id_from_name( sensor ); local
2510 if (sensor_id < 0) {
2511 status = sensor_id;
2515 status = android_sensors_get( sensor_id, &fvalues[0], &fvalues[1], &fvalues[2] );
2537 status = android_sensors_set( sensor_id, fvalues[0], fvalues[1], fvalues[2] );
/external/chromium_org/content/browser/device_orientation/
H A Ddata_fetcher_impl_win.cc90 STDMETHODIMP OnLeave(REFSENSOR_ID sensor_id) OVERRIDE {

Completed in 302 milliseconds