/libcore/ojluni/src/main/java/sun/util/logging/ |
D | PlatformLogger.java | 135 static Level valueOf(int level) { in valueOf() argument 136 switch (level) { in valueOf() 151 int i = Arrays.binarySearch(LEVEL_VALUES, 0, LEVEL_VALUES.length-2, level); in valueOf() 228 JavaLoggerProxy jlp = new JavaLoggerProxy(lp.name, lp.level); in redirectToJavaLoggerProxy() 266 public boolean isLoggable(Level level) { in isLoggable() argument 267 if (level == null) { in isLoggable() 272 return jlp != null ? jlp.isLoggable(level) : loggerProxy.isLoggable(level); in isLoggable() 282 public Level level() { in level() method in PlatformLogger 422 abstract void doLog(Level level, String msg); in doLog() argument 423 abstract void doLog(Level level, String msg, Throwable thrown); in doLog() argument [all …]
|
D | LoggingSupport.java | 113 public static boolean isLoggable(Object logger, Object level) { in isLoggable() argument 115 return proxy.isLoggable(logger,level); in isLoggable() 118 public static void log(Object logger, Object level, String msg) { in log() argument 120 proxy.log(logger, level, msg); in log() 123 public static void log(Object logger, Object level, String msg, Throwable t) { in log() argument 125 proxy.log(logger, level, msg, t); in log() 128 public static void log(Object logger, Object level, String msg, Object... params) { in log() argument 130 proxy.log(logger, level, msg, params); in log() 138 public static String getLevelName(Object level) { in getLevelName() argument 140 return proxy.getLevelName(level); in getLevelName() [all …]
|
D | LoggingProxy.java | 42 public boolean isLoggable(Object logger, Object level); in isLoggable() argument 44 public void log(Object logger, Object level, String msg); in log() argument 46 public void log(Object logger, Object level, String msg, Throwable t); in log() argument 48 public void log(Object logger, Object level, String msg, Object... params); in log() argument 62 public String getLevelName(Object level); in getLevelName() argument 64 public int getLevelValue(Object level); in getLevelValue() argument
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LoggingProxyImpl.java | 55 public boolean isLoggable(Object logger, Object level) { in isLoggable() argument 56 return ((Logger) logger).isLoggable((Level) level); in isLoggable() 60 public void log(Object logger, Object level, String msg) { in log() argument 61 ((Logger) logger).log((Level) level, msg); in log() 65 public void log(Object logger, Object level, String msg, Throwable t) { in log() argument 66 ((Logger) logger).log((Level) level, msg, t); in log() 70 public void log(Object logger, Object level, String msg, Object... params) { in log() argument 71 ((Logger) logger).log((Level) level, msg, params); in log() 96 Level level = Level.findLevel(levelName); in parseLevel() local 97 if (level == null) { in parseLevel() [all …]
|
D | Level.java | 352 KnownLevel level; in findLevel() local 355 level = KnownLevel.findByName(name); in findLevel() 356 if (level != null) { in findLevel() 357 return level.mirroredLevel; in findLevel() 365 level = KnownLevel.findByValue(x); in findLevel() 366 if (level == null) { in findLevel() 369 level = KnownLevel.findByValue(x); in findLevel() 371 return level.mirroredLevel; in findLevel() 377 level = KnownLevel.findByLocalizedLevelName(name); in findLevel() 378 if (level != null) { in findLevel() [all …]
|
D | Logger.java | 783 public void log(Level level, String msg) { in log() argument 784 if (!isLoggable(level)) { in log() 787 LogRecord lr = new LogRecord(level, msg); in log() 805 public void log(Level level, Supplier<String> msgSupplier) { in log() argument 806 if (!isLoggable(level)) { in log() 809 LogRecord lr = new LogRecord(level, msgSupplier.get()); in log() 824 public void log(Level level, String msg, Object param1) { in log() argument 825 if (!isLoggable(level)) { in log() 828 LogRecord lr = new LogRecord(level, msg); in log() 845 public void log(Level level, String msg, Object params[]) { in log() argument [all …]
|
D | Logging.java | 74 Level level = l.getLevel(); in getLoggerLevel() local 75 if (level == null) { in getLoggerLevel() 78 return level.getLevelName(); in getLoggerLevel() 93 Level level = null; in setLoggerLevel() local 96 level = Level.findLevel(levelName); in setLoggerLevel() 97 if (level == null) { in setLoggerLevel() 102 logger.setLevel(level); in setLoggerLevel()
|
D | LogRecord.java | 92 private Level level; field in LogRecord 176 public LogRecord(Level level, String msg) { in LogRecord() argument 178 level.getClass(); in LogRecord() 179 this.level = level; in LogRecord() 254 return level; in getLevel() 261 public void setLevel(Level level) { in setLevel() argument 262 if (level == null) { in setLevel() 265 this.level = level; in setLevel()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | Deflater.java | 88 private int level, strategy; field in Deflater 184 public Deflater(int level, boolean nowrap) { in Deflater() argument 185 this.level = level; in Deflater() 187 this.zsRef = new ZStreamRef(init(level, DEFAULT_STRATEGY, nowrap)); in Deflater() 197 public Deflater(int level) { in Deflater() argument 198 this(level, false); in Deflater() 320 public void setLevel(int level) { in setLevel() argument 321 if ((level < 0 || level > 9) && level != DEFAULT_COMPRESSION) { in setLevel() 325 if (this.level != level) { in setLevel() 326 this.level = level; in setLevel() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | OptionKey.java | 33 private int level; field in OptionKey 36 OptionKey(int level, int name) { in OptionKey() argument 37 this.level = level; in OptionKey() 41 int level() { in level() method in OptionKey 42 return level; in level()
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlSerializeBenchmark.java | 53 int level = 0; in serializeRandomXml() local 58 while(level > 0 && r.nextDouble() < levelUpChance) { in serializeRandomXml() 60 level--; in serializeRandomXml() 64 level++; in serializeRandomXml() 67 level++; in serializeRandomXml() 72 level--; in serializeRandomXml()
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | Deflater.java | 33 public Deflater(int level, boolean nowrap) { in Deflater() argument 37 public Deflater(int level) { in Deflater() argument 65 public void setLevel(int level) { in setLevel() argument 129 private static native long init(int level, int strategy, boolean nowrap); in init() argument 186 private int level; field in Deflater
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 908 NET_MapSocketOption(jint cmd, int *level, int *optname) { 911 int level; 936 *level = IPPROTO_IPV6; 941 *level = IPPROTO_IPV6; 947 *level = IPPROTO_IPV6; 960 *level = opts[i].level; 979 NET_GetSockOpt(int fd, int level, int opt, void *result, in NET_GetSockOpt() argument 985 rv = getsockopt(fd, level, opt, result, len); in NET_GetSockOpt() 989 rv = getsockopt(fd, level, opt, result, &socklen); in NET_GetSockOpt() 1004 if ((level == SOL_SOCKET) && ((opt == SO_SNDBUF) in NET_GetSockOpt() [all …]
|
D | Net.c | 285 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; in Java_sun_nio_ch_Net_socket0() local 286 if ((setsockopt(fd, level, IP_MULTICAST_ALL, (char*)&arg, sizeof(arg)) < 0) && in Java_sun_nio_ch_Net_socket0() 448 jboolean mayNeedConversion, jint level, jint opt) in Java_sun_nio_ch_Net_getIntOption0() argument 462 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 468 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_getIntOption0() 474 n = NET_GetSockOpt(fdval(env, fdo), level, opt, arg, (int*)&arglen); in Java_sun_nio_ch_Net_getIntOption0() 476 n = getsockopt(fdval(env, fdo), level, opt, arg, &arglen); in Java_sun_nio_ch_Net_getIntOption0() 485 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 491 if (level == SOL_SOCKET && opt == SO_LINGER) in Java_sun_nio_ch_Net_getIntOption0() 499 jboolean mayNeedConversion, jint level, in Java_sun_nio_ch_Net_setIntOption0() argument [all …]
|
D | net_util.h | 182 NET_GetSockOpt(int fd, int level, int opt, void *result, int *len); 185 NET_SetSockOpt(int fd, int level, int opt, const void *arg, int len); 193 NET_MapSocketOption(jint cmd, int *level, int *optname); 196 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
|
D | Deflater.c | 64 Deflater_init(JNIEnv *env, jclass cls, jint level, in Deflater_init() argument 74 int ret = deflateInit2(strm, level, Z_DEFLATED, in Deflater_init() 137 int level = (*env)->GetIntField(env, this, levelID); in Deflater_deflateBytes() local 158 res = deflateParams(strm, level, strategy); in Deflater_deflateBytes()
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | Logger.java | 120 public void log(java.util.logging.Level level, java.lang.String msg) { in log() argument 125 java.util.logging.Level level, in log() argument 130 public void log(java.util.logging.Level level, java.lang.String msg, java.lang.Object param1) { in log() argument 135 java.util.logging.Level level, java.lang.String msg, java.lang.Object[] params) { in log() argument 140 java.util.logging.Level level, java.lang.String msg, java.lang.Throwable thrown) { in log() argument 145 java.util.logging.Level level, in log() argument 152 java.util.logging.Level level, in logp() argument 160 java.util.logging.Level level, in logp() argument 168 java.util.logging.Level level, in logp() argument 177 java.util.logging.Level level, in logp() argument [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 355 …getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsock… in getsockoptByte() argument 360 …sockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptInAddr() argument 365 … getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsock… in getsockoptInt() argument 370 …sockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptLinger() argument 375 …ckoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockop… in getsockoptTimeval() argument 380 …tsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptUcred() argument 775 …tsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setso… in setsockoptByte() argument 780 …ckoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.sets… in setsockoptIfreq() argument 785 …etsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setso… in setsockoptInt() argument 790 …optIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsock… in setsockoptIpMreqn() argument [all …]
|
D | Os.java | 294 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte() argument 299 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr() argument 304 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() argument 309 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger() argument 314 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval() argument 319 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred() argument 636 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte() argument 641 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq() argument 646 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt() argument 651 …public void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoExc… in setsockoptIpMreqn() argument [all …]
|
D | Linux.java | 100 … public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte() argument 101 …public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr() argument 102 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() argument 103 …public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger() argument 104 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval() argument 105 …public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred() argument 250 …public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte() argument 251 …public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq() argument 252 …public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt() argument 253 …public native void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws E… in setsockoptIpMreqn() argument [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/ |
D | Logger.annotated.java | 60 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() argument 62 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.NonNull java.uti… in log() argument 64 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() argument 66 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() argument 68 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() argument 70 public void log(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.la… in log() argument 72 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp() argument 74 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp() argument 76 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp() argument 78 public void logp(@libcore.util.NonNull java.util.logging.Level level, @libcore.util.Nullable java.l… in logp() argument [all …]
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 302 …ockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.get… in getsockoptByte() argument 305 …optInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptInAddr() argument 326 …t(@NonNull FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.get… in getsockoptInt() argument 347 …(@NonNull FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptLinger() argument 356 …@NonNull FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getso… in getsockoptTimeval() argument 359 …koptUcred(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptUcred() argument 765 …koptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.s… in setsockoptByte() argument 789 …l FileDescriptor fd, int level, int option, @Nullable String value) throws ErrnoException { Libcor… in setsockoptIfreq() argument 794 …ckoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.s… in setsockoptInt() argument 797 …pMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.set… in setsockoptIpMreqn() argument [all …]
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 31 # Specify default level for global logger, the event whose level is below won't 32 # be logged. You can specify level for every logger, otherwise the level of parent 33 # logger will be used. You can also set the level for every handler, as below for 35 .level=INFO 60 #java.util.logging.ConsoleHandler.level=INFO
|
/libcore/luni/src/test/resources/config/java/util/logging/ |
D | logging.properties | 2 .level=ALL 3 libcore.java.util.logging.OldLogManagerTest$MockHandler.level=OFF
|
D | logging.config | 2 .level=ALL 3 org.apache.harmony.logging.tests.java.util.logging.LogManagerTest$MockHandler.level=OFF
|