Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/jdk/net/
DSocketFlow.java126 private int priority = NORMAL_PRIORITY; field in SocketFlow
147 public SocketFlow priority(int priority) { in priority() method in SocketFlow
148 if (priority != NORMAL_PRIORITY && priority != HIGH_PRIORITY) in priority()
149 throw new IllegalArgumentException("invalid priority :" + priority); in priority()
150 this.priority = priority; in priority()
170 public int priority() { in priority() method in SocketFlow
171 return priority; in priority()
198 sb.append(" [ priority=").append(priority()) in toString()
DExtendedSocketOptions.java274 f.priority(), in setFlowOption()
361 int setFlowOption(int fd, int priority, long bandwidth) in setFlowOption() argument
/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/src/main/java/java/lang/
DThread.java169 private int priority; field in Thread
560 this.priority = parent.getPriority(); in Thread()
700 Thread(ThreadGroup group, String name, int priority, boolean daemon) { in Thread() argument
713 this.priority = priority; in Thread()
1341 this.priority = newPriority; in setPriority()
1356 return priority; in getPriority()
/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/ojluni/src/main/java/java/io/
DObjectInputStream.java2543 final int priority; field in ObjectInputStream.ValidationList.Callback
2547 Callback(ObjectInputValidation obj, int priority, Callback next, in Callback() argument
2551 this.priority = priority; in Callback()
2570 void register(ObjectInputValidation obj, int priority) in register() argument
2578 while (cur != null && priority < cur.priority) { in register()
2584 prev.next = new Callback(obj, priority, cur, acc); in register()
2586 list = new Callback(obj, priority, list, acc); in register()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2000 public static final int priority = 0; field in R
/libcore/expectations/
Dknownfailures.txt1325 …tests for java.sql are broken for various reasons. java.sql is not a high enough priority to fix.",