Searched refs:canAccessSensor (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 860 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
|
D | SensorService.h | 174 static bool canAccessSensor(const Sensor& sensor, const char* operation,
|
D | SensorEventConnection.cpp | 94 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor()
|