/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 41 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 …]
|
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 | 537 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 …]
|
D | SensorEventListener2.java | 33 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
|
D | TriggerEvent.java | 52 public Sensor sensor; field in TriggerEvent
|
D | SensorEventListener.java | 48 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
|
D | SensorEvent.java | 491 public Sensor sensor; field in SensorEvent
|
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 | Sensor.java | 271 static int getReportingMode(Sensor sensor) { in getReportingMode() 289 static int getMaxLengthValuesArray(Sensor sensor, int sdkLevel) { in getMaxLengthValuesArray()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 86 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/ |
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/native/services/sensorservice/ |
D | SensorService.cpp | 177 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
|
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 | 33 HardwareSensor::HardwareSensor(const sensor_t& sensor) in HardwareSensor()
|
/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/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/libs/gui/ |
D | SensorEventQueue.cpp | 143 status_t SensorEventQueue::setEventRate(Sensor const* sensor, nsecs_t ns) const { in setEventRate()
|
/frameworks/native/include/android/ |
D | sensor.h | 111 int32_t sensor; member 136 int32_t sensor; member
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 31 void noteStartSensor(int uid, int sensor); in noteStartSensor() 35 void noteStopSensor(int uid, int sensor); in noteStopSensor()
|