Home
last modified time | relevance | path

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

/hardware/interfaces/tetheroffload/aidl/vts/functional/
DVtsHalTetheroffloadTargetTest.cpp152 void initOffload(const bool expectedResult) { in initOffload() argument
169 expectedResult ? EX_NONE : EX_ILLEGAL_STATE); in initOffload()
172 void stopOffload(const ExpectBoolean expectedResult) { in stopOffload() argument
174 if (expectedResult == ExpectBoolean::Ignored) return; in stopOffload()
176 expectedResult == ExpectBoolean::True ? EX_NONE : EX_ILLEGAL_STATE); in stopOffload()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h899 Result expectedResult = in verifyRegisterDirectChannel()
901 ASSERT_EQ(result, expectedResult); in verifyRegisterDirectChannel()
934 Result expectedResult = in verifyConfigure() local
937 [expectedResult](Result result, int32_t /* reportToken */) { in verifyConfigure()
938 ASSERT_EQ(result, expectedResult); in verifyConfigure()
945 Result expectedResult = supportsAnyDirectChannel ? Result::OK : Result::INVALID_OPERATION; in verifyUnregisterDirectChannel() local
946 ASSERT_EQ(unregisterDirectChannel(directChannelHandle), expectedResult); in verifyUnregisterDirectChannel()
/hardware/interfaces/sensors/aidl/vts/
DVtsAidlHalSensorsTargetTest.cpp381 int32_t expectedFlushCount, bool expectedResult);
384 int32_t flushCalls, int32_t expectedFlushCount, bool expectedResult);
499 bool expectedResult) { in runSingleFlushTest() argument
500 runFlushTest(sensors, activateSensor, 1 /* flushCalls */, expectedFlushCount, expectedResult); in runSingleFlushTest()
505 bool expectedResult) { in runFlushTest() argument
522 EXPECT_EQ(flush(sensor.sensorHandle).isOk(), expectedResult); in runFlushTest()