Searched refs:PluginEnabler (Results 1 – 9 of 9) sorted by relevance
23 import com.android.systemui.shared.plugins.PluginEnabler;53 public PluginEnabler getPluginEnabler(Context context) { in getPluginEnabler()
23 import com.android.systemui.shared.plugins.PluginEnabler;25 public class PluginEnablerImpl implements PluginEnabler {
41 import com.android.systemui.shared.plugins.PluginEnabler;55 private PluginEnabler mPluginEnabler;154 private final PluginEnabler mPluginEnabler;156 … public PluginPreference(Context prefContext, PackageInfo info, PluginEnabler pluginEnabler) { in PluginPreference()190 mPluginEnabler.setDisabled(componentName, PluginEnabler.DISABLED_MANUALLY); in persistBoolean()
78 private final PluginEnabler mPluginEnabler;118 public PluginEnabler getPluginEnabler() { in getPluginEnabler()229 getPluginEnabler().setDisabled(component, PluginEnabler.DISABLED_INVALID_VERSION); in onReceive()274 @PluginEnabler.DisableReason int disableReason = in onReceive()276 if (disableReason == PluginEnabler.DISABLED_FROM_EXPLICIT_CRASH in onReceive()277 || disableReason == PluginEnabler.DISABLED_FROM_SYSTEM_CRASH in onReceive()278 || disableReason == PluginEnabler.DISABLED_INVALID_VERSION) { in onReceive()
34 PluginEnabler getPluginEnabler(Context context); in getPluginEnabler()
23 public interface PluginEnabler { interface
138 disableAny |= disable(info, PluginEnabler.DISABLED_FROM_EXPLICIT_CRASH); in checkAndDisable()148 disabledAny |= disable(plugins.get(i), PluginEnabler.DISABLED_FROM_SYSTEM_CRASH); in disableAll()169 private boolean disable(PluginInfo info, @PluginEnabler.DisableReason int reason) { in disable()
82 private PluginEnabler mMockEnabler;95 mMockEnabler = mock(PluginEnabler.class); in setup()241 mTestPluginComponentName, PluginEnabler.DISABLED_FROM_EXPLICIT_CRASH); in testCheckAndDisable()251 mTestPluginComponentName, PluginEnabler.DISABLED_FROM_SYSTEM_CRASH); in testDisableAll()
94 public PluginEnabler getPluginEnabler(Context context) { in setup()