OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cryptoFactory
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
service.cpp
18
#include <
CryptoFactory
.h>
31
using android::hardware::drm::V1_1::clearkey::
CryptoFactory
;
43
sp<ICryptoFactory>
cryptoFactory
= new
CryptoFactory
;
50
CHECK_EQ(
cryptoFactory
->registerAsService("clearkey"), android::NO_ERROR)
/hardware/interfaces/drm/1.0/vts/functional/
drm_hal_clearkey_test.cpp
103
cryptoFactory
=
105
ASSERT_NE(nullptr,
cryptoFactory
.get());
112
sp<ICryptoFactory>
cryptoFactory
;
120
EXPECT_TRUE(
cryptoFactory
->isCryptoSchemeSupported(kCommonPsshBoxUUID));
123
EXPECT_TRUE(
cryptoFactory
->isCryptoSchemeSupported(kClearKeyUUID));
131
EXPECT_FALSE(
cryptoFactory
->isCryptoSchemeSupported(kInvalidUUID));
141
EXPECT_FALSE(
cryptoFactory
->isCryptoSchemeSupported(emptyUUID));
201
auto res =
cryptoFactory
->createPlugin(
215
auto res =
cryptoFactory
->createPlugin(
243
auto res =
cryptoFactory
->createPlugin
[
all
...]
drm_hal_vendor_test.cpp
150
cryptoFactory
= VtsTestBase::getService<ICryptoFactory>(name);
151
if (
cryptoFactory
== nullptr) {
152
cryptoFactory
= VtsTestBase::getService<ICryptoFactory>();
154
ASSERT_NE(nullptr,
cryptoFactory
.get());
172
sp<ICryptoFactory>
cryptoFactory
;
205
EXPECT_FALSE(
cryptoFactory
->isCryptoSchemeSupported(kInvalidUUID));
215
EXPECT_FALSE(
cryptoFactory
->isCryptoSchemeSupported(emptyUUID));
224
EXPECT_TRUE(
cryptoFactory
->isCryptoSchemeSupported(getVendorUUID()));
274
auto res =
cryptoFactory
->createPlugin(
304
auto res =
cryptoFactory
->createPlugin
[
all
...]
/hardware/interfaces/drm/1.1/vts/functional/
drm_hal_clearkey_test.cpp
150
sp<ICryptoFactory>
cryptoFactory
=
152
cryptoPlugin = createCryptoPlugin(
cryptoFactory
);
191
sp<ICryptoPlugin> createCryptoPlugin(sp<ICryptoFactory>
cryptoFactory
) {
192
if (
cryptoFactory
== nullptr) {
197
auto res =
cryptoFactory
->createPlugin(
Completed in 112 milliseconds