Searched refs:sensorList (Results 1 – 8 of 8) sorted by relevance
80 final List<Sensor> sensorList = new ArrayList<>(); in isAvailable_hasSensor_shouldReturnTrue() local81 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() local100 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()
184 sensorList = dct['sensorList']190 sensorList.addSensor(self)199 sensorList.sensorClass = newClass206 sensorList = intSensors variable in intSensor209 sensorList = floatSensors variable in floatSensor
361 public static boolean isSensorSupported(int[] sensorList, @SensorType int sensorType) { in isSensorSupported() argument362 for (int sensorSupported: sensorList) { in isSensorSupported()
360 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
429 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
394 android.car.hardware CarSensorManager boolean isSensorSupported(int[] sensorList, int sensorType)
1457 method TIRAMISU_0 @hiddenOnly boolean isSensorSupported(int[] sensorList, int sensorType);