Home
last modified time | relevance | path

Searched refs:PluginEnabler (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginInitializerImpl.java23 import com.android.systemui.shared.plugins.PluginEnabler;
53 public PluginEnabler getPluginEnabler(Context context) { in getPluginEnabler()
DPluginEnablerImpl.java23 import com.android.systemui.shared.plugins.PluginEnabler;
25 public class PluginEnablerImpl implements PluginEnabler {
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java41 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()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java78 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()
DPluginInitializer.java34 PluginEnabler getPluginEnabler(Context context); in getPluginEnabler()
DPluginEnabler.java23 public interface PluginEnabler { interface
DPluginInstanceManager.java138 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceManagerTest.java82 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()
DPluginManagerTest.java94 public PluginEnabler getPluginEnabler(Context context) { in setup()