| /external/avb/libavb_ab/ |
| avb_ab_flow.h | 59 /* Slot priority. Valid values range from 0 to AVB_AB_MAX_PRIORITY, 64 uint8_t priority; member in struct:AvbABSlotData 172 * 5. The bootable slot with the highest priority is selected and
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/ |
| FifoPriorityThreadPoolExecutor.java | 12 * A FIFO priority {@link ThreadPoolExecutor} that prioritizes submitted {@link Runnable}s by assuming they implement 15 * same time. Runnables with the same priority will be executed in FIFO order. 41 * A {@link java.util.concurrent.ThreadFactory} that builds threads with priority 62 private final int priority; field in class:FifoPriorityThreadPoolExecutor.LoadTask 71 priority = ((Prioritized) runnable).getPriority(); 80 return order == other.order && priority == other.priority; 87 int result = priority; 94 int result = priority - loadTask.priority; [all...] |
| /external/grpc-grpc/src/core/lib/surface/ |
| channel_init.cc | 28 int priority; member in struct:stage_slot 51 int priority, 63 s->priority = priority; 72 int c = GPR_ICMP(sa->priority, sb->priority);
|
| /external/grpc-grpc-java/core/src/main/java/io/grpc/ |
| NameResolverProvider.java | 91 * A priority, from 0 to 10 that this provider should be used, taking the current environment into 93 * detection. A priority of 0 does not imply that the provider wouldn't work; just that it should 98 protected abstract int priority(); method in class:NameResolverProvider 161 return provider.priority();
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| ThreadFactoryBuilder.java | 33 * <li> a {@linkplain Thread#setPriority thread priority} 48 private Integer priority = null; field in class:ThreadFactoryBuilder 89 * Sets the priority for new threads created with this ThreadFactory. 91 * @param priority the priority for new Threads created with this 95 public ThreadFactoryBuilder setPriority(int priority) { 98 checkArgument(priority >= Thread.MIN_PRIORITY, 99 "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY); 100 checkArgument(priority <= Thread.MAX_PRIORITY 152 final Integer priority = builder.priority; local [all...] |
| /external/iproute2/ip/ |
| iplink_bridge_slave.c | 27 " [ priority PRIO ]\n" 118 "priority", 119 "priority %d ", 262 __u16 priority; local 273 } else if (matches(*argv, "priority") == 0) { 275 if (get_u16(&priority, *argv, 0)) 276 invarg("priority is invalid", *argv); 277 addattr16(n, 1024, IFLA_BRPORT_PRIORITY, priority);
|
| /external/kernel-headers/original/uapi/linux/ |
| if_eql.h | 46 long priority; member in struct:slave_config 51 long priority; member in struct:slaving_request
|
| /external/libchrome/base/threading/ |
| platform_thread_linux.cc | 35 ThreadPriority priority) { 36 switch (priority) { 61 ThreadPriority priority) { 64 cgroup_filepath.Append(FILE_PATH_LITERAL("chrome")), priority); 74 ThreadPriority priority) { 77 thread_id, cgroup_filepath.Append(FILE_PATH_LITERAL("cpuset")), priority); 80 priority); 100 bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { 102 SetThreadCgroupsForThreadPriority(PlatformThread::CurrentId(), priority); local 103 return priority == ThreadPriority::REALTIME_AUDIO & [all...] |
| /external/libhevc/encoder/ |
| osal_thread.c | 117 WORD32 priority = 0; local 145 hdl->priority = priority; 526 hdl->priority = schedparam.sched_priority; 528 /* Get thread priority from scheduling parameters */ [all...] |
| /external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
| test_VIDIOC_PRIORITY.c | 33 int valid_priority(enum v4l2_priority priority) 39 switch (priority) { 52 static void do_set_priority(enum v4l2_priority priority) 58 dprintf("\t%s:%u: set priority to %i\n", __FILE__, __LINE__, priority); 59 ret_set = ioctl(get_video_fd(), VIDIOC_S_PRIORITY, &priority); 74 CU_ASSERT_EQUAL(new_priority, priority); 80 enum v4l2_priority priority) 86 dprintf("\t%s:%u: try to set priority to %i\n", __FILE__, __LINE__, 87 priority); 138 enum v4l2_priority priority; local 239 enum v4l2_priority priority; local [all...] |
| /external/ltp/testcases/kernel/sched/sched_stress/ |
| sched_tc2.c | 28 | Algorithm: o Set process priority | 34 | Usage: sched_tc2 [-t sec] [-p priority] [-v] [-d] | 56 * DEFAULT_PRIORITY_TYPE: default priority 66 #define USAGE "Usage: %s [-p priority] [-t sec] [-v] [-d] \n" \ 68 " -p priority priority (default variable) \n" \ 91 * priority: process type (fixed priority, variable priority) 96 char *priority = DEFAULT_PRIORITY_TYPE variable [all...] |
| sched_tc3.c | 28 | Algorithm: o Set process priority | 34 | Usage: sched_tc3 [-t sec] [-p priority] [-v] [-d] | 57 * DEFAULT_PRIORITY_TYPE: default priority 67 #define USAGE "Usage: %s [-p priority] [-v] [-d] \n" \ 68 " -p priority priority (default variable) \n" \ 92 * priority: process type (fixed priority, variable priority) 97 char *priority = DEFAULT_PRIORITY_TYPE variable [all...] |
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
| 3-1.c | 11 * on the lock, they shall acquire the lock in priority order when the lock 12 * becomes available. For equal priority threads, write locks shall take precedence 17 * main has the highest priority, writer1 and reader has same priority, writer2 has lowest 18 * priority. 20 * 1. Main thread set its shcedule policy as "SCHED_FIFO", with highest priority 23 * 3. Create a writer1 thread, with schedule policy as "SCHED_FIFO", and priority 25 * 4. Create reader thread, with same priority as writer1. The reader should also block. 26 * 5. Create a writer2 thread, with priority sched_get_priority_min(). It should block 78 int priority; local 82 set_priority(pthread_self(), TRD_POLICY, priority); local 113 int priority; local 117 set_priority(pthread_self(), TRD_POLICY, priority); local 150 int priority; local 154 set_priority(pthread_self(), TRD_POLICY, priority); local 192 int priority; local 196 set_priority(pthread_self(), TRD_POLICY, priority); local [all...] |
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| ShadowProcess.java | 49 * Stores priority for the current thread, but doesn't actually change it to not mess up with test 53 protected static final void setThreadPriority(int priority) { 55 threadPriorities.put(ShadowProcess.myTid(), priority); local 60 * Stores priority for the given thread, but doesn't actually change it to not mess up with test 67 protected static final void setThreadPriority(int tid, int priority) { 69 priority >= android.os.Process.THREAD_PRIORITY_URGENT_AUDIO 70 && priority <= android.os.Process.THREAD_PRIORITY_LOWEST, 71 "priority %s out of range. Use a Process.THREAD_PRIORITY_* constant.", 72 priority); 78 threadPriorities.put(tid, priority); [all...] |
| /external/selinux/libselinux/src/android/ |
| android.c | 148 int priority; local 153 priority = ANDROID_LOG_WARN; 156 priority = ANDROID_LOG_INFO; 159 priority = ANDROID_LOG_ERROR; 165 LOG_PRI(priority, "SELinux", "%s", strp); 176 int priority; local 181 priority = ANDROID_LOG_WARN; 184 priority = ANDROID_LOG_INFO; 187 priority = ANDROID_LOG_ERROR; 193 LOG_PRI(priority, "SELinux", "%s", strp) [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| allocator_registry.h | 66 int priority, AllocatorFactory* factory); 68 // Returns 'best fit' Allocator. Find the factory with the highest priority 70 // been registered with the same priority, picks one by unspecified criteria. 73 // Returns 'best fit' SubAllocator. First look for the highest priority 75 // highest priority non-NUMA-enabled factory. If NUMA-enabled, return a 96 int priority; member in struct:tensorflow::AllocatorFactoryRegistry::FactoryEntry 105 // Returns any FactoryEntry registered under 'name' and 'priority', 107 const FactoryEntry* FindEntry(const string& name, int priority) const 116 int priority, AllocatorFactory* factory) { 117 AllocatorFactoryRegistry::singleton()->Register(file, line, name, priority, [all...] |
| /external/u-boot/include/ |
| android_bootloader_message.h | 106 /* Slot priority with 15 meaning highest priority, 1 lowest 107 * priority and 0 the slot is unbootable. */ 108 uint8_t priority : 4; member in struct:android_slot_metadata
|
| /external/vboot_reference/cgpt/ |
| cgpt_prioritize.c | 12 // We need a sorted list of priority groups, where each element in the list 18 int priority; // priority of this group member in struct:__anon48855 38 gl->group[i].priority = -1; 54 static void AddToGroup(group_list_t *gl, int priority, int partition) { 56 // See if I've already got a group with this priority 58 if (gl->group[i].priority == priority) 64 gl->group[i].priority = priority; 97 int priority; local [all...] |
| /external/webrtc/talk/app/webrtc/ |
| sctputils.cc | 88 uint16_t priority; local 89 if (!buffer.ReadUInt16(&priority)) { 162 uint16_t priority = 0; local 190 buffer.WriteUInt16(priority);
|
| /external/webrtc/webrtc/libjingle/xmpp/ |
| presencereceivetask.cc | 91 const XmlElement * priority = stanza->FirstNamed(QN_PRIORITY); local 92 if (priority != NULL) { 94 if (rtc::FromString(priority->BodyText(), &pri)) {
|
| /bootable/recovery/bootloader_message/include/bootloader_message/ |
| bootloader_message.h | 133 // Slot priority with 15 meaning highest priority, 1 lowest 134 // priority and 0 the slot is unbootable. 135 uint8_t priority : 4; member in struct:slot_metadata
|
| /development/tools/bugreport/src/com/android/bugreport/stacks/ |
| ThreadSnapshot.java | 32 public int priority; field in class:ThreadSnapshot 67 this.priority = that.priority;
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
| EngineRunnable.java | 5 import com.bumptech.glide.Priority; 29 private final Priority priority; field in class:EngineRunnable 37 public EngineRunnable(EngineRunnableManager manager, DecodeJob<?, ?, ?> decodeJob, Priority priority) { 41 this.priority = priority; 127 return priority.ordinal();
|
| /external/grpc-grpc-java/core/src/test/java/io/grpc/ |
| NameResolverProviderTest.java | 127 private final int priority; field in class:NameResolverProviderTest.BaseProvider 129 public BaseProvider(boolean isAvailable, int priority) { 131 this.priority = priority; 140 protected int priority() { method in class:NameResolverProviderTest.BaseProvider 141 return priority;
|
| /external/ipsec-tools/src/racoon/ |
| plog.c | 85 int priority; member in struct:plogtags 171 vsyslog(ptab[pri].priority, newfmt, ap_bak);
|