Searched refs:SharedMemType (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsTestSharedMemory.h | 28 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;
|
D | SensorsHidlTestBase.h | 45 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/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 355 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_F() 361 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_F() 367 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::VERY_FAST, in TEST_F() 373 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_F() 379 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_F() 385 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::VERY_FAST, in TEST_F() 391 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_F() 397 testDirectReportOperation(SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_F() 404 SensorType::MAGNETIC_FIELD, SharedMemType::ASHMEM, RateLevel::VERY_FAST, NullChecker()); in TEST_F() 409 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::GRALLOC, RateLevel::NORMAL, in TEST_F() [all …]
|
/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 41 using ::android::hardware::sensors::V1_0::SharedMemType; 175 bool getDirectChannelSensor(SensorInfo* sensor, SharedMemType* memType, RateLevel* rate); 176 void verifyDirectChannel(SharedMemType memType); 177 void verifyRegisterDirectChannel(const SensorInfo& sensor, SharedMemType memType, 180 void verifyConfigure(const SensorInfo& sensor, SharedMemType memType, 182 void verifyUnregisterDirectChannel(const SensorInfo& sensor, SharedMemType memType, 484 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_F() 490 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, RateLevel::FAST, in TEST_F() 496 testDirectReportOperation(SensorType::ACCELEROMETER, SharedMemType::ASHMEM, in TEST_F() 502 testDirectReportOperation(SensorType::GYROSCOPE, SharedMemType::ASHMEM, RateLevel::NORMAL, in TEST_F() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsTestSharedMemory.cpp | 96 SensorsTestSharedMemory::SensorsTestSharedMemory(SharedMemType type, size_t size) in SensorsTestSharedMemory() 101 case SharedMemType::ASHMEM: { in SensorsTestSharedMemory() 120 case SharedMemType::GRALLOC: { in SensorsTestSharedMemory() 163 case SharedMemType::ASHMEM: { in ~SensorsTestSharedMemory() 176 case SharedMemType::GRALLOC: { in ~SensorsTestSharedMemory() 198 SensorsTestSharedMemory* SensorsTestSharedMemory::create(SharedMemType type, size_t size) { in create()
|
D | SensorsHidlTestBase.cpp | 229 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/ |
D | convert.cpp | 348 case SharedMemType::ASHMEM: in convertFromSharedMemInfo() 351 case SharedMemType::GRALLOC: in convertFromSharedMemInfo()
|
/hardware/interfaces/sensors/1.0/ |
D | types.hal | 774 * 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.
|