Searched refs:mSensorManager (Results 1 – 2 of 2) sorted by relevance
102 mSensorManager = ASensorManager_getInstanceForPackage(nullptr); in init()103 if (mSensorManager == nullptr) { in init()115 mQueue = ASensorManager_createEventQueue(mSensorManager, looper, 0, nullptr, nullptr); in init()117 ASensorManager_getDefaultSensor(mSensorManager, SENSOR_TYPE_DEVICE_ORIENTATION); in init()131 if (mSensorManager != nullptr && mQueue != nullptr) { in disableOrientationSensor()135 ASensorManager_destroyEventQueue(mSensorManager, mQueue); in disableOrientationSensor()
41 ASensorManager *mSensorManager = nullptr; variable