Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/jdk/net/
DSocketFlow.java54 private int priority = NORMAL_PRIORITY; field in SocketFlow
121 public SocketFlow priority(int priority) { in priority() argument
122 if (priority != NORMAL_PRIORITY && priority != HIGH_PRIORITY) { in priority()
125 this.priority = priority; in priority()
147 public int priority() { in priority() method in SocketFlow
148 return priority; in priority()
/libcore/ojluni/src/main/native/
DSystem.c233 int priority; in System_log() local
235 case 'D': case 'd': priority = ANDROID_LOG_DEBUG; break; in System_log()
236 case 'E': case 'e': priority = ANDROID_LOG_ERROR; break; in System_log()
237 case 'F': case 'f': priority = ANDROID_LOG_FATAL; break; in System_log()
238 case 'I': case 'i': priority = ANDROID_LOG_INFO; break; in System_log()
239 case 'S': case 's': priority = ANDROID_LOG_SILENT; break; in System_log()
240 case 'V': case 'v': priority = ANDROID_LOG_VERBOSE; break; in System_log()
241 case 'W': case 'w': priority = ANDROID_LOG_WARN; break; in System_log()
242 default: priority = ANDROID_LOG_DEFAULT; break; in System_log()
246 LOG_PRI(priority, "System", "%s", message); in System_log()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java181 int priority = thread.getPriority() + 1; in setPriority_starting() local
182 if (priority > Thread.MAX_PRIORITY) { in setPriority_starting()
183 priority = Thread.MIN_PRIORITY; in setPriority_starting()
185 thread.setPriority(priority); in setPriority_starting()
187 assertEquals(priority, thread.getPriority()); in setPriority_starting()
223 for (int priority = Thread.MIN_PRIORITY; priority <= Thread.MAX_PRIORITY; priority++) { in checkSetPriority_inBounds_succeeds()
224 thread.setPriority(priority); in checkSetPriority_inBounds_succeeds()
225 assertEquals(priority, thread.getPriority()); in checkSetPriority_inBounds_succeeds()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java848 void register(java.io.ObjectInputValidation obj, int priority) in register() argument
868 int priority, in Callback() argument
888 final int priority; field in ObjectInputStream.ValidationList.Callback
891 priority = 0;
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java59 Thread(java.lang.ThreadGroup group, java.lang.String name, int priority, boolean daemon) { in Thread() argument
411 private int priority; field in Thread
/libcore/expectations/
Dknownfailures.txt1325 …tests for java.sql are broken for various reasons. java.sql is not a high enough priority to fix.",