Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 103) sorted by relevance

12345

/art/tools/dexfuzz/src/dexfuzz/
DLog.java44 public static void debug(String msg) { in debug() argument
45 log(LogTag.DEBUG, msg); in debug()
48 public static void info(String msg) { in info() argument
49 log(LogTag.INFO, msg); in info()
52 public static void warn(String msg) { in warn() argument
53 log(LogTag.WARN, msg); in warn()
56 public static void error(String msg) { in error() argument
57 log(LogTag.ERROR, msg); in error()
60 public static void always(String msg) { in always() argument
61 System.out.println(msg); in always()
[all …]
/art/runtime/
Dcommon_throws.cc67 std::ostringstream msg; in ThrowException() local
71 msg << vmsg; in ThrowException()
73 msg << fmt; in ThrowException()
75 AddReferrerLocation(msg, referrer); in ThrowException()
77 self->ThrowNewException(exception_descriptor, msg.str().c_str()); in ThrowException()
85 std::ostringstream msg; in ThrowWrappedException() local
89 msg << vmsg; in ThrowWrappedException()
91 msg << fmt; in ThrowWrappedException()
93 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
95 self->ThrowNewWrappedException(exception_descriptor, msg.str().c_str()); in ThrowWrappedException()
[all …]
/art/test/2038-hiddenapi-jvmti-ext/src/
DMain.java49 private static void assertMethodNotHidden(Class<?> klass, String msg) { in assertMethodNotHidden() argument
54 throw new RuntimeException("Method should be accessible " + msg); in assertMethodNotHidden()
58 private static void assertFieldNotHidden(Class<?> klass, String msg) { in assertFieldNotHidden() argument
63 throw new RuntimeException("Field should be accessible " + msg); in assertFieldNotHidden()
66 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden() argument
70 throw new RuntimeException("Method should not be accessible " + msg); in assertMethodIsHidden()
75 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden() argument
79 throw new RuntimeException("Field should not be accessible " + msg); in assertFieldIsHidden()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DHprofFormatException.java24 HprofFormatException(String msg) { in HprofFormatException() argument
25 super(msg); in HprofFormatException()
28 HprofFormatException(String msg, Exception cause) { in HprofFormatException() argument
29 super(msg, cause); in HprofFormatException()
/art/test/048-reflect-v8/src/
DAnnotationTestHelpers.java39 String msg = ""; in asString() local
42 msg += "<null>"; in asString()
44 msg += "<empty>"; in asString()
47 msg += asString(annos[i]); in asString()
50 msg += ", "; in asString()
55 return msg; in asString()
DAnnotationTest.java134 String msg = "Annotations by type, defined by class " in printAnnotationsByType() local
139 System.out.println(msg); in printAnnotationsByType()
146 String msg = asString(anno); in printDeclaredAnnotation() local
149 + ", annotation " + annotationDefClass + ": " + msg); in printDeclaredAnnotation()
158 String msg = "Declared annnotations by type, defined by class " + annotationUseClass.getName() in printDeclaredAnnotationsByType() local
162 System.out.println(msg); in printDeclaredAnnotationsByType()
204 String msg = "Annotations by type, defined by method " + m.getName() + " with annotation " + in printMethodAnnotationsByType() local
208 System.out.println(msg); in printMethodAnnotationsByType()
244 String msg = "Annotations declared by method " + m.getName() + " with annotation " in printMethodDeclaredAnnotation() local
248 System.out.println(msg); in printMethodDeclaredAnnotation()
[all …]
/art/benchmark/micro-native/
Dmicro_native.cc106 const char* msg; in jniRegisterNativeMethods() local
111 msg = "Native registration unable to find class; aborting..."; in jniRegisterNativeMethods()
113 msg = tmp; in jniRegisterNativeMethods()
115 env->FatalError(msg); in jniRegisterNativeMethods()
120 const char* msg; in jniRegisterNativeMethods() local
123 msg = "RegisterNatives failed; aborting..."; in jniRegisterNativeMethods()
125 msg = tmp; in jniRegisterNativeMethods()
127 env->FatalError(msg); in jniRegisterNativeMethods()
/art/test/1946-list-descriptors/src-art/art/
DTest1946.java53 private static void check(boolean b, Supplier<String> msg) { in check() argument
55 throw new Error("Test failed! " + msg.get()); in check()
59 private static <T> void checkEq(T[] full, T[] sub, final String msg) { in checkEq() argument
63 () -> Arrays.toString(full) + " is not same as " + Arrays.toString(sub) + ": " + msg; in checkEq()
67 private static <T> void checkSubset(T[] full, T[] sub, final String msg) { in checkSubset() argument
69 () -> Arrays.toString(full) + " does not contain all of " + Arrays.toString(sub) + ": " + msg; in checkSubset()
/art/test/999-redefine-hiddenapi/src/
DMain.java46 private static void assertMethodIsHidden(Class<?> klass, String msg) { in assertMethodIsHidden() argument
50 throw new RuntimeException("Method should not be accessible " + msg); in assertMethodIsHidden()
55 private static void assertFieldIsHidden(Class<?> klass, String msg) { in assertFieldIsHidden() argument
59 throw new RuntimeException("Field should not be accessible " + msg); in assertFieldIsHidden()
/art/test/088-monitor-verification/src/
DMyException.java21 public MyException(String msg) { in MyException() argument
22 super(msg); in MyException()
/art/tools/hiddenapi/
Dfind_api_violations.pl108 my ($pid, $tid, $class, $tag, $msg) = ($1, $2, $3, $4, $5);
109 if ($tag eq "ActivityManager" && $msg =~ m/^Start proc (\d+):(.*?) for /) {
119 if ($msg =~ m/Accessing hidden (\w+) (L.*?) \((.*list), (.*?)\)/) {
/art/test/414-static-fields/src/
DTestCase.java72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local
73 throw new AssertionError(msg); in assertEquals()
85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local
86 throw new AssertionError(msg); in assertNotEquals()
196 public static void fail(String msg) { in fail() argument
197 throw new AssertionError(msg); in fail()
/art/test/406-fields/src/
DTestCase.java72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local
73 throw new AssertionError(msg); in assertEquals()
85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local
86 throw new AssertionError(msg); in assertNotEquals()
196 public static void fail(String msg) { in fail() argument
197 throw new AssertionError(msg); in fail()
/art/test/407-arrays/src/
DTestCase.java72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local
73 throw new AssertionError(msg); in assertEquals()
85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local
86 throw new AssertionError(msg); in assertNotEquals()
196 public static void fail(String msg) { in fail() argument
197 throw new AssertionError(msg); in fail()
/art/test/412-new-array/src/
DTestCase.java72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local
73 throw new AssertionError(msg); in assertEquals()
85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local
86 throw new AssertionError(msg); in assertNotEquals()
196 public static void fail(String msg) { in fail() argument
197 throw new AssertionError(msg); in fail()
/art/test/1957-error-ext/
Dlasterror.cc40 using GetLastError = jvmtiError(*)(jvmtiEnv* env, char** msg);
93 char* msg; in Java_art_Test1957_getLastError() local
94 if (JvmtiErrorToException(env, jvmti_env, get_last_error(jvmti_env, &msg))) { in Java_art_Test1957_getLastError()
98 return env->NewStringUTF(msg); in Java_art_Test1957_getLastError()
/art/tools/dexfuzz/src/dexfuzz/listeners/
DConsoleLoggerListener.java40 private void logToConsole(String msg) { in logToConsole() argument
41 System.out.println("CONSOLE: " + msg); in logToConsole()
160 public void handleMessage(String msg) { in handleMessage() argument
161 logToConsole(msg); in handleMessage()
/art/test/050-sync-test/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/test/054-uncaught/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/test/004-UnsafeTest/src/
DMain.java21 private static void check(int actual, int expected, String msg) { in check() argument
23 System.out.println(msg + " : " + actual + " != " + expected); in check()
28 private static void check(long actual, long expected, String msg) { in check() argument
30 System.out.println(msg + " : " + actual + " != " + expected); in check()
35 private static void check(float actual, float expected, String msg) { in check() argument
37 System.out.println(msg + " : " + actual + " != " + expected); in check()
42 private static void check(double actual, double expected, String msg) { in check() argument
44 System.out.println(msg + " : " + actual + " != " + expected); in check()
49 private static void check(Object actual, Object expected, String msg) { in check() argument
51 System.out.println(msg + " : " + actual + " != " + expected); in check()
/art/test/084-class-init/src/
DSlowInit.java27 public static void printMsg(String msg) { in printMsg() argument
28 System.out.println(msg); in printMsg()
/art/libartbase/base/
Dlogging_test.cc30 static void SimpleAborter(const char* msg) { in SimpleAborter() argument
31 LOG(FATAL_WITHOUT_ABORT) << msg; in SimpleAborter()
/art/test/616-cha-interface-default/src-multidex/
DBase.java38 default void printError(String msg) { in printError() argument
39 System.out.println(msg); in printError()
/art/test/1986-structural-redefine-multi-thread-stack-scope/src/
DMain.java68 String msg = ""; in assertAllEquals() local
72 msg += "Expected " + b + ", got a[" + i + "] (" + a[i] + "), "; in assertAllEquals()
76 throw new Error(msg); in assertAllEquals()
/art/tools/checker/common/
Dlogger.py58 def fail(msg, file=None, line=-1, line_text=None, variables=None): argument
61 Logger.log(msg, Logger.Level.ERROR, out=sys.stderr)
98 def test_failed(msg, statement, variables): argument
100 Logger.fail(msg, statement.filename, statement.line_no, statement.original_text, variables)

12345