/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 | 351 KnownLevel level; in findLevel() local 354 level = KnownLevel.findByName(name); in findLevel() 355 if (level != null) { in findLevel() 356 return level.mirroredLevel; in findLevel() 364 level = KnownLevel.findByValue(x); in findLevel() 365 if (level == null) { in findLevel() 368 level = KnownLevel.findByValue(x); in findLevel() 370 return level.mirroredLevel; in findLevel() 376 level = KnownLevel.findByLocalizedLevelName(name); in findLevel() 377 if (level != null) { in findLevel() [all …]
|
D | Logger.java | 788 public void log(Level level, String msg) { in log() argument 789 if (!isLoggable(level)) { in log() 792 LogRecord lr = new LogRecord(level, msg); in log() 810 public void log(Level level, Supplier<String> msgSupplier) { in log() argument 811 if (!isLoggable(level)) { in log() 814 LogRecord lr = new LogRecord(level, msgSupplier.get()); in log() 829 public void log(Level level, String msg, Object param1) { in log() argument 830 if (!isLoggable(level)) { in log() 833 LogRecord lr = new LogRecord(level, msg); in log() 850 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/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/ojluni/src/main/java/java/util/zip/ |
D | Deflater.java | 81 private int level, strategy; field in Deflater 168 public Deflater(int level, boolean nowrap) { in Deflater() argument 169 this.level = level; in Deflater() 171 this.zsRef = new ZStreamRef(init(level, DEFAULT_STRATEGY, nowrap)); in Deflater() 181 public Deflater(int level) { in Deflater() argument 182 this(level, false); in Deflater() 304 public void setLevel(int level) { in setLevel() argument 305 if ((level < 0 || level > 9) && level != DEFAULT_COMPRESSION) { in setLevel() 309 if (this.level != level) { in setLevel() 310 this.level = level; in setLevel() [all …]
|
/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/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 104 …getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsock… in getsockoptByte() argument 105 …sockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptInAddr() argument 106 … getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsock… in getsockoptInt() argument 107 …sockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptLinger() argument 108 …ckoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockop… in getsockoptTimeval() argument 109 …tsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsocko… in getsockoptUcred() argument 168 …tsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setso… in setsockoptByte() argument 169 …ckoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { os.sets… in setsockoptIfreq() argument 170 …etsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setso… in setsockoptInt() argument 171 …optIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException { os.setsock… in setsockoptIpMreqn() argument [all …]
|
D | Os.java | 90 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte() argument 91 …public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoExceptio… in getsockoptInAddr() argument 92 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() argument 93 …public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoExcepti… in getsockoptLinger() argument 94 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval() argument 95 …public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptUcred() argument 155 …public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoExcept… in setsockoptByte() argument 156 …public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoEx… in setsockoptIfreq() argument 157 …public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoExcepti… in setsockoptInt() argument 158 …public void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoExc… in setsockoptIpMreqn() argument [all …]
|
D | Linux.java | 95 … public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptByte() argument 96 …public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoE… in getsockoptInAddr() argument 97 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; in getsockoptInt() argument 98 …public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws Errno… in getsockoptLinger() argument 99 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval() argument 100 …public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoEx… in getsockoptUcred() argument 242 …public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws Errn… in setsockoptByte() argument 243 …public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws … in setsockoptIfreq() argument 244 …public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws Errno… in setsockoptInt() argument 245 …public native void setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) throws E… in setsockoptIpMreqn() argument [all …]
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 233 …ockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.get… in getsockoptByte() argument 234 …optInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptInAddr() argument 235 …sockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.get… in getsockoptInt() argument 236 …optLinger(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptLinger() argument 237 …tTimeval(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getso… in getsockoptTimeval() argument 238 …koptUcred(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.gets… in getsockoptUcred() argument 509 …koptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.s… in setsockoptByte() argument 510 …tIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException { Libcore.os.… in setsockoptIfreq() argument 515 …ckoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.s… in setsockoptInt() argument 517 …pMreqn(FileDescriptor fd, int level, int option, int value) throws ErrnoException { Libcore.os.set… in setsockoptIpMreqn() argument [all …]
|
/libcore/ojluni/src/main/native/ |
D | net_util_md.c | 909 NET_MapSocketOption(jint cmd, int *level, int *optname) { 912 int level; 937 *level = IPPROTO_IPV6; 942 *level = IPPROTO_IPV6; 948 *level = IPPROTO_IPV6; 961 *level = opts[i].level; 980 NET_GetSockOpt(int fd, int level, int opt, void *result, in NET_GetSockOpt() argument 986 rv = getsockopt(fd, level, opt, result, len); in NET_GetSockOpt() 990 rv = getsockopt(fd, level, opt, result, &socklen); in NET_GetSockOpt() 1005 if ((level == SOL_SOCKET) && ((opt == SO_SNDBUF) in NET_GetSockOpt() [all …]
|
D | net_util.h | 181 NET_GetSockOpt(int fd, int level, int opt, void *result, int *len); 184 NET_SetSockOpt(int fd, int level, int opt, const void *arg, int len); 192 NET_MapSocketOption(jint cmd, int *level, int *optname); 195 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
|
D | Net.c | 281 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; in Java_sun_nio_ch_Net_socket0() local 282 if ((setsockopt(fd, level, IP_MULTICAST_ALL, (char*)&arg, sizeof(arg)) < 0) && in Java_sun_nio_ch_Net_socket0() 433 jboolean mayNeedConversion, jint level, jint opt) in Java_sun_nio_ch_Net_getIntOption0() argument 447 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 453 if (level == SOL_SOCKET && opt == SO_LINGER) { in Java_sun_nio_ch_Net_getIntOption0() 459 n = NET_GetSockOpt(fdval(env, fdo), level, opt, arg, (int*)&arglen); in Java_sun_nio_ch_Net_getIntOption0() 461 n = getsockopt(fdval(env, fdo), level, opt, arg, &arglen); in Java_sun_nio_ch_Net_getIntOption0() 470 if (level == IPPROTO_IP && in Java_sun_nio_ch_Net_getIntOption0() 476 if (level == SOL_SOCKET && opt == SO_LINGER) in Java_sun_nio_ch_Net_getIntOption0() 484 jboolean mayNeedConversion, jint level, in Java_sun_nio_ch_Net_setIntOption0() argument [all …]
|
D | java_util_zip_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/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
|
/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/dalvik/src/main/java/dalvik/system/ |
D | DalvikLogHandler.java | 44 void publish(Logger source, String tag, Level level, String message); in publish() argument
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 282 String level = bugLevel; in atBugLevel() local 283 if (level == null) { in atBugLevel() 286 bugLevel = level = AccessController.doPrivileged( in atBugLevel() 289 return level.equals(bl); in atBugLevel()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListMap.java | 635 final int level; field in ConcurrentSkipListMap.HeadIndex 636 HeadIndex(Node<K,V> node, Index<K,V> down, Index<K,V> right, int level) { in HeadIndex() argument 638 this.level = level; in HeadIndex() 854 int level = 1, max; in doPut() local 856 ++level; in doPut() 859 if (level <= (max = h.level)) { in doPut() 860 for (int i = 1; i <= level; ++i) in doPut() 864 level = max + 1; // hold in array and later pick the one to use in doPut() 866 (Index<K,V>[])new Index<?,?>[level+1]; in doPut() 867 for (int i = 1; i <= level; ++i) in doPut() [all …]
|