/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;
|
H A D | Net.java | 328 // map option name to platform level/name 343 setIntOption0(fd, mayNeedConversion, key.level(), key.name(), arg, isIPv6); 366 // map option name to platform level/name 372 int value = getIntOption0(fd, mayNeedConversion, key.level(), key.name()); 507 int level, int opt) 511 int level, int opt, int arg, boolean isIPv6) 506 getIntOption0(FileDescriptor fd, boolean mayNeedConversion, int level, int opt) argument 510 setIntOption0(FileDescriptor fd, boolean mayNeedConversion, int level, int opt, int arg, boolean isIPv6) argument
|
/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/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 | 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...] |
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 | LogManager.java | 130 * All properties whose names end with ".level" are assumed to define 131 * log levels for Loggers. Thus "foo.level" defines a log level for 134 * are defined in the properties file. Thus level settings for child 136 * The property name ".level" can be used to set the level for the 755 // Add a logger to this context. This method will only set its level 796 // Apply any initial level defined for the new logger, unless 797 // the logger's level is already initialized 798 Level level 1170 doSetLevel(final Logger logger, final Level level) argument [all...] |
/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 | 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...] |
H A D | PlatformLogger.java | 67 * global logging level = INFO 69 * java.util.logging.ConsoleHandler.level = INFO 135 static Level valueOf(int level) { argument 136 switch (level) { 149 // return the nearest Level value >= the given level, 150 // for level > SEVERE, return SEVERE and exclude OFF 151 int i = Arrays.binarySearch(LEVEL_VALUES, 0, LEVEL_VALUES.length-2, level); 228 JavaLoggerProxy jlp = new JavaLoggerProxy(lp.name, lp.level); 249 * (i.e. its level is OFF). 263 * Returns true if a message of the given level woul 266 isLoggable(Level level) argument 282 public Level level() { method in class:PlatformLogger 422 doLog(Level level, String msg) argument 423 doLog(Level level, String msg, Throwable thrown) argument 424 doLog(Level level, String msg, Object... params) argument 426 isLoggable(Level level) argument 440 volatile Level level; // current level set for this node (may be null) field in class:PlatformLogger.DefaultLoggerProxy 464 doLog(Level level, String msg) argument 470 doLog(Level level, String msg, Throwable thrown) argument 476 doLog(Level level, String msg, Object... params) argument 483 isLoggable(Level level) argument 489 deriveEffectiveLevel(Level level) argument 522 format(Level level, String msg, Throwable thrown) argument 606 JavaLoggerProxy(String name, Level level) argument 615 doLog(Level level, String msg) argument 619 doLog(Level level, String msg, Throwable t) argument 623 doLog(Level level, String msg, Object... params) argument 657 setLevel(Level level) argument 661 isLoggable(Level level) argument [all...] |
/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...] |
H A D | DatabaseMetaData.java | 582 * Retrieves whether this database supports the ANSI92 entry level SQL 1140 * Retrieves this database's default transaction isolation level. The 1143 * @return the default isolation level 1151 * method <code>commit</code> is a noop, and the isolation level is 1161 * Retrieves whether this database supports the given transaction isolation level. 1163 * @param level one of the transaction isolation levels defined in 1169 boolean supportsTransactionIsolationLevel(int level) argument
|
/libcore/ojluni/src/main/java/java/util/zip/ |
H A D | Deflater.java | 88 private int level, strategy; field in class:Deflater 105 * Compression level for no compression. 110 * Compression level for fastest compression. 115 * Compression level for best compression. 120 * Default compression level. 169 * Creates a new compressor using the specified compression level. 173 * @param level the compression level (0-9) 176 public Deflater(int level, boolean nowrap) { argument 177 this.level 189 Deflater(int level) argument 312 setLevel(int level) argument 580 init(int level, int strategy, boolean nowrap) argument [all...] |
H A D | ZipOutputStream.java | 172 * Sets the compression level for subsequent entries which are DEFLATED. 174 * @param level the compression level (0-9) 175 * @exception IllegalArgumentException if the compression level is invalid 177 public void setLevel(int level) { argument 178 def.setLevel(level);
|
/libcore/ojluni/src/main/native/ |
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);
|
H A D | Net.c | 279 int level = (domain == AF_INET6) ? IPPROTO_IPV6 : IPPROTO_IP; local 280 if ((setsockopt(fd, level, IP_MULTICAST_ALL, (char*)&arg, sizeof(arg)) < 0) && 430 jboolean mayNeedConversion, jint level, jint opt) 444 if (level == IPPROTO_IP && 450 if (level == SOL_SOCKET && opt == SO_LINGER) { 456 n = NET_GetSockOpt(fdval(env, fdo), level, opt, arg, (int*)&arglen); 458 n = getsockopt(fdval(env, fdo), level, opt, arg, &arglen); 467 if (level == IPPROTO_IP && 473 if (level == SOL_SOCKET && opt == SO_LINGER) 481 jboolean mayNeedConversion, jint level, 429 Java_sun_nio_ch_Net_getIntOption0(JNIEnv *env, jclass clazz, jobject fdo, jboolean mayNeedConversion, jint level, jint opt) argument 480 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 | net_util_md.c | 904 * Map the Java level socket option to the platform specific 905 * level and option name. 908 NET_MapSocketOption(jint cmd, int *level, int *optname) { 911 int level; 936 *level = IPPROTO_IPV6; 941 *level = IPPROTO_IPV6; 947 *level = IPPROTO_IPV6; 956 * Map the Java level option to the native level 960 *level 979 NET_GetSockOpt(int fd, int level, int opt, void *result, int *len) argument 1037 NET_SetSockOpt(int fd, int level, int opt, const void *arg, int len) argument 1258 int level = -1; local [all...] |
/libcore/ojluni/src/main/java/javax/sql/ |
H A D | RowSet.java | 196 * Retrieves the transaction isolation level set for this 199 * @return the transaction isolation level; one of 209 * Sets the transaction isolation level for this <code>RowSet</code> obejct. 211 * @param level the transaction isolation level; one of 219 void setTransactionIsolation(int level) throws SQLException; argument 425 * concurrency level. This method is used to change the concurrency level 429 * concurrency level: <code>ResultSet.CONCUR_READ_ONLY</code> or
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 29 * Access to low-level system functionality. Most of these are system calls. Most users will want 30 * to use higher-level APIs where available, but this class provides access to the underlying 31 * 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 518 setsockoptByte(FileDescriptor fd, int level, int option, int value) argument 519 setsockoptIfreq(FileDescriptor fd, int level, int option, String value) argument 524 setsockoptInt(FileDescriptor fd, int level, int option, int value) argument 526 setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) argument 527 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 528 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 529 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | ForwardingOs.java | 104 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptByte(fd, level, option); } argument 105 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInAddr(fd, level, option); } argument 106 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptInt(fd, level, option); } argument 107 public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptLinger(fd, level, option); } argument 108 public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException { return os.getsockoptTimeval(fd, level, optio argument 109 getsockoptUcred(FileDescriptor fd, int level, int option) argument 168 setsockoptByte(FileDescriptor fd, int level, int option, int value) argument 169 setsockoptIfreq(FileDescriptor fd, int level, int option, String value) argument 170 setsockoptInt(FileDescriptor fd, int level, int option, int value) argument 171 setsockoptIpMreqn(FileDescriptor fd, int level, int option, int value) argument 172 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 173 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 174 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
H A D | Linux.java | 95 public native int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; argument 96 public native InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException; argument 97 public native int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; argument 98 public native StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException; argument 99 public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException; argument 100 public native StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; argument 242 public native void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 243 public native void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException; argument 244 public native void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 245 public native void setsockoptIpMreqn(FileDescriptor fd, int level, in argument 246 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 247 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 248 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
H A D | Os.java | 90 public int getsockoptByte(FileDescriptor fd, int level, int option) throws ErrnoException; argument 91 public InetAddress getsockoptInAddr(FileDescriptor fd, int level, int option) throws ErrnoException; argument 92 public int getsockoptInt(FileDescriptor fd, int level, int option) throws ErrnoException; argument 93 public StructLinger getsockoptLinger(FileDescriptor fd, int level, int option) throws ErrnoException; argument 94 public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoException; argument 95 public StructUcred getsockoptUcred(FileDescriptor fd, int level, int option) throws ErrnoException; argument 155 public void setsockoptByte(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 156 public void setsockoptIfreq(FileDescriptor fd, int level, int option, String value) throws ErrnoException; argument 157 public void setsockoptInt(FileDescriptor fd, int level, int option, int value) throws ErrnoException; argument 158 public void setsockoptIpMreqn(FileDescriptor fd, int level, in argument 159 setsockoptGroupReq(FileDescriptor fd, int level, int option, StructGroupReq value) argument 160 setsockoptLinger(FileDescriptor fd, int level, int option, StructLinger value) argument 161 setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | TreeMap.java | 2549 * @param level the current level of tree. Initial call should be 0. 2553 * @param redLevel the level at which nodes should be red. 2557 private final TreeMapEntry<K,V> buildFromSorted(int level, int lo, int hi, argument 2581 left = buildFromSorted(level+1, lo, mid - 1, redLevel, 2603 // color nodes in non-full bottommost level red 2604 if (level == redLevel) 2613 TreeMapEntry<K,V> right = buildFromSorted(level+1, mid+1, hi, redLevel, 2623 * Find the level down to which to assign all nodes BLACK. This is the 2624 * last `full' level o [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentSkipListMap.java | 237 * Skip lists add indexing to this scheme, so that the base-level 239 * or deleted -- usually base level traversals only traverse a few 268 * the base-level action, to add or remove index nodes. This adds 282 * do, half have one level, a quarter have two, and so on (see 287 * Changing the level of the index (i.e, the height of the 289 * level/height of one. Creation of an index with height greater 290 * than the current level adds a level to the head index by 295 * reduce and "lose" a level just as it is about to contain an 313 * only, returning a base-level predecesso 635 final int level; field in class:ConcurrentSkipListMap.HeadIndex 636 HeadIndex(Node<K,V> node, Index<K,V> down, Index<K,V> right, int level) argument [all...] |
/libcore/luni/src/main/native/ |
H A D | libcore_io_Linux.cpp | 1396 static jint Linux_getsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { argument 1400 throwIfMinusOne(env, "getsockopt", TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &result, &size))); 1404 static jobject Linux_getsockoptInAddr(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { argument 1411 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &sa->sin_addr, &size)); 1419 static jint Linux_getsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { argument 1423 throwIfMinusOne(env, "getsockopt", TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &result, &size))); 1427 static jobject Linux_getsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { argument 1432 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, option, &l, &size)); 1440 static jobject Linux_getsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) { argument 1445 int rc = TEMP_FAILURE_RETRY(getsockopt(fd, level, optio 1453 Linux_getsockoptUcred(JNIEnv* env, jobject, jobject javaFd, jint level, jint option) argument 2179 Linux_setsockoptByte(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint value) argument 2185 Linux_setsockoptIfreq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jstring javaInterfaceName) argument 2194 Linux_setsockoptInt(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint value) argument 2199 Linux_setsockoptIpMreqn(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jint value) argument 2207 Linux_setsockoptGroupReq(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jobject javaGroupReq) argument 2240 Linux_setsockoptLinger(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jobject javaLinger) argument 2250 Linux_setsockoptTimeval(JNIEnv* env, jobject, jobject javaFd, jint level, jint option, jobject javaTimeval) argument [all...] |