Searched refs:supportedSensors (Results 1 – 4 of 4) sorted by relevance
79 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testDrivingPolicy() local80 assertNotNull(supportedSensors); in testDrivingPolicy()82 for (int sensor: supportedSensors) { in testDrivingPolicy()91 assertTrue(CarSensorManager.isSensorSupported(supportedSensors, in testDrivingPolicy()
88 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testDrivingPolicy() local89 assertNotNull(supportedSensors); in testDrivingPolicy()91 for (int sensor: supportedSensors) { in testDrivingPolicy()100 assertTrue(CarSensorManager.isSensorSupported(supportedSensors, in testDrivingPolicy()
164 int[] supportedSensors = new int[mSensorToHalProperty.size()]; in getSupportedSensors() local165 for (int i = 0; i < supportedSensors.length; i++) { in getSupportedSensors()166 supportedSensors[i] = mSensorToHalProperty.keyAt(i); in getSupportedSensors()168 return supportedSensors; in getSupportedSensors()
595 int[] supportedSensors = new int[totalNumSensors]; in refreshSupportedSensorsLocked() local598 supportedSensors[index] = CarSensorManager.SENSOR_TYPE_DRIVING_STATUS; in refreshSupportedSensorsLocked()602 supportedSensors[index] = CarSensorManager.SENSOR_TYPE_NIGHT; in refreshSupportedSensorsLocked()613 supportedSensors[index] = sensor; in refreshSupportedSensorsLocked()617 return supportedSensors; in refreshSupportedSensorsLocked()