Searched refs:sensor (Results 1 - 10 of 10) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSensorManagerTest.java45 Sensor sensor = sensorManager.getDefaultSensor(SensorManager.SENSOR_ACCELEROMETER);
46 sensorManager.registerListener(listener, sensor, SensorManager.SENSOR_DELAY_NORMAL);
74 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
/external/qemu/android/
H A Dhw-sensors.h17 /* initialize sensor emulation */
23 * SENSOR_STATUS_DISABLED: sensor is disabled.
24 * SENSOR_STATUS_UNKNOWN: wrong sensor name.
25 * SENSOR_STATUS_OK: Everything is OK to the current sensor.
55 extern void android_hw_sensor_enable( AndroidSensor sensor );
66 /* get sensor values */
69 /* set sensor values */
72 /* Get sensor id from sensor name */
75 /* Get sensor nam
[all...]
H A Dhw-sensors.c39 /* this code supports emulated sensor hardware
130 * - the HAL module sends "set:<sensor>:<flag>" to enable or disable
131 * the report of a given sensor state. <sensor> must be the name of
132 * a given sensor (e.g. "accelerometer"), and <flag> must be either
135 * - Once at least one sensor is "enabled", this code should periodically
141 * a new interval between sensor events sent by this code to the HAL
149 * - each timer tick, this code sends sensor reports in the following
159 * appear if the corresponding sensor has been enabled by the HAL module.
284 /* this function is called periodically to send sensor report
295 Sensor* sensor; local
[all...]
H A Dconsole.c2422 /* Get sensor data - (a,b,c) from sensor name */
2432 char sensor[strlen(args) + 1]; local
2433 if (1 != sscanf( args, "%s", &sensor[0] ))
2436 int sensor_id = android_sensors_get_id_from_name( sensor );
2448 "%s = %g:%g:%g\r\n", sensor, a, b, c );
2456 snprintf( buffer, sizeof(buffer), "KO: No sensor service found!\r\n" );
2459 snprintf( buffer, sizeof(buffer), "KO: '%s' sensor is disabled.\r\n", sensor );
2463 "KO: unknown sensor nam
2482 char* sensor; local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument
37 public void unregisterListener(SensorEventListener listener, Sensor sensor) { argument
/external/chromium_org/content/browser/device_orientation/
H A Ddata_fetcher_impl_win.cc52 STDMETHODIMP OnEvent(ISensor* sensor,
58 STDMETHODIMP OnDataUpdated(ISensor* sensor,
60 if (NULL == new_data || NULL == sensor)
94 STDMETHODIMP OnStateChanged(ISensor* sensor, SensorState state) OVERRIDE {
104 // Create a DataFetcherImplWin object and return NULL if no valid sensor found.
124 // This method is called on Windows sensor thread.
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DDeviceMotionAndOrientation.java88 * Start listening for sensor events. If this object is already listening
170 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
176 sensorChanged(event.sensor.getType(), event.values);
296 * @param rateInMilliseconds Intended delay (in milliseconds) between sensor readings.
299 * sensor in sensorTypes could be activated.
/external/webrtc/src/modules/audio_processing/test/android/apmtest/jni/
H A Dmain.c25 #include <android/sensor.h>
274 // If a sensor has data, process it now.
/external/replicaisland/src/com/replica/replicaisland/
H A DAndouKun.java723 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument
731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {
/external/chromium_org/third_party/usb_ids/
H A Dusb.ids1688 16a6 BM-USBD1 BlueRobin RF heart rate sensor receiver
9956 5801 BCM5880 Secure Applications Processor with fingerprint swipe sensor
9957 5802 BCM5880 Secure Applications Processor with fingerprint touch sensor
10409 0001 Biothentic II smartcard reader with fingerprint sensor
13414 1001 TCS5B Fingerprint sensor
13417 3000 TCS1C EIM/Cypress Fingerprint sensor
13418 3001 TCS1C EIM/STM32 Fingerprint sensor

Completed in 130 milliseconds