Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java41 private static native int nativeGetNextSensor(Sensor sensor, int next); in nativeGetNextSensor()
72 Sensor sensor = new Sensor(); in SystemSensorManager() local
78 sHandleToSensor.append(sensor.getHandle(), sensor); in SystemSensorManager() local
95 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
134 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl()
159 protected boolean requestTriggerSensorImpl(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensorImpl()
182 protected boolean cancelTriggerSensorImpl(TriggerEventListener listener, Sensor sensor, in cancelTriggerSensorImpl()
251 Sensor sensor, int delayUs, int maxBatchReportLatencyUs, int reservedFlags) { in addSensor()
274 Sensor sensor = sHandleToSensor.get(handle); in removeAllSensors() local
287 public boolean removeSensor(Sensor sensor, boolean disable) { in removeSensor()
[all …]
DSensorListener.java90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged()
100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged()
DSensorManager.java537 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
564 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
603 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs) { in registerListener()
659 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs, in registerListener()
707 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs, in registerListener()
738 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rateUs, in registerListener()
745 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
1449 public boolean requestTriggerSensor(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensor()
1457 Sensor sensor); in requestTriggerSensorImpl()
1481 public boolean cancelTriggerSensor(TriggerEventListener listener, Sensor sensor) { in cancelTriggerSensor()
[all …]
DSensorEventListener2.java33 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
DTriggerEvent.java52 public Sensor sensor; field in TriggerEvent
DSensorEventListener.java48 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
DSensorEvent.java491 public Sensor sensor; field in SensorEvent
DLegacySensorManager.java113 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener() local
165 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener() local
248 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
286 private void mapSensorDataToWindow(int sensor, in mapSensorDataToWindow()
DSensor.java271 static int getReportingMode(Sensor sensor) { in getReportingMode()
289 static int getMaxLengthValuesArray(Sensor sensor, int sdkLevel) { in getMaxLengthValuesArray()
/frameworks/base/native/android/
Dsensor.cpp86 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_enableSensor()
92 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_disableSensor()
98 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_setEventRate()
132 const char* ASensor_getName(ASensor const* sensor) in ASensor_getName()
137 const char* ASensor_getVendor(ASensor const* sensor) in ASensor_getVendor()
142 int ASensor_getType(ASensor const* sensor) in ASensor_getType()
147 float ASensor_getResolution(ASensor const* sensor) in ASensor_getResolution()
152 int ASensor_getMinDelay(ASensor const* sensor) in ASensor_getMinDelay()
/frameworks/base/core/java/android/view/
DOrientationListener.java93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged()
96 public void onSensorChanged(int sensor, float[] values) { in onSensorChanged()
DOrientationEventListener.java147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/native/services/sensorservice/
DSensorService.cpp177 const Sensor sensor(s->getSensor()); in registerSensor() local
190 Sensor sensor = registerSensor(s); in registerVirtualSensor() local
299 SensorInterface* sensor; in cleanupAutoDisabledSensor() local
475 const Sensor& sensor(mUserSensorList[i]); in getSensorName() local
485 SensorInterface* sensor = mSensorMap.valueFor(handle); in isVirtualSensor() local
516 SensorInterface* sensor = mSensorMap.valueFor( handle ); in cleanupConnection() local
548 SensorInterface* sensor = mSensorMap.valueFor(handle); in enable() local
629 SensorInterface* sensor = mSensorMap.valueFor(handle); in disable() local
669 SensorInterface* sensor = mSensorMap.valueFor(handle); in setEventRate() local
687 SensorInterface* sensor = mSensorMap.valueFor(handle); in flushSensor() local
DRotationVectorSensor.cpp74 Sensor sensor(&hwSensor); in getSensor() local
123 Sensor sensor(&hwSensor); in getSensor() local
DOrientationSensor.cpp87 Sensor sensor(&hwSensor); in getSensor() local
DLinearAccelerationSensor.cpp73 Sensor sensor(&hwSensor); in getSensor() local
DCorrectedGyroSensor.cpp80 Sensor sensor(&hwSensor); in getSensor() local
DGravitySensor.cpp88 Sensor sensor(&hwSensor); in getSensor() local
DSensorInterface.cpp33 HardwareSensor::HardwareSensor(const sensor_t& sensor) in HardwareSensor()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBalls.java70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp143 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate()
/frameworks/native/include/android/
Dsensor.h111 int32_t sensor; member
136 int32_t sensor; member
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl31 void noteStartSensor(int uid, int sensor); in noteStartSensor()
35 void noteStopSensor(int uid, int sensor); in noteStopSensor()

12