Home
last modified time | relevance | path

Searched refs:ASensorRef (Results 1 – 5 of 5) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.h46 ASensorRef sensor,
50 int enableSensor(ASensorRef sensor);
51 int disableSensor(ASensorRef sensor);
53 int setEventRate(ASensorRef sensor, int32_t samplingPeriodUs);
DASensorManager.h37 ASensorRef getDefaultSensor(int type);
38 ASensorRef getDefaultSensorEx(int type, bool wakeup);
68 std::unique_ptr<ASensorRef[]> mSensorList;
DASensorEventQueue.cpp45 ASensorRef sensor, in registerSensor()
60 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor()
68 ASensorRef sensor, int32_t samplingPeriodUs) { in setEventRate()
75 int ASensorEventQueue::disableSensor(ASensorRef sensor) { in disableSensor()
DASensorManager.cpp107 mSensorList.reset(new ASensorRef[mSensors.size()]); in getSensorList()
110 reinterpret_cast<ASensorRef>(&mSensors[i]); in getSensorList()
121 ASensorRef ASensorManager::getDefaultSensor(int type) { in getDefaultSensor()
124 ASensorRef defaultSensor = NULL; in getDefaultSensor()
136 reinterpret_cast<ASensorRef>(&mSensors[i]); in getDefaultSensor()
148 ASensorRef ASensorManager::getDefaultSensorEx( in getDefaultSensorEx()
/frameworks/native/include/android/
Dsensor.h362 typedef ASensor const* ASensorRef; typedef
368 typedef ASensorRef const* ASensorList;