Searched refs:drmFactory (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/ |
D | drm_hal_clearkey_test.h | 69 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()
|
D | drm_hal_vendor_test.h | 98 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/ |
D | drm_hal_test_main.cpp | 59 auto drmFactory = IDrmFactory::getService(instance); in __anona5d9ecfc0102() local 60 if (drmFactory == nullptr) { in __anona5d9ecfc0102() 63 drmFactory->getSupportedCryptoSchemes( in __anona5d9ecfc0102()
|
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/ |
D | drm_hal_clearkey_test.h | 86 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/ |
D | drm_hal_test_main.cpp | 70 auto drmFactory = IDrmFactory::getService(instance); in __anon04d2805b0102() local 71 if (drmFactory == nullptr) { in __anon04d2805b0102() 74 drmFactory->getSupportedCryptoSchemes( in __anon04d2805b0102()
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_test.cpp | 58 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()
|
D | drm_hal_common.cpp | 109 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/ |
D | drm_hal_clearkey_test.cpp | 44 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()
|
D | drm_hal_vendor_test.cpp | 87 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/ |
D | drm_hal_common.h | 123 sp<IDrmFactory> drmFactory; variable 143 if (!drmFactory->isCryptoSchemeSupported(kClearKeyUUID)) { in SetUp()
|