/build/tools/droiddoc/templates-pdk/ |
sdkpage.cs | 78 libraries that allow you to build activities, handle user input, use hardware sensors, external variable declarations
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
AccelerometerMeasurementTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
GyroscopeMeasurementTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
AccelerometerTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
MagneticFieldMeasurementTestActivity.java | 17 package com.android.cts.verifier.sensors; 108 * This test is used to validate the requirement imposed by the CDD to Sensors in Android. And
|
AccelerometerTestRenderer.java | 17 package com.android.cts.verifier.sensors;
|
BaseSensorSemiAutomatedTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
GyroscopeTestActivity.java | 17 package com.android.cts.verifier.sensors;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
MotionSensor.java | 19 package androidx.media.filterpacks.sensors;
|
/device/lge/hammerhead/libsensors/ |
sensors.cpp | 17 #include <hardware/sensors.h> 31 #include "sensors.h" 37 /* The SENSORS Module */ 76 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t)); variable 85 return sensors; 185 sensors = LOCAL_SENSORS + 442 ALOGE("Failed to open the sensors");
|
/hardware/invensense/60xx/libsensors_iio/ |
sensors_mpl.cpp | 19 #include <hardware/sensors.h>
33 #include "sensors.h"
37 /* The SENSORS Module */
53 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t));
variable 62 return sensors;
122 sensors =
|
/hardware/invensense/65xx/libsensors_iio/ |
sensors_mpl.cpp | 19 #include <hardware/sensors.h>
33 #include "sensors.h"
45 /* The SENSORS Module */
54 static int sensors = (sizeof(sSensorList) / sizeof(sensor_t));
variable 63 return sensors;
135 sensors =
|
/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/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 215 * Check that the sensor features reported by the PackageManager correspond to the sensors 295 List<Sensor> sensors = mSensorManager.getSensorList(expectedSensorType); local 296 List<String> sensorNames = new ArrayList<String>(sensors.size()); 297 for (Sensor sensor : sensors) { 300 boolean hasSensorType = !sensors.isEmpty(); 304 + " but SensorManager#getSensorList(" + expectedSensorType + ") shows sensors "
|
/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...] |
/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:__anon27442 180 HwSensors* sensors; member in struct:HwSensorClient 486 HwSensors* sensors = opaque; local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 256 * Get all the sensors for a given type. 260 List<Sensor> sensors = sensorManager.getSensorList(sensorType); local 261 if (sensors.size() == 0) { 264 return sensors;
|
/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...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
DeviceMotionAndOrientation.java | 103 // note: device motion spec does not require all sensors to be available 126 * Stop listening to sensors for a given event type. Ensures that sensors are not disabled 339 * @param sensorTypes List of sensors to activate. 341 * @param failOnMissingSensor If true the method returns true only if all sensors could be 492 List<Sensor> sensors = mSensorManager.getSensorList(sensorType); local 493 if (sensors.isEmpty()) { 496 return mSensorManager.registerListener(listener, sensors.get(0), rate, handler); 501 List<Sensor> sensors = mSensorManager.getSensorList(sensorType); local 502 if (!sensors.isEmpty()) [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...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
SensorActivity.java | 45 * Activity that displays and controls the sensors from {@link SensorChannel}. 76 setContentView(R.layout.sensors); 182 List<MonitoredSensor> sensors = mSensorHandler.getSensors(); local 183 for (MonitoredSensor sensor : sensors) {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
SensorChannel.java | 37 * Implements sensors emulation. 57 /** Array containing monitored sensors. */ 85 // Iterate through the available sensors, adding them to the array. 86 List<Sensor> sensors = mSenMan.getSensorList(Sensor.TYPE_ALL); local 88 for (int n = 0; n < sensors.size(); n++) { 89 Sensor avail_sensor = sensors.get(n); 91 // There can be multiple sensors of the same type. We need only one. 109 * Returns the list of sensors found on the device. 112 * @return A non-null possibly-empty list of sensors. 180 // Iterate through the list of monitored sensors, dumping the [all...] |
/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...] |
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/ |
ConfigGenerator.java | 137 public static final String NODE_SENSORS = "sensors"; 340 Element sensors = doc.createElement(PREFIX + NODE_SENSORS); local 341 hardware.appendChild(sensors); 343 sensors.appendChild(sensorsText);
|