Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsTestSharedMemory.h28 using SharedMemType = ::android::hardware::sensors::V1_0::SharedMemType; variable
33 static SensorsTestSharedMemory* create(SharedMemType type, size_t size);
41 SensorsTestSharedMemory(SharedMemType type, size_t size);
43 SharedMemType mType;
DSensorsHidlTestBase.h45 using ::android::hardware::sensors::V1_0::SharedMemType;
111 void testDirectReportOperation(SensorType type, SharedMemType memType, RateLevel rate,
120 static bool isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type);
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp346 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
352 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
358 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, in TEST_P()
364 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
370 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
376 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::VERY_FAST, in TEST_P()
382 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
388 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
394 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, in TEST_P()
400 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::GRALLOC, RateLevel::NORMAL, in TEST_P()
[all …]
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp41 using ::android::hardware::sensors::V1_0::SharedMemType;
187 bool getDirectChannelSensor(SensorInfo* sensor, SharedMemType* memType, RateLevel* rate);
188 void verifyDirectChannel(SharedMemType memType);
192 void verifyConfigure(const SensorInfo& sensor, SharedMemType memType,
196 void queryDirectChannelSupport(SharedMemType memType, bool* supportsSharedMemType,
515 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
521 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
527 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, in TEST_P()
533 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_P()
539 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_P()
[all …]
/hardware/interfaces/sensors/common/vts/utils/
DSensorsTestSharedMemory.cpp96 SensorsTestSharedMemory::SensorsTestSharedMemory(SharedMemType type, size_t size) in SensorsTestSharedMemory()
101 case SharedMemType::ASHMEM: { in SensorsTestSharedMemory()
120 case SharedMemType::GRALLOC: { in SensorsTestSharedMemory()
144 case SharedMemType::ASHMEM: { in ~SensorsTestSharedMemory()
157 case SharedMemType::GRALLOC: { in ~SensorsTestSharedMemory()
177 SensorsTestSharedMemory* SensorsTestSharedMemory::create(SharedMemType type, size_t size) { in create()
DSensorsHidlTestBase.cpp229 bool SensorsHidlTestBase::isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type) { in isDirectChannelTypeSupported()
231 case SharedMemType::ASHMEM: in isDirectChannelTypeSupported()
233 case SharedMemType::GRALLOC: in isDirectChannelTypeSupported()
240 void SensorsHidlTestBase::testDirectReportOperation(SensorType type, SharedMemType memType, in testDirectReportOperation()
/hardware/interfaces/sensors/1.0/default/
Dconvert.cpp348 case SharedMemType::ASHMEM: in convertFromSharedMemInfo()
351 case SharedMemType::GRALLOC: in convertFromSharedMemInfo()
/hardware/interfaces/sensors/1.0/
Dtypes.hal774 * See SharedMemType and registerDirectChannel for more details.
780 * See SharedMemType and registerDirectChannel for more details.
797 * See SharedMemType.
1280 enum SharedMemType : int32_t {
1327 SharedMemType type; // shared memory type
1331 // depending on type field, see SharedMemType.