/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
datalogger_outputs.c | 47 * @param[out] timestamp Time when sensor was sampled. 62 * @param[out] timestamp Time when sensor was sampled. 89 * @param[out] timestamp Time when sensor was sampled. 105 * @param[out] timestamp Time when sensor was sampled. 123 * @param[out] timestamp Time when sensor was sampled. 139 * @param[out] timestamp Time when sensor was sampled. 158 * @param[out] timestamp Time when sensor was sampled. 205 * @param[out] timestamp Time when sensor was sampled. 224 * @param[out] timestamp Time when sensor was sampled. 249 * @param[out] timestamp Time when sensor was sampled [all...] |
/cts/apps/CtsVerifier/assets/scripts/ |
execute_power_tests.py | 49 # whether to log data collected to a file for each sensor run: 66 # Thresholds for max allowed power usage per sensor tested 85 REQUEST_SENSOR_SWITCH = "SENSOR %s %s" 86 REQUEST_SENSOR_AVAILABILITY = "SENSOR? %s" 243 # TODO: dump the state of sensor service to identify if there are features using sensors 305 def setPowerOn(self, sensor, powered_on): 307 ({True:"ON", False:"OFF"}[powered_on], sensor)) 308 self.reportErrorIf(response == "ERR", "Unable to set sensor %s state" % sensor) 309 logging.info("Set %s %s" % (sensor, {True:"ON", False:"OFF"}[powered_on]) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeService.java | 27 import android.hardware.Sensor; 120 mSigMotionSensor = new TriggerSensor(Sensor.TYPE_SIGNIFICANT_MOTION, 122 mPickupSensor = new TriggerSensor(Sensor.TYPE_PICK_UP_GESTURE, 359 .append(event.sensor.getName()); 424 private final Sensor mSensor; 486 setListening(true); // reregister, this sensor only fires once 499 if (mSensor.getType() == Sensor.TYPE_PICK_UP_GESTURE) { 525 final Sensor sensor = mSensors.getDefaultSensor(Sensor.TYPE_PROXIMITY) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorStats.java | 19 import android.hardware.Sensor; 37 * Class used to store stats related to {@link ISensorOperation}s. Sensor stats may be linked 154 * Provides a sanitized sensor name, that can be used in file names. 157 public static String getSanitizedSensorName(Sensor sensor) throws IOException { 158 String sensorType = sensor.getStringType(); 161 throw new IOException("Unable to sanitize sensor type (" + sensorType + "). This is a"
|
/external/chromium_org/content/browser/device_sensors/ |
data_fetcher_shared_memory_mac.cc | 15 void FetchMotion(SuddenMotionSensor* sensor, 20 if (!sensor->ReadSensorValues(axis_value)) 34 void FetchOrientation(SuddenMotionSensor* sensor, 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.
|
/packages/apps/InCallUI/src/com/android/incallui/ |
AccelerometerListener.java | 20 import android.hardware.Sensor; 39 private Sensor mSensor; 44 // mPendingOrientation is the latest orientation computed based on the sensor value. 69 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 118 // If some values are exactly zero, then likely the sensor is not powered up yet. 138 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
/packages/services/Telephony/src/com/android/phone/ |
AccelerometerListener.java | 20 import android.hardware.Sensor; 39 private Sensor mSensor; 44 // mPendingOrientation is the latest orientation computed based on the sensor value. 69 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 118 // If some values are exactly zero, then likely the sensor is not powered up yet. 138 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
/frameworks/base/docs/html/sdk/api_diff/14/changes/ |
android.hardware.Sensor.html | 10 android.hardware.Sensor 74 Class android.hardware.<A HREF="../../../../reference/android/hardware/Sensor.html" target="_top"><font size="+2"><code>Sensor</code></font></A> 87 <A NAME="android.hardware.Sensor.TYPE_AMBIENT_TEMPERATURE"></A> 88 <nobr><code>int</code> <A HREF="../../../../reference/android/hardware/Sensor.html#TYPE_AMBIENT_TEMPERATURE" target="_top"><code>TYPE_AMBIENT_TEMPERATURE</code></A></nobr> 94 <A NAME="android.hardware.Sensor.TYPE_RELATIVE_HUMIDITY"></A> 95 <nobr><code>int</code> <A HREF="../../../../reference/android/hardware/Sensor.html#TYPE_RELATIVE_HUMIDITY" target="_top"><code>TYPE_RELATIVE_HUMIDITY</code></A></nobr> 109 <A NAME="android.hardware.Sensor.TYPE_TEMPERATURE"></A> 110 <nobr><code>int</code> <A HREF="../../../../reference/android/hardware/Sensor.html#TYPE_TEMPERATURE" target="_top"><code>TYPE_TEMPERATURE</code></font></A></nobr> </TD>
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerTestActivity.java | 24 import android.hardware.Sensor; 52 new GLArrowSensorTestRenderer(this, Sensor.TYPE_ACCELEROMETER); 74 Sensor.TYPE_ACCELEROMETER).get(0), SensorManager.SENSOR_DELAY_UI);
|
SensorBatchingTestsActivity.java | 24 * Activity to execute CTS sensor batching tests.
|
SensorIntegrationTestsActivity.java | 24 * Activity to execute CTS sensor integration tests.
|
SensorTestActivity.java | 24 * Activity to execute CTS sensor tests.
|
SingleSensorTestsActivity.java | 24 * Activity to execute CTS single sensor tests.
|
/frameworks/av/include/camera/ |
CameraBase.h | 40 * back-facing camera sensor is mounted in landscape. You are looking at 41 * the screen. If the top side of the camera sensor is aligned with the 43 * 90. If the top side of a front-facing camera sensor is aligned with the
|
/frameworks/native/services/sensorservice/ |
CorrectedGyroSensor.h | 23 #include <gui/Sensor.h> 37 Sensor mGyro; 45 virtual Sensor getSensor() const;
|
GravitySensor.h | 23 #include <gui/Sensor.h> 37 Sensor mAccelerometer; 45 virtual Sensor getSensor() const;
|
/hardware/akm/AK8975_FS/akmdfs/ |
AK8975Driver.h | 45 This function opens device driver of acceleration sensor. 53 This function closes device drivers of acceleration sensor. 58 Acquire acceleration data from acceleration sensor and convert it to Android
|
/pdk/apps/CameraITS/service/ |
AndroidManifest.xml | 25 <uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true" /> 26 <uses-feature android:name="android.hardware.sensor.compass" android:required="true" /> 27 <uses-feature android:name="android.hardware.sensor.gyroscope" android:required="true" />
|
/pdk/apps/CameraITS/tests/inprog/ |
test_crop_region.py | 22 """Takes shots with different sensor crop regions. 33 r = props['android.sensor.info.pixelArraySize'] 39 print "Capturing img0 with the full sensor region"
|
/device/lge/hammerhead/libsensors/ |
sensors.cpp | 52 .name = "Light Sensor", 64 .name = "Proximity Sensor", 98 name: "LGE Sensor module", 174 /* TODO: Handle external pressure sensor */ 184 // populate the sensor list 229 /* Timer based sensor initialization */ 281 SensorBase* const sensor(mSensor[i]); 285 ((MPLSensor*) sensor)->buildMpuEvent(); 287 nb = ((MPLSensor*) sensor)->readEvents(data, count); 294 ((MPLSensor*) sensor)->buildCompassEvent() [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceSensors.java | 8 import android.hardware.Sensor; 71 Sensor.TYPE_ROTATION_VECTOR); 74 Sensor.TYPE_ACCELEROMETER, 75 Sensor.TYPE_LINEAR_ACCELERATION, 76 Sensor.TYPE_GYROSCOPE); 88 * Start listening for sensor events. If this object is already listening 170 public void onAccuracyChanged(Sensor sensor, int accuracy) { 176 sensorChanged(event.sensor.getType(), event.values); 182 case Sensor.TYPE_ACCELEROMETER [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
mlarray_legacy.c | 45 * @brief inv_get_array is used to get an array of processed motion sensor data. 187 * @brief inv_get_float_array is used to get an array of processed motion sensor 203 * <b>Please refer to the "9-Axis Sensor Fusion Application Note" document, 204 * section 7 "Sensor Fusion Output", for details regarding rotation 292 * Returns an array of nine data points representing raw sensor data 296 * sensor data output. In case of accelerometers with lower output 297 * resolution, e.g 8-bit, the sensor data is scaled up to match the 304 * The values are not sensor fused with other sensor types data but 312 * The values are not sensor fused with other sensor types data bu [all...] |
/device/generic/goldfish/camera/ |
EmulatedFakeCamera2.cpp | 54 // Sensor::kResolution[0], Sensor::kResolution[1] 58 Sensor::kFrameDurationRange[0] 63 // Sensor::kResolution[0], Sensor::kResolution[1] 68 // Sensor::kResolution[0], Sensor::kResolution[1] 72 Sensor::kFrameDurationRange[0] 77 // Sensor::kResolution[0], Sensor::kResolution[1 [all...] |
EmulatedFakeCamera3.cpp | 36 #include "fake-pipeline2/Sensor.h" 69 // Sensor::kResolution[0], Sensor::kResolution[1] 73 (const uint64_t)Sensor::kFrameDurationRange[0] 78 // Sensor::kResolution[0], Sensor::kResolution[1] 83 // Sensor::kResolution[0], Sensor::kResolution[1] 87 (const uint64_t)Sensor::kFrameDurationRange[0] 92 // Sensor::kResolution[0], Sensor::kResolution[1 [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTestCase.java | 25 import android.hardware.Sensor; 41 * By default tests need to run in a {@link TestSensorEnvironment} that assumes each sensor is 47 * Ideally, each {@link Sensor} object would expose this information to clients. 58 // the sensor state is not supported in the device, log a warning and skip the test
|