Home
last modified time | relevance | path

Searched refs:sensorList (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DDoubleTwistPreferenceControllerTest.java80 final List<Sensor> sensorList = new ArrayList<>(); in isAvailable_hasSensor_shouldReturnTrue() local
81 sensorList.add(mock(Sensor.class)); in isAvailable_hasSensor_shouldReturnTrue()
84 when(mSensorManager.getSensorList(anyInt())).thenReturn(sensorList); in isAvailable_hasSensor_shouldReturnTrue()
85 when(sensorList.get(0).getStringType()).thenReturn("test"); in isAvailable_hasSensor_shouldReturnTrue()
86 when(sensorList.get(0).getVendor()).thenReturn("test"); in isAvailable_hasSensor_shouldReturnTrue()
99 final List<Sensor> sensorList = new ArrayList<>(); in isAvailable_differentSensor_shouldReturnFalse() local
100 sensorList.add(mock(Sensor.class)); in isAvailable_differentSensor_shouldReturnFalse()
103 when(mSensorManager.getSensorList(anyInt())).thenReturn(sensorList); in isAvailable_differentSensor_shouldReturnFalse()
104 when(sensorList.get(0).getStringType()).thenReturn("not_test"); in isAvailable_differentSensor_shouldReturnFalse()
/packages/services/Car/tools/
Dupdate-obd2-sensors.py184 sensorList = dct['sensorList']
190 sensorList.addSensor(self)
199 sensorList.sensorClass = newClass
206 sensorList = intSensors variable in intSensor
209 sensorList = floatSensors variable in floatSensor
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java361 public static boolean isSensorSupported(int[] sensorList, @SensorType int sensorType) { in isSensorSupported() argument
362 for (int sensorSupported: sensorList) { in isSensorSupported()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt360 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
Dcar_hidden_apis_release_33.1.txt360 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
Dcar_hidden_apis.txt429 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
Dcar_hidden_apis_release_33.3.txt394 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1457 method TIRAMISU_0 @hiddenOnly boolean isSensorSupported(int[] sensorList, int sensorType);