Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hal/plugin/
DDefaultFilterPlugin.cpp40 mPlugin(nullptr) { in DefaultFilterPlugin()
69 mPlugin = (FilterPlugin_V1 *)createPlugin(); in DefaultFilterPlugin()
70 if (!mPlugin) { in DefaultFilterPlugin()
74 mStore = mPlugin->getComponentStore(); in DefaultFilterPlugin()
84 if (mDestroyPlugin && mPlugin) { in ~DefaultFilterPlugin()
85 mDestroyPlugin(mPlugin); in ~DefaultFilterPlugin()
86 mPlugin = nullptr; in ~DefaultFilterPlugin()
98 return mPlugin->describe(name, desc); in describe()
105 return mPlugin->isFilteringEnabled(intf); in isFilteringEnabled()
114 return mPlugin->queryParamsForPreviousComponent(intf, params); in queryParamsForPreviousComponent()
DFilterWrapper.cpp806 mPlugin(std::move(plugin)) { in FilterWrapper()
807 if (mPlugin->status() != OK) { in FilterWrapper()
808 LOG(ERROR) << "plugin not OK: " << mPlugin->status(); in FilterWrapper()
809 mPlugin.reset(); in FilterWrapper()
812 mStore = mPlugin->getStore(); in FilterWrapper()
815 mPlugin.reset(); in FilterWrapper()
837 if (!mPlugin->describe(trait->name, &desc)) { in FilterWrapper()
845 mPlugin.reset(); in FilterWrapper()
966 return mPlugin->isFilteringEnabled(intf); in isFilteringEnabled()
1012 return mPlugin->queryParamsForPreviousComponent(intf, params); in queryParamsForPreviousComponent()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstance.java63 private T mPlugin; field in PluginInstance
76 mPlugin = plugin; in PluginInstance()
80 if (mPlugin != null) { in PluginInstance()
104 if (mPlugin != null) { in onCreate()
111 if (mPlugin == null) { in onCreate()
118 mPluginFactory.checkVersion(mPlugin); in onCreate()
119 if (!(mPlugin instanceof PluginFragment)) { in onCreate()
122 mPlugin.onCreate(mAppContext, mPluginContext); in onCreate()
124 mListener.onPluginLoaded(mPlugin, mPluginContext, this); in onCreate()
137 return mPlugin; in getPlugin()
[all …]
/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/toast/
DToastFactory.java42 private ToastPlugin mPlugin; field in ToastFactory
56 mPlugin = plugin; in ToastFactory()
61 if (plugin.equals(mPlugin)) { in ToastFactory()
62 mPlugin = null; in ToastFactory()
74 return new SystemUIToast(mLayoutInflater, context, text, mPlugin.createToast(text, in createToast()
82 return mPlugin != null; in isPluginAvailable()
88 pw.println(" mAttachedPlugin=" + mPlugin); in dump()
/frameworks/av/drm/libmediadrm/
DDrmHalAidl.cpp479 mPlugin = pluginAidl; in createPlugin()
488 if (mPlugin == NULL) { in createPlugin()
494 ::ndk::ScopedAStatus status = mPlugin in createPlugin()
504 mPlugin.reset(); in createPlugin()
526 ::ndk::ScopedAStatus status = mPlugin->openSession(aSecurityLevel, &aSessionId); in openSession()
561 ::ndk::ScopedAStatus status = mPlugin->closeSession(sessionIdAidl); in closeSession()
610 mPlugin->getKeyRequest(sessionIdAidl, initDataAidl, toStdString(mimeType), aKeyType, in getKeyRequest()
638 mPlugin->provideKeyResponse(sessionIdAidl, responseAidl, &keySetIdsAidl); in provideKeyResponse()
650 ::ndk::ScopedAStatus status = mPlugin->removeKeys(toStdVec(keySetId)); in removeKeys()
663 ::ndk::ScopedAStatus status = mPlugin->restoreKeys(toStdVec(sessionId), keySetIdsAidl); in restoreKeys()
[all …]
DCryptoHalHidl.cpp170 mPlugin = makeCryptoPlugin(mFactories[i], uuid, data, size); in createPlugin()
171 if (mPlugin != NULL) { in createPlugin()
172 mPluginV1_2 = drm::V1_2::ICryptoPlugin::castFrom(mPlugin); in createPlugin()
178 mInitCheck = mPlugin == NULL ? ERROR_UNSUPPORTED : OK; in createPlugin()
191 mPlugin.clear(); in destroyPlugin()
204 Return<bool> hResult = mPlugin->requiresSecureDecoderComponent(hidl_string(mime)); in requiresSecureDecoderComponent()
232 Return<void> hResult = mPlugin->setSharedBufferBase(*heap, bufferId); in setHeapBase()
249 if (mPlugin != NULL) { in clearHeapBase()
251 Return<void> hResult = mPlugin->setSharedBufferBase(hidl_memory(), bufferId); in clearHeapBase()
357 hResult = mPlugin->decrypt( in decrypt()
[all …]
DCryptoHalAidl.cpp190 mPlugin = makeCryptoPlugin(mFactories[i], uuidAidl, dataAidl); in createPlugin()
194 mInitCheck = mPlugin == NULL ? ERROR_UNSUPPORTED : OK; in createPlugin()
221 mPlugin.reset(); in destroyPlugin()
235 if (!mPlugin->requiresSecureDecoderComponent(mimeStr, &result).isOk()) { in requiresSecureDecoderComponent()
257 ::ndk::ScopedAStatus status = mPlugin->notifyResolution(width, height); in notifyResolution()
270 auto err = mPlugin->setMediaDrmSession(toStdVec(sessionId)); in setMediaDrmSession()
353 ::ndk::ScopedAStatus statusAidl = mPlugin->decrypt(args, &result); in decrypt()
389 auto status = mPlugin->setSharedBufferBase(memAidl); in setHeap()
407 if (mPlugin != NULL) { in unsetHeap()
411 auto status = mPlugin->setSharedBufferBase(memAidl); in unsetHeap()
[all …]
DDrmHalHidl.cpp321 } else if (mPlugin != NULL) { in cleanup()
322 if (!mPlugin->setListener(NULL).isOk()) { in cleanup()
326 mPlugin.clear(); in cleanup()
566 mPlugin = plugin; in createPlugin()
567 mPluginV1_1 = drm::V1_1::IDrmPlugin::castFrom(mPlugin); in createPlugin()
568 mPluginV1_2 = drm::V1_2::IDrmPlugin::castFrom(mPlugin); in createPlugin()
569 mPluginV1_4 = drm::V1_4::IDrmPlugin::castFrom(mPlugin); in createPlugin()
575 if (mPlugin == NULL) { in createPlugin()
584 } else if (!mPlugin->setListener(this).isOk()) { in createPlugin()
588 mPlugin.clear(); in createPlugin()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsComponent.java44 private GlobalActions mPlugin; field in GlobalActionsComponent
69 mPlugin = mExtension.get(); in start()
74 if (mPlugin != null) { in onExtensionCallback()
75 mPlugin.destroy(); in onExtensionCallback()
77 mPlugin = newPlugin; in onExtensionCallback()
/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/mediacas/plugins/clearkey/
DClearKeySessionLibrary.h59 CasPlugin* mPlugin; variable
64 CasPlugin* getPlugin() const { return mPlugin; } in getPlugin()
DClearKeySessionLibrary.cpp33 : mPlugin(plugin) { in ClearKeyCasSession()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceTest.java74 private WeakReference<TestPluginImpl> mPlugin; field in PluginInstanceTest
104 mPlugin = new WeakReference<>(plugin); in setup()
142 assertEquals(mPlugin.get(), mPluginInstance.getPlugin()); in testOnCreate()
338 TestPlugin expectedPlugin = PluginInstanceTest.this.mPlugin.get(); in onPluginLoaded()
358 TestPlugin expectedPlugin = PluginInstanceTest.this.mPlugin.get(); in onPluginUnloaded()
/frameworks/av/media/codec2/hal/plugin/internal/
DDefaultFilterPlugin.h46 FilterPlugin_V1 *mPlugin; variable
DFilterWrapper.h113 std::unique_ptr<Plugin> mPlugin; variable
/frameworks/av/drm/libmediadrm/include/mediadrm/
DCryptoHalHidl.h80 sp<ICryptoPlugin> mPlugin; member
DCryptoHalAidl.h66 std::shared_ptr<ICryptoPluginAidl> mPlugin; member
DDrmHalAidl.h129 std::shared_ptr<IDrmPluginAidl> mPlugin; member
DDrmHalHidl.h212 sp<IDrmPlugin> mPlugin; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java1049 private final OverlayPlugin mPlugin; in start()
1052 mPlugin = plugin; in start()
1057 if (mPlugin.holdStatusBarOpen()) { in start()
1058 mOverlays.add(mPlugin); in start()
1060 mOverlays.remove(mPlugin); in start()