Searched refs:nonNullQueue (Results 1 – 1 of 1) sorted by relevance
/cts/tests/sensor/jni/ |
D | SensorTestCases.cpp | 49 ASensorEventQueue *nonNullQueue = reinterpret_cast<ASensorEventQueue *>(1); in testInvalidParameter() local 51 ASSERT_EQ(ASensorManager_destroyEventQueue(nullptr, nonNullQueue), -EINVAL); in testInvalidParameter() 90 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nullptr, 1, 1), -EINVAL); in testInvalidParameter() 91 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, -1, 1), -EINVAL); in testInvalidParameter() 92 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, 1, -1), -EINVAL); in testInvalidParameter() 93 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, -1, -1), -EINVAL); in testInvalidParameter() 97 ASSERT_EQ(ASensorEventQueue_enableSensor(nonNullQueue, nullptr), -EINVAL); in testInvalidParameter() 101 ASSERT_EQ(ASensorEventQueue_disableSensor(nonNullQueue, nullptr), -EINVAL); in testInvalidParameter() 105 ASSERT_EQ(ASensorEventQueue_setEventRate(nonNullQueue, nullptr, 1), -EINVAL); in testInvalidParameter() 106 ASSERT_EQ(ASensorEventQueue_setEventRate(nonNullQueue, nonNullSensor, -1), -EINVAL); in testInvalidParameter() [all …]
|