Home
last modified time | relevance | path

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

12

/frameworks/base/native/android/
Dsensor.cpp112 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_enableSensor()
118 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) in ASensorEventQueue_disableSensor()
124 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_setEventRate()
161 const char* ASensor_getName(ASensor const* sensor) in ASensor_getName()
166 const char* ASensor_getVendor(ASensor const* sensor) in ASensor_getVendor()
171 int ASensor_getType(ASensor const* sensor) in ASensor_getType()
176 float ASensor_getResolution(ASensor const* sensor) in ASensor_getResolution()
181 int ASensor_getMinDelay(ASensor const* sensor) in ASensor_getMinDelay()
186 int ASensor_getFifoMaxEventCount(ASensor const* sensor) in ASensor_getFifoMaxEventCount()
191 int ASensor_getFifoReservedEventCount(ASensor const* sensor) in ASensor_getFifoReservedEventCount()
[all …]
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java46 Sensor sensor, int index); in nativeGetSensorAtIndex()
85 Sensor sensor = new Sensor(); in SystemSensorManager() local
88 mHandleToSensor.append(sensor.getHandle(), sensor); in SystemSensorManager() local
102 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
144 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl()
169 protected boolean requestTriggerSensorImpl(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensorImpl()
197 protected boolean cancelTriggerSensorImpl(TriggerEventListener listener, Sensor sensor, in cancelTriggerSensorImpl()
259 protected boolean injectSensorDataImpl(Sensor sensor, float[] values, int accuracy, in injectSensorDataImpl()
322 Sensor sensor, int delayUs, int maxBatchReportLatencyUs) { in addSensor()
345 Sensor sensor = mManager.mHandleToSensor.get(handle); in removeAllSensors() local
[all …]
DSensorListener.java90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged()
100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged()
DSensorManager.java602 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
629 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
683 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
740 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
775 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
806 … public boolean registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, in registerListener()
813 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
1524 public boolean requestTriggerSensor(TriggerEventListener listener, Sensor sensor) { in requestTriggerSensor()
1532 Sensor sensor); in requestTriggerSensorImpl()
1556 public boolean cancelTriggerSensor(TriggerEventListener listener, Sensor sensor) { in cancelTriggerSensor()
[all …]
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()
DSensorEventListener2.java36 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
DSensorEventListener.java50 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
DTriggerEvent.java52 public Sensor sensor; field in TriggerEvent
DSensorEvent.java493 public Sensor sensor; field in SensorEvent
/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/native/services/sensorservice/
DSensorService.cpp221 const Sensor sensor(s->getSensor()); in registerSensor() local
234 Sensor sensor = registerSensor(s); in registerVirtualSensor() local
450 SensorInterface* sensor = mSensorMap.valueFor(handle); in cleanupAutoDisabledSensorLocked() local
690 const Sensor& sensor(mUserSensorList[i]); in getSensorName() local
700 SensorInterface* sensor = mSensorMap.valueFor(handle); in isVirtualSensor() local
709 SensorInterface* sensor = mSensorMap.valueFor(handle); in isWakeUpSensorEvent() local
725 Sensor sensor = initialSensorList[i]; in getSensorList() local
795 SensorInterface* sensor = mSensorMap.valueFor( handle ); in cleanupConnection() local
837 SensorInterface* sensor = mSensorMap.valueFor(handle); in enable() local
968 SensorInterface* sensor = mSensorMap.valueFor(handle); in disable() local
[all …]
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.cpp31 HardwareSensor::HardwareSensor(const sensor_t& sensor) in HardwareSensor()
/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/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/core/java/com/android/internal/os/
DSensorPowerCalculator.java41 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise); in calculateApp() local
/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/include/android/
Dsensor.h122 int32_t sensor; member
152 int32_t sensor; member
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModelView.java188 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()

12