/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | OptionKey.java | 29 * Represents the level/name of a socket option 33 private int level; field in class:OptionKey 36 OptionKey(int level, int name) { argument 37 this.level = level; 41 int level() { method in class:OptionKey 42 return level;
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
H A D | LoggingProxy.java | 42 public boolean isLoggable(Object logger, Object level); argument 44 public void log(Object logger, Object level, String msg); argument 46 public void log(Object logger, Object level, String msg, Throwable t); argument 48 public void log(Object logger, Object level, String msg, Object... params); argument 62 public String getLevelName(Object level); argument 64 public int getLevelValue(Object level); argument
|
H A D | PlatformLogger.java | 67 * global logging level = INFO 69 * java.util.logging.ConsoleHandler.level = INFO 139 static Level valueOf(int level) { argument 140 switch (level) { 153 // return the nearest Level value >= the given level, 154 // for level > SEVERE, return SEVERE and exclude OFF 155 int i = Arrays.binarySearch(levelValues, 0, levelValues.length-2, level); 233 JavaLoggerProxy jlp = new JavaLoggerProxy(lp.name, lp.level); 254 * (i.e. its level is OFF). 268 * Returns true if a message of the given level woul 304 isLoggable(Level level) argument 320 public Level level() { method in class:PlatformLogger 460 doLog(Level level, String msg) argument 461 doLog(Level level, String msg, Throwable thrown) argument 462 doLog(Level level, String msg, Object... params) argument 464 isLoggable(Level level) argument 478 volatile Level level; // current level set for this node (may be null) field in class:PlatformLogger.DefaultLoggerProxy 502 doLog(Level level, String msg) argument 508 doLog(Level level, String msg, Throwable thrown) argument 514 doLog(Level level, String msg, Object... params) argument 521 isLoggable(Level level) argument 527 deriveEffectiveLevel(Level level) argument 560 format(Level level, String msg, Throwable thrown) argument 634 JavaLoggerProxy(String name, Level level) argument 643 doLog(Level level, String msg) argument 647 doLog(Level level, String msg, Throwable t) argument 651 doLog(Level level, String msg, Object... params) argument 685 setLevel(Level level) argument 689 isLoggable(Level level) argument [all...] |
H A D | LoggingSupport.java | 113 public static boolean isLoggable(Object logger, Object level) { argument 115 return proxy.isLoggable(logger,level); 118 public static void log(Object logger, Object level, String msg) { argument 120 proxy.log(logger, level, msg); 123 public static void log(Object logger, Object level, String msg, Throwable t) { argument 125 proxy.log(logger, level, msg, t); 128 public static void log(Object logger, Object level, String msg, Object... params) { argument 130 proxy.log(logger, level, msg, params); 138 public static String getLevelName(Object level) { argument 140 return proxy.getLevelName(level); 143 getLevelValue(Object level) argument [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | LoggingProxyImpl.java | 55 public boolean isLoggable(Object logger, Object level) { argument 56 return ((Logger) logger).isLoggable((Level) level); 60 public void log(Object logger, Object level, String msg) { argument 61 ((Logger) logger).log((Level) level, msg); 65 public void log(Object logger, Object level, String msg, Throwable t) { argument 66 ((Logger) logger).log((Level) level, msg, t); 70 public void log(Object logger, Object level, String msg, Object... params) { argument 71 ((Logger) logger).log((Level) level, msg, params); 96 Level level = Level.findLevel(levelName); 97 if (level 104 getLevelName(Object level) argument 109 getLevelValue(Object level) argument [all...] |
H A D | Logging.java | 74 Level level = l.getLevel(); 75 if (level == null) { 78 return level.getLevelName(); 93 Level level = null; 96 level = Level.findLevel(levelName); 97 if (level == null) { 98 throw new IllegalArgumentException("Unknown level \"" + levelName + "\""); 102 logger.setLevel(level);
|
H A D | Level.java | 38 * at a given level also enables logging at all higher levels. 53 * In addition there is a level OFF that can be used to turn 54 * off logging, and a level ALL that can be used to enable 59 * take care to chose unique integer level values and to ensure that 70 * @serial The non-localized name of the level. 75 * @serial The integer value of the level. 80 * @serial The resource bundle name to be used in localizing the level name. 84 // localized level name 89 * OFF is a special level that can be used to turn off logging. 90 * This level i [all...] |
H A D | Logger.java | 68 * level is set to <tt>null</tt>, then its effective level is inherited 72 * The log level can be configured based on the properties from the 75 * by calls on the Logger.setLevel method. If a logger's level is 77 * logger that has <tt>null</tt> as its level will inherit its 78 * effective level from its parent. 81 * check of the request level (e.g., SEVERE or FINE) against the 82 * effective log level of the logger. If the request level is 83 * lower than the log level, th 788 log(Level level, String msg) argument 810 log(Level level, Supplier<String> msgSupplier) argument 829 log(Level level, String msg, Object param1) argument 850 log(Level level, String msg, Object params[]) argument 875 log(Level level, String msg, Throwable thrown) argument 903 log(Level level, Throwable thrown, Supplier<String> msgSupplier) argument 929 logp(Level level, String sourceClass, String sourceMethod, String msg) argument 955 logp(Level level, String sourceClass, String sourceMethod, Supplier<String> msgSupplier) argument 980 logp(Level level, String sourceClass, String sourceMethod, String msg, Object param1) argument 1007 logp(Level level, String sourceClass, String sourceMethod, String msg, Object params[]) argument 1038 logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown) argument 1072 logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier) argument 1134 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg) argument 1169 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) argument 1206 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object params[]) argument 1239 logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params) argument 1282 logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) argument 1320 logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown) argument 1724 isLoggable(Level level) argument [all...] |
H A D | LogRecord.java | 90 * @serial Logging message level 92 private Level level; field in class:LogRecord 161 * Construct a LogRecord with the given level and message values. 173 * @param level a logging level value 176 public LogRecord(Level level, String msg) { argument 177 // Make sure level isn't null, by calling random method. 178 level.getClass(); 179 this.level = level; 261 setLevel(Level level) argument [all...] |
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | DalvikLogHandler.java | 44 void publish(Logger source, String tag, Level level, String message); argument
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | Deflater.java | 81 private int level, strategy; field in class:Deflater 97 * Compression level for no compression. 102 * Compression level for fastest compression. 107 * Compression level for best compression. 112 * Default compression level. 161 * Creates a new compressor using the specified compression level. 165 * @param level the compression level (0-9) 168 public Deflater(int level, boolean nowrap) { argument 169 this.level 181 Deflater(int level) argument 304 setLevel(int level) argument 572 init(int level, int strategy, boolean nowrap) argument [all...] |
/libcore/benchmarks/src/benchmarks/ |
H A D | XmlSerializeBenchmark.java | 53 int level = 0; 58 while(level > 0 && r.nextDouble() < levelUpChance) { 60 level--; 64 level++; 67 level++; 72 level--;
|
/libcore/dalvik/src/main/native/ |
H A D | sub.mk | 2 # This file is included by the top-level libcore Android.mk.
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Os.java | 88 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; argument 89 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException; argument 90 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; argument 91 public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException; argument 92 public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException; argument 93 public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; argument 153 public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 154 public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException; argument 155 public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 156 public void setsockoptIpMreqn(FileDescriptor fd, int level, in argument 157 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 158 setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) argument 159 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 160 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
H A D | ForwardingOs.java | 102 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptByte(fd, level, option); } argument 103 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInAddr(fd, level, option); } argument 104 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInt(fd, level, option); } argument 105 public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptLinger(fd, level, option); } argument 106 public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptTimeval(fd, level, optio argument 107 getsockoptUcred(FileDescriptor fd, int level, int option) argument 166 setsockoptByte(FileDescriptor fd, int level, int option, int value) argument 167 setsockoptIfreq(FileDescriptor fd, int level, int option, String value) argument 168 setsockoptInt(FileDescriptor fd, int level, int option, int value) argument 169 setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) argument 170 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 171 setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) argument 172 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 173 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
H A D | Linux.java | 93 public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; argument 94 public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException; argument 95 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; argument 96 public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException; argument 97 public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException; argument 98 public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; argument 240 public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 241 public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException; argument 242 public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 243 public native void setsockoptIpMreqn(FileDescriptor fd, int level, in argument 244 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 245 setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) argument 246 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 247 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 31 * Access to low-level system functionality. Most of these are system calls. Most users will want 32 * to use higher-level APIs where available, but this class provides access to the underlying 33 * primitives used to implement the higher-level APIs. 231 /** @hide */ public static int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getsockoptByte(fd, level, option); } argument 232 /** @hide */ public static InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getsockoptInAddr(fd, level, option); } argument 233 /** @hide */ public static int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return Libcore.os.getsockoptInt(fd, level, option); } argument 234 /** @hide */ public static StructLinger getsockoptLinger(FileDescriptor fd, int level, in argument 235 getsockoptTimeval(FileDescriptor fd, int level, int option) argument 236 getsockoptUcred(FileDescriptor fd, int level, int option) argument 507 setsockoptByte(FileDescriptor fd, int level, int option, int value) argument 508 setsockoptIfreq(FileDescriptor fd, int level, int option, String value) argument 513 setsockoptInt(FileDescriptor fd, int level, int option, int value) argument 515 setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) argument 516 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 517 setsockoptGroupSourceReq(FileDescriptor fd, int level, int option, StructGroupSourceReq value) argument 518 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 519 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
/libcore/ojluni/src/main/native/ |
H A D | net_util_md.c | 890 * Map the Java level socket option to the platform specific 891 * level and option name. 894 NET_MapSocketOption(jint cmd, int *level, int *optname) { argument 897 int level; member in struct:__anon29 922 *level = IPPROTO_IPV6; 927 *level = IPPROTO_IPV6; 933 *level = IPPROTO_IPV6; 942 * Map the Java level option to the native level 946 *level 964 NET_GetSockOpt(int fd, int level, int opt, void *result, int *len) argument 1022 NET_SetSockOpt(int fd, int level, int opt, const void *arg, int len) argument 1243 int level = -1; local [all...] |
H A D | net_util.h | 169 NET_GetSockOpt(int fd, int level, int opt, void *result, int *len); 172 NET_SetSockOpt(int fd, int level, int opt, const void *arg, int len); 178 NET_MapSocketOption(jint cmd, int *level, int *optname); 181 NET_MapSocketOptionV6(jint cmd, int *level, int *optname);
|
H A D | openjdksub.mk | 2 # This file is included by the top-level libcore Android.mk.
|
H A D | Net.c | 281 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; local 282 if ((setsockopt(fd, level, IP_MULTICAST_ALL, (char*)&arg, sizeof(arg)) < 0) && 433 jboolean mayNeedConversion, jint level, jint opt) 447 if (level == IPPROTO_IP && 453 if (level == SOL_SOCKET && opt == SO_LINGER) { 459 n = NET_GetSockOpt(fdval(env, fdo), level, opt, arg, (int*)&arglen); 461 n = getsockopt(fdval(env, fdo), level, opt, arg, &arglen); 470 if (level == IPPROTO_IP && 476 if (level == SOL_SOCKET && opt == SO_LINGER) 484 jboolean mayNeedConversion, jint level, 432 Java_sun_nio_ch_Net_getIntOption0(JNIEnv *env, jclass clazz, jobject fdo, jboolean mayNeedConversion, jint level, jint opt) argument 483 Java_sun_nio_ch_Net_setIntOption0(JNIEnv *env, jclass clazz, jobject fdo, jboolean mayNeedConversion, jint level, jint opt, jint arg, jboolean isIPv6) argument [all...] |
H A D | java_util_zip_Deflater.c | 53 levelID = (*env)->GetFieldID(env, cls, "level", "I"); 64 Deflater_init(JNIEnv *env, jclass cls, jint level, argument 74 int ret = deflateInit2(strm, level, Z_DEFLATED, 137 int level = (*env)->GetIntField(env, this, levelID); local 158 res = deflateParams(strm, level, strategy);
|
/libcore/luni/src/main/native/ |
H A D | sub.mk | 2 # This file is included by the top-level libcore Android.mk.
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | Charset.java | 282 String level = bugLevel; 283 if (level == null) { 286 bugLevel = level = AccessController.doPrivileged( 289 return level.equals(bl); 485 // instance is stored in the level 1 cache. We convey a hint to this effect to the VM by putting 486 // the level 1 cache miss code in a separate method. Since charsetName is not necessarily in 488 // instance in a map for level 2 cache.
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Connection.java | 97 * and have a concurrency level of <code>CONCUR_READ_ONLY</code>. 128 * and have a concurrency level of <code>CONCUR_READ_ONLY</code>. 160 * and have a concurrency level of <code>CONCUR_READ_ONLY</code>. 386 * This level allows a row changed by one transaction to be read 396 * reads can occur. This level only prohibits a transaction 404 * reads can occur. This level prohibits a transaction from 416 * This level includes the prohibitions in 427 * Attempts to change the transaction isolation level for this 435 * @param level one of the following <code>Connection</code> constants: 449 void setTransactionIsolation(int level) throw argument [all...] |