Searched refs:priority (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
H A DAndroidPrintStream.java28 private final int priority; field in class:AndroidPrintStream
34 * @param priority from {@link android.util.Log}
37 public AndroidPrintStream(int priority, String tag) { argument
42 this.priority = priority;
47 Log.println(priority, tag, line);
/frameworks/base/core/java/android/util/
H A DLogPrinter.java28 * Create a new Printer that sends to the log with the given priority
31 * @param priority The desired log priority:
39 public LogPrinter(int priority, String tag) { argument
40 mPriority = priority;
H A DLog.java240 * @param priority The priority/type of this log message
246 public static native int println(int priority, String tag, String msg); argument
/frameworks/base/media/java/android/media/
H A DSoundPool.java45 * on priority and then by age within that priority. Limiting the maximum
62 * <p>Priority runs low to high, i.e. higher numbers are higher priority.
66 * the lowest priority stream. If there are multiple streams with the same
67 * low priority, it will choose the oldest stream to stop. In the case
68 * where the priority of the new stream is lower than all the active
90 * is stopped to allow a higher priority stream to play, the stream is no
130 * @param priority the priority of the sound. Currently has no effect. Use
134 public int load(String path, int priority) argument
173 load(Context context, int resId, int priority) argument
196 load(AssetFileDescriptor afd, int priority) argument
222 load(FileDescriptor fd, long offset, long length, int priority) argument
226 _load(String uri, int priority) argument
228 _load(FileDescriptor fd, long offset, long length, int priority) argument
266 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
332 setPriority(int streamID, int priority) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl29 int setSinkPriority(in String address, int priority);
H A DIBluetoothHeadset.aidl32 boolean setPriority(in String address, int priority);
H A DBluetoothA2dp.java76 /** Default priority for a2dp devices that should allow incoming
79 /** Default priority for a2dp devices that should not allow incoming
174 * Set priority of a2dp sink.
176 * a priority of PRIORITY_AUTO, and unpaired headset PRIORITY_NONE (0).
177 * Sinks with priority greater than zero will accept incoming connections
181 * @param priority Integer priority, for example PRIORITY_AUTO or
185 public int setSinkPriority(String address, int priority) { argument
186 if (DBG) log("setSinkPriority(" + address + ", " + priority + ")");
188 return mService.setSinkPriority(address, priority);
[all...]
H A DBluetoothHeadset.java80 /** Default priority for headsets that should be auto-connected */
82 /** Default priority for headsets that should not be auto-connected */
189 * devices with priority greater than PRIORITY_AUTO in descending order.
286 * Set priority of headset.
288 * a priority of PRIORITY_AUTO, and unpaired headset PRIORITY_NONE (0).
289 * Headsets with priority greater than zero will be auto-connected, and
294 * Headsets with priority equal to zero, or that are unpaired, are not
296 * Incoming connections are ignored regardless of priority if there is
299 * @param priority Integer priority, fo
303 setPriority(String address, int priority) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandlerThread.java36 * @param priority The priority to run the thread at. The value supplied must be from
39 public HandlerThread(String name, int priority) { argument
41 mPriority = priority;
H A DProcess.java100 * Standard priority of application threads.
114 * Lowest available thread priority. Only for those who really, really
123 * Standard priority background threads. This gives your thread a slightly
124 * lower than normal priority, so that it will have less chance of impacting
133 * Standard priority of threads that are currently running a user interface
135 * change to this priority; the system will automatically adjust your
144 * Standard priority of system display threads, involved in updating
146 * normally change to this priority.
154 * Standard priority of the most important display threads, for compositing
156 * change to this priority
616 setThreadPriority(int tid, int priority) argument
663 setThreadPriority(int priority) argument
[all...]
/frameworks/base/awt/java/awt/
H A DImage.java53 * a higher priority on scaling speed than on the image's smoothness.
59 * places a higher priority on image smoothness than on scaling speed.
76 * The acceleration priority indicates image acceleration.
169 * Gets the acceleration priority of this image.
171 * @return the acceleration priority of this image.
178 * Sets the acceleration priority for this image.
180 * @param priority
181 * the new acceleration priority (value in the range 0-1).
183 public void setAccelerationPriority(float priority) { argument
184 if (priority <
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp171 int SoundPool::load(const char* path, int priority) argument
173 LOGV("load: path=%s, priority=%d", path, priority);
181 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority) argument
183 LOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d",
184 fd, offset, length, priority);
207 int priority, int loop, float rate)
209 LOGV("sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f",
210 sampleID, leftVolume, rightVolume, priority, loop, rate);
229 channel = allocateChannel(priority);
206 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
245 allocateChannel(int priority) argument
328 setPriority(int channelID, int priority) argument
476 play(const sp<Sample>& sample, int nextChannelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
575 int priority; local
754 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
H A DSoundPool.h97 float rightVolume, int priority, int loop, float rate);
102 int priority() { return mPriority; } function in class:android::SoundEvent
125 int priority, int loop, float rate);
134 void setPriority(int priority) { mPriority = priority; } argument
164 int load(const char* url, int priority);
165 int load(int fd, int64_t offset, int64_t length, int priority);
167 int play(int sampleID, float leftVolume, float rightVolume, int priority,
173 void setPriority(int channelID, int priority);
195 SoundChannel* allocateChannel(int priority);
[all...]
H A Dandroid_media_SoundPool.cpp41 android_media_SoundPool_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument
50 int id = ap->load(s, priority);
57 jlong offset, jlong length, jint priority)
63 int64_t(offset), int64_t(length), int(priority));
76 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop,
82 return ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate);
124 int priority)
129 ap->setPriority(channelID, priority);
56 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length, jint priority) argument
75 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, jfloat rate) argument
123 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, int priority) argument
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java40 * The declared priority of this match. Comes from the "priority"
42 * priority.
44 public int priority; field in class:ResolveInfo
49 * values are a higher priority.
166 pw.println(prefix + "priority=" + priority
191 + " " + ci.name + " p=" + priority + " o="
215 dest.writeInt(priority);
252 priority
[all...]
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DTextRunBreaker.java776 for (int priority = 0; priority <= GlyphJustificationInfo.PRIORITY_NONE + 1; priority++) {
783 if (priority <= GlyphJustificationInfo.PRIORITY_NONE) {
784 jInfo.priority = priority;
786 jInfo.priority = highestPriority; // Last pass
796 if (jInfo.priority == highestPriority) {
803 highestPriority = priority;
805 jInfos[priority]
848 int priority = 0; field in class:TextRunBreaker.JustificationInfo
[all...]
H A DTextRunSegmentImpl.java521 if (jInfo.grow) { // Check how much we can grow/shrink on current priority level
533 if (gji.growPriority == jInfo.priority) {
551 if (gji.shrinkPriority == jInfo.priority) {
606 -1 : jInfos[jInfos.length-1].priority;
608 // Get the highest priority
653 lastInfo.priority == currInfo.priority
689 } else if (lastInfo != null && lastInfo.priority == currInfo.priority) {
729 } else if (lastInfo != null && lastInfo.priority
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java42 public static final String priorityVarName = "priority";
231 public int priority; field in class:WifiConfiguration
313 priority = 0;
342 append(" BSSID: ").append(this.BSSID).append(" PRIO: ").append(this.priority).
492 dest.writeInt(priority);
524 config.priority = in.readInt();
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp101 * public static native int println(int priority, String tag, String msg)
104 jint priority, jstring tagObj, jstring msgObj)
123 int res = android_writeLog((android_LogPriority) priority, tag, msg);
103 android_util_Log_println(JNIEnv* env, jobject clazz, jint priority, jstring tagObj, jstring msgObj) argument
/frameworks/base/libs/utils/
H A DThreads.cpp76 int priority; member in struct:thread_data_t
79 // we use this trampoline when we need to set the priority with
84 int prio = t->priority;
124 #ifdef HAVE_ANDROID_OS /* valgrind is rejecting RT-priority create reqs */
129 t->priority = threadPriority;
871 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument
894 this, name, priority, stack, &mThread);
897 this, name, priority, stack, &mThread);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java214 // priority or have asked to be default options.
221 r0.priority + "/" + r0.isDefault + " vs " +
223 ri.priority + "/" + ri.isDefault);
224 if (r0.priority != ri.priority ||
/frameworks/base/include/utils/
H A Dthreads.h42 * A thread priority should be chosen inverse-proportinally to
44 * a thread will do, the less favorable priority it should get so that
55 /* most threads run at normal priority */
61 /* the main UI thread has a slightly more favorable priority */
272 int32_t priority = PRIORITY_DEFAULT,
/frameworks/base/core/java/android/webkit/
H A DWebSettings.java186 // Message id for setting priority
1096 * Set the priority of the Render thread. Unlike the other settings, this
1099 * @param priority RenderPriority, can be normal, high or low.
1101 public synchronized void setRenderPriority(RenderPriority priority) { argument
1102 if (mRenderPriority != priority) {
1103 mRenderPriority = priority;
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java96 * Supported priority modes for CDMA SMS messages
105 public int priority = PRIORITY_NORMAL; field in class:BearerData
120 * Supported alert priority modes for CDMA SMS messages
349 builder.append(", priority=" + (priorityIndicatorSet ? priority : "unset"));
715 outStream.write(2, bData.priority);
944 * either a SPACE or '!' to indicate normal or urgent priority,
968 bData.priority = PRIORITY_NORMAL;
970 bData.priority = PRIORITY_URGENT;
973 "illegal priority settin
[all...]
/frameworks/base/core/java/android/server/
H A DBluetoothA2dpService.java329 public synchronized int setSinkPriority(String address, int priority) { argument
336 Settings.Secure.getBluetoothA2dpSinkPriorityKey(address), priority) ?

Completed in 728 milliseconds

12