Searched refs:log (Results 1 - 24 of 24) sorted by relevance

/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebServer.java118 * Print to the log file (if logging enabled)
119 * @param s String to send to the log
121 protected void log(String s) { method in class:Support_TestWebServer
187 log("Server will redirect output to "+redirect+" code "+code);
208 log("Closing AcceptThread"+acceptT);
247 log(e.getMessage());
249 log(e.getMessage());
252 log("AcceptThread terminated" + this);
268 log("IOException caught by server socket close");
346 log("Exceptio
[all...]
/libcore/luni/src/test/java/libcore/java/util/beans/
H A DPropertyChangeSupportTest.java42 assertEquals(Arrays.<PropertyChangeEvent>asList(nullToNull), listener.log);
53 assertEquals(Arrays.<PropertyChangeEvent>asList(), listener.log);
93 assertEquals(Arrays.asList(eventA, eventB, eventC), all.log);
94 assertEquals(Arrays.asList(eventA), proxiedA.log);
95 assertEquals(Arrays.asList(eventA), addA.log);
96 assertEquals(Arrays.<PropertyChangeEvent>asList(), addAProxiedB.log);
97 assertEquals(Arrays.<PropertyChangeEvent>asList(), proxiedAB.log);
98 assertEquals(Arrays.<PropertyChangeEvent>asList(eventA), proxiedAA.log);
99 assertEquals(Arrays.<PropertyChangeEvent>asList(), proxiedAAC.log);
165 EventLog log
278 List<PropertyChangeEvent> log = new ArrayList<PropertyChangeEvent>(); field in class:PropertyChangeSupportTest.EventLog
[all...]
/libcore/luni/src/main/java/java/util/logging/
H A DLogger.java31 * Loggers are used to log records to a variety of destinations such as log files or
38 * namespace hierarchy managed by a log manager. The naming convention is
47 * <p>Loggers "inherit" log level setting from their parent if their own level is
49 * resource bundle is used to localize the log messages if no resource bundle
50 * name is given when a log method is called. If {@code getUseParentHandlers()}
61 * Some log methods accept log requests that do not specify the source class and
81 source.log(record);
147 /** True to notify the parent's handlers of each log messag
920 public void log(Level logLevel, String msg) { method in class:Logger
938 public void log(Level logLevel, String msg, Object param) { method in class:Logger
961 public void log(Level logLevel, String msg, Object[] params) { method in class:Logger
985 public void log(Level logLevel, String msg, Throwable thrown) { method in class:Logger
1012 public void log(LogRecord record) { method in class:Logger
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java852 log("Authentication required. Sending response: " + response);
856 private void log(String msg) { method in class:HttpsURLConnectionTest.ProxyConnectAuthFailDispatcher
857 HttpsURLConnectionTest.log("ProxyConnectAuthFailDispatcher", msg);
878 log("Got authenticated request:\n" + request);
879 log("------------------");
883 log("Send proxy response");
895 private void log(String msg) { method in class:HttpsURLConnectionTest.ProxyConnectDispatcher
896 HttpsURLConnectionTest.log("ProxyConnectDispatcher", msg);
922 log("Request received: " + request);
933 log("Respondin
946 private void log(String msg) { method in class:HttpsURLConnectionTest.SingleRequestDispatcher
994 public static synchronized void log(String origin, String message) { method in class:HttpsURLConnectionTest
[all...]
/libcore/luni/src/main/java/java/util/
H A DRandom.java163 double multiplier = StrictMath.sqrt(-2 * StrictMath.log(s) / s);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLEngineTest.java1069 log("CipherSuites: " + Arrays.toString(engine.getEnabledCipherSuites()));
1070 log(status);
1080 private void log(Object o) { method in class:SSLEngineTest.HandshakeHandler
1089 log("read: " + read);
1101 log(status);
1105 log(status);
1114 log(status);
1121 log(result);
1126 log(status);
1135 log(resul
[all...]
/libcore/luni/src/main/native/
H A Djava_lang_Math.cpp55 return log(a);
136 NATIVE_METHOD(Math, log, "!(D)D"),
H A Djava_lang_StrictMath.cpp135 NATIVE_METHOD(StrictMath, log, "!(D)D"),
H A Djava_lang_System.cpp22 #include "cutils/log.h"
137 NATIVE_METHOD(System, log, "(CLjava/lang/String;Ljava/lang/Throwable;)V"),
H A Dlibcore_icu_NativeCollation.cpp21 #include <cutils/log.h>
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldLogManagerTest.java51 props.put("java.util.logging.FileHandler.pattern", "%h/java%u.log");
95 Logger log = new MockLogger(FOO, null);
98 assertTrue("logger wasn't registered successfully", mockManager.addLogger(log));
100 assertSame("two loggers not refer to the same object", foo, log);
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java187 logger.log(Level.WARNING, "MockWebServer connection failed", e);
197 logger.log(Level.WARNING, "MockWebServer server socket close failed", e);
204 logger.log(Level.WARNING, "MockWebServer socket close failed", e);
210 logger.log(Level.WARNING, "MockWebServer executor shutdown failed", e);
250 logger.log(Level.WARNING, "MockWebServer connection failed", e);
/libcore/luni/src/main/java/java/lang/
H A DSystem.java996 log('E', message, null);
1003 log('E', message, th);
1010 log('I', message, null);
1017 log('I', message, th);
1024 log('W', message, null);
1031 log('W', message, th);
1034 private static native void log(char type, String message, Throwable th); method in class:System
H A DRealToString.java29 private static final double invLogOfTenBaseTwo = Math.log(2.0) / Math.log(10.0);
H A DStrictMath.java378 * <li>{@code log(+0.0) = -infinity}</li>
379 * <li>{@code log(-0.0) = -infinity}</li>
380 * <li>{@code log((anything < 0) = NaN}</li>
381 * <li>{@code log(+infinity) = +infinity}</li>
382 * <li>{@code log(-infinity) = NaN}</li>
383 * <li>{@code log(NaN) = NaN}</li>
387 * the value whose log has to be computed.
390 public static native double log(double d); method in class:StrictMath
407 * the value whose base 10 log has to be computed.
415 * more accurate to use {@code log1p(d)} than {@code log(1.
[all...]
H A DMath.java381 * <li>{@code log(+0.0) = -infinity}</li>
382 * <li>{@code log(-0.0) = -infinity}</li>
383 * <li>{@code log((anything < 0) = NaN}</li>
384 * <li>{@code log(+infinity) = +infinity}</li>
385 * <li>{@code log(-infinity) = NaN}</li>
386 * <li>{@code log(NaN) = NaN}</li>
390 * the value whose log has to be computed.
393 public static native double log(double d); method in class:Math
411 * the value whose base 10 log has to be computed.
419 * more accurate to use {@code log1p(d)} than {@code log(1.
[all...]
/libcore/luni/src/main/java/java/math/
H A DConversion.java75 bitsForRadixDigit = Math.log(radix) / Math.log(2);
/libcore/benchmarks/src/benchmarks/regression/
H A DStrictMathBenchmark.java161 StrictMath.log(d);
H A DMathBenchmark.java225 result = Math.log(d);
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMathTest.java190 assertTrue("Incorrect answer returned for larger power", Math.log(Math
274 // Test for method double java.lang.Math.log(double)
276 double answer = Math.log(Math.exp(d));
H A DOldAndroidStrictMathTest.java184 .log(StrictMath.abs(StrictMath.exp(5.5D)) - 5.5D) < 10.0D);
273 // Test for method double java.lang.StrictMath.log(double)
275 double answer = StrictMath.log(StrictMath.exp(d));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStrictMathTest.java360 .log(StrictMath.abs(StrictMath.exp(5.5D)) - 5.5D) < 10.0D);
502 * java.lang.StrictMath#log(double)
505 // Test for method double java.lang.StrictMath.log(double)
507 double answer = StrictMath.log(StrictMath.exp(d));
H A DMathTest.java341 assertTrue("Incorrect answer returned for larger power", Math.log(Math
543 * java.lang.Math#log(double)
546 // Test for method double java.lang.Math.log(double)
548 double answer = Math.log(Math.exp(d));
/libcore/benchmarks/libs/
H A Dcaliper.jar ... caliper.Measurer { protected static final int ALLOCATION_DISPLAY_THRESHOLD private boolean log private long tempAllocationCount private long allocationsToIgnore private long numberOfAllocations private ...

Completed in 632 milliseconds