/hardware/invensense/libsensors_iio/software/core/mllite/ |
data_builder.c | 76 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t 108 // copy in the saved accuracy in the actual sensors accuracy 109 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; 110 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; 111 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; 113 if (sensors.compass.accuracy == 3) { 132 memset(&sensors, 0, sizeof(sensors)); 145 return sensors.gyro.sensitivity; 155 return sensors.accel.sensitivity [all...] |
/device/samsung/manta/libsensors/ |
sensors.h | 26 #include <hardware/sensors.h>
|
Android.mk | 23 LOCAL_MODULE := sensors.manta 29 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" 33 sensors.cpp \
|
/external/qemu/android/ |
sensors-port.c | 18 #include "android/sensors-port.h" 19 #include "android/hw-sensors.h" 39 * Queries sent to sensors port of the SDK controller. 42 /* Queries the port for list of available sensors. */ 46 * Messages sent between the emuator, and sensors port of the SDK controller. 62 * When SDK controller sensors port replies to a "list" query, it replies with 75 /* Describes a sensor in the array of emulated sensors. */ 95 /* Sensors port descriptor. */ 101 /* Lists sensors available for emulation. */ 102 SensorDescriptor** sensors; member in struct:AndroidSensorsPort [all...] |
hw-sensors.c | 14 #include "android/hw-sensors.h" 23 #include "android/sensors-port.h" 27 #define D(...) VERBOSE_PRINT(sensors,__VA_ARGS__) 34 #define T(...) VERBOSE_PRINT(sensors,__VA_ARGS__) 123 * - when the qemu-specific sensors HAL module starts, it sends 124 * "list-sensors" 127 * to a bitmap of available hardware sensors in the current AVD 136 * send information about the corresponding enabled sensors. The default 173 Sensor sensors[MAX_SENSORS]; member in struct:__anon13056 180 HwSensors* sensors; member in struct:HwSensorClient 486 HwSensors* sensors = opaque; local [all...] |
/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 89 public boolean registerListener(SensorListener listener, int sensors, int rate) { 95 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; 97 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; 99 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; 101 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; 103 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; 108 SensorListener listener, int sensors, int rate) { 111 if ((sensors & legacyType) != 0) { 118 // are called reentrantly while sensors are being registered or unregistered. 144 public void unregisterListener(SensorListener listener, int sensors) { [all...] |
/device/generic/goldfish/sensors/ |
sensors_qemu.c | 17 /* this implements a sensors hardware library for the Android emulator. 19 * placed into /system/lib/hw/sensors.goldfish.so 26 /* we connect with the emulator through the "sensors" qemud service 28 #define SENSORS_SERVICE_NAME "sensors" 39 #include <hardware/sensors.h> 114 /** SENSORS POLL DEVICE 123 sensors_event_t sensors[MAX_NUM_SENSORS]; member in struct:SensorPoll 133 * the sensors data (it is passed to data__data_open() below 156 uint32_t mask, sensors, active, new_sensors, changed; local 169 sensors = enabled ? mask : 0 [all...] |
Android.mk | 26 LOCAL_MODULE := sensors.vbox_x86 28 LOCAL_MODULE := sensors.goldfish
|
/build/target/product/ |
vbox_x86.mk | 32 sensors.vbox_x86
|
emulator.mk | 56 sensors.goldfish
|
/device/samsung/tuna/libsensors/ |
sensors.h | 28 #include <hardware/sensors.h>
|
Android.mk | 22 LOCAL_MODULE := sensors.tuna 28 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" 31 sensors.cpp \
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTest.java | 47 // Because we can't know every sensors unit details, so we can't assert 49 List<Sensor> sensors = mSensorManager.getSensorList(Sensor.TYPE_ALL); local 50 assertNotNull(sensors); 142 // We expect the set of sensors reported by the new and legacy APIs to be consistent. 143 int sensors = 0; local 145 sensors |= SensorManager.SENSOR_ACCELEROMETER; 148 sensors |= SensorManager.SENSOR_MAGNETIC_FIELD; 151 sensors |= SensorManager.SENSOR_ORIENTATION | SensorManager.SENSOR_ORIENTATION_RAW; 153 assertEquals(sensors, mSensorManager.getSensors());
|
/frameworks/base/core/java/android/webkit/ |
DeviceOrientationService.java | 145 List<Sensor> sensors = getSensorManager().getSensorList(Sensor.TYPE_ACCELEROMETER); local 146 if (sensors.isEmpty()) { 149 // TODO: Consider handling multiple sensors. 151 this, sensors.get(0), SensorManager.SENSOR_DELAY_FASTEST, mHandler); 155 List<Sensor> sensors = getSensorManager().getSensorList(Sensor.TYPE_MAGNETIC_FIELD); local 156 if (sensors.isEmpty()) { 159 // TODO: Consider handling multiple sensors. 161 this, sensors.get(0), SensorManager.SENSOR_DELAY_FASTEST, mHandler);
|
DeviceMotionService.java | 138 List<Sensor> sensors = getSensorManager().getSensorList(Sensor.TYPE_ACCELEROMETER); local 139 if (sensors.isEmpty()) { 143 // TODO: Consider handling multiple sensors. 145 this, sensors.get(0), SensorManager.SENSOR_DELAY_UI, mHandler);
|
/hardware/invensense/mlsdk/mllite/ |
mldl.h | 121 inv_error_t inv_dl_start(unsigned long sensors); 122 inv_error_t inv_dl_stop(unsigned long sensors); 126 inv_error_t inv_init_requested_sensors(unsigned long sensors);
|
ml.c | 29 * sensors. [all...] |
/device/asus/tilapia/self-extractors/asus/staging/ |
device-partial.mk | 18 sensors-config \ 21 sensors.grouper \
|
/hardware/invensense/libsensors/ |
sensors.h | 28 #include <hardware/sensors.h> 48 * The SENSORS Module
|
/device/asus/tilapia/self-extractors/asus/staging/proprietary/ |
Android.mk | 29 LOCAL_MODULE := sensors-config 30 LOCAL_SRC_FILES := sensors-config 58 LOCAL_MODULE := sensors.grouper 59 LOCAL_SRC_FILES := sensors.grouper.so
|
/sdk/testapps/testSensors/src/com/android/tests/testsensors/ |
TestSensorsActivity.java | 35 /** Array containing monitored sensors. */ 37 /** Controls displayed list of sensors. */ 209 // Iterate through the available sensors, adding them to the array. 212 List<Sensor> sensors = sm.getSensorList(Sensor.TYPE_ALL); local 214 for (int n = 0; n < sensors.size(); n++) { 215 Sensor avail_sensor = sensors.get(n); 217 // There can be multiple sensors of the same type. We need only one.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
/external/qemu/android/utils/ |
debug.h | 36 _VERBOSE_TAG(sensors, "emulated sensors") \ 40 _VERBOSE_TAG(sensors_port, "sensors emulator connected to android device") \
|
/frameworks/native/include/gui/ |
Sensor.h | 28 #include <hardware/sensors.h>
|
/frameworks/native/services/sensorservice/ |
LinearAccelerationSensor.cpp | 23 #include <hardware/sensors.h>
|