Lines Matching defs:sensorManager
32 #include <gui/SensorManager.h>
39 android::Mutex android::SensorManager::sLock;
40 std::map<String16, SensorManager*> android::SensorManager::sPackageInstances;
42 SensorManager& SensorManager::getInstanceForPackage(const String16& packageName) {
44 SensorManager* sensorManager;
45 std::map<String16, SensorManager*>::iterator iterator =
49 sensorManager = iterator->second;
75 sensorManager = new SensorManager(opPackageName);
81 sPackageInstances.insert(std::make_pair(String16(), sensorManager));
85 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager));
88 return *sensorManager;
91 SensorManager::SensorManager(const String16& opPackageName)
97 SensorManager::~SensorManager() {
101 void SensorManager::sensorManagerDied() {
109 status_t SensorManager::assertStateLocked() {
136 SensorManager& mSensorManager;
142 DeathObserver(SensorManager& mgr) : mSensorManager(mgr) { }
147 mDeathObserver = new DeathObserver(*const_cast<SensorManager *>(this));
164 ssize_t SensorManager::getSensorList(Sensor const* const** list) {
174 ssize_t SensorManager::getDynamicSensorList(Vector<Sensor> & dynamicSensors) {
187 Sensor const* SensorManager::getDefaultSensor(int type)
213 sp<SensorEventQueue> SensorManager::createEventQueue(String8 packageName, int mode) {
231 bool SensorManager::isDataInjectionEnabled() {