Home
last modified time | relevance | path

Searched refs:SENSOR_SERVICE (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DDoubleTwistPreferenceControllerTest.java83 when(mContext.getSystemService(Context.SENSOR_SERVICE)).thenReturn(mSensorManager); in isAvailable_hasSensor_shouldReturnTrue()
102 when(mContext.getSystemService(Context.SENSOR_SERVICE)).thenReturn(mSensorManager); in isAvailable_differentSensor_shouldReturnFalse()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarSensorManagerTest.java34 .getCarManager(Car.SENSOR_SERVICE); in testCreate()
DCarTest.java85 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection()
88 (CarSensorManager) car.getCarManager(Car.SENSOR_SERVICE); in testCarConnection()
DCarFeatureTest.java64 Car.SENSOR_SERVICE,
DCarGetCarManagerTest.java84 {CarSensorManager.class, Car.SENSOR_SERVICE}, in inputParameters()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java206 .getSystemService(Context.SENSOR_SERVICE); in pause()
214 .getSystemService(Context.SENSOR_SERVICE); in resume()
/packages/apps/Settings/src/com/android/settings/display/
DLiftToWakePreferenceController.java40 SensorManager sensors = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE); in isAvailable()
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java60 (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); in isGestureAvailable()
/packages/apps/Dialer/java/com/android/incallui/
DAccelerometerListener.java92 sensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); in AccelerometerListener()
/packages/apps/Camera2/src/com/android/camera/util/
DAndroidServices.java123 return (SensorManager) getSystemService(Context.SENSOR_SERVICE); in provideSensorManager()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCar.java183 case Car.SENSOR_SERVICE: in getCarService()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkHelperImpl.java141 android.car.Car.SENSOR_SERVICE); in getSensorManager()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java127 mSensorMgr = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); in LocationListeners()
/packages/services/Car/car-lib/src/android/car/
DCar.java241 public static final String SENSOR_SERVICE = "sensor"; field in Car
1712 CAR_SERVICE_NAMES.put(CarSensorManager.class, SENSOR_SERVICE); in CAR_SERVICE_NAMES.put() argument
2625 case SENSOR_SERVICE: in createCarManagerLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarSensorManagerTest.java88 mCarSensorManager = (CarSensorManager) getCar().getCarManager(Car.SENSOR_SERVICE); in setUp()
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java549 SensorManager sensorManager = (SensorManager) getSystemService(this.SENSOR_SERVICE); in startGyroDisplay()
/packages/services/Car/service/src/com/android/car/
DCarFeatureController.java96 Car.SENSOR_SERVICE,
DICarImpl.java628 case Car.SENSOR_SERVICE: in getCarService()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java278 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); in onCreate()
/packages/services/Car/car-lib/api/
Dcurrent.txt71 field @Deprecated public static final String SENSOR_SERVICE = "sensor";
/packages/services/Car/car-lib-module/api/
Dcurrent.txt71 field @Deprecated public static final String SENSOR_SERVICE = "sensor";
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1755 field TIRAMISU_0 String SENSOR_SERVICE = "sensor";