Home
last modified time | relevance | path

Searched refs:drmFactory (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h69 drmFactory = IDrmFactory::getService(instanceName); in SetUp()
70 ASSERT_NE(nullptr, drmFactory.get()); in SetUp()
74 const bool drmClearKey = drmFactory->isCryptoSchemeSupported(kClearKeyUUID); in SetUp()
79 const bool drmCommonPsshBox = drmFactory->isCryptoSchemeSupported(kCommonPsshBoxUUID); in SetUp()
112 sp<IDrmFactory> drmFactory; variable
128 ASSERT_NE(nullptr, drmFactory.get()); in SetUp()
130 auto res = drmFactory->createPlugin( in SetUp()
Ddrm_hal_vendor_test.h98 drmFactory = IDrmFactory::getService(instance); in SetUp()
99 ASSERT_NE(nullptr, drmFactory.get()); in SetUp()
104 if (!drmFactory->isCryptoSchemeSupported(getUUID())) { in SetUp()
130 sp<IDrmFactory> drmFactory; variable
145 auto res = drmFactory->createPlugin( in SetUp()
/hardware/interfaces/drm/1.4/vts/functional/
Ddrm_hal_test_main.cpp59 auto drmFactory = IDrmFactory::getService(instance); in __anon88d811900102() local
60 if (drmFactory == nullptr) { in __anon88d811900102()
63 drmFactory->getSupportedCryptoSchemes( in __anon88d811900102()
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h86 sp<IDrmFactory> drmFactory = IDrmFactory::getService(instance); in SetUp() local
87 if (!drmFactory->isCryptoSchemeSupported(kClearKeyUUID)) { in SetUp()
90 drmPlugin = createDrmPlugin(drmFactory); in SetUp()
109 sp<IDrmPlugin> createDrmPlugin(sp<IDrmFactory> drmFactory) { in createDrmPlugin() argument
110 if (drmFactory == nullptr) { in createDrmPlugin()
114 auto res = drmFactory->createPlugin(GetParam().scheme_, "", in createDrmPlugin()
/hardware/interfaces/drm/1.3/vts/functional/
Ddrm_hal_test_main.cpp70 auto drmFactory = IDrmFactory::getService(instance); in __anone7d0a4ef0102() local
71 if (drmFactory == nullptr) { in __anone7d0a4ef0102()
74 drmFactory->getSupportedCryptoSchemes( in __anone7d0a4ef0102()
/hardware/interfaces/drm/aidl/vts/
Ddrm_hal_common.cpp197 drmFactory = IDrmFactory::fromBinder( in SetUp()
199 ASSERT_NE(drmFactory, nullptr); in SetUp()
224 if (drmFactory == nullptr) { in createDrmPlugin()
229 auto ret = drmFactory->createDrmPlugin(getAidlUUID(), packageName, &result); in createDrmPlugin()
235 if (drmFactory == nullptr) { in createCryptoPlugin()
240 auto ret = drmFactory->createCryptoPlugin(getAidlUUID(), initVec, &result); in createCryptoPlugin()
266 if (drmFactory == nullptr) { in isCryptoSchemeSupported()
270 auto ret = drmFactory->getSupportedCryptoSchemes(&schemes); in isCryptoSchemeSupported()
Ddrm_hal_test.cpp107 auto result = drmFactory->getSupportedCryptoSchemes(&schemes); in TEST_P()
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp58 auto res = drmFactory->isCryptoSchemeSupported_1_2(getUUID(), kVideoMp4, kSwSecureCrypto); in TEST_P()
70 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported_1_2(kInvalidUUID, kVideoMp4, kSwSecureCrypto)); in TEST_P()
79 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported_1_2(emptyUUID, kVideoMp4, kSwSecureCrypto)); in TEST_P()
86 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported_1_2(getUUID(), kBadMime, kSwSecureCrypto)); in TEST_P()
403 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported_1_2(getUUID(), kVideoMp4, kHwSecureAll)); in TEST_P()
Ddrm_hal_common.cpp109 drmFactory = IDrmFactory::getService(instance); in SetUp()
110 ASSERT_NE(drmFactory, nullptr); in SetUp()
127 if (!drmFactory->isCryptoSchemeSupported(getUUID())) { in SetUp()
141 if (drmFactory == nullptr) { in createDrmPlugin()
147 drmFactory->createPlugin(getUUID(), packageName, in createDrmPlugin()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp44 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported(kInvalidUUID)); in TEST_P()
54 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported(emptyUUID)); in TEST_P()
63 EXPECT_FALSE(drmFactory->isContentTypeSupported(empty)); in TEST_P()
71 EXPECT_FALSE(drmFactory->isContentTypeSupported(invalid)); in TEST_P()
79 EXPECT_TRUE(drmFactory->isContentTypeSupported(cencType)); in TEST_P()
87 auto res = drmFactory->createPlugin( in TEST_P()
101 auto res = drmFactory->createPlugin( in TEST_P()
143 auto res = drmFactory->createPlugin( in TEST_P()
Ddrm_hal_vendor_test.cpp87 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported(kInvalidUUID)); in TEST_P()
97 EXPECT_FALSE(drmFactory->isCryptoSchemeSupported(emptyUUID)); in TEST_P()
106 EXPECT_TRUE(drmFactory->isCryptoSchemeSupported(getUUID())); in TEST_P()
115 EXPECT_FALSE(drmFactory->isContentTypeSupported(empty)); in TEST_P()
123 EXPECT_FALSE(drmFactory->isContentTypeSupported(invalid)); in TEST_P()
132 EXPECT_TRUE(drmFactory->isContentTypeSupported(config.mimeType)); in TEST_P()
142 auto res = drmFactory->createPlugin( in TEST_P()
172 auto res = drmFactory->createPlugin( in TEST_P()
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h123 sp<IDrmFactory> drmFactory; variable
143 if (!drmFactory->isCryptoSchemeSupported(kClearKeyUUID)) { in SetUp()
/hardware/interfaces/drm/aidl/vts/include/
Ddrm_hal_common.h132 std::shared_ptr<::aidl::android::hardware::drm::IDrmFactory> drmFactory; variable