/frameworks/base/native/android/ |
D | sensor.cpp | 112 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/ |
D | SystemSensorManager.java | 46 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 …]
|
D | SensorListener.java | 90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged()
|
D | SensorManager.java | 602 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 …]
|
D | LegacySensorManager.java | 113 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()
|
D | SensorEventListener2.java | 36 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
|
D | SensorEventListener.java | 50 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
|
D | TriggerEvent.java | 52 public Sensor sensor; field in TriggerEvent
|
D | SensorEvent.java | 493 public Sensor sensor; field in SensorEvent
|
/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 37 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/ |
D | SensorService.cpp | 221 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 …]
|
D | RotationVectorSensor.cpp | 74 Sensor sensor(&hwSensor); in getSensor() local 123 Sensor sensor(&hwSensor); in getSensor() local
|
D | OrientationSensor.cpp | 87 Sensor sensor(&hwSensor); in getSensor() local
|
D | LinearAccelerationSensor.cpp | 73 Sensor sensor(&hwSensor); in getSensor() local
|
D | CorrectedGyroSensor.cpp | 80 Sensor sensor(&hwSensor); in getSensor() local
|
D | GravitySensor.cpp | 88 Sensor sensor(&hwSensor); in getSensor() local
|
D | SensorInterface.cpp | 31 HardwareSensor::HardwareSensor(const sensor_t& sensor) in HardwareSensor()
|
/frameworks/base/core/java/android/view/ |
D | OrientationListener.java | 93 public void onAccuracyChanged(int sensor, int accuracy) { in onAccuracyChanged() 96 public void onSensorChanged(int sensor, float[] values) { in onSensorChanged()
|
D | OrientationEventListener.java | 147 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 70 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 68 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SensorPowerCalculator.java | 41 final BatteryStats.Uid.Sensor sensor = sensorStats.valueAt(ise); in calculateApp() local
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 74 public final void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
/frameworks/native/include/android/ |
D | sensor.h | 122 int32_t sensor; member 152 int32_t sensor; member
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelView.java | 188 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|