Lines Matching refs:sensorManager
19 #include <sensor/SensorManager.h>
41 Mutex SensorManager::sLock;
42 std::map<String16, SensorManager*> SensorManager::sPackageInstances;
44 SensorManager& SensorManager::getInstanceForPackage(const String16& packageName) {
48 SensorManager* sensorManager;
52 sensorManager = iterator->second;
78 sensorManager = new SensorManager(opPackageName);
84 sPackageInstances.insert(std::make_pair(String16(), sensorManager));
88 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager));
91 return *sensorManager;
94 SensorManager::SensorManager(const String16& opPackageName)
100 SensorManager::~SensorManager() {
104 status_t SensorManager::waitForSensorService(sp<ISensorServer> *server) {
126 void SensorManager::sensorManagerDied() {
134 status_t SensorManager::assertStateLocked() {
150 SensorManager& mSensorManager;
156 explicit DeathObserver(SensorManager& mgr) : mSensorManager(mgr) { }
159 mDeathObserver = new DeathObserver(*const_cast<SensorManager *>(this));
176 ssize_t SensorManager::getSensorList(Sensor const* const** list) {
186 ssize_t SensorManager::getDynamicSensorList(Vector<Sensor> & dynamicSensors) {
199 Sensor const* SensorManager::getDefaultSensor(int type)
227 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) {
245 bool SensorManager::isDataInjectionEnabled() {
253 int SensorManager::createDirectChannel(
280 void SensorManager::destroyDirectChannel(int channelNativeHandle) {
287 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel) {
301 ALOGE_IF(ret < 0, "SensorManager::configureChannel (%d, %d) returns %d",
307 int SensorManager::setOperationParameter(