Searched refs:cryptoPlugin (Results 1 – 9 of 9) sorted by relevance
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/ |
D | drm_hal_clearkey_test.h | 92 cryptoPlugin = createCryptoPlugin(cryptoFactory); in SetUp() 94 if (drmPlugin == nullptr || cryptoPlugin == nullptr) { in SetUp() 97 ASSERT_NE(nullptr, cryptoPlugin.get()) << "Can't get clearkey crypto@1.1 plugin"; in SetUp() 200 sp<ICryptoPlugin> cryptoPlugin; variable
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 745 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("cenc")); in TEST_P() 752 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("")); in TEST_P() 760 cryptoPlugin->notifyResolution(1920, 1080); in TEST_P() 781 EXPECT_OK(cryptoPlugin->setSharedBufferBase(memory, index)); in getDecryptMemory() 788 EXPECT_OK(cryptoPlugin->setSharedBufferBase(hidlMemory, index)); in getDecryptMemory() 798 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in TEST_P() 808 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 819 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in TEST_P() 872 auto res = cryptoPlugin->decrypt(kNotSecure, toHidlArray(keyId), localIv, mode, in decrypt() 990 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in TEST_P() [all …]
|
D | drm_hal_vendor_test.cpp | 847 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("")); in TEST_P() 855 EXPECT_FALSE(cryptoPlugin->requiresSecureDecoderComponent("bad")); in TEST_P() 867 EXPECT_TRUE(cryptoPlugin->requiresSecureDecoderComponent(config.mimeType)); in TEST_P() 1033 cryptoPlugin->notifyResolution(1920, 1080); in TEST_P() 1062 res = cryptoPlugin->setSharedBufferBase(hidlMemory, index); in getDecryptMemory() 1074 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 1086 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 1096 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 1161 auto res = cryptoPlugin->decrypt(isSecure, keyId, localIv, mode, pattern, in decrypt() 1314 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() [all …]
|
/hardware/interfaces/drm/1.0/ |
D | ICryptoFactory.hal | 46 * @return cryptoPlugin the created ICryptoPlugin 49 generates (Status status, ICryptoPlugin cryptoPlugin);
|
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/ |
D | drm_hal_clearkey_test.h | 145 cryptoPlugin = plugin; in SetUp() 168 sp<ICryptoPlugin> cryptoPlugin; variable
|
D | drm_hal_vendor_test.h | 160 cryptoPlugin = plugin; in SetUp() 177 sp<ICryptoPlugin> cryptoPlugin; variable
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 115 cryptoPlugin = createCryptoPlugin(); in SetUp() 136 …ASSERT_NE(nullptr, cryptoPlugin.get()) << "Can't find " << vendorModule->getServiceName() << " cr… in SetUp() 379 res = cryptoPlugin->setSharedBufferBase(hidlMemory, index); in getDecryptMemory() 426 auto res = cryptoPlugin->decrypt_1_2(isSecure, keyId, localIv, mode, pattern, in decrypt() 543 EXPECT_TRUE(cryptoPlugin->setMediaDrmSession(sessionId).isOk()); in decryptWithInvalidKeys()
|
D | drm_hal_test.cpp | 310 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 337 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 363 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P() 386 Status status = cryptoPlugin->setMediaDrmSession(sessionId); in TEST_P()
|
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/ |
D | drm_hal_common.h | 126 sp<ICryptoPlugin> cryptoPlugin; variable
|