Home
last modified time | relevance | path

Searched refs:mPlugin (Results 1 – 13 of 13) 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/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsComponent.java34 private GlobalActions mPlugin; field in GlobalActionsComponent
47 mPlugin = mExtension.get(); in start()
52 if (mPlugin != null) { in onExtensionCallback()
53 mPlugin.destroy(); in onExtensionCallback()
55 mPlugin = newPlugin; in onExtensionCallback()
/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.cpp367 } else if (mPlugin != NULL) { in cleanup()
368 if (!mPlugin->setListener(NULL).isOk()) { in cleanup()
372 mPlugin.clear(); in cleanup()
663 mPlugin = plugin; in createPlugin()
664 mPluginV1_1 = drm::V1_1::IDrmPlugin::castFrom(mPlugin); in createPlugin()
665 mPluginV1_2 = drm::V1_2::IDrmPlugin::castFrom(mPlugin); in createPlugin()
671 if (mPlugin == NULL) { in createPlugin()
679 } else if (!mPlugin->setListener(this).isOk()) { in createPlugin()
683 mPlugin.clear(); in createPlugin()
721 hResult = mPlugin->openSession( in openSession()
[all …]
/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/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.java256 private final OverlayPlugin mPlugin; in startServicesIfNeeded()
259 mPlugin = plugin; in startServicesIfNeeded()
264 if (mPlugin.holdStatusBarOpen()) { in startServicesIfNeeded()
265 mOverlays.add(mPlugin); in startServicesIfNeeded()
267 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/drm/libmediadrm/include/mediadrm/
DCryptoHal.h75 sp<ICryptoPlugin> mPlugin; member
DDrmHal.h223 sp<IDrmPlugin> mPlugin; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceManagerTest.java117 assertNotNull(p.mPlugin); in testGetPlugin()