Searched refs:SENSOR_SERVICE (Results 1 – 9 of 9) sorted by relevance
26 sensorManager = (SensorManager) Robolectric.application.getSystemService(Context.SENSOR_SERVICE); in setup()
80 checkSystemService(Context.SENSOR_SERVICE, android.hardware.TestSensorManager.class); in shouldProvideServices()
56 Context.SENSOR_SERVICE)); in AppRTCProximitySensor()
684 manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners()697 manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners()710 if (manager == null) manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners()
169 … sensorMgr = (SensorManager) getApplicationContext().getSystemService(Context.SENSOR_SERVICE); in onCreate()
138 mSensorManager = (SensorManager) manager.getService().getSystemService(Context.SENSOR_SERVICE); in SensorManagerFacade()
47 SYSTEM_SERVICE_MAP.put(Context.SENSOR_SERVICE, "android.hardware.TestSensorManager"); in SYSTEM_SERVICE_MAP.put() argument
226 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); in onCreate()
1015 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in SDLSurface()