Home
last modified time | relevance | path

Searched refs:sensorManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/gui/
DSensorManager.cpp44 SensorManager* sensorManager; in getInstanceForPackage() local
49 sensorManager = iterator->second; in getInstanceForPackage()
75 sensorManager = new SensorManager(opPackageName); in getInstanceForPackage()
81 sPackageInstances.insert(std::make_pair(String16(), sensorManager)); in getInstanceForPackage()
85 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager)); in getInstanceForPackage()
88 return *sensorManager; in getInstanceForPackage()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp210 nativeGetSensorAtIndex(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensor, jint index) in nativeGetSensorAtIndex() argument
212 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetSensorAtIndex()
224 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors() argument
226 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeGetDynamicSensors()
241 static jboolean nativeIsDataInjectionEnabled(JNIEnv *_env, jclass _this, jlong sensorManager) { in nativeIsDataInjectionEnabled() argument
242 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeIsDataInjectionEnabled()
378 static jlong nativeInitSensorEventQueue(JNIEnv *env, jclass clazz, jlong sensorManager, in nativeInitSensorEventQueue() argument
380 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager); in nativeInitSensorEventQueue()
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java173 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in unregisterCameraLaunchGesture() local
175 sensorManager.unregisterListener(mGestureListener); in unregisterCameraLaunchGesture()
188 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in registerCameraLaunchGesture() local
196 mCameraLaunchSensor = sensorManager.getDefaultSensor( in registerCameraLaunchGesture()
205 mRegistered = sensorManager.registerListener(mGestureListener, in registerCameraLaunchGesture()
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java29 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager) { in SensorPowerCalculator() argument
30 mSensors = sensorManager.getSensorList(Sensor.TYPE_ALL); in SensorPowerCalculator()
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java143 public WirelessChargerDetector(SensorManager sensorManager, in WirelessChargerDetector() argument
145 mSensorManager = sensorManager; in WirelessChargerDetector()
149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
DPowerManagerService.java573 SensorManager sensorManager = new SystemSensorManager(mContext, mHandler.getLooper()); in systemReady() local
582 mWirelessChargerDetector = new WirelessChargerDetector(sensorManager, in systemReady()
592 mDisplayPowerCallbacks, mHandler, sensorManager); in systemReady()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java44 public LegacySensorManager(SensorManager sensorManager) { in LegacySensorManager() argument
45 mSensorManager = sensorManager; in LegacySensorManager()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java35 Handler handler, SensorManager sensorManager); in initPowerManagement() argument
/frameworks/base/docs/html/ndk/samples/
Dsample_na.jd184 engine.sensorManager = ASensorManager_getInstance();
186 ASensorManager_getDefaultSensor(engine.sensorManager,
189 ASensorManager_createEventQueue(engine.sensorManager,
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java262 SensorManager sensorManager, DisplayBlanker blanker) { in DisplayPowerController() argument
267 mSensorManager = sensorManager; in DisplayPowerController()
357 handler.getLooper(), sensorManager, screenAutoBrightnessSpline, in DisplayPowerController()
DAutomaticBrightnessController.java188 SensorManager sensorManager, Spline autoBrightnessSpline, int lightSensorWarmUpTime, in AutomaticBrightnessController() argument
195 mSensorManager = sensorManager; in AutomaticBrightnessController()
DDisplayManagerService.java1529 SensorManager sensorManager) { in initPowerManagement() argument
1547 mContext, callbacks, handler, sensorManager, blanker); in initPowerManagement()
/frameworks/base/docs/html/ndk/reference/
Dgroup___sensor.jd895 <pre class="fragment">ASensorManager* sensorManager = ASensorManager_getInstance();</pre>