Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
DSensorTestCases.cpp78 ASensor *nonNullSensor = reinterpret_cast<ASensor *>(1); in testInvalidParameter() local
82 nullptr, nonNullSensor, 1, ASENSOR_DIRECT_RATE_NORMAL), -EINVAL); in testInvalidParameter()
84 nullptr, nonNullSensor, 1, ASENSOR_DIRECT_RATE_STOP), -EINVAL); in testInvalidParameter()
89 ASSERT_EQ(ASensorEventQueue_registerSensor(nullptr, nonNullSensor, 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()
96 ASSERT_EQ(ASensorEventQueue_enableSensor(nullptr, nonNullSensor), -EINVAL); in testInvalidParameter()
100 ASSERT_EQ(ASensorEventQueue_disableSensor(nullptr, nonNullSensor), -EINVAL); in testInvalidParameter()
104 ASSERT_EQ(ASensorEventQueue_setEventRate(nullptr, nonNullSensor, 1), -EINVAL); in testInvalidParameter()
[all …]