Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp717 const std::vector<int32_t>& dimensions, ErrorStatus expectedStatus) { in testCopyFrom() argument
719 if (expectedStatus == ErrorStatus::NONE) { in testCopyFrom()
723 ASSERT_EQ(expectedStatus, static_cast<ErrorStatus>(ret.getServiceSpecificError())); in testCopyFrom()
728 ErrorStatus expectedStatus) { in testCopyTo() argument
730 if (expectedStatus == ErrorStatus::NONE) { in testCopyTo()
734 ASSERT_EQ(expectedStatus, static_cast<ErrorStatus>(ret.getServiceSpecificError())); in testCopyTo()
915 ErrorStatus expectedStatus) { in testExecution() argument
918 EXPECT_EQ(executeSync(preparedModel, request), expectedStatus); in testExecution()
921 EXPECT_EQ(executeBurst(preparedModel, request), expectedStatus); in testExecution()
924 EXPECT_EQ(executeFenced(preparedModel, request), expectedStatus); in testExecution()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp671 const std::vector<uint32_t>& dimensions, ErrorStatus expectedStatus) { in testCopyFrom() argument
674 ASSERT_EQ(static_cast<ErrorStatus>(ret), expectedStatus); in testCopyFrom()
678 ErrorStatus expectedStatus) { in testCopyTo() argument
681 ASSERT_EQ(static_cast<ErrorStatus>(ret), expectedStatus); in testCopyTo()
863 ErrorStatus expectedStatus) { in testExecution() argument
866 EXPECT_EQ(executeAsync(preparedModel, request), expectedStatus); in testExecution()
869 EXPECT_EQ(executeSync(preparedModel, request), expectedStatus); in testExecution()
872 EXPECT_EQ(executeFenced(preparedModel, request), expectedStatus); in testExecution()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp397 const vector<uint8_t>& key, StatusV1_2 expectedStatus) { in decrypt() argument
411 size_t factor = expectedStatus == StatusV1_2::ERROR_DRM_FRAME_TOO_LARGE ? 1 : 2; in decrypt()
429 EXPECT_EQ(expectedStatus, status) << "Unexpected decrypt status " << in decrypt()
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DDefaultVehicleHalTest.cpp132 StatusCode expectedStatus; member
143 .expectedStatus = StatusCode::INVALID_ARG, in getSetValuesInvalidRequestTestCases()
153 .expectedStatus = StatusCode::INVALID_ARG, in getSetValuesInvalidRequestTestCases()
163 .expectedStatus = StatusCode::INVALID_ARG, in getSetValuesInvalidRequestTestCases()
174 .expectedStatus = StatusCode::INVALID_ARG, in getSetValuesInvalidRequestTestCases()
183 .expectedStatus = StatusCode::ACCESS_DENIED, in getSetValuesInvalidRequestTestCases()
192 .expectedStatus = StatusCode::ACCESS_DENIED, in getSetValuesInvalidRequestTestCases()
203 .expectedStatus = StatusCode::ACCESS_DENIED, in getSetValuesInvalidRequestTestCases()
1093 .status = tc.expectedStatus, in TEST_P()
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_vendor_test.h196 const vector<uint8_t>& key, Status expectedStatus);
/hardware/interfaces/drm/aidl/vts/
Ddrm_hal_common.cpp485 Status expectedStatus) { in decrypt() argument
501 size_t factor = expectedStatus == Status::ERROR_DRM_FRAME_TOO_LARGE ? 1 : 2; in decrypt()
530 EXPECT_EQ(expectedStatus, DrmErr(ret)) << "Unexpected decrypt status " << ret.getMessage(); in decrypt()
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h117 const vector<uint8_t>& key, StatusV1_2 expectedStatus);
/hardware/interfaces/drm/aidl/vts/include/
Ddrm_hal_common.h124 ::aidl::android::hardware::drm::Status expectedStatus);
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp838 const Pattern& pattern, Status expectedStatus) { in decrypt() argument
875 EXPECT_EQ(expectedStatus, status) << "Unexpected decrypt status " << in decrypt()
Ddrm_hal_vendor_test.cpp1133 const vector<uint8_t>& key, Status expectedStatus) { in decrypt() argument
1164 EXPECT_EQ(expectedStatus, status) << "Unexpected decrypt status " << in decrypt()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/test/
DFakeVehicleHardwareTest.cpp359 const VehiclePropValue& value, StatusCode expectedStatus) { in addSetValueRequest() argument
368 result.status = expectedStatus; in addSetValueRequest()
374 const VehiclePropValue& value, StatusCode expectedStatus) { in addGetValueRequest() argument
383 result.status = expectedStatus; in addGetValueRequest()
384 if (expectedStatus == StatusCode::OK) { in addGetValueRequest()
/hardware/interfaces/camera/provider/aidl/vts/
Dcamera_aidl_test.h291 const StreamConfiguration& config, bool expectedStatus);
Dcamera_aidl_test.cpp1899 bool expectedStatus) { in verifyStreamCombination() argument
1905 ASSERT_EQ(expectedStatus, streamCombinationSupported); in verifyStreamCombination()
1917 ASSERT_EQ(expectedStatus, streamCombinationSupported); in verifyStreamCombination()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp896 bool expectedStatus, bool expectStreamCombQuery);
7722 bool expectedStatus, bool expectMethodSupported) { in verifyStreamCombination() argument
7725 config3_7, [expectedStatus, expectMethodSupported](Status s, bool combStatus) { in verifyStreamCombination()
7729 ASSERT_TRUE(combStatus == expectedStatus); in verifyStreamCombination()
7737 [expectedStatus, expectMethodSupported] (Status s, bool combStatus) { in verifyStreamCombination()
7741 ASSERT_TRUE(combStatus == expectedStatus); in verifyStreamCombination()