Loading drm/aidl/vts/drm_hal_common.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -187,6 +187,12 @@ void DrmHalTest::SetUp() { auto svc = GetParamService(); const string drmInstance = HalFullName(kDrmIface, svc); if (!vendorModule) { ASSERT_NE(drmInstance, HalFullName(kDrmIface, "widevine")) << "Widevine requires vendor module."; ASSERT_NE(drmInstance, HalFullName(kDrmIface, "clearkey")) << "Clearkey requires vendor module."; GTEST_SKIP() << "No vendor module installed"; } if (drmInstance.find("IDrmFactory") != std::string::npos) { drmFactory = IDrmFactory::fromBinder( ::ndk::SpAIBinder(AServiceManager_waitForService(drmInstance.c_str()))); Loading @@ -195,12 +201,6 @@ void DrmHalTest::SetUp() { cryptoPlugin = createCryptoPlugin(); } if (!vendorModule) { ASSERT_NE(drmInstance, "widevine") << "Widevine requires vendor module."; ASSERT_NE(drmInstance, "clearkey") << "Clearkey requires vendor module."; GTEST_SKIP() << "No vendor module installed"; } ASSERT_EQ(HalBaseName(drmInstance), vendorModule->getServiceName()); contentConfigurations = vendorModule->getContentConfigurations(); Loading Loading
drm/aidl/vts/drm_hal_common.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -187,6 +187,12 @@ void DrmHalTest::SetUp() { auto svc = GetParamService(); const string drmInstance = HalFullName(kDrmIface, svc); if (!vendorModule) { ASSERT_NE(drmInstance, HalFullName(kDrmIface, "widevine")) << "Widevine requires vendor module."; ASSERT_NE(drmInstance, HalFullName(kDrmIface, "clearkey")) << "Clearkey requires vendor module."; GTEST_SKIP() << "No vendor module installed"; } if (drmInstance.find("IDrmFactory") != std::string::npos) { drmFactory = IDrmFactory::fromBinder( ::ndk::SpAIBinder(AServiceManager_waitForService(drmInstance.c_str()))); Loading @@ -195,12 +201,6 @@ void DrmHalTest::SetUp() { cryptoPlugin = createCryptoPlugin(); } if (!vendorModule) { ASSERT_NE(drmInstance, "widevine") << "Widevine requires vendor module."; ASSERT_NE(drmInstance, "clearkey") << "Clearkey requires vendor module."; GTEST_SKIP() << "No vendor module installed"; } ASSERT_EQ(HalBaseName(drmInstance), vendorModule->getServiceName()); contentConfigurations = vendorModule->getContentConfigurations(); Loading