Loading media/codec2/hal/hidl/1.0/vts/functional/master/VtsHalMediaC2V1_0TargetMasterTest.cpp +4 −7 Original line number Diff line number Diff line Loading @@ -84,14 +84,11 @@ TEST_P(Codec2MasterHalTest, ListComponents) { } TEST_P(Codec2MasterHalTest, MustUseAidlBeyond202404) { static int sBoardFirstApiLevel = android::base::GetIntProperty("ro.board.first_api_level", 0); static int sBoardApiLevel = android::base::GetIntProperty("ro.board.api_level", 0); if (sBoardFirstApiLevel < 202404 && sBoardApiLevel < 202404) { GTEST_SKIP() << "board first level less than 202404:" << " ro.board.first_api_level = " << sBoardFirstApiLevel << " ro.board.api_level = " << sBoardApiLevel; static int sVendorApiLevel = android::base::GetIntProperty("ro.vendor.api_level", 0); if (sVendorApiLevel < 202404) { GTEST_SKIP() << "vendor api level less than 202404: " << sVendorApiLevel; } ALOGV("HidlCodecAllowed Test"); ALOGV("MustUseAidlBeyond202404 Test"); EXPECT_NE(mClient->getAidlBase(), nullptr) << "android.hardware.media.c2 MUST use AIDL " << "for chipsets launching at 202404 or above"; Loading Loading
media/codec2/hal/hidl/1.0/vts/functional/master/VtsHalMediaC2V1_0TargetMasterTest.cpp +4 −7 Original line number Diff line number Diff line Loading @@ -84,14 +84,11 @@ TEST_P(Codec2MasterHalTest, ListComponents) { } TEST_P(Codec2MasterHalTest, MustUseAidlBeyond202404) { static int sBoardFirstApiLevel = android::base::GetIntProperty("ro.board.first_api_level", 0); static int sBoardApiLevel = android::base::GetIntProperty("ro.board.api_level", 0); if (sBoardFirstApiLevel < 202404 && sBoardApiLevel < 202404) { GTEST_SKIP() << "board first level less than 202404:" << " ro.board.first_api_level = " << sBoardFirstApiLevel << " ro.board.api_level = " << sBoardApiLevel; static int sVendorApiLevel = android::base::GetIntProperty("ro.vendor.api_level", 0); if (sVendorApiLevel < 202404) { GTEST_SKIP() << "vendor api level less than 202404: " << sVendorApiLevel; } ALOGV("HidlCodecAllowed Test"); ALOGV("MustUseAidlBeyond202404 Test"); EXPECT_NE(mClient->getAidlBase(), nullptr) << "android.hardware.media.c2 MUST use AIDL " << "for chipsets launching at 202404 or above"; Loading