HomeSort by relevance Sort by last modified time
    Searched defs:sensors (Results 1 - 25 of 32) sorted by null

1 2

  /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/
AccelerometerTestActivity.java 17 package com.android.cts.verifier.sensors;
AccelerometerTestRenderer.java 17 package com.android.cts.verifier.sensors;
GyroscopeTestActivity.java 17 package com.android.cts.verifier.sensors;
  /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/
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);
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);
  /hardware/invensense/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 =
  /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 214 * Check that the sensor features reported by the PackageManager correspond to the sensors
290 List<Sensor> sensors = mSensorManager.getSensorList(expectedSensorType); local
291 List<String> sensorNames = new ArrayList<String>(sensors.size());
292 for (Sensor sensor : sensors) {
295 boolean hasSensorType = !sensors.isEmpty();
299 + " but SensorManager#getSensorList(" + expectedSensorType + ") shows sensors "
  /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...]
  /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...]
  /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...]
  /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...]
  /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);
  /frameworks/base/core/java/android/os/
BatteryStats.java 1392 Map<Integer, ? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats(); local
1903 Map<Integer, ? extends BatteryStats.Uid.Sensor> sensors = u.getSensorStats(); local
    [all...]
  /prebuilts/devtools/tools/lib/
sdklib.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 

Completed in 579 milliseconds

1 2