/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeSensors.java | 28 import android.hardware.SensorManager; 58 private final SensorManager mSensorManager; 72 public DozeSensors(Context context, AlarmManager alarmManager, SensorManager sensorManager, 78 mSensorManager = sensorManager; 123 static Sensor findSensorWithType(SensorManager sensorManager, String type) { 127 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); 248 SensorManager.SENSOR_DELAY_NORMAL, mHandler);
|
DozeTriggers.java | 29 import android.hardware.SensorManager; 62 private final SensorManager mSensorManager; 75 DozeParameters dozeParameters, SensorManager sensorManager, Handler handler, 82 mSensorManager = sensorManager; 297 mSensorManager.registerListener(this, sensor, SensorManager.SENSOR_DELAY_NORMAL, 0,
|
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestWearService.java | 23 import android.hardware.SensorManager; 119 SensorManager sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); 120 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL);
|
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
IncomingRequestWearService.java | 23 import android.hardware.SensorManager; 119 SensorManager sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); 120 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL);
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
IncomingRequestWearService.java | 23 import android.hardware.SensorManager; 119 SensorManager sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); 120 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL);
|
/cts/tests/sensor/src/android/hardware/cts/ |
SingleSensorTests.java | 21 import android.hardware.SensorManager; 120 SensorManager sensorManager = 121 (SensorManager) getContext().getSystemService(Context.SENSOR_SERVICE); 122 assertNotNull("SensorManager not present in the system.", sensorManager); 124 Sensor sensor = sensorManager.getDefaultSensor(entry.getKey()); 142 runSensorTest(Sensor.TYPE_ACCELEROMETER, SensorManager.SENSOR_DELAY_FASTEST); 178 runSensorTest(Sensor.TYPE_ACCELEROMETER_UNCALIBRATED, SensorManager.SENSOR_DELAY_FASTEST); 214 runSensorTest(Sensor.TYPE_MAGNETIC_FIELD, SensorManager.SENSOR_DELAY_FASTEST) [all...] |
SensorTest.java | 27 import android.hardware.SensorManager; 61 private SensorManager mSensorManager; 75 mSensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); 100 // SensorManager will check listener and status, so just unregister listener 291 SensorManager.SENSOR_DELAY_NORMAL); 302 SensorManager.SENSOR_DELAY_NORMAL); 306 SensorManager.SENSOR_DELAY_NORMAL); 352 SensorManager.SENSOR_DELAY_FASTEST, 369 * Explicit testing the SensorManager.registerListener(SensorEventListener, Sensor, int, int). 388 SensorManager.SENSOR_DELAY_FASTEST [all...] |
/frameworks/base/core/java/android/hardware/display/ |
DisplayManagerInternal.java | 19 import android.hardware.SensorManager; 37 Handler handler, SensorManager sensorManager);
|
/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 40 private final SensorManager mSensorManager; 46 public LegacySensorManager(SensorManager sensorManager) { 47 mSensorManager = sensorManager; 49 synchronized (SensorManager.class) { 76 result |= SensorManager.SENSOR_ACCELEROMETER; 79 result |= SensorManager.SENSOR_MAGNETIC_FIELD; 82 result |= SensorManager.SENSOR_ORIENTATION 83 | SensorManager.SENSOR_ORIENTATION_RAW; 95 result = registerLegacyListener(SensorManager.SENSOR_ACCELEROMETER [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.java | 26 import android.hardware.SensorManager; 73 private final SensorManager mSensorManager; 188 SensorManager sensorManager, Spline autoBrightnessSpline, int lightSensorWarmUpTime, 195 mSensorManager = sensorManager; [all...] |
DisplayPowerController.java | 31 import android.hardware.SensorManager; 133 private final SensorManager mSensorManager; 298 SensorManager sensorManager, DisplayBlanker blanker) { 303 mSensorManager = sensorManager; 415 handler.getLooper(), sensorManager, screenAutoBrightnessSpline, [all...] |
DisplayManagerService.java | 36 import android.hardware.SensorManager; [all...] |
/packages/apps/DevCamera/src/com/android/devcamera/ |
DevCameraActivity.java | 24 import android.hardware.SensorManager; 549 SensorManager sensorManager = (SensorManager) getSystemService(this.SENSOR_SERVICE); 550 mGyroOperations = new GyroOperations(sensorManager);
|
/frameworks/base/services/core/java/com/android/server/power/ |
PowerManagerService.java | 30 import android.hardware.SensorManager; 734 SensorManager sensorManager = new SystemSensorManager(mContext, mHandler.getLooper()); 743 mWirelessChargerDetector = new WirelessChargerDetector(sensorManager, 753 mDisplayPowerCallbacks, mHandler, sensorManager); [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-6.0.0_r1-robolectric-0.jar | |