Searched refs:cryptoFactory (Results 1 – 8 of 8) sorted by relevance
71 cryptoFactory = ICryptoFactory::getService(instanceName); in SetUp()72 ASSERT_NE(nullptr, cryptoFactory.get()); in SetUp()75 const bool cryptoClearKey = cryptoFactory->isCryptoSchemeSupported(kClearKeyUUID); in SetUp()80 const bool cryptoCommonPsshBox = cryptoFactory->isCryptoSchemeSupported(kCommonPsshBoxUUID); in SetUp()113 sp<ICryptoFactory> cryptoFactory; variable140 res = cryptoFactory->createPlugin( in SetUp()
100 cryptoFactory = ICryptoFactory::getService(instance); in SetUp()101 ASSERT_NE(nullptr, cryptoFactory.get()); in SetUp()131 sp<ICryptoFactory> cryptoFactory; variable155 res = cryptoFactory->createPlugin( in SetUp()
91 sp<ICryptoFactory> cryptoFactory = ICryptoFactory::getService(instance); in SetUp() local92 cryptoPlugin = createCryptoPlugin(cryptoFactory); in SetUp()126 sp<ICryptoPlugin> createCryptoPlugin(sp<ICryptoFactory> cryptoFactory) { in createCryptoPlugin() argument127 if (cryptoFactory == nullptr) { in createCryptoPlugin()132 auto res = cryptoFactory->createPlugin( in createCryptoPlugin()
113 cryptoFactory = ICryptoFactory::getService(instance); in SetUp()114 ASSERT_NE(cryptoFactory, nullptr); in SetUp()160 if (cryptoFactory == nullptr) { in createCryptoPlugin()165 auto res = cryptoFactory->createPlugin( in createCryptoPlugin()
45 EXPECT_FALSE(cryptoFactory->isCryptoSchemeSupported(kInvalidUUID)); in TEST_P()55 EXPECT_FALSE(cryptoFactory->isCryptoSchemeSupported(emptyUUID)); in TEST_P()115 auto res = cryptoFactory->createPlugin( in TEST_P()129 auto res = cryptoFactory->createPlugin( in TEST_P()157 auto res = cryptoFactory->createPlugin( in TEST_P()
88 EXPECT_FALSE(cryptoFactory->isCryptoSchemeSupported(kInvalidUUID)); in TEST_P()98 EXPECT_FALSE(cryptoFactory->isCryptoSchemeSupported(emptyUUID)); in TEST_P()107 EXPECT_TRUE(cryptoFactory->isCryptoSchemeSupported(getUUID())); in TEST_P()157 auto res = cryptoFactory->createPlugin( in TEST_P()187 auto res = cryptoFactory->createPlugin( in TEST_P()
39 auto res = cryptoFactory->createPlugin( in CryptoPlugin()
124 sp<ICryptoFactory> cryptoFactory; variable