Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp113 if (!SensorService::canAccessSensor(s, "config direct channel", mOpPackageName)) { in configureChannel()
DSensorService.h217 static bool canAccessSensor(const Sensor& sensor, const char* operation,
DSensorService.cpp1005 if (canAccessSensor(sensor, "getDynamicSensorList", opPackageName)) { in getDynamicSensorList()
1317 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1491 !canAccessSensor(sensor->getSensor(), "Tried configuring", opPackageName)) { in setEventRate()
1530 if (!canAccessSensor(sensor->getSensor(), "Tried flushing", opPackageName)) { in flushSensor()
1545 bool SensorService::canAccessSensor(const Sensor& sensor, const char* operation, in canAccessSensor() function in android::SensorService
DSensorEventConnection.cpp109 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor()