Home
last modified time | relevance | path

Searched refs:mSensorModule (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDevice.cpp42 mSensorModule(0) { in ANDROID_SINGLETON_STATIC_INSTANCE()
44 (hw_module_t const**)&mSensorModule); in ANDROID_SINGLETON_STATIC_INSTANCE()
49 if (mSensorModule) { in ANDROID_SINGLETON_STATIC_INSTANCE()
50 err = sensors_open_1(&mSensorModule->common, &mSensorDevice); in ANDROID_SINGLETON_STATIC_INSTANCE()
62 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list); in ANDROID_SINGLETON_STATIC_INSTANCE()
87 if (!mSensorModule) return "HAL not initialized\n"; in dump()
91 int count = mSensorModule->get_sensors_list(mSensorModule, &list); in dump()
94 mSensorModule->common.name, in dump()
95 mSensorModule->common.author, in dump()
126 if (!mSensorModule) return NO_INIT; in getSensorList()
[all …]
DSensorDevice.h60 struct sensors_module_t* mSensorModule; variable