Home
last modified time | relevance | path

Searched refs:drmPlugin (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp42 auto res = drmPlugin->openSession( in openSession()
58 auto res = drmPlugin->openSession_1_1(level, in openSession()
73 EXPECT_TRUE(drmPlugin->closeSession(sessionId).isOk()); in closeSession()
115 auto res = drmPlugin->getKeyRequest_1_1( in loadKeys()
126 res = drmPlugin->provideKeyResponse( in loadKeys()
141 auto res = drmPlugin->openSession_1_1(SecurityLevel::HW_SECURE_ALL, in TEST_P()
165 auto res = drmPlugin->getKeyRequest_1_1( in TEST_P()
184 auto res = drmPlugin->getKeyRequest_1_1( in TEST_P()
199 auto res = drmPlugin->getHdcpLevels( in TEST_P()
218 auto res = drmPlugin->getNumberOfSessions( in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_vendor_test.cpp215 auto res = drmPlugin->getProvisionRequest( in TEST_P()
234 auto res = drmPlugin->provideProvisionResponse( in TEST_P()
250 auto res = drmPlugin->provideProvisionResponse( in TEST_P()
265 auto res = drmPlugin->openSession([&](Status status, const SessionId& id) { in openSession()
278 Status status = drmPlugin->closeSession(sessionId); in closeSession()
303 auto res = drmPlugin->getKeyRequest( in loadKeys()
328 res = drmPlugin->provideKeyResponse( in loadKeys()
356 Status status = drmPlugin->closeSession(invalidSessionId); in TEST_P()
368 Status status = drmPlugin->closeSession(sessionId); in TEST_P()
381 auto res = drmPlugin->getKeyRequest( in TEST_P()
[all …]
Ddrm_hal_clearkey_test.cpp178 auto res = drmPlugin->getProvisionRequest( in TEST_P()
193 auto res = drmPlugin->provideProvisionResponse( in TEST_P()
208 auto res = drmPlugin->openSession( in openSession()
222 EXPECT_TRUE(drmPlugin->closeSession(sessionId).isOk()); in closeSession()
264 auto res = drmPlugin->getKeyRequest( in loadKeys()
275 res = drmPlugin->provideKeyResponse( in loadKeys()
300 Status result = drmPlugin->closeSession(invalidSessionId); in TEST_P()
311 Status result = drmPlugin->closeSession(sessionId); in TEST_P()
323 auto res = drmPlugin->getKeyRequest( in TEST_P()
342 auto res = drmPlugin->getKeyRequest( in TEST_P()
[all …]
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp123 auto res = drmPlugin->getKeyRequest_1_2( in TEST_P()
140 auto res = drmPlugin->getKeyRequest_1_2( in TEST_P()
177 auto res = drmPlugin->getOfflineLicenseKeySetIds( in TEST_P()
191 Status err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
194 res = drmPlugin->getOfflineLicenseKeySetIds( in TEST_P()
203 err = drmPlugin->removeOfflineLicense(keySetId); in TEST_P()
216drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::US… in TEST_P()
219drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::OK, OfflineLicenseState::IN… in TEST_P()
229drmPlugin->getOfflineLicenseState(keySetId, checkKeySetIdState<Status::BAD_VALUE, OfflineLicenseSt… in TEST_P()
237 Status err = drmPlugin->removeOfflineLicense(emptyKeySetId); in TEST_P()
[all …]
Ddrm_hal_common.cpp111 drmPlugin = createDrmPlugin(); in SetUp()
135 …ASSERT_NE(nullptr, drmPlugin.get()) << "Can't find " << vendorModule->getServiceName() << " drm@1… in SetUp()
195 auto res = drmPlugin->getProvisionRequest_1_2( in provision()
214 auto res = drmPlugin->provideProvisionResponse( in provision()
225 auto res = drmPlugin->openSession_1_1(level, in openSession()
241 auto res = drmPlugin->openSession([&](StatusV1_0 status, const hidl_vec<unsigned char> &id) { in openSession()
254 StatusV1_0 status = drmPlugin->closeSession(sessionId); in closeSession()
263 auto res = drmPlugin->getKeyRequest_1_2( in getKeyRequest()
298 auto res = drmPlugin->provideKeyResponse( in provideKeyResponse()
535 auto res = drmPlugin->provideKeyResponse( in decryptWithInvalidKeys()
/hardware/interfaces/drm/1.4/vts/functional/
Ddrm_hal_test.cpp32 sp<drm::V1_4::IDrmPlugin> plugin(drm::V1_4::IDrmPlugin::castFrom(drmPlugin)); in DrmPluginV1_4()
65 res = drmPlugin->openSession(cb); in OpenSession()
68 res = drmPlugin->openSession_1_1(securityLevel, cb); in OpenSession()
132 auto res = drmPlugin->getMetrics([&]( in TEST_P()
166 auto res = drmPlugin->getKeyRequest_1_2( in TEST_P()
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h90 drmPlugin = createDrmPlugin(drmFactory); in SetUp()
94 if (drmPlugin == nullptr || cryptoPlugin == nullptr) { in SetUp()
96 ASSERT_NE(nullptr, drmPlugin.get()) << "Can't get clearkey drm@1.1 plugin"; in SetUp()
199 sp<IDrmPlugin> drmPlugin; variable
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h135 drmPlugin = plugin; in SetUp()
167 sp<IDrmPlugin> drmPlugin; variable
Ddrm_hal_vendor_test.h150 drmPlugin = plugin; in SetUp()
176 sp<IDrmPlugin> drmPlugin;
/hardware/interfaces/drm/1.0/
DIDrmFactory.hal60 generates (Status status, IDrmPlugin drmPlugin);
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h125 sp<IDrmPlugin> drmPlugin; variable