Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp161 if (!SensorService::canAccessSensor(s, "config direct channel", mOpPackageName)) { in configureChannel()
DSensorService.cpp1290 if (canAccessSensor(sensor, "getDynamicSensorList", opPackageName)) { in getDynamicSensorList()
1693 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1885 !canAccessSensor(sensor->getSensor(), "Tried configuring", opPackageName)) { in setEventRate()
1926 if (!canAccessSensor(sensor->getSensor(), "Tried flushing", opPackageName)) { in flushSensor()
1941 bool SensorService::canAccessSensor(const Sensor& sensor, const char* operation, in canAccessSensor() function in android::SensorService
DSensorService.h362 static bool canAccessSensor(const Sensor& sensor, const char* operation,
DSensorEventConnection.cpp166 !canAccessSensor(si->getSensor(), "Add to SensorEventConnection: ", mOpPackageName) || in addSensor()