/frameworks/base/native/android/ |
D | sensor.cpp | 108 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/ |
D | SystemSensorManager.java | 56 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 …]
|
D | SensorListener.java | 90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() 100 public void onAccuracyChanged(int sensor, int accuracy); in onAccuracyChanged()
|
D | SensorEventCallback.java | 38 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged() 46 public void onFlushCompleted(Sensor sensor) {} in onFlushCompleted()
|
D | SensorManager.java | 640 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 …]
|
D | SensorEventListener2.java | 36 public void onFlushCompleted(Sensor sensor); in onFlushCompleted()
|
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 | TriggerEvent.java | 52 public Sensor sensor; field in TriggerEvent
|
D | SensorEventListener.java | 55 public void onAccuracyChanged(Sensor sensor, int accuracy); in onAccuracyChanged()
|
D | SensorEvent.java | 588 public Sensor sensor; field in SensorEvent
|
D | SensorAdditionalInfo.java | 41 public final Sensor sensor; field in SensorAdditionalInfo
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 32 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()
|
D | SensorService.cpp | 774 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 …]
|
D | RotationVectorSensor.cpp | 32 const sensor_t sensor = { in RotationVectorSensor() local 118 const sensor_t sensor = { in GyroDriftSensor() local
|
D | OrientationSensor.cpp | 33 const sensor_t sensor = { in OrientationSensor() local
|
D | CorrectedGyroSensor.cpp | 41 const sensor_t sensor = { in CorrectedGyroSensor() local
|
D | LinearAccelerationSensor.cpp | 35 const sensor_t sensor = { in LinearAccelerationSensor() local
|
D | GravitySensor.cpp | 40 const sensor_t sensor = { in GravitySensor() local
|
/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/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()
|
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 131 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/ |
D | MotionSensor.java | 68 public final 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/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 80 public 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
|