Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
DSensorTestCases.cpp76 ASensor *nonNullSensor = reinterpret_cast<ASensor *>(1); in testInvalidParameter() local
80 nullptr, nonNullSensor, 1, ASENSOR_DIRECT_RATE_NORMAL), -EINVAL); in testInvalidParameter()
82 nullptr, nonNullSensor, 1, ASENSOR_DIRECT_RATE_STOP), -EINVAL); in testInvalidParameter()
87 ASSERT_EQ(ASensorEventQueue_registerSensor(nullptr, nonNullSensor, 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()
94 ASSERT_EQ(ASensorEventQueue_enableSensor(nullptr, nonNullSensor), -EINVAL); in testInvalidParameter()
98 ASSERT_EQ(ASensorEventQueue_disableSensor(nullptr, nonNullSensor), -EINVAL); in testInvalidParameter()
102 ASSERT_EQ(ASensorEventQueue_setEventRate(nullptr, nonNullSensor, 1), -EINVAL); in testInvalidParameter()
[all …]