Searched refs:PluginInstance (Results 1 – 6 of 6) sorted by relevance
69 private final PluginInstance.Factory mPluginInstanceFactory;73 private final ArrayList<PluginInstance<T>> mPluginInstances = new ArrayList<>();93 PluginInstance.Factory pluginInstanceFactory) { in PluginActionManager()118 ArrayList<PluginInstance<T>> plugins = new ArrayList<>(mPluginInstances); in destroy()119 for (PluginInstance<T> plugInstance : plugins) { in destroy()140 ArrayList<PluginInstance<T>> plugins = new ArrayList<>(mPluginInstances); in checkAndDisable()141 for (PluginInstance<T> info : plugins) { in checkAndDisable()151 ArrayList<PluginInstance<T>> plugins = new ArrayList<>(mPluginInstances); in disableAll()176 PluginInstance<T> pluginInstance, @PluginEnabler.DisableReason int reason) { in disable()195 ArrayList<PluginInstance<T>> instances = new ArrayList<>(mPluginInstances); in dependsOn()[all …]
52 public class PluginInstance<T extends Plugin> implements PluginLifecycleManager { class66 public PluginInstance( in PluginInstance() method in PluginInstance236 public <T extends Plugin> PluginInstance<T> create( in create()248 return new PluginInstance<T>( in create()
29 import com.android.systemui.shared.plugins.PluginInstance;70 static PluginInstance.Factory providesPluginInstanceFactory( in providesPluginInstanceFactory()73 return new PluginInstance.Factory( in providesPluginInstanceFactory()75 new PluginInstance.InstanceFactory<>(), in providesPluginInstanceFactory()76 new PluginInstance.VersionCheckerImpl(), in providesPluginInstanceFactory()88 PluginInstance.Factory pluginInstanceFactory) { in providePluginInstanceManagerFactory()
79 private PluginInstance<TestPlugin> mPluginInstance;80 private PluginInstance.Factory mPluginInstanceFactory = new PluginInstance.Factory(82 new PluginInstance.InstanceFactory<>(), new PluginInstance.VersionCheckerImpl(),85 public <T extends Plugin> PluginInstance<T> create(Context context, ApplicationInfo appInfo,87 return (PluginInstance<T>) mPluginInstance;102 mPluginInstance = mock(PluginInstance.class); in setup()
64 private PluginInstance.VersionChecker mVersionChecker;67 private PluginInstance<TestPlugin> mPluginInstance;68 private PluginInstance.Factory mPluginInstanceFactory;84 mVersionChecker = new PluginInstance.VersionChecker() { in setup()98 mPluginInstanceFactory = new PluginInstance.Factory( in setup()100 new PluginInstance.InstanceFactory<TestPlugin>() { in setup()
44 // in PluginInstance. That will ensure that loaded plugins have access to the related classes.