Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
DSensorTestCases.cpp47 ASensorEventQueue *nonNullQueue = reinterpret_cast<ASensorEventQueue *>(1); in testInvalidParameter() local
49 ASSERT_EQ(ASensorManager_destroyEventQueue(nullptr, nonNullQueue), -EINVAL); in testInvalidParameter()
88 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nullptr, 1, 1), -EINVAL); in testInvalidParameter()
89 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, -1, 1), -EINVAL); in testInvalidParameter()
90 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, 1, -1), -EINVAL); in testInvalidParameter()
91 ASSERT_EQ(ASensorEventQueue_registerSensor(nonNullQueue, nonNullSensor, -1, -1), -EINVAL); in testInvalidParameter()
95 ASSERT_EQ(ASensorEventQueue_enableSensor(nonNullQueue, nullptr), -EINVAL); in testInvalidParameter()
99 ASSERT_EQ(ASensorEventQueue_disableSensor(nonNullQueue, nullptr), -EINVAL); in testInvalidParameter()
103 ASSERT_EQ(ASensorEventQueue_setEventRate(nonNullQueue, nullptr, 1), -EINVAL); in testInvalidParameter()
104 ASSERT_EQ(ASensorEventQueue_setEventRate(nonNullQueue, nonNullSensor, -1), -EINVAL); in testInvalidParameter()
[all …]