Home
last modified time | relevance | path

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

/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/av/drm/libmediadrm/
DCryptoHal.cpp211 mPlugin = makeCryptoPlugin(mFactories[i], uuid, data, size); in createPlugin()
212 if (mPlugin != NULL) { in createPlugin()
213 mPluginV1_2 = drm::V1_2::ICryptoPlugin::castFrom(mPlugin); in createPlugin()
218 if (mPlugin == NULL) { in createPlugin()
234 mPlugin.clear(); in destroyPlugin()
246 Return<bool> hResult = mPlugin->requiresSecureDecoderComponent(hidl_string(mime)); in requiresSecureDecoderComponent()
274 Return<void> hResult = mPlugin->setSharedBufferBase(*hidlMemory, mNextBufferId++); in setHeapBase()
291 if (mPlugin != NULL) { in clearHeapBase()
293 Return<void> hResult = mPlugin->setSharedBufferBase(hidl_memory(), bufferId); in clearHeapBase()
423 hResult = mPlugin->decrypt(secure, toHidlArray16(keyId), toHidlArray16(iv), in decrypt()
[all …]
DDrmHal.cpp361 } else if (mPlugin != NULL) { in cleanup()
362 if (!mPlugin->setListener(NULL).isOk()) { in cleanup()
366 mPlugin.clear(); in cleanup()
657 mPlugin = plugin; in createPlugin()
658 mPluginV1_1 = drm::V1_1::IDrmPlugin::castFrom(mPlugin); in createPlugin()
659 mPluginV1_2 = drm::V1_2::IDrmPlugin::castFrom(mPlugin); in createPlugin()
665 if (mPlugin == NULL) { in createPlugin()
673 } else if (!mPlugin->setListener(this).isOk()) { in createPlugin()
677 mPlugin.clear(); in createPlugin()
715 hResult = mPlugin->openSession( in openSession()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstanceManager.java105 info.mPlugin.onCreate(mContext, info.mPluginContext); in getPlugin()
121 plugin.mPlugin).sendToTarget(); in destroy()
189 if (info.mPlugin.getClass().getName().equals(p.getClass().getName())) { in dependsOn()
221 info.mPlugin.onCreate(mContext, info.mPluginContext); in handleMessage()
223 mListener.onPluginConnected(info.mPlugin, info.mPluginContext); in handleMessage()
259 mListener.onPluginDisconnected(plugin.mPlugin); in handleMessage()
260 if (!(plugin.mPlugin instanceof PluginFragment)) { in handleMessage()
263 plugin.mPlugin.onDestroy(); in handleMessage()
275 plugin.mPlugin).sendToTarget(); in handleMessage()
454 T mPlugin; field in PluginInstanceManager.PluginInfo
[all …]
DPluginManagerImpl.java149 return info.mPlugin; in getOneShotPlugin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIApplication.java237 private final OverlayPlugin mPlugin; in startServicesIfNeeded()
240 mPlugin = plugin; in startServicesIfNeeded()
245 if (mPlugin.holdStatusBarOpen()) { in startServicesIfNeeded()
246 mOverlays.add(mPlugin); in startServicesIfNeeded()
248 mOverlays.remove(mPlugin); in startServicesIfNeeded()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.h60 CasPlugin* mPlugin; variable
65 CasPlugin* getPlugin() const { return mPlugin; } in getPlugin()
DClearKeySessionLibrary.cpp33 : mPlugin(plugin) { in ClearKeyCasSession()
/frameworks/av/include/mediadrm/
DCryptoHal.h75 sp<ICryptoPlugin> mPlugin; member
DDrmHal.h203 sp<IDrmPlugin> mPlugin; member
/frameworks/av/media/libmedia/include/media/
DCryptoHal.h75 sp<ICryptoPlugin> mPlugin; member
DDrmHal.h203 sp<IDrmPlugin> mPlugin; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceManagerTest.java117 assertNotNull(p.mPlugin); in testGetPlugin()