/frameworks/base/core/java/android/util/ |
LogWriter.java | 29 * Create a new Writer that sends to the log with the given priority 32 * @param priority The desired log priority: 40 public LogWriter(int priority, String tag) { 41 mPriority = priority; 50 public LogWriter(int priority, String tag, int buffer) { 51 mPriority = priority;
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
PaintTileOperation.cpp | 93 int PaintTileOperation::priority() function in class:WebCore::PaintTileOperation 98 int priority = 200000; local 100 // prioritize low res while scrolling, otherwise set priority above gDeferPriorityCutoff 102 priority = m_state->isScrolling() ? 0 : TexturesGenerator::gDeferPriorityCutoff; 107 priority += 100000 * (int)std::min(drawDelta, (unsigned long long)1000); 111 priority += 50000; 116 priority += m_tile->x(); 119 priority += 100000 - (1 + m_tile->y()) * 1000; 121 priority += m_tile->y() * 1000; 124 return priority; [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
RenderScriptThunker.java | 38 public void setPriority(Priority p) { 39 if (p == Priority.LOW) mN.setPriority(android.renderscript.RenderScript.Priority.LOW); 40 if (p == Priority.NORMAL) mN.setPriority(android.renderscript.RenderScript.Priority.NORMAL);
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 36 private static final int PRIORITY = 1; 91 int sampleId1 = mSoundPool.load(mContext, getSoundA(), PRIORITY); 98 sampleId2 = mSoundPool.load(afd, PRIORITY); 106 sampleId3 = mSoundPool.load(fd, offset, length, PRIORITY); 113 sampleId4 = mSoundPool.load(path, PRIORITY); 140 int sampleID = loadSampleSync(getSoundA(), PRIORITY); 145 int priority = 1; local 148 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 162 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 173 priority = 0 [all...] |
/external/kernel-headers/original/linux/ |
plist.h | 2 * Descending-priority-sorted double-linked list 19 * This is a priority-sorted list of nodes; each node has a 20 * priority from INT_MIN (highest) to INT_MAX (lowest). 22 * Addition is O(K), removal is O(1), change of priority of a node is 23 * O(K) and K is the number of RT priority levels used in the system. 28 * - The tier 1 list is the prio_list, different priority nodes. 44 * The nodes on the prio_list list are sorted by priority to simplify 48 * The nodes on the node_list is ordered by priority and can contain 49 * entries which have the same priority. Those entries are ordered 53 * for the priority of the node and insert it before the node_lis [all...] |
/dalvik/vm/os/ |
android.cpp | 32 * We use Android thread priority constants to be consistent with the rest 51 ALOGW("bad priority %d", newPriority); 97 /* Get the priority (the "nice" value) of the current thread. The 107 * in backward UNIX terms means lower priority. 113 ALOGI("Unable to elevate priority from %d to %d", 117 * The priority has been elevated. Return the old value 120 ALOGV("Elevating priority from %d to %d", 131 ALOGW("Unable to reset priority to %d: %s", 134 ALOGV("Reset priority to %d", oldThreadPriority);
|
/external/iproute2/tc/ |
m_skbedit.c | 36 "PM = priority PRIORITY \n" 39 "PRIORITY = classID to assign to priority field\n" 60 __u32 flags = 0, priority, mark; local 78 } else if (matches(*argv, "priority") == 0) { 81 if (get_tc_classid(&priority, *argv)) { 82 fprintf(stderr, "Illegal priority\n"); 150 &priority, sizeof(priority)); 166 __u32 *priority; local [all...] |
/external/jmdns/src/javax/jmdns/ |
ServiceInfo.java | 113 * @param priority 114 * priority of the service 119 public static ServiceInfo create(final String type, final String name, final int port, final int weight, final int priority, final String text) { 120 return new ServiceInfoImpl(type, name, "", port, weight, priority, false, text); 136 * @param priority 137 * priority of the service 142 public static ServiceInfo create(final String type, final String name, final String subtype, final int port, final int weight, final int priority, final String text) { 143 return new ServiceInfoImpl(type, name, subtype, port, weight, priority, false, text); 157 * @param priority 158 * priority of the servic [all...] |
/frameworks/native/libs/utils/ |
misc.cpp | 93 int priority; member in struct:android::sysprop_change_callback_info 101 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { 109 info.priority = priority; 112 if (priority >= gSyspropList->itemAt(i).priority) {
|
/external/chromium/base/ |
process_linux.cc | 28 // We are more aggressive in our lowering of background process priority 67 // With cgroups there's no real notion of priority as an int, but this 92 // We won't be able to raise the priority if we don't have the right rlimit. 102 // Couldn't get priority. 105 // {set,get}priority values are in the range -20 to 19, where -1 is higher 106 // priority than 0. But rlimit's are in the range from 0 to 39 where 109 // User is not allowed to raise the priority back to where it is now. 116 LOG(ERROR) << "Failed to lower priority, errno: " << errno;
|
/external/clang/test/SemaObjC/ |
method-lookup.m | 17 - (NSInteger)priority; 29 [(id)item setPriority:[item priority] / [PBXCodeAssistant factorForRecentCompletion:[item name]]];
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/category/ |
PropertyCategory.java | 51 * @return the system {@link PropertyCategory} with given priority. 53 public static final PropertyCategory system(int priority) { 54 return new PropertyCategory(SYSTEM_BASE + priority, "SYSTEM:" + priority); 58 * @return the system {@link PropertyCategory} with priority 80 private PropertyCategory(int priority, String string) { 81 m_priority = priority; 154 * @return the priority of this category.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
if_eql.h | 45 long priority; member in struct:slave_config 50 long priority; member in struct:slaving_request
|
nfs_fs.h | 24 #define FLUSH_LOWPRI 8 /* low priority background flush */ 25 #define FLUSH_HIGHPRI 16 /* high priority memory reclaim flush */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_eql.h | 45 long priority; member in struct:slave_config 50 long priority; member in struct:slaving_request
|
nfs_fs.h | 24 #define FLUSH_LOWPRI 8 /* low priority background flush */ 25 #define FLUSH_HIGHPRI 16 /* high priority memory reclaim flush */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
if_eql.h | 45 long priority; member in struct:slave_config 50 long priority; member in struct:slaving_request
|
nfs_fs.h | 24 #define FLUSH_LOWPRI 8 /* low priority background flush */ 25 #define FLUSH_HIGHPRI 16 /* high priority memory reclaim flush */
|
/external/chromium/net/base/ |
request_priority.h | 14 HIGHEST = 0, // 0 must be the highest priority.
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceRequestCFNet.h | 44 inline ResourceLoadPriority toResourceLoadPriority(int priority) 46 switch (priority) { 63 inline int toHTTPPipeliningPriority(ResourceLoadPriority priority) 65 switch (priority) {
|
/frameworks/base/core/java/android/net/ |
NetworkConfig.java | 43 * higher number == higher priority when turning off connections 45 public int priority; field in class:NetworkConfig 62 * [associated radio-type],[priority],[dependencyMet] 69 priority = Integer.parseInt(fragments[3]);
|
/frameworks/volley/tests/src/com/android/volley/ |
RequestQueueTest.java | 19 import com.android.volley.Request.Priority; 54 Request.Priority[] allPriorities = Request.Priority.values(); 60 Request.Priority priority = allPriorities[random.nextInt(allPriorities.length)]; local 62 request.setPriority(priority); 136 private Priority mLastPriority = Priority.IMMEDIATE; 155 Priority thisPriority = request.getPriority(); 160 // Should never experience a higher priority after a lower priorit [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
PriorityThreadFactory.java | 25 * A thread factory that creates threads with a given thread priority. 33 public PriorityThreadFactory(String name, int priority) { 35 mPriority = priority;
|
/developers/samples/android/connectivity/network/BasicNetworkDemo/BasicNetworkDemo/src/main/java/com/example/android/common/logger/ |
Log.java | 58 * @param priority Log level of the data being logged. Verbose, Error, etc. 64 public static void println(int priority, String tag, String msg, Throwable tr) { 66 mLogNode.println(priority, tag, msg, tr); 74 * @param priority Log level of the data being logged. Verbose, Error, etc. 78 public static void println(int priority, String tag, String msg) { 79 println(priority, tag, msg, null); 83 * Prints a message at VERBOSE priority. 95 * Prints a message at VERBOSE priority. 106 * Prints a message at DEBUG priority. 118 * Prints a message at DEBUG priority [all...] |
LogWrapper.java | 45 * @param priority Log level of the data being logged. Verbose, Error, etc. 52 public void println(int priority, String tag, String msg, Throwable tr) { 67 // For instance, if priority were Log.VERBOSE, this would be the same as Log.v(tag, useMsg) 68 Log.println(priority, tag, useMsg); 72 mNext.println(priority, tag, msg, tr);
|