Home
last modified time | relevance | path

Searched refs:mPlugin (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/drm/libmediadrm/
DDrm.cpp94 mPlugin(NULL) { in Drm()
99 delete mPlugin; in ~Drm()
100 mPlugin = NULL; in ~Drm()
311 if (mPlugin != NULL) { in createPlugin()
323 status_t result = mFactory->createDrmPlugin(uuid, &mPlugin); in createPlugin()
324 if (mPlugin) { in createPlugin()
325 mPlugin->setListener(this); in createPlugin()
340 if (mPlugin == NULL) { in destroyPlugin()
345 delete mPlugin; in destroyPlugin()
346 mPlugin = NULL; in destroyPlugin()
[all …]
DDescramblerImpl.cpp54 mLibrary(library), mPlugin(plugin) { in DescramblerImpl()
55 ALOGV("CTOR: mPlugin=%p", mPlugin); in DescramblerImpl()
59 ALOGV("DTOR: mPlugin=%p", mPlugin); in ~DescramblerImpl()
67 return getBinderStatus(mPlugin->setMediaCasSession(sessionId)); in setMediaCasSession()
72 *result = mPlugin->requiresSecureDecoderComponent(String8(mime)); in requiresSecureDecoderComponent()
81 *result = mPlugin->descramble( in descramble()
97 ALOGV("release: mPlugin=%p", mPlugin); in release()
99 if (mPlugin != NULL) { in release()
100 delete mPlugin; in release()
101 mPlugin = NULL; in release()
DCrypto.cpp51 mPlugin(NULL) { in Crypto()
55 delete mPlugin; in ~Crypto()
56 mPlugin = NULL; in ~Crypto()
191 if (mPlugin != NULL) { in createPlugin()
203 return mFactory->createPlugin(uuid, data, size, &mPlugin); in createPlugin()
213 if (mPlugin == NULL) { in destroyPlugin()
217 delete mPlugin; in destroyPlugin()
218 mPlugin = NULL; in destroyPlugin()
230 if (mPlugin == NULL) { in requiresSecureDecoderComponent()
234 return mPlugin->requiresSecureDecoderComponent(mime); in requiresSecureDecoderComponent()
[all …]
DDrmHal.cpp392 mPlugin = makeDrmPlugin(mFactories[i], uuid, appPackageName); in createPlugin()
396 if (mPlugin == NULL) { in createPlugin()
400 mPlugin->setListener(this); in createPlugin()
414 if (mPlugin != NULL) { in destroyPlugin()
415 mPlugin->setListener(NULL); in destroyPlugin()
417 mPlugin.clear(); in destroyPlugin()
436 Return<void> hResult = mPlugin->openSession( in openSession()
475 Status status = mPlugin->closeSession(toHidlVec(sessionId)); in closeSession()
510 Return<void> hResult = mPlugin->getKeyRequest(toHidlVec(sessionId), in getKeyRequest()
552 Return<void> hResult = mPlugin->provideKeyResponse(toHidlVec(sessionId), in provideKeyResponse()
[all …]
DCryptoHal.cpp188 mPlugin = makeCryptoPlugin(mFactories[i], uuid, data, size); in createPlugin()
192 if (mPlugin == NULL) { in createPlugin()
208 mPlugin.clear(); in destroyPlugin()
219 return mPlugin->requiresSecureDecoderComponent(hidl_string(mime)); in requiresSecureDecoderComponent()
248 Return<void> hResult = mPlugin->setSharedBufferBase(hidlMemory, mNextBufferId++); in setHeapBase()
349 Return<void> hResult = mPlugin->decrypt(secure, toHidlArray16(keyId), toHidlArray16(iv), hMode, in decrypt()
377 mPlugin->notifyResolution(width, height); in notifyResolution()
387 return toStatusT(mPlugin->setMediaDrmSession(toHidlVec(sessionId))); in setMediaDrmSession()
DCasImpl.cpp54 explicit PluginHolder(CasPlugin *plugin) : mPlugin(plugin) {} in PluginHolder()
55 ~PluginHolder() { if (mPlugin != NULL) delete mPlugin; } in ~PluginHolder()
56 CasPlugin* get() { return mPlugin; } in get()
59 CasPlugin *mPlugin; member
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DRemotePrintServicePlugin.java47 private final @NonNull PrintServicePlugin mPlugin; field in RemotePrintServicePlugin
72 mPlugin = plugin; in RemotePrintServicePlugin()
80 name = Preconditions.checkArgumentPositive(mPlugin.getName(), "name"); in RemotePrintServicePlugin()
81 packageName = Preconditions.checkStringNotEmpty(mPlugin.getPackageName(), in RemotePrintServicePlugin()
84 throw new PluginException(mPlugin, "Cannot cache simple properties ", e); in RemotePrintServicePlugin()
99 mPlugin.start(this); in start()
102 throw new PluginException(mPlugin, "Cannot start", e); in start()
113 mPlugin.stop(); in stop()
117 throw new PluginException(mPlugin, "Cannot stop", e); in stop()
/frameworks/av/drm/mediacas/plugins/mock/
DMockSessionLibrary.h30 explicit MockCasSession(CasPlugin *plugin) : mPlugin(plugin) {} in MockCasSession()
36 CasPlugin* mPlugin; variable
38 CasPlugin* getPlugin() const { return mPlugin; } in getPlugin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginInstanceManager.java98 info.mPlugin.onCreate(mContext, info.mPluginContext); in getPlugin()
114 plugin.mPlugin).sendToTarget(); in destroy()
163 if (info.mPlugin.getClass().getName().equals(p.getClass().getName())) { in dependsOn()
188 info.mPlugin.onCreate(mContext, info.mPluginContext); in handleMessage()
190 mListener.onPluginConnected(info.mPlugin, info.mPluginContext); in handleMessage()
226 mListener.onPluginDisconnected(plugin.mPlugin); in handleMessage()
227 if (!(plugin.mPlugin instanceof PluginFragment)) { in handleMessage()
230 plugin.mPlugin.onDestroy(); in handleMessage()
242 plugin.mPlugin).sendToTarget(); in handleMessage()
409 T mPlugin; field in PluginInstanceManager.PluginInfo
[all …]
DPluginManagerImpl.java129 return info.mPlugin; in getOneShotPlugin()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.h56 CasPlugin* mPlugin; variable
63 CasPlugin* getPlugin() const { return mPlugin; } in getPlugin()
DClearKeySessionLibrary.cpp33 : mPlugin(plugin) { in ClearKeyCasSession()
/frameworks/av/include/media/
DDescramblerImpl.h48 DescramblerPlugin *mPlugin; variable
DCrypto.h67 CryptoPlugin *mPlugin; member
DCryptoHal.h72 sp<ICryptoPlugin> mPlugin; member
DDrm.h156 DrmPlugin *mPlugin; member
DDrmHal.h162 sp<IDrmPlugin> mPlugin; member
/frameworks/av/media/libmedia/include/media/
DCrypto.h67 CryptoPlugin *mPlugin; member
DCryptoHal.h72 sp<ICryptoPlugin> mPlugin; member
DDrm.h156 DrmPlugin *mPlugin; member
DDrmHal.h162 sp<IDrmPlugin> mPlugin; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
DPluginInstanceManagerTest.java107 assertNotNull(p.mPlugin); in testGetPlugin()