Home
last modified time | relevance | path

Searched refs:cryptoPlugin (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp275 cryptoPlugin = plugin; in SetUp()
289 sp<ICryptoPlugin> cryptoPlugin; member in DrmHalClearkeyPluginTest
871 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("cenc")); in TEST_F()
878 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("")); in TEST_F()
886 cryptoPlugin->notifyResolution(1920, 1080); in TEST_F()
907 EXPECT_OK(cryptoPlugin->setSharedBufferBase(memory, index)); in getDecryptMemory()
914 EXPECT_OK(cryptoPlugin->setSharedBufferBase(hidlMemory, index)); in getDecryptMemory()
924 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in TEST_F()
934 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_F()
945 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in TEST_F()
[all …]
Ddrm_hal_vendor_test.cpp337 cryptoPlugin = plugin; in SetUp()
354 sp<ICryptoPlugin> cryptoPlugin; member in DrmHalVendorPluginTest
1008 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("")); in TEST_P()
1016 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("bad")); in TEST_P()
1028 EXPECT_TRUE(cryptoPlugin->requiresSecureDecoderComponent(config.mimeType)); in TEST_P()
1194 cryptoPlugin->notifyResolution(1920, 1080); in TEST_P()
1223 res = cryptoPlugin->setSharedBufferBase(hidlMemory, index); in getDecryptMemory()
1235 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
1247 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
1257 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/
DICryptoFactory.hal46 * @return cryptoPlugin the created ICryptoPlugin
49 generates (Status status, ICryptoPlugin cryptoPlugin);
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp117 cryptoPlugin = createCryptoPlugin(); in SetUp()
127 …ASSERT_NE(nullptr, cryptoPlugin.get()) << "Can't find " << vendorModule->getServiceName() << " cr… in SetUp()
318 res = cryptoPlugin->setSharedBufferBase(hidlMemory, index); in getDecryptMemory()
365 auto res = cryptoPlugin->decrypt_1_2(isSecure, keyId, localIv, mode, pattern, in decrypt()
482 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in decryptWithInvalidKeys()
Ddrm_hal_test.cpp328 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
356 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
383 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
407 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
Ddrm_hal_common.h143 sp<ICryptoPlugin> cryptoPlugin; variable
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp152 cryptoPlugin = createCryptoPlugin(cryptoFactory); in SetUp()
153 if (cryptoPlugin != nullptr) { in SetUp()
161 ASSERT_NE(nullptr, cryptoPlugin.get()) << "Can't find clearkey crypto@1.1 plugin"; in SetUp()
265 sp<ICryptoPlugin> cryptoPlugin; member in DrmHalClearkeyTest