Lines Matching refs:activate
307 activate(handle, false); in TearDown()
358 ndk::ScopedAStatus activate(int32_t sensorHandle, bool enable);
420 ndk::ScopedAStatus SensorsAidlTest::activate(int32_t sensorHandle, bool enable) { in activate() function in SensorsAidlTest
428 return getSensors()->activate(sensorHandle, enable); in activate()
436 checkIsOk(activate(sensorInfo.sensorHandle, enable)); in activateAllSensors()
512 activate(sensor.sensorHandle, activateSensor); in runFlushTest()
532 activate(sensor.sensorHandle, false); in runFlushTest()
828 activate(sensor.sensorHandle, true /* enabled */); in TEST_P()
856 checkIsOk(activate(sensor.sensorHandle, true)); in TEST_P()
859 checkIsOk(activate(sensor.sensorHandle, true)); in TEST_P()
862 checkIsOk(activate(sensor.sensorHandle, false)); in TEST_P()
865 checkIsOk(activate(sensor.sensorHandle, false)); in TEST_P()
870 ASSERT_EQ(activate(invalidHandle, true).getExceptionCode(), EX_ILLEGAL_ARGUMENT); in TEST_P()
871 ASSERT_EQ(activate(invalidHandle, false).getExceptionCode(), EX_ILLEGAL_ARGUMENT); in TEST_P()