/device/lge/hammerhead/sepolicy/ |
sensors.te | 1 # Integrated qualcomm sensor process 28 # Access sensor nodes (/dev/msm_dsps, /dev/sensors)
|
/device/lge/mako/sepolicy/ |
sensors.te | 1 # Integrated qualcomm sensor process 31 # Access sensor nodes (/dev/msm_dsps)
|
/external/chromium_org/chrome/browser/chromeos/timezone/ |
timezone_provider.cc | 31 bool sensor, 35 url_context_getter_, url_, position, sensor, timeout));
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/ |
popup.js | 9 encodeURIComponent(address) + '&sensor=false'; 24 "&size=512x512&sensor=false&key=" + maps_key;
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/res/menu/ |
loader_menu.xml | 25 <item android:id="@+id/sensor" 26 android:title="@string/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.
|
SensorManager.h | 41 class Sensor; 54 ssize_t getSensorList(Sensor const* const** list) const; 55 Sensor const* getDefaultSensor(int type); 67 mutable Sensor const** mSensorList; 68 mutable Vector<Sensor> mSensors;
|
/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);
|
/hardware/invensense/6515/libsensors_iio/ |
CompassSensor.AKM.cpp | 30 // TODO: include corresponding header file for 3rd party compass sensor 71 * @brief This function will enable/disable sensor. 72 * @param[in] handle which sensor to enable/disable. 93 @brief This function will return the state of the sensor. 105 @brief This function will return the current delay for this sensor. 118 @param[out] data sensor data is stored in this variable. Scaled such that 133 @param[out] data sensor data is stored in this variable. Scaled such that 181 // TODO: specify compass sensor's mounting matrix for MPL
|
/hardware/invensense/65xx/libsensors_iio/ |
CompassSensor.AKM.cpp | 30 // TODO: include corresponding header file for 3rd party compass sensor 71 * @brief This function will enable/disable sensor. 72 * @param[in] handle which sensor to enable/disable. 93 @brief This function will return the state of the sensor. 105 @brief This function will return the current delay for this sensor. 118 @param[out] data sensor data is stored in this variable. Scaled such that 133 @param[out] data sensor data is stored in this variable. Scaled such that 181 // TODO: specify compass sensor's mounting matrix for MPL
|
/pdk/apps/CameraITS/tests/scene0/ |
test_camera_properties.py | 31 assert(props.has_key('android.sensor.info.sensitivityRange')) 33 assert(props.has_key('android.sensor.orientation'))
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
HeartRateMonitorTestActivity.java | 21 import android.hardware.Sensor; 38 private Sensor mSensor; 54 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); 111 public void onAccuracyChanged(Sensor sensor, int i) {
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCalibratedUncalibratedVerifier.java | 25 * A bundled sensor test operation/verification. 33 // is factored into: operation, verification, and listener as other sensor test operations 115 "Calibrated (%s) and Uncalibrated (%s) sensor readings are expected to satisfy:" 118 calibratedEvent.sensor.getName(), 119 uncalibratedEvent.sensor.getName(),
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
EventOrderingVerification.java | 21 import android.hardware.Sensor; 44 * Get the default {@link EventOrderingVerification} for a sensor. 47 * @return the verification or null if the verification does not apply to the sensor. 52 if (reportingMode != Sensor.REPORTING_MODE_CONTINUOUS 53 && reportingMode != Sensor.REPORTING_MODE_ON_CHANGE) {
|
GyroscopeIntegrationVerification.java | 21 import android.hardware.Sensor; 30 * - {@link Sensor#TYPE_GYROSCOPE} 31 * - {@link Sensor#TYPE_GYROSCOPE_UNCALIBRATED} 59 if (sensorType != Sensor.TYPE_GYROSCOPE 60 && sensorType != Sensor.TYPE_GYROSCOPE_UNCALIBRATED) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Compass.java | 21 import android.hardware.Sensor; 34 private Sensor mSensor; 48 public void onAccuracyChanged(Sensor sensor, int accuracy) { 56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
|
/frameworks/native/libs/gui/ |
ISensorServer.cpp | 28 #include <gui/Sensor.h> 48 virtual Vector<Sensor> getSensorList() 53 Sensor s; 54 Vector<Sensor> v; 83 Vector<Sensor> v(getSensorList());
|
/frameworks/native/services/sensorservice/ |
SensorInterface.h | 23 #include <gui/Sensor.h> 55 virtual Sensor getSensor() const = 0; 65 Sensor mSensor; 68 HardwareSensor(const sensor_t& sensor); 80 virtual Sensor getSensor() const;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 24 import android.hardware.Sensor; 39 * Renders a wedge to indicate the direction of sensor data. 89 if (mSensorType == Sensor.TYPE_ACCELEROMETER) { 157 public void onAccuracyChanged(Sensor arg0, int arg1) { 166 int type = event.sensor.getType(); 167 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { 183 } else if (type == Sensor.TYPE_ROTATION_VECTOR 184 || type == Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR 185 || type == Sensor.TYPE_GAME_ROTATION_VECTOR) [all...] |
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/jumpingjack/ |
MainActivity.java | 24 import android.hardware.Sensor; 40 * sensor values. Since on wearable devices a full screen activity is very short-lived, we set the 64 * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD, 70 private Sensor mSensor; 93 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 131 Log.d(TAG, "Successfully registered for the sensor updates"); 141 Log.d(TAG, "Unregistered for sensor events"); 151 public void onAccuracyChanged(Sensor sensor, int accuracy) { 157 * as measured by the Gravity Sensor is +9.8 when the hand is downward and -9.8 when the han [all...] |
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 30 import android.hardware.Sensor; 77 Sensor gsensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 78 Sensor msensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 205 public void onAccuracyChanged(Sensor sensor, int accuracy) { 209 int type = event.sensor.getType(); 211 if (type == Sensor.TYPE_ACCELEROMETER) { 213 } else if (type == Sensor.TYPE_MAGNETIC_FIELD) [all...] |
/development/samples/wearable/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
MainActivity.java | 24 import android.hardware.Sensor; 40 * sensor values. Since on wearable devices a full screen activity is very short-lived, we set the 64 * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD, 70 private Sensor mSensor; 93 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 131 Log.d(TAG, "Successfully registered for the sensor updates"); 141 Log.d(TAG, "Unregistered for sensor events"); 151 public void onAccuracyChanged(Sensor sensor, int accuracy) { 157 * as measured by the Gravity Sensor is +9.8 when the hand is downward and -9.8 when the han [all...] |
/device/htc/flounder/sensor_hub/libsensors/ |
CwMcuSensor.cpp | 211 ALOGE("Sync: sensor hub is on reset\n"); 278 mPendingEvents[CW_ACCELERATION].sensor = ID_A; 283 mPendingEvents[CW_MAGNETIC].sensor = ID_M; 287 mPendingEvents[CW_GYRO].sensor = ID_GY; 292 mPendingEvents[CW_LIGHT].sensor = ID_L; 297 mPendingEvents[CW_PRESSURE].sensor = ID_PS; 302 mPendingEvents[CW_ORIENTATION].sensor = ID_O; 307 mPendingEvents[CW_ROTATIONVECTOR].sensor = ID_RV; 311 mPendingEvents[CW_LINEARACCELERATION].sensor = ID_LA; 315 mPendingEvents[CW_GRAVITY].sensor = ID_G [all...] |
/external/qemu/docs/ |
ANDROID-QEMUD-SERVICES.TXT | 92 This service is used for sensor emulation. All messages are framed and the 106 string, to set the minimum delay in milliseconds between sensor event 112 4/ Client sends "set:<sensor-name>:<flag>", where <sensor-name> is the 115 emulated sensor hardware. 117 the list of valid <sensor-name> values is the following: 121 orientation : for the orientation sensor 122 temperature : for the temperature sensor 140 produced if the corresponding sensor reporting has been enabled 148 internally to only care about differences between sensor broadcasts [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 20 import android.hardware.Sensor; 66 private Sensor mSensor; 86 mSensor = sManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); 89 mSensor = sManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 92 Log.w(TAG, "no sensor available"); 185 public void onAccuracyChanged(Sensor sensor, int accuracy) { 190 switch (event.sensor.getType()) { 191 case Sensor.TYPE_GYROSCOPE: { 196 case Sensor.TYPE_ACCELEROMETER: [all...] |