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

/external/chromium_org/content/browser/device_sensors/
H A Ddata_fetcher_shared_memory_win.cc51 STDMETHODIMP OnEvent(ISensor* sensor,
61 STDMETHODIMP OnStateChanged(ISensor* sensor, SensorState state) OVERRIDE {
65 STDMETHODIMP OnDataUpdated(ISensor* sensor,
67 if (NULL == new_data || NULL == sensor)
69 return UpdateSharedMemoryBuffer(sensor, new_data) ? S_OK : E_FAIL;
74 ISensor* sensor, ISensorDataReport* new_data) = 0;
105 ISensor* sensor, ISensorDataReport* new_data) OVERRIDE {
148 ISensor* sensor, ISensorDataReport* new_data) OVERRIDE {
151 if (!SUCCEEDED(sensor->GetType(&sensor_type)))
306 ISensor** sensor,
304 RegisterForSensor( REFSENSOR_TYPE_ID sensor_type, ISensor** sensor, scoped_refptr<SensorEventSink> event_sink) argument
[all...]
H A Ddata_fetcher_shared_memory_mac.cc15 void FetchMotion(SuddenMotionSensor* sensor, argument
20 if (!sensor->ReadSensorValues(axis_value))
34 void FetchOrientation(SuddenMotionSensor* sensor, argument
40 if (!sensor->ReadSensorValues(axis_value))
45 // Accelerometer values are just dot products of the sensor axes
130 // No motion sensor available, fire an all-null event.
148 // No motion sensor available, fire an all-null event.
H A Ddata_fetcher_shared_memory.h51 bool RegisterForSensor(REFSENSOR_TYPE_ID sensor_type, ISensor** sensor,
/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.c2400 /* Get sensor data - (a,b,c) from sensor name */
2410 char sensor[strlen(args) + 1]; local
2411 if (1 != sscanf( args, "%s", &sensor[0] ))
2414 int sensor_id = android_sensors_get_id_from_name( sensor );
2426 "%s = %g:%g:%g\r\n", sensor, a, b, c );
2434 snprintf( buffer, sizeof(buffer), "KO: No sensor service found!\r\n" );
2437 snprintf( buffer, sizeof(buffer), "KO: '%s' sensor is disabled.\r\n", sensor );
2441 "KO: unknown sensor nam
2460 char* sensor; local
[all...]
/external/chromium_org/chrome/browser/chromeos/timezone/
H A Dtimezone_provider.cc31 bool sensor,
35 url_context_getter_, url_, position, sensor, timeout));
29 RequestTimezone( const Geoposition& position, bool sensor, base::TimeDelta timeout, TimeZoneRequest::TimeZoneResponseCallback callback) argument
H A Dtimezone_provider.h38 bool sensor,
H A Dtimezone_request.h71 // |sensor| if this location was determined using hardware sensor.
76 bool sensor,
H A Dtimezone_request.cc36 const char kSensorString[] = "sensor";
122 bool sensor) {
142 query += (sensor ? "true" : "false");
308 bool sensor,
313 sensor_(sensor),
352 TimeZoneRequestURL(service_url_, geoposition_, false /* sensor */);
120 TimeZoneRequestURL(const GURL& url, const Geoposition& geoposition, bool sensor) argument
304 TimeZoneRequest( net::URLRequestContextGetter* url_context_getter, const GURL& service_url, const Geoposition& geoposition, bool sensor, base::TimeDelta retry_timeout) argument
/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/public/android/java/src/org/chromium/content/browser/
H A DDeviceSensors.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);
352 * @param rateInMilliseconds Intended delay (in milliseconds) between sensor readings.
355 * sensor in sensorTypes could be activated.
/external/chromium_org/third_party/webrtc/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/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
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 458 milliseconds