/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.c | 59 static struct inv_sensor_cal_t sensors; variable in typeref:struct:inv_sensor_cal_t 89 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); 96 // copy in the saved accuracy in the actual sensors accuracy 97 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; 98 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; 99 sensors.compass.accuracy = inv_data_builder.save.compass_accuracy; 101 if (sensors.compass.accuracy == 3) { 135 memset(&sensors, 0, sizeof(sensors)); [all...] |
/hardware/invensense/60xx/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:__anon26490 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
|
/hardware/invensense/60xx/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);
|
/device/asus/grouper/self-extractors/asus/staging/ |
device-partial.mk | 17 sensors-config \ 19 sensors.grouper \
|
/device/asus/tilapia/self-extractors/asus/staging/ |
device-partial.mk | 17 sensors-config \ 20 sensors.grouper \
|
/device/lge/hammerhead/libsensors/ |
sensors.h | 28 #include <hardware/sensors.h>
|
Android.mk | 25 LOCAL_MODULE := sensors.hammerhead 31 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" 35 sensors.cpp \
|
/hardware/invensense/60xx/libsensors/ |
sensors.h | 28 #include <hardware/sensors.h> 48 * The SENSORS Module
|
/device/asus/grouper/self-extractors/asus/staging/proprietary/ |
Android.mk | 20 LOCAL_MODULE := sensors-config 21 LOCAL_SRC_FILES := sensors-config 39 LOCAL_MODULE := sensors.grouper 40 LOCAL_SRC_FILES := sensors.grouper.so
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeMeasurementTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
/hardware/akm/AK8975_FS/libsensors/ |
Android.mk | 24 LOCAL_MODULE := sensors.default 30 LOCAL_CFLAGS := -DLOG_TAG=\"Sensors\" \ 39 sensors.cpp \
|
sensors.h | 28 #include <hardware/sensors.h> 43 * The SENSORS Module
|
/device/asus/tilapia/self-extractors/asus/staging/proprietary/ |
Android.mk | 20 LOCAL_MODULE := sensors-config 21 LOCAL_SRC_FILES := sensors-config 49 LOCAL_MODULE := sensors.grouper 50 LOCAL_SRC_FILES := sensors.grouper.so
|
/device/lge/hammerhead/ |
device.mk | 239 ro.qc.sensors.max_geomag_rotvec=60 \ 240 ro.qc.sensors.max_gyro_rate=200 \ 241 ro.qc.sensors.max_accel_rate=200 \ 242 ro.qc.sensors.max_grav=200 \ 243 ro.qc.sensors.max_rotvec=200 \ 244 ro.qc.sensors.max_ortn=200 \ 245 ro.qc.sensors.max_linacc=200 \ 246 ro.qc.sensors.max_gamerv_rate=200 250 ro.qualcomm.sensors.smd=true \ 251 ro.qualcomm.sensors.game_rv=true [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTest.java | 53 // Skip all non-continuous mode sensors. 65 // Because we can't know every sensors unit details, so we can't assert 67 List<Sensor> sensors = mSensorManager.getSensorList(Sensor.TYPE_ALL); local 68 assertNotNull(sensors); 211 // Same as testBatchAndFlush but using Handler version of the API to register for sensors. 248 // Call registerListener for multiple sensors at a time and call flush. 300 // We expect the set of sensors reported by the new and legacy APIs to be consistent. 301 int sensors = 0; local 303 sensors |= SensorManager.SENSOR_ACCELEROMETER; 306 sensors |= SensorManager.SENSOR_MAGNETIC_FIELD [all...] |
/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.
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceMotionAndOrientation.java | 108 // note: device motion spec does not require all sensors to be available 131 * Stop listening to sensors for a given event type. Ensures that sensors are not disabled 295 * @param sensorTypes List of sensors to activate. 297 * @param failOnMissingSensor If true the method returns true only if all sensors could be 447 List<Sensor> sensors = mSensorManager.getSensorList(sensorType); local 448 if (sensors.isEmpty()) { 451 return mSensorManager.registerListener(listener, sensors.get(0), rate, handler); 455 List<Sensor> sensors = mSensorManager.getSensorList(sensorType); local 456 if (!sensors.isEmpty()) [all...] |