Searched refs:sensor_id (Results 1 – 5 of 5) sorted by relevance
/external/qemu/android/ |
D | hw-sensors.h | 67 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 );
|
D | hw-sensors.c | 501 _hwSensors_setSensorValue( HwSensors* h, int sensor_id, float a, float b, float c ) in _hwSensors_setSensorValue() argument 503 Sensor* s = &h->sensors[sensor_id]; in _hwSensors_setSensorValue() 725 android_sensors_get_name_from_id( int sensor_id ) in android_sensors_get_name_from_id() argument 727 if (sensor_id < 0 || sensor_id >= MAX_SENSORS) in android_sensors_get_name_from_id() 730 return _sensorNameFromId(sensor_id); in android_sensors_get_name_from_id() 758 android_sensors_get( int sensor_id, float* a, float* b, float* c ) in android_sensors_get() argument 766 if (sensor_id < 0 || sensor_id >= MAX_SENSORS) in android_sensors_get() 769 Sensor* sensor = &hw->sensors[sensor_id]; in android_sensors_get() 785 android_sensors_set( int sensor_id, float a, float b, float c ) in android_sensors_set() argument 789 if (sensor_id < 0 || sensor_id >= MAX_SENSORS) in android_sensors_set() [all …]
|
D | sensors-port.c | 70 int sensor_id; member 78 int sensor_id; member 90 int sensor_id; member 118 return entry == NULL || entry->sensor_id == -1; in _sensor_entry_is_terminator() 205 desc->sensor_id = entry->sensor_id; in _sensors_port_save_sensors() 210 desc->sensor_name, desc->sensor_id, desc->emulator_id); in _sensors_port_save_sensors() 227 if (asp->sensors[n]->sensor_id == id) { in _sensor_from_sdkctl_id() 313 _sensor_from_sdkctl_id(asp, event->sensor_id); in _on_sensor_event() 322 W("Sensors: No descriptor for sensor %d", event->sensor_id); in _on_sensor_event()
|
D | console.c | 2414 int sensor_id = android_sensors_get_id_from_name( sensor ); in do_sensors_get() local 2418 if (sensor_id < 0) { in do_sensors_get() 2419 status = sensor_id; in do_sensors_get() 2422 status = android_sensors_get( sensor_id, &a, &b, &c ); in do_sensors_get() 2485 int sensor_id = android_sensors_get_id_from_name( sensor ); in do_sensors_set() local 2488 if (sensor_id < 0) { in do_sensors_set() 2489 status = sensor_id; in do_sensors_set() 2493 status = android_sensors_get( sensor_id, &fvalues[0], &fvalues[1], &fvalues[2] ); in do_sensors_set() 2515 status = android_sensors_set( sensor_id, fvalues[0], fvalues[1], fvalues[2] ); in do_sensors_set()
|
/external/chromium_org/content/browser/device_sensors/ |
D | data_fetcher_shared_memory_win.cc | 57 STDMETHODIMP OnLeave(REFSENSOR_ID sensor_id) OVERRIDE { in OnLeave() argument
|