Home
last modified time | relevance | path

Searched refs:InvalidVersionException (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java77 public void checkVersion(VersionInfo plugin) throws InvalidVersionException { in checkVersion()
87 throw new InvalidVersionException(aClass.getSimpleName() in checkVersion()
91 throw new InvalidVersionException(aClass, v.mVersion < version.mVersion, in checkVersion()
101 throw new InvalidVersionException("Missing required dependency " in checkVersion()
120 public static class InvalidVersionException extends RuntimeException { class in VersionInfo
125 public InvalidVersionException(String str, boolean tooNew) { in InvalidVersionException() method in VersionInfo.InvalidVersionException
130 public InvalidVersionException(Class<?> cls, boolean tooNew, int expected, int actual) { in InvalidVersionException() method in VersionInfo.InvalidVersionException
DPluginActionManager.java42 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;
317 } catch (InvalidVersionException e) { in loadPluginComponent()
329 ComponentName component, String className, InvalidVersionException e) { in reportInvalidVersion()
DPluginInstance.java316 throw new VersionInfo.InvalidVersionException("Invalid legacy version", false); in checkVersion()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DVersionInfoTest.java27 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;
60 mThrown.expect(InvalidVersionException.class); in testIncorrectVersion()
68 mThrown.expect(InvalidVersionException.class); in testMissingRequired()
76 mThrown.expect(InvalidVersionException.class); in testMissingDependencies()
DPluginInstanceTest.java63 private VersionInfo.InvalidVersionException mVersionException;
124 @Test(expected = VersionInfo.InvalidVersionException.class)
129 mVersionException = new VersionInfo.InvalidVersionException("test", true); in testIncorrectVersion()