/frameworks/av/drm/libmediadrm/ |
D | Drm.cpp | 94 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 …]
|
D | DescramblerImpl.cpp | 54 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()
|
D | Crypto.cpp | 51 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 …]
|
D | DrmHal.cpp | 392 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 …]
|
D | CryptoHal.cpp | 188 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()
|
D | CasImpl.cpp | 54 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/ |
D | RemotePrintServicePlugin.java | 47 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/ |
D | MockSessionLibrary.h | 30 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/ |
D | PluginInstanceManager.java | 98 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 …]
|
D | PluginManagerImpl.java | 129 return info.mPlugin; in getOneShotPlugin()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeySessionLibrary.h | 56 CasPlugin* mPlugin; variable 63 CasPlugin* getPlugin() const { return mPlugin; } in getPlugin()
|
D | ClearKeySessionLibrary.cpp | 33 : mPlugin(plugin) { in ClearKeyCasSession()
|
/frameworks/av/include/media/ |
D | DescramblerImpl.h | 48 DescramblerPlugin *mPlugin; variable
|
D | Crypto.h | 67 CryptoPlugin *mPlugin; member
|
D | CryptoHal.h | 72 sp<ICryptoPlugin> mPlugin; member
|
D | Drm.h | 156 DrmPlugin *mPlugin; member
|
D | DrmHal.h | 162 sp<IDrmPlugin> mPlugin; member
|
/frameworks/av/media/libmedia/include/media/ |
D | Crypto.h | 67 CryptoPlugin *mPlugin; member
|
D | CryptoHal.h | 72 sp<ICryptoPlugin> mPlugin; member
|
D | Drm.h | 156 DrmPlugin *mPlugin; member
|
D | DrmHal.h | 162 sp<IDrmPlugin> mPlugin; member
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/ |
D | PluginInstanceManagerTest.java | 107 assertNotNull(p.mPlugin); in testGetPlugin()
|