Home
last modified time | relevance | path

Searched refs:Level (Results 1 – 8 of 8) sorted by relevance

/build/make/tools/product_config/src/com/android/build/config/
DErrors.java39 public final Category ERROR_COMMAND_LINE = new Category(1, false, Level.ERROR,
42 public final Category WARNING_UNKNOWN_COMMAND_LINE_ERROR = new Category(2, true, Level.HIDDEN,
46 public final Category ERROR_KATI = new Category(3, false, Level.ERROR,
49 public final Category WARNING_DUMPCONFIG = new Category(4, true, Level.WARNING,
52 public final Category ERROR_DUMPCONFIG = new Category(5, false, Level.ERROR,
55 public final Category WARNING_VARIABLE_RECURSION = new Category(6, true, Level.WARNING,
60 public final Category ERROR_IMPROPER_PRODUCT_VAR_MARKER = new Category(7, true, Level.ERROR,
63 public final Category ERROR_MISSING_CONFIG_FILE = new Category(8, true, Level.ERROR,
66 public final Category ERROR_INFINITE_RECURSION = new Category(9, true, Level.ERROR,
71 public final Category WARNING_DIFFERENT_FROM_KATI = new Category(1000, true, Level.WARNING,
DErrorReporter.java65 public static enum Level { enum in ErrorReporter
72 Level(String label) { in Level() method in ErrorReporter.Level
87 private Level mLevel;
93 public Category(int code, boolean isLevelSettable, Level level, String help) { in Category()
94 if (!isLevelSettable && level != Level.ERROR) { in Category()
120 public void setLevel(Level level) { in setLevel()
130 public Level getLevel() { in getLevel()
250 final Level level = category.getLevel(); in add()
251 if (level == Level.WARNING || level == Level.ERROR) { in add()
254 if (level == Level.ERROR) { in add()
[all …]
DOptions.java118 handleErrorCode(arg, Errors.Level.HIDDEN); in parse()
120 handleErrorCode(arg, Errors.Level.ERROR); in parse()
129 handleErrorCode(arg, Errors.Level.WARNING); in parse()
212 private void handleErrorCode(String arg, Errors.Level level) throws ParseException { in handleErrorCode()
/build/make/tools/product_config/test/com/android/build/config/
DErrorReporterTest.java96 Assert.assertEquals(TestErrors.Level.ERROR, errors.ERROR.getLevel()); in testSetLevel()
98 errors.ERROR.setLevel(TestErrors.Level.WARNING); in testSetLevel()
100 Assert.assertEquals(TestErrors.Level.WARNING, errors.ERROR.getLevel()); in testSetLevel()
109 Assert.assertEquals(TestErrors.Level.ERROR, errors.ERROR_FIXED.getLevel()); in testSetLevelFails()
113 errors.ERROR_FIXED.setLevel(TestErrors.Level.WARNING); in testSetLevelFails()
119 Assert.assertEquals(TestErrors.Level.ERROR, errors.ERROR_FIXED.getLevel()); in testSetLevelFails()
DTestErrors.java31 public final Category ERROR = new Category(ERROR_CODE, true, Level.ERROR,
36 public final Category WARNING = new Category(WARNING_CODE, true, Level.WARNING,
41 public final Category HIDDEN = new Category(HIDDEN_CODE, true, Level.HIDDEN,
46 public final Category ERROR_FIXED = new Category(ERROR_FIXED_CODE, false, Level.ERROR,
/build/soong/ui/status/ninja_frontend/
Dfrontend.proto85 enum Level { enum
92 optional Level level = 1 [default = INFO];
Dfrontend.pb.go512Level *Status_Message_Level `protobuf:"varint,1,opt,name=level,enum=ninja.Status_Message_Level,def… member
548 if m != nil && m.Level != nil {
549 return *m.Level
/build/make/core/
Denvsetup.rbc93 … # It must match one of the Android Security Patch Level strings of the Public Security Bulletins.