Lines Matching refs:mSensorModule
42 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()
127 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list); in getSensorList()
132 return mSensorDevice && mSensorModule ? NO_ERROR : NO_INIT; in initCheck()
421 return mSensorModule->set_operation_mode(mode); in setMode()