Searched refs:canAccessSensor (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | SensorDirectConnection.cpp | 113 if (!SensorService::canAccessSensor(s, "config direct channel", mOpPackageName)) { in configureChannel()
|
D | SensorService.h | 217 static bool canAccessSensor(const Sensor& sensor, const char* operation,
|
D | SensorService.cpp | 1005 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
|
D | SensorEventConnection.cpp | 109 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor()
|