HomeSort by relevance Sort by last modified time
    Searched refs:sensor (Results 51 - 75 of 246) sorted by null

1 23 4 5 6 7 8 910

  /prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
112 int32_t sensor; member in struct:ASensorEvent
144 * Get a reference to the sensor manager. ASensorManager is a singleton.
160 * Returns the default sensor for the given type, or NULL if no sensor
166 * Creates a new sensor event queue and associate it with a looper
    [all...]
  /prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
112 int32_t sensor; member in struct:ASensorEvent
144 * Get a reference to the sensor manager. ASensorManager is a singleton.
160 * Returns the default sensor for the given type, or NULL if no sensor
166 * Creates a new sensor event queue and associate it with a looper
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
FrequencyVerification.java 21 import android.hardware.Sensor;
31 * A {@link ISensorVerification} which verifies that the sensor frequency are within the expected
62 * Get the default {@link FrequencyVerification} for a sensor.
65 * @return the verification or null if the verification does not apply to the sensor.
68 Sensor sensor = environment.getSensor(); local
69 if (sensor.getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) {
75 sensor.getName(),
76 sensor.getMinDelay()
    [all...]
  /development/ndk/platforms/android-19/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/android/
sensor.h 38 * Structures and functions to receive and process sensor events in
53 * Sensor types
54 * (keep in sync with hardware/sensor.h)
66 * Sensor accuracy measure
87 * A sensor event.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
read_device_node.c 56 void get_sensor_data(char *d, short *sensor)
60 sensor[i] = *(short *)(d + 2 + i * 2);
76 short sensor[3]; local
121 get_sensor_data(dptr, sensor);
123 printf("PRESS, %d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr);
129 get_sensor_data(dptr, sensor);
131 printf("ACCEL, %d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr)
    [all...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
SensorChannel.java 24 import android.hardware.Sensor;
46 * The target update time per sensor. Ignored if 0 or negative.
47 * Sensor updates that arrive faster than this delay are ignored.
59 /** Sensor manager. */
67 * Sensor "enabled by emulator" state has changed. Parameter {@code obj} is
72 * Sensor display value has changed. Parameter {@code obj} is the
86 List<Sensor> sensors = mSenMan.getSensorList(Sensor.TYPE_ALL);
89 Sensor avail_sensor = sensors.get(n);
93 // The first sensor we've got for the given type is no
252 final MonitoredSensor sensor = getSensorByEFN(name); local
273 MonitoredSensor sensor = getSensorByEFN(name); local
    [all...]
  /frameworks/native/include/binder/
IBatteryStats.h 31 virtual void noteStartSensor(int uid, int sensor) = 0;
32 virtual void noteStopSensor(int uid, int sensor) = 0;
  /hardware/ti/omap4xxx/camera/
SensorListener.cpp 20 * This file listens and propogates sensor events to CameraHal.
49 if (sen_events[i].type == Sensor::TYPE_ACCELEROMETER) {
82 } else if (sen_events[i].type == Sensor::TYPE_GYROSCOPE) {
155 CAMHAL_LOGEA("Couldn't create sensor looper thread");
160 ret = mSensorLooperThread->run("sensor looper thread", PRIORITY_URGENT_DISPLAY);
197 Sensor const* sensor; local
205 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
206 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string())
216 Sensor const* sensor; local
    [all...]
  /frameworks/native/services/sensorservice/
SensorService.cpp 60 * - what about a gyro-corrected magnetic-field sensor?
61 * - run mag sensor from time to time to force calibration
62 * - gravity sensor length is wrong (=> drift in linear-acc sensor)
115 // build the sensor list returned to users
119 Sensor aSensor;
142 // the orientation sensor and remove the HAL provided one.
151 // debugging sensor list
155 // counts for each sensor.
200 Sensor SensorService::registerSensor(SensorInterface* s
218 Sensor sensor = registerSensor(s); local
364 SensorInterface* sensor = mSensorMap.valueFor(handle); local
590 SensorInterface* sensor = mSensorMap.valueFor(handle); local
599 SensorInterface* sensor = mSensorMap.valueFor(handle); local
616 Sensor sensor = initialSensorList[i]; local
648 SensorInterface* sensor = mSensorMap.valueFor( handle ); local
795 SensorInterface* sensor = mSensorMap.valueFor(handle); local
864 SensorInterface* sensor = mSensorMap.valueFor(handle); local
1517 const Sensor& sensor = mService->getSensorFromHandle(mSensorInfo.keyAt(i)); local
    [all...]
RotationVectorSensor.cpp 47 outEvent->sensor = '_rov';
63 Sensor RotationVectorSensor::getSensor() const {
65 hwSensor.name = "Rotation Vector Sensor";
74 Sensor sensor(&hwSensor);
75 return sensor;
96 outEvent->sensor = '_gbs';
112 Sensor GyroDriftSensor::getSensor() const {
123 Sensor sensor(&hwSensor)
    [all...]
SensorInterface.cpp 31 HardwareSensor::HardwareSensor(const sensor_t& sensor)
33 mSensor(&sensor, mSensorDevice.getHalDeviceVersion())
68 Sensor HardwareSensor::getSensor() const {
LinearAccelerationSensor.cpp 46 outEvent->sensor = '_lin';
61 Sensor LinearAccelerationSensor::getSensor() const {
62 Sensor gsensor(mGravitySensor.getSensor());
64 hwSensor.name = "Linear Acceleration Sensor";
73 Sensor sensor(&hwSensor);
74 return sensor;
  /device/samsung/manta/libsensors/
LightSensor.cpp 27 mPendingEvent.sensor = ID_L;
PressureSensor.cpp 33 mPendingEvent.sensor = ID_PR;
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
TestSensorEnvironment.java 20 import android.hardware.Sensor;
28 * The environment is self contained and carries its state around all the sensor test framework.
32 private final Sensor mSensor;
38 * Constructs an environment for sensor testing.
41 * @param sensorType The type of the sensor under test
42 * @param samplingPeriodUs The requested collection period for the sensor under test
49 * Constructs an environment for sensor testing.
52 * @param sensorType The type of the sensor under test
53 * @param samplingPeriodUs The requested collection period for the sensor under test
54 * @param maxReportLatencyUs The requested collection report latency for the sensor under tes
226 Sensor sensor = sensorManager.getDefaultSensor(sensorType); local
    [all...]
TestSensorEventListener.java 21 import android.hardware.Sensor;
65 public void onFlushCompleted(Sensor sensor) {}
67 public void onAccuracyChanged(Sensor sensor, int i) {}
73 * Set the sensor, rate, and batch report latency used for the assertions.
94 "Sensor %d: sensor_timestamp=%dns, received_timestamp=%dns, values=%s",
111 public void onAccuracyChanged(Sensor sensor, int accuracy) {
112 mListener.onAccuracyChanged(sensor, accuracy)
    [all...]
  /frameworks/base/core/java/android/view/
OrientationListener.java 53 * @param rate at which sensor events are processed (see also
79 * Enables the OrientationListener so it will monitor the sensor and call
93 public void onAccuracyChanged(int sensor, int accuracy) {
96 public void onSensorChanged(int sensor, float[] values) {
  /frameworks/native/libs/binder/
IBatteryStats.cpp 37 virtual void noteStartSensor(int uid, int sensor) {
41 data.writeInt32(sensor);
45 virtual void noteStopSensor(int uid, int sensor) {
49 data.writeInt32(sensor);
105 int sensor = data.readInt32(); local
106 noteStartSensor(uid, sensor);
113 int sensor = data.readInt32(); local
114 noteStopSensor(uid, sensor);
  /frameworks/native/include/gui/
SensorEventQueue.h 44 class Sensor;
69 status_t enableSensor(Sensor const* sensor) const;
70 status_t disableSensor(Sensor const* sensor) const;
71 status_t setEventRate(Sensor const* sensor, nsecs_t ns) const;
78 // Send an ack for every wake_up sensor event that is set to WAKE_UP_SENSOR_EVENT_NEEDS_ACK.
  /hardware/ti/omap4-aah/camera/
SensorListener.cpp 20 * This file listens and propogates sensor events to CameraHal.
47 if (sen_events[i].type == android::Sensor::TYPE_ACCELEROMETER) {
80 } else if (sen_events[i].type == android::Sensor::TYPE_GYROSCOPE) {
153 CAMHAL_LOGEA("Couldn't create sensor looper thread");
158 ret = mSensorLooperThread->run("sensor looper thread", android::PRIORITY_URGENT_DISPLAY);
195 android::Sensor const* sensor; member in class:Ti::Camera::android
203 sensor = mgr.getDefaultSensor(android::Sensor::TYPE_ACCELEROMETER);
204 if(sensor) {
218 android::Sensor const* sensor; member in class:Ti::Camera::android
    [all...]
  /frameworks/native/libs/gui/
SensorEventQueue.cpp 27 #include <gui/Sensor.h>
32 #include <android/sensor.h>
123 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const {
124 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, 0, 0, false);
127 status_t SensorEventQueue::disableSensor(Sensor const* sensor) const {
128 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, false);
145 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const
    [all...]
  /external/chromium_org/content/browser/device_sensors/
data_fetcher_shared_memory_win.cc 51 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,
    [all...]

Completed in 2991 milliseconds

1 23 4 5 6 7 8 910