Home
last modified time | relevance | path

Searched refs:canAccessSensor (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.cpp860 if (canAccessSensor(sensor, "getSensorList", opPackageName)) { in getSensorList()
878 if (canAccessSensor(sensor, "getDynamicSensorList", opPackageName)) { in getDynamicSensorList()
994 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1178 !canAccessSensor(sensor->getSensor(), "Tried configuring", opPackageName)) { in setEventRate()
1217 if (!canAccessSensor(sensor->getSensor(), "Tried flushing", opPackageName)) { in flushSensor()
1232 bool SensorService::canAccessSensor(const Sensor& sensor, const char* operation, in canAccessSensor() function in android::SensorService
DSensorService.h174 static bool canAccessSensor(const Sensor& sensor, const char* operation,
DSensorEventConnection.cpp94 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor()