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