Searched refs:mSensorApi (Results 1 – 2 of 2) sorted by relevance
35 if (mSensorApi != nullptr) { in ~PlatformSensorManager()37 mSensorApi->close(); in ~PlatformSensorManager()43 mSensorApi = chrePalSensorGetApi(CHRE_PAL_SENSOR_API_CURRENT_VERSION); in init()44 if (mSensorApi != nullptr) { in init()45 if (!mSensorApi->open(&gChrePalSystemApi, &sSensorCallbacks)) { in init()47 mSensorApi = nullptr; in init()49 LOGD("Opened Sensor PAL version 0x%08" PRIx32, mSensorApi->moduleVersion); in init()61 if (mSensorApi != nullptr) { in getSensors()62 if (!mSensorApi->getSensors(&palSensors, &arraySize) || arraySize == 0) { in getSensors()86 if (mSensorApi != nullptr) { in configureSensor()[all …]
36 const chrePalSensorApi *mSensorApi; variable