Home
last modified time | relevance | path

Searched refs:ASensor (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/include/android/
Dsensor.h334 struct ASensor;
356 typedef struct ASensor ASensor; typedef
362 typedef ASensor const* ASensorRef;
405 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type);
412 ASensor const* ASensorManager_getDefaultSensorEx(ASensorManager* manager, int type, bool wakeUp);
520 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
530 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor,
536 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
541 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
550 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
[all …]
/frameworks/base/native/android/
Dsensor.cpp86 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type) { in ASensorManager_getDefaultSensor()
91 ASensor const* ASensorManager_getDefaultSensorEx(ASensorManager* manager, int type, bool wakeUp) { in ASensorManager_getDefaultSensorEx()
98 return reinterpret_cast<ASensor const *>(sensorList[i]); in ASensorManager_getDefaultSensorEx()
188 ASensorManager *manager, ASensor const *sensor, int channelId, int rate) { in ASensorManager_configureDirectReport()
208 int ASensorEventQueue_registerSensor(ASensorEventQueue* queue, ASensor const* sensor, in ASensorEventQueue_registerSensor()
222 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_enableSensor()
230 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_disableSensor()
238 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec) { in ASensorEventQueue_setEventRate()
286 const char* ASensor_getName(ASensor const* sensor) { in ASensor_getName()
291 const char* ASensor_getVendor(ASensor const* sensor) { in ASensor_getVendor()
[all …]
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp231 ASensor const* ASensorManager_getDefaultSensor( in ASensorManager_getDefaultSensor()
239 ASensor const* ASensorManager_getDefaultSensorEx(
294 ASensor const* sensor,
303 ASensor const* sensor, in ASensorEventQueue_registerSensor()
313 ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_enableSensor()
320 ASensorEventQueue* queue, ASensor const* sensor) { in ASensorEventQueue_disableSensor()
328 ASensor const* sensor, in ASensorEventQueue_setEventRate()
346 const char *ASensor_getName(ASensor const* sensor) { in ASensor_getName()
351 const char *ASensor_getVendor(ASensor const* sensor) { in ASensor_getVendor()
356 int ASensor_getType(ASensor const* sensor) { in ASensor_getType()
[all …]
/frameworks/native/libs/sensor/include/sensor/
DSensor.h34 struct ASensor { }; struct
44 class Sensor : public ASensor, public LightFlattenable<Sensor>