/frameworks/native/services/sensorservice/ |
SensorFusion.cpp | 31 Sensor uncalibratedGyro; 36 mAcc = Sensor(list + i); 39 mMag = Sensor(list + i); 42 mGyro = Sensor(list + i); 45 uncalibratedGyro = Sensor(list + i); 49 // Use the uncalibrated gyroscope for sensor fusion when available
|
/hardware/invensense/6515/libsensors_iio/ |
PressureSensor.IIO.secondary.cpp | 35 #pragma message("HAL:build pressure sensor on Invensense MPU secondary bus") 58 LOGE("Error Instantiating Pressure Sensor\n"); 80 * @brief This function will enable/disable sensor. 82 * which sensor to enable/disable. 127 @brief This function will return the state of the sensor. 137 * @brief This function will return the current delay for this sensor.
|
/hardware/invensense/65xx/libsensors_iio/ |
PressureSensor.IIO.secondary.cpp | 35 #pragma message("HAL:build pressure sensor on Invensense MPU secondary bus") 58 LOGE("Error Instantiating Pressure Sensor\n"); 80 * @brief This function will enable/disable sensor. 82 * which sensor to enable/disable. 127 @brief This function will return the state of the sensor. 137 * @brief This function will return the current delay for this sensor.
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
ProtocolConstants.java | 131 * Constants related to sensor emulation. 136 /** Message that starts sensor emulation. */ 138 /** Message that stops sensor emulation. */ 140 /** Message that enables emulation of a particular sensor. */ 142 /** Message that disables emulation of a particular sensor. */ 144 /** Message that delivers sensor events to emulator. */
|
/frameworks/base/core/java/android/hardware/camera2/ |
CameraCharacteristics.java | [all...] |
/device/samsung/manta/ |
device.mk | 66 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ 67 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ 68 frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ 69 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 70 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml [all...] |
/device/samsung/manta/libsensors/ |
sensors.cpp | 64 { "BH1721fvc Light sensor", 68 { "BMP182 Pressure sensor", 96 .name = "Samsung Sensor module", 260 SensorBase* const sensor(mSensors[i]); 262 if ((mPollFds[i].revents & (POLLIN | POLLPRI)) || (sensor->hasPendingEvents())) { 266 ((MPLSensor*) sensor)->readCompassEvents(NULL, count); 271 sensor->readEvents(NULL, count); 286 nb = sensor->readEvents(data, count); 289 // no more data for this sensor 357 /** Open a new instance of a sensor device using name * [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
stress_iio.c | 700 void get_sensor_data(char *d, short *sensor) 705 sensor[i] = *(short *)(d + 2 + i * 2); 712 short sensor[3]; local 790 get_sensor_data(dptr, sensor); 792 printf("PRESSURE:%d, %lld\n", (sensor[1] << 16) + (unsigned short)sensor[2], *(long long *)dptr); 798 get_sensor_data(dptr, sensor); 800 printf("A:%d, %d, %d, %lld\n", sensor[0], sensor[1], sensor[2], *(long long *)dptr) [all...] |
/device/htc/flounder/ |
device.mk | 87 frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ 88 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ 89 frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ 90 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 91 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml [all...] |
/device/lge/hammerhead/ |
device.mk | 82 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ 83 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 84 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 85 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ 86 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayPowerController.java | 28 import android.hardware.Sensor; 53 * Handles the proximity sensor, light sensor, and animations between states 100 // Proximity sensor debounce delay in milliseconds for positive or negative transitions. 128 // The sensor manager. 137 // The proximity sensor, or null if not available or needed. 138 private Sensor mProximitySensor; 167 // True if a request has been made to wait for the proximity sensor to go negative. 197 // True if the device should wait for negative proximity sensor before 199 // proximity sensor measurement is observed or when the device is forced t [all...] |
AutomaticBrightnessController.java | 25 import android.hardware.Sensor; 56 // Light sensor event rate in milliseconds. 63 // for debouncing the light sensor. Different constants are used to debounce the light sensor 80 // How long the current sensor reading is assumed to be valid beyond the current time. 87 // when it is especially dark outside. The light sensor tends to perform 107 // The sensor manager. 110 // The light sensor, or null if not available or needed. 111 private final Sensor mLightSensor; 125 // the light sensor to warm-up in milliseconds [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Phone.java | 214 * Turns the proximity sensor on. When this request is made, the proximity sensor will 217 * that do not have a proximity sensor. 224 * Turns the proximity sensor off. When this request is made, the proximity sensor will 226 * no-op on devices that do not have a proximity sensor. 229 * previously off. Otherwise, the screen will only be turned on after the proximity sensor
|
/pdk/apps/CameraITS/tests/scene1/ |
test_capture_result.py | 46 manual_exp_time = min(props['android.sensor.info.exposureTimeRange']) 47 manual_sensitivity = min(props['android.sensor.info.sensitivityRange']) 60 "android.sensor.frameDuration": 0, 61 "android.sensor.sensitivity": manual_sensitivity, 62 "android.sensor.exposureTime": manual_exp_time, 119 exp_time = cap_res['android.sensor.exposureTime'] 166 exp_time = cap_res['android.sensor.exposureTime']
|
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 51 /** SENSOR IDS AND NAMES 116 ** This one is used to read sensor data from the hardware. 270 values->sensor = i; 281 ALOGE("No sensor to return!!! pendingSensors=%08x", data->pendingSensors); 300 // wait until we get a complete event for an enabled sensor 370 /* "sync:<time>" is sent after a series of sensor events. 394 D("huh ? sync without any sensor data ?"); 504 { .name = "Goldfish 3-axis Magnetic field sensor", 515 { .name = "Goldfish Orientation sensor", 526 { .name = "Goldfish Temperature sensor", [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
VerifiableSensorOperation.java | 40 * A {@link ISensorOperation} used to verify that sensor events and sensor values are correct. 43 * depending on sensor type. When {{@link #execute()} is called, the sensor will collect the 94 * Collect the specified number of events from the sensor and run all enabled verifications.
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 24 import android.hardware.Sensor; 51 private Sensor mGravitySensor; 80 mGravitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 210 public void onAccuracyChanged(Sensor sensor, int accuracy) {
|
/device/generic/goldfish/camera/fake-pipeline2/ |
Scene.h | 41 // sensor. Used as an optimization to pre-calculate various illuminance 43 // possible cross-talk on a Bayer sensor. Must be called before 66 // Set sensor pixel readout location. 69 // Get sensor response in physical units (electrons) for light hitting the 87 // Sensor color filtering coefficients in XYZ
|
/frameworks/base/docs/html/sdk/api_diff/8/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_ORIENTATION"></A> 88 <nobr><code>int</code> <A HREF="../../../../reference/android/hardware/Sensor.html#TYPE_ORIENTATION" target="_top"><code>TYPE_ORIENTATION</code></font></A></nobr> </TD>
|
/hardware/libhardware/modules/sensors/ |
multihal.cpp | 58 * Comparable class that globally identifies a sensor, by module index and local handle. 60 * A local handle is the handle the sub-module assigns to a sensor. 104 // Returns the sub_hw_modules index of the module that contains the sensor associates with this 280 // A normal event's "sensor" field is a local handle. Convert it to a global handle. 281 // A meta-data event must have its sensor set to 0, but it has a nested event 286 // If it's a metadata event, rewrite the inner payload, not the sensor field. 287 // If the event's sensor field is unregistered for any reason, rewrite the sensor field 288 // with a -1, instead of writing an incorrect but plausible sensor number, because 291 full_handle.localHandle = dest->meta_data.sensor; [all...] |
/pdk/apps/CameraITS/pymodules/its/ |
objects.py | 96 "android.sensor.frameDuration": 0, 97 "android.sensor.sensitivity": sensitivity, 98 "android.sensor.exposureTime": exp_time, 157 s = min(props['android.sensor.info.sensitivityRange']) 158 e = min(props['android.sensor.info.exposureTimeRange'])
|
/pdk/apps/CameraITS/tests/inprog/scene2/ |
test_dng_tags.py | 34 ref_str = ['android.sensor.referenceIlluminant%d'%(i) for i in [1,2]] 35 cm_str = ['android.sensor.colorTransform%d'%(i) for i in [1,2]] 36 fm_str = ['android.sensor.forwardMatrix%d'%(i) for i in [1,2]] 37 cal_str = ['android.sensor.calibrationTransform%d'%(i) for i in [1,2]] 74 cap['metadata']['android.sensor.neutralColorPoint']))
|
/device/moto/shamu/ |
device.mk | 70 frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ 71 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 72 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 73 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ 74 frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml [all...] |
/external/chromium_org/chrome/browser/chromeos/timezone/ |
timezone_request.h | 71 // |sensor| if this location was determined using hardware sensor. 76 bool sensor,
|
/frameworks/av/camera/ |
CameraUtils.cpp | 42 ALOGE("%s: Can't find android.sensor.orientation in static metadata!", __FUNCTION__); 71 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d", 97 ALOGE("%s: Invalid HAL android.sensor.orientation value: %d",
|