Home
last modified time | relevance | path

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

12

/frameworks/base/native/android/
Dsensor.cpp108 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_registerSensor()
116 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_enableSensor()
122 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_disableSensor()
128 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_setEventRate()
165 const char* ASensor_getName(ASensor const* sensor) in ASensor_getName()
170 const char* ASensor_getVendor(ASensor const* sensor) in ASensor_getVendor()
175 int ASensor_getType(ASensor const* sensor) in ASensor_getType()
180 float ASensor_getResolution(ASensor const* sensor) in ASensor_getResolution()
185 int ASensor_getMinDelay(ASensor const* sensor) in ASensor_getMinDelay()
190 int ASensor_getFifoMaxEventCount(ASensor const* sensor) in ASensor_getFifoMaxEventCount()
[all …]
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java56 Sensor sensor, int index); in nativeGetSensorAtIndex()
105 Sensor sensor = new Sensor(); in SystemSensorManager() local
108 mHandleToSensor.put(sensor.getHandle(), sensor); in SystemSensorManager() local
131 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
173 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl()
198 protected boolean requestTriggerSensorImpl(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensorImpl()
226 protected boolean cancelTriggerSensorImpl(TriggerEventListener listener, Sensor sensor, in cancelTriggerSensorImpl()
288 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl()
306 private void cleanupSensorConnection(Sensor sensor) { in cleanupSensorConnection()
530 Sensor sensor, int delayUs, int maxBatchReportLatencyUs) { in addSensor()
[all …]
DSensorListener.java90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged()
100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged()
DSensorEventCallback.java38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
46 public void onFlushCompleted(Sensor sensor) {} in onFlushCompleted()
DSensorManager.java640 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
667 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
721 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
778 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
813 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
844 … public boolean registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, in registerListener()
851 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
893 public void onDynamicSensorConnected(Sensor sensor) {} in onDynamicSensorConnected()
900 public void onDynamicSensorDisconnected(Sensor sensor) {} in onDynamicSensorDisconnected()
1668 public boolean requestTriggerSensor(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensor()
[all …]
DSensorEventListener2.java36 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
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()
DTriggerEvent.java52 public Sensor sensor; field in TriggerEvent
DSensorEventListener.java55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
DSensorEvent.java588 public Sensor sensor; field in SensorEvent
DSensorAdditionalInfo.java41 public final Sensor sensor; field in SensorAdditionalInfo
/frameworks/native/services/sensorservice/
DSensorInterface.cpp32 BaseSensor::BaseSensor(const sensor_t& sensor) : in BaseSensor()
37 BaseSensor::BaseSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]) : in BaseSensor()
44 HardwareSensor::HardwareSensor(const sensor_t& sensor): in HardwareSensor()
48 HardwareSensor::HardwareSensor(const sensor_t& sensor, const uint8_t (&uuid)[16]): in HardwareSensor()
DSensorService.cpp774 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isVirtualSensor() local
783 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in isWakeUpSensorEvent() local
860 for (auto &sensor : sensorList) { in makeUuidsIntoIdsForSensorList() local
873 Sensor sensor = initialSensorList[i]; in getSensorList() local
890 [&opPackageName, &accessibleSensorList] (const Sensor& sensor) -> bool { in getDynamicSensorList()
963 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in cleanupConnection() local
1006 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in enable() local
1136 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in disable() local
1190 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in setEventRate() local
1217 sp<SensorInterface> sensor = getSensorInterfaceFromHandle(handle); in flushSensor() local
[all …]
DRotationVectorSensor.cpp32 const sensor_t sensor = { in RotationVectorSensor() local
118 const sensor_t sensor = { in GyroDriftSensor() local
DOrientationSensor.cpp33 const sensor_t sensor = { in OrientationSensor() local
DCorrectedGyroSensor.cpp41 const sensor_t sensor = { in CorrectedGyroSensor() local
DLinearAccelerationSensor.cpp35 const sensor_t sensor = { in LinearAccelerationSensor() local
DGravitySensor.cpp40 const sensor_t sensor = { in GravitySensor() local
/frameworks/native/libs/binder/
DIBatteryStats.cpp37 virtual void noteStartSensor(int uid, int sensor) { in noteStartSensor()
45 virtual void noteStopSensor(int uid, int sensor) { in noteStopSensor()
146 int sensor = data.readInt32(); in onTransact() local
154 int sensor = data.readInt32(); in onTransact() local
/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()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp131 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor()
154 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBalls.java70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java80 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java41 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise); in calculateApp() local

12