Searched refs:supportedSensors (Results 1 – 6 of 6) 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()
101 int[] supportedSensors = new int[mSensorToPropConfig.size()]; in getSupportedSensors() local102 for (int i = 0; i < supportedSensors.length; i++) { in getSupportedSensors()103 supportedSensors[i] = mSensorToPropConfig.keyAt(i); in getSupportedSensors()105 return supportedSensors; in getSupportedSensors()
320 int[] supportedSensors = mSupportedSensors; in getSupportedSensors() local322 return supportedSensors; in getSupportedSensors()661 int[] supportedSensors = new int[totalNumSensors]; in refreshSupportedSensorsLocked() local664 supportedSensors[index] = CarSensorManager.SENSOR_TYPE_DRIVING_STATUS; in refreshSupportedSensorsLocked()668 supportedSensors[index] = CarSensorManager.SENSOR_TYPE_NIGHT; in refreshSupportedSensorsLocked()679 supportedSensors[index] = sensor; in refreshSupportedSensorsLocked()683 return supportedSensors; in refreshSupportedSensorsLocked()
113 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testSensorEnumeration() local114 assertNotNull(supportedSensors); in testSensorEnumeration()116 Log.i(TAG, "Found " + supportedSensors.length + " supported sensors."); in testSensorEnumeration()125 for (int sensor : supportedSensors) { in testSensorEnumeration()140 for (int sensor : supportedSensors) { in testSensorEnumeration()
82 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testDrivingPolicy() local83 assertNotNull(supportedSensors); in testDrivingPolicy()85 for (int sensor: supportedSensors) { in testDrivingPolicy()
88 private int[] supportedSensors = new int[0]; field in SensorsTestFragment127 supportedSensors = mSensorManager.getSupportedSensors(); in initSensors()128 for (Integer sensor : supportedSensors) { in initSensors()189 for (Integer i : supportedSensors) { in refreshUi()