Home
last modified time | relevance | path

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

1234

/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.cc66 std::ostringstream msg; in ThrowException() local
70 msg << vmsg; in ThrowException()
72 msg << fmt; in ThrowException()
74 AddReferrerLocation(msg, referrer); in ThrowException()
76 self->ThrowNewException(exception_descriptor, msg.str().c_str()); in ThrowException()
84 std::ostringstream msg; in ThrowWrappedException() local
88 msg << vmsg; in ThrowWrappedException()
90 msg << fmt; in ThrowWrappedException()
92 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
94 self->ThrowNewWrappedException(exception_descriptor, msg.str().c_str()); in ThrowWrappedException()
[all …]
Dindirect_reference_table-inl.h50 std::string msg = android::base::StringPrintf( in GetChecked() local
56 AbortIfNoCheckJNI(msg); in GetChecked()
77 std::string msg = android::base::StringPrintf( in CheckEntry() local
83 AbortIfNoCheckJNI(msg); in CheckEntry()
/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/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/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/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/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/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/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/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/084-class-init/src/
DSlowInit.java27 public static void printMsg(String msg) { in printMsg() argument
28 System.out.println(msg); in printMsg()
/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/libartbase/base/
Dlogging_test.cc29 static void SimpleAborter(const char* msg) { in SimpleAborter() argument
30 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/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/596-app-images/src/
DMain.java113 public static void assertEqual(Object a, Object b, String msg) { in assertEqual() argument
115 System.out.println(msg); in assertEqual()
118 public static void assertNotEqual(Object a, Object b, String msg) { in assertNotEqual() argument
120 System.out.println(msg); in assertNotEqual()
/art/tools/class2greylist/src/com/android/class2greylist/
DStatus.java33 public void debug(String msg, Object... args) { in debug() argument
35 System.err.println(String.format(Locale.US, msg, args)); in debug()

1234