/frameworks/native/libs/gui/ |
D | SensorManager.cpp | 44 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/ |
D | android_hardware_SensorManager.cpp | 210 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/ |
D | GestureLauncherService.java | 173 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/ |
D | SensorPowerCalculator.java | 29 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/ |
D | WirelessChargerDetector.java | 143 public WirelessChargerDetector(SensorManager sensorManager, in WirelessChargerDetector() argument 145 mSensorManager = sensorManager; in WirelessChargerDetector() 149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
|
D | PowerManagerService.java | 573 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/ |
D | LegacySensorManager.java | 44 public LegacySensorManager(SensorManager sensorManager) { in LegacySensorManager() argument 45 mSensorManager = sensorManager; in LegacySensorManager()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 35 Handler handler, SensorManager sensorManager); in initPowerManagement() argument
|
/frameworks/base/docs/html/ndk/samples/ |
D | sample_na.jd | 184 engine.sensorManager = ASensorManager_getInstance(); 186 ASensorManager_getDefaultSensor(engine.sensorManager, 189 ASensorManager_createEventQueue(engine.sensorManager,
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 262 SensorManager sensorManager, DisplayBlanker blanker) { in DisplayPowerController() argument 267 mSensorManager = sensorManager; in DisplayPowerController() 357 handler.getLooper(), sensorManager, screenAutoBrightnessSpline, in DisplayPowerController()
|
D | AutomaticBrightnessController.java | 188 SensorManager sensorManager, Spline autoBrightnessSpline, int lightSensorWarmUpTime, in AutomaticBrightnessController() argument 195 mSensorManager = sensorManager; in AutomaticBrightnessController()
|
D | DisplayManagerService.java | 1529 SensorManager sensorManager) { in initPowerManagement() argument 1547 mContext, callbacks, handler, sensorManager, blanker); in initPowerManagement()
|
/frameworks/base/docs/html/ndk/reference/ |
D | group___sensor.jd | 895 <pre class="fragment">ASensorManager* sensorManager = ASensorManager_getInstance();</pre>
|