Home
last modified time | relevance | path

Searched refs:supportedSensors (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarSensorManagerTest.java79 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testDrivingPolicy() local
80 assertNotNull(supportedSensors); in testDrivingPolicy()
82 for (int sensor: supportedSensors) { in testDrivingPolicy()
91 assertTrue(CarSensorManager.isSensorSupported(supportedSensors, in testDrivingPolicy()
/packages/services/Car/service/src/com/android/car/hal/
DSensorHalServiceBase.java101 int[] supportedSensors = new int[mSensorToPropConfig.size()]; in getSupportedSensors() local
102 for (int i = 0; i < supportedSensors.length; i++) { in getSupportedSensors()
103 supportedSensors[i] = mSensorToPropConfig.keyAt(i); in getSupportedSensors()
105 return supportedSensors; in getSupportedSensors()
/packages/services/Car/service/src/com/android/car/
DCarSensorService.java320 int[] supportedSensors = mSupportedSensors; in getSupportedSensors() local
322 return supportedSensors; in getSupportedSensors()
661 int[] supportedSensors = new int[totalNumSensors]; in refreshSupportedSensorsLocked() local
664 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()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarSensorManagerTest.java113 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testSensorEnumeration() local
114 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()
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
DCarSensorManagerTest.java82 int[] supportedSensors = mCarSensorManager.getSupportedSensors(); in testDrivingPolicy() local
83 assertNotNull(supportedSensors); in testDrivingPolicy()
85 for (int sensor: supportedSensors) { in testDrivingPolicy()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java88 private int[] supportedSensors = new int[0]; field in SensorsTestFragment
127 supportedSensors = mSensorManager.getSupportedSensors(); in initSensors()
128 for (Integer sensor : supportedSensors) { in initSensors()
189 for (Integer i : supportedSensors) { in refreshUi()