/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 17 As in UNIX, lower priority numbers mean higher priority; in this 18 way the queue can be maintained as a priority queue. Execution of the 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 108 time, priority, action, argument = checked_event = q[0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sched.py | 16 Events are specified by tuples (time, priority, action, argument). 17 As in UNIX, lower priority numbers mean higher priority; in this 18 way the queue can be maintained as a priority queue. Execution of the 36 Event = namedtuple('Event', 'time, priority, action, argument') 46 def enterabs(self, time, priority, action, argument): 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): 64 return self.enterabs(time, priority, action, argument) 108 time, priority, action, argument = checked_event = q[0 [all...] |
/development/apps/Fallback/ |
AndroidManifest.xml | 13 <intent-filter android:priority="-1000"> 18 <intent-filter android:priority="-1000"> 24 <intent-filter android:priority="-1000"> 32 <intent-filter android:priority="-1000"> 41 <intent-filter android:priority="-1000"> 47 <intent-filter android:priority="-1000"> 54 <intent-filter android:priority="-1000">
|
/external/chromium/base/ |
process.h | 84 // A process is backgrounded when it's priority is lower than normal. 88 // Set a process as backgrounded. If value is true, the priority 89 // of the process will be lowered. If value is false, the priority 91 // process priority. 92 // Returns true if the priority was changed, false otherwise. 95 // Returns an integer representing the priority of a process. The meaning 102 // Holds the priority that the process was set to when it was backgrounded.
|
/external/chromium_org/third_party/openssl/openssl/crypto/pqueue/ |
pqueue.c | 76 memcpy(item->priority,prio64be,sizeof(item->priority)); 127 int cmp = memcmp(next->priority, item->priority,8); 178 if ( memcmp(next->priority, prio64be,8) == 0) 186 if ( memcmp(next->priority, prio64be,8) ==0) 210 item->priority[0],item->priority[1], 211 item->priority[2],item->priority[3] [all...] |
/external/openssl/crypto/pqueue/ |
pqueue.c | 76 memcpy(item->priority,prio64be,sizeof(item->priority)); 127 int cmp = memcmp(next->priority, item->priority,8); 178 if ( memcmp(next->priority, prio64be,8) == 0) 186 if ( memcmp(next->priority, prio64be,8) ==0) 210 item->priority[0],item->priority[1], 211 item->priority[2],item->priority[3] [all...] |
/frameworks/av/include/media/ |
SoundPool.h | 100 float rightVolume, int priority, int loop, float rate); 105 int priority() { return mPriority; } function in class:android::SoundEvent 129 int priority, int loop, float rate); 140 void setPriority(int priority) { mPriority = priority; } 172 int load(const char* url, int priority); 173 int load(int fd, int64_t offset, int64_t length, int priority); 175 int play(int sampleID, float leftVolume, float rightVolume, int priority, 183 void setPriority(int channelID, int priority); 206 SoundChannel* allocateChannel_l(int priority); [all...] |
/external/chromium_org/cc/resources/ |
prioritized_resource_manager.h | 75 // Sepecify a external priority cutoff. Only textures that have a strictly 76 // higher priority than this cutoff will be allowed. 144 // Compare textures. Highest priority first. 152 // Compare backings. Lowest priority first. 160 // Then sort by being above or below the priority cutoff. 165 // Then sort by priority (note that backings that no longer have owners will 166 // always have the lowest priority). 201 // The priority cutoff based on memory pressure. This is not a strict 202 // cutoff -- RequestLate allows textures with priority equal to this 205 // The priority cutoff based on external memory policy. This is a stric [all...] |
/external/chromium_org/v8/src/ |
object-observe.js | 46 // priority of the callback (which determines delivery order between 208 // priority -> observer and is then stored on objectInfo.changeObservers. 214 var priority = CallbackInfoGetPriority(callbackInfo); 216 objectInfo.changeObservers[priority] = observer; 230 var priority = CallbackInfoGetPriority(callbackInfo); 231 objectInfo.changeObservers[priority] = observer; 245 var priority = CallbackInfoGetPriority(callbackInfo); variable 246 delete objectInfo.changeObservers[priority]; 256 for (var priority in objectInfo.changeObservers) { 257 if (ObserverIsActive(objectInfo.changeObservers[priority], objectInfo) [all...] |
/docs/source.android.com/src/devices/ |
audio_avoiding_pi.jd | 1 page.title=Avoiding Priority Inversion 14 priority inversion, as of the Android 4.1 (Jellybean) release, 45 <h2 id="priorityInversion">Priority Inversion</h2> 48 <a href="http://en.wikipedia.org/wiki/Priority_inversion">Priority inversion</a> 50 where a higher-priority task is blocked for an unbounded time waiting 51 for a lower-priority task to release a resource such as [shared 57 In an audio system, priority inversion typically manifests as a 66 In the Android audio implementation, priority inversion is most 78 fast mixer thread (they both have elevated priority, but slightly 98 not yet implemented. The likely priority inversion spots will b [all...] |
/frameworks/base/core/java/android/os/ |
Process.java | 172 * Standard priority of application threads. 186 * Lowest available thread priority. Only for those who really, really 195 * Standard priority background threads. This gives your thread a slightly 196 * lower than normal priority, so that it will have less chance of impacting 205 * Standard priority of threads that are currently running a user interface 207 * change to this priority; the system will automatically adjust your 216 * Standard priority of system display threads, involved in updating 218 * normally change to this priority. 226 * Standard priority of the most important display threads, for compositing 228 * change to this priority [all...] |
/external/chromium/net/spdy/ |
spdy_http_utils.cc | 112 // TODO(gavinp): re-adjust this once SPDY v3 has three priority bits, 114 int ConvertRequestPriorityToSpdyPriority(const RequestPriority priority) { 115 DCHECK(HIGHEST <= priority && priority < NUM_PRIORITIES); 116 switch (priority) { 122 return priority;
|
/external/chromium_org/base/threading/ |
platform_thread.h | 84 // Suitable for threads that shouldn't disrupt high priority work. 132 // CreateWithPriority() does the same thing as Create() except the priority of 133 // the thread is set based on |priority|. Can be used in place of Create() 136 // priority thread on Linux. 139 ThreadPriority priority); 152 ThreadPriority priority);
|
platform_thread_posix.cc | 45 priority(kThreadPriority_Normal), 52 ThreadPriority priority; member in struct:base::__anon3721::ThreadParams 65 if (thread_params->priority != kThreadPriority_Normal) { 67 thread_params->priority); 93 ThreadPriority priority) { 116 params.priority = priority; 206 ThreadPriority priority) { 209 delegate, thread_handle, priority);
|
/external/chromium_org/net/quic/ |
quic_utils.h | 18 enum Priority { 31 // FindMutualTag sets |out_result| to the first tag in the priority list that 35 // Which list has priority is determined by |priority|. 42 Priority priority,
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
Animation.h | 45 enum Priority { DefaultPriority, TransitionPriority }; 47 static PassRefPtr<Animation> create(PassRefPtr<Element>, PassRefPtr<AnimationEffect>, const Timing&, Priority = DefaultPriority, PassOwnPtr<EventDelegate> = nullptr); 58 Priority priority() const { return m_priority; } function in class:WebCore::FINAL 79 Animation(PassRefPtr<Element>, PassRefPtr<AnimationEffect>, const Timing&, Priority, PassOwnPtr<EventDelegate>); 87 Priority m_priority;
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 24 Module &M, Function *F, int Priority) { 31 Ty, IRB.getInt32(Priority), F, NULL); 59 void llvm::appendToGlobalCtors(Module &M, Function *F, int Priority) { 60 appendToGlobalArray("llvm.global_ctors", M, F, Priority); 63 void llvm::appendToGlobalDtors(Module &M, Function *F, int Priority) { 64 appendToGlobalArray("llvm.global_dtors", M, F, Priority);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiConfiguration.java | 17 realObject.priority = 0; 40 config.priority = realObject.priority;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
PriorityThreadFactoryTest.java | 40 private void priorityTest(int priority) throws InterruptedException { 41 ThreadFactory factory = new PriorityThreadFactory(priority); 45 assertEquals(priority, r.getPriority());
|
/bionic/libc/private/ |
libc_logging.h | 63 // Formats a message to the log (priority 'fatal'), then aborts. 70 // Formats a message to the log (priority 'fatal'), but doesn't abort. 89 __LIBC_HIDDEN__ int __libc_format_log(int priority, const char* tag, const char* format, ...) 92 __LIBC_HIDDEN__ int __libc_format_log_va_list(int priority, const char* tag, const char* format,
|
/external/chromium/base/allocator/ |
allocator_shim.h | 12 // be used by subprocesses. Priority is given to the current value of
|
/external/chromium/net/tools/flip_server/ |
mem_cache.h | 71 // priority, filename 82 priority(0), 90 priority(0), 97 int priority; member in class:net::MemCacheIter
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
job_queue_unittest.cc | 26 // High priority jobs should be popped first. 33 // Then low priority jobs follow. 60 // The remaining jobs is of low priority, so under HIGH_PRIORITY context, it 64 // Under the low priority context, it is fine.
|
/external/chromium_org/components/webdata/ |
DEPS | 9 # TODO(caitkp): Extract unit tests from //chrome, at lower priority
|
/external/chromium_org/ui/message_center/ |
notification_list.cc | 34 if (n1->priority() > n2->priority()) // Higher pri go first. 36 if (n1->priority() < n2->priority()) 78 if (notification->priority() < SYSTEM_PRIORITY) 99 // Handles priority promotion. If the notification is already dismissed but 100 // the updated notification has higher priority, it should re-appear as a 102 if ((*iter)->priority() < new_notification->priority()) { 178 if ((*iter)->priority() < DEFAULT_PRIORITY [all...] |