HomeSort by relevance Sort by last modified time
    Searched refs:Sensor (Results 176 - 200 of 375) sorted by null

1 2 3 4 5 6 78 91011>>

  /hardware/libhardware/modules/sensors/dynamic_sensor/test/
HidRawSensorTest.cpp 44 .name = "Test sensor name",
112 using namespace Hid::Sensor::SensorTypeUsage;
139 LOG_V << name << " sensor: " << LOG_ENDL;
141 LOG_I << "Sensor usage " << std::hex << digest.fullUsage << std::dec << LOG_ENDL;
147 LOG_V << "Sensor of usage " << std::hex << digest.fullUsage << std::dec
  /system/chre/platform/slpi/
platform_sensor.cc 32 #include "chre_api/chre/sensor.h"
34 #include "chre/core/sensor.h"
45 // As SMGR doesn't support passive sensor request, it's now implemented on the
50 // 1. A sensor status monitor is added in addSensorMonitor() to receive the
51 // SNS_SMGR_SENSOR_STATUS_MONITOR_IND_V02 message the first time a sensor is
59 // 2) If the request is allowed, a QMI request to add the sensor request is
60 // made. Otherwise, a QMI request to remove the sensor request is made to
63 // 3) The merged mode of a sensor is the strongest mode of all sensor
64 // requests of the same sensor ID, with active > passive > off
311 Sensor sensor; local
729 const Sensor *sensor = EventLoopManagerSingleton::get() local
1186 const Sensor *sensor = EventLoopManagerSingleton::get() local
1261 Sensor *sensor = EventLoopManagerSingleton::get()->getSensorRequestManager() local
1304 const Sensor *sensor = EventLoopManagerSingleton::get() local
1330 const Sensor *sensor = EventLoopManagerSingleton::get() local
    [all...]
  /cts/tests/sensor/
Android.mk 18 # Reusable Sensor test classes and helpers
  /frameworks/native/services/sensorservice/hidl/
SensorManager.cpp 67 ::android::Sensor const* const* list;
84 ::android::Sensor const* sensor = getInternalManager().getDefaultSensor(static_cast<int>(type)); member in class:android::frameworks::sensorservice::V1_0::implementation::android
85 if (!sensor) {
89 _hidl_cb(convertSensor(*sensor), Result::OK);
  /hardware/libhardware/modules/sensors/dynamic_sensor/
HidRawSensor.cpp 32 const std::string CUSTOM_TYPE_PREFIX("com.google.hardware.sensor.hid_dynamic.");
54 LOG_E << "finding sensor control usage failed" << LOG_ENDL;
61 using namespace Hid::Sensor::SensorTypeUsage;
62 using namespace Hid::Sensor::ReportUsage;
137 LOG_E << "Invalid android custom sensor" << LOG_ENDL;
158 LOG_E << "Cannot find CUSTOM_VALUE_X in custom sensor" << LOG_ENDL;
214 LOG_I << "unsupported sensor usage " << usage << LOG_ENDL;
226 Hid::Sensor::ReportUsage::ORIENTATION_QUATERNION,
302 LOG_E << "Three axis sensor does not find all 3 axis" << LOG_ENDL;
462 using namespace Hid::Sensor::PropertyUsage
    [all...]
  /device/google/contexthub/firmware/os/core/
nanohub_chre.c 252 struct Sensor *s = sensorFindByHandle(sensorHandle);
280 struct Sensor *s = sensorFindByHandle(sensorHandle);
320 struct Sensor *s = sensorFindByHandle(sensorHandle);
  /device/generic/goldfish/camera/
EmulatedFakeCamera2.cpp 56 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
70 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
85 static_cast<uint64_t>(Sensor::kFrameDurationRange[0])
175 mSensor = new Sensor(mSensorWidth, mSensorHeight);
250 ALOGE("%s: Unable to shut down sensor: %d", __FUNCTION__, res);
808 ALOGV("Configure: Waiting for sensor");
818 ALOGV("Configure: Waiting for sensor");
833 // Get necessary parameters for sensor config
907 mNextExposureTime + Sensor::kMinVerticalBlank) {
908 mNextFrameDuration = mNextExposureTime + Sensor::kMinVerticalBlank
    [all...]
Android.mk 71 fake-pipeline2/Sensor.cpp \
EmulatedFakeCamera2.h 28 #include "fake-pipeline2/Sensor.h"
38 * a simple simulation of a scene, sensor, and image processing pipeline.
420 sp<Sensor> mSensor;
  /frameworks/base/core/jni/
android_hardware_SensorManager.cpp 28 #include <sensor/Sensor.h>
29 #include <sensor/SensorEventQueue.h>
30 #include <sensor/SensorManager.h>
91 //android.hardware.Sensor
94 MakeGlobalRefOrDie(_env, FindClassOrDie(_env, "android/hardware/Sensor"));
154 translateNativeSensorToJavaSensor(JNIEnv *env, jobject sensor, const Sensor& nativeSensor) {
157 if (sensor == NULL) {
158 // Sensor sensor = new Sensor()
224 jobject sensor = translateNativeSensorToJavaSensor(env, NULL, nativeList[i]); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
AutomaticBrightnessController.java 23 import android.hardware.Sensor;
50 // How long the current sensor reading is assumed to be valid beyond the current time.
72 // The sensor manager.
75 // The light sensor, or null if not available or needed.
76 private final Sensor mLightSensor;
87 // Initial light sensor event rate in milliseconds.
90 // Steady-state light sensor event rate in milliseconds.
93 // The current light sensor event rate in milliseconds.
97 // for debouncing the light sensor. Different constants are used to debounce the light sensor
    [all...]
DisplayPowerController.java 28 import android.hardware.Sensor;
53 * Handles the proximity sensor, light sensor, and animations between states
101 // Proximity sensor debounce delay in milliseconds for positive or negative transitions.
132 // The sensor manager.
141 // The proximity sensor, or null if not available or needed.
142 private Sensor mProximitySensor;
162 // True if should use light sensor to automatically determine doze screen brightness.
189 // True if a request has been made to wait for the proximity sensor to go negative.
219 // True if the device should wait for negative proximity sensor befor
    [all...]
  /frameworks/native/services/sensorservice/
SensorDevice.h 22 #include <sensor/Sensor.h>
138 // Info is a per-sensor data structure which contains the batch parameters for each client that
139 // has registered for this sensor.
SensorDirectConnection.cpp 60 result.appendFormat("\tPackage %s, HAL channel handle %d, total sensor activated %zu\n",
112 const Sensor& s = si->getSensor();
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
FakeUid.java 69 public SparseArray<? extends Sensor> getSensorStats() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DataCollector.java 21 import android.hardware.Sensor;
43 * Tracks touch, sensor and phone events when the lockscreen is on. If the phone is unlocked
228 public void onAccuracyChanged(Sensor sensor, int accuracy) {
241 * extensive sensor data, which is is not normally included with rejected touch reports.
  /external/replicaisland/src/com/replica/replicaisland/
AndouKun.java 28 import android.hardware.Sensor;
322 Sensor orientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
723 public void onAccuracyChanged(Sensor sensor, int accuracy) {
731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
ItsService.java 35 import android.hardware.Sensor;
186 public Sensor sensor; field in class:ItsService.MySensorEvent
192 // For capturing motion sensor traces.
194 private Sensor mAccelSensor = null;
195 private Sensor mMagSensor = null;
196 private Sensor mGyroSensor = null;
230 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
231 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
232 mGyroSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE)
    [all...]
  /device/google/contexthub/sensorhal/
Android.mk 16 # Nanohub sensor HAL usage instructions:
20 # # Enable the nanohub sensor HAL
23 # # Nanohub sensor list source file
26 # # Sensor HAL name override (optional)
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java 53 import android.hardware.Sensor;
156 private Sensor mSensor;
279 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE);
281 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsSensorTest.java 26 * Test BatteryStatsImpl Sensor Timers.
76 // Plugged-in (battery=off, sensor=off)
81 // Start sensor (battery=off, sensor=on)
93 // Stop sensor (battery=off, sensor=off)
112 // Unplugged (battery=on, sensor=off)
116 // Start sensor (battery=on, sensor=on)
128 // Stop sensor (battery=on, sensor=off
398 BatteryStats.Uid.Sensor sensor = uid.getSensorStats().get(SENSOR_ID); local
453 BatteryStats.Uid.Sensor sensor = bi.getUidStats().get(UID).getSensorStats().get(SENSOR_ID); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
HealthStatsBatteryStatsWriter.java 53 SparseArray<? extends BatteryStats.Uid.Sensor> sensors;
126 if (sensorId == BatteryStats.Uid.Sensor.GPS) {
  /frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
MyGLSurfaceView.java 39 import android.hardware.Sensor;
  /frameworks/base/services/core/java/com/android/server/
DeviceIdleController.java 32 import android.hardware.Sensor;
124 private Sensor mMotionSensor;
435 public void onAccuracyChanged(Sensor sensor, int accuracy) {}
439 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) {
454 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) {
629 * motion sensor to determine if the device is being left alone. We don't do this
631 * the motion sensor whenever the screen is off.
    [all...]
  /external/walt/pywalt/pywalt/
walt.py 415 print('Sensor log file : ' + sensor_file_name)

Completed in 1841 milliseconds

1 2 3 4 5 6 78 91011>>