/frameworks/base/core/java/com/android/internal/os/ |
H A D | AndroidPrintStream.java | 28 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/os/ |
H A D | HandlerThread.java | 36 * @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 D | Process.java | 106 * Standard priority of application threads. 120 * Lowest available thread priority. Only for those who really, really 129 * Standard priority background threads. This gives your thread a slightly 130 * lower than normal priority, so that it will have less chance of impacting 139 * Standard priority of threads that are currently running a user interface 141 * change to this priority; the system will automatically adjust your 150 * Standard priority of system display threads, involved in updating 152 * normally change to this priority. 160 * Standard priority of the most important display threads, for compositing 162 * change to this priority 625 setThreadPriority(int tid, int priority) argument 672 setThreadPriority(int priority) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LogPrinter.java | 29 * Create a new Printer that sends to the log with the given priority 32 * @param priority The desired log priority: 40 public LogPrinter(int priority, String tag) { argument 41 mPriority = priority; 50 public LogPrinter(int priority, String tag, int buffer) { argument 51 mPriority = priority;
|
H A D | Slog.java | 81 public static int println(int priority, String tag, String msg) { argument 82 return Log.println_native(Log.LOG_ID_SYSTEM, priority, tag, msg);
|
H A D | Log.java | 282 * @param priority The priority/type of this log message 288 public static int println(int priority, String tag, String msg) { argument 289 return println_native(LOG_ID_MAIN, priority, tag, msg); 298 int priority, String tag, String msg); 297 println_native(int bufID, int priority, String tag, String msg) argument
|
/frameworks/base/awt/java/awt/ |
H A D | Image.java | 53 * 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/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 77 /** Default priority for a2dp devices that we try to auto-connect 80 /** Default priority for a2dp devices that should allow incoming 83 /** Default priority for a2dp devices that should not allow incoming 86 /** Default priority when not set or when the device is unpaired */ 236 * Set priority of a2dp sink. 238 * a priority of PRIORITY_AUTO, and unpaired headset PRIORITY_NONE (0). 239 * Sinks with priority greater than zero will accept incoming connections 243 * @param priority Integer priority, for example PRIORITY_AUTO or 245 * @return true if priority i 247 setSinkPriority(BluetoothDevice device, int priority) argument [all...] |
H A D | BluetoothHeadset.java | 119 /** Default priority for headsets that for which we will accept 122 /** Default priority for headsets that for which we will accept 125 /** Default priority for headsets that should not be auto-connected 128 /** Default priority when not set or when the device is unpaired */ 229 * devices with priority greater than PRIORITY_AUTO in descending order. 326 * Set priority of headset. 328 * a priority of PRIORITY_AUTO, and unpaired headset PRIORITY_NONE (0). 329 * Headsets with priority greater than zero will be auto-connected, and 334 * Headsets with priority equal to zero, or that are unpaired, are not 336 * Incoming connections are ignored regardless of priority i 343 setPriority(BluetoothDevice device, int priority) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | ResolveInfo.java | 56 * The declared priority of this match. Comes from the "priority" 58 * priority. 60 public int priority; field in class:ResolveInfo 65 * values are a higher priority. 203 pw.println(prefix + "priority=" + priority 232 + " " + ci.name + " p=" + priority + " o=" 256 dest.writeInt(priority); 294 priority [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Log.cpp | 101 * public static native int println_native(int buffer, int priority, String tag, String msg) 104 jint bufID, jint priority, jstring tagObj, jstring msgObj) 133 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg); 103 android_util_Log_println_native(JNIEnv* env, jobject clazz, jint bufID, jint priority, jstring tagObj, jstring msgObj) argument
|
/frameworks/base/libs/utils/ |
H A D | Threads.cpp | 70 int priority; member in struct:thread_data_t 73 // we use this trampoline when we need to set the priority with 78 int prio = t->priority; 118 #ifdef HAVE_ANDROID_OS /* valgrind is rejecting RT-priority create reqs */ 123 t->priority = threadPriority; 660 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument 683 this, name, priority, stack, &mThread); 686 this, name, priority, stack, &mThread);
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 49 * on priority and then by age within that priority. Limiting the maximum 66 * <p>Priority runs low to high, i.e. higher numbers are higher priority. 70 * the lowest priority stream. If there are multiple streams with the same 71 * low priority, it will choose the oldest stream to stop. In the case 72 * where the priority of the new stream is lower than all the active 94 * is stopped to allow a higher priority stream to play, the stream is no 161 * @param priority the priority of the sound. Currently has no effect. Use 165 public int load(String path, int priority) argument 203 load(Context context, int resId, int priority) argument 225 load(AssetFileDescriptor afd, int priority) argument 251 load(FileDescriptor fd, long offset, long length, int priority) argument 255 _load(String uri, int priority) argument 257 _load(FileDescriptor fd, long offset, long length, int priority) argument 295 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument 379 setPriority(int streamID, int priority) argument [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 42 android_media_SoundPool_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument 51 int id = ap->load(s, priority); 58 jlong offset, jlong length, jint priority) 64 int64_t(offset), int64_t(length), int(priority)); 77 jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, 83 return ap->play(sampleID, leftVolume, rightVolume, priority, loop, rate); 143 int priority) 148 ap->setPriority(channelID, priority); 57 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length, jint priority) argument 76 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, jfloat leftVolume, jfloat rightVolume, jint priority, jint loop, jfloat rate) argument 142 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID, int priority) argument
|
H A D | SoundPool.cpp | 173 int SoundPool::load(const char* path, int priority) argument 175 LOGV("load: path=%s, priority=%d", path, priority); 183 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority) argument 185 LOGV("load: fd=%d, offset=%lld, length=%lld, priority=%d", 186 fd, offset, length, priority); 209 int priority, int loop, float rate) 211 LOGV("sampleID=%d, leftVolume=%f, rightVolume=%f, priority=%d, loop=%d, rate=%f", 212 sampleID, leftVolume, rightVolume, priority, loop, rate); 231 channel = allocateChannel(priority); 208 play(int sampleID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument 247 allocateChannel(int priority) argument 350 setPriority(int channelID, int priority) argument 514 play(const sp<Sample>& sample, int nextChannelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument 615 int priority; local 817 set(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument [all...] |
H A D | SoundPool.h | 96 float rightVolume, int priority, int loop, float rate); 101 int priority() { return mPriority; } function in class:android::SoundEvent 125 int priority, int loop, float rate); 136 void setPriority(int priority) { mPriority = priority; } argument 167 int load(const char* url, int priority); 168 int load(int fd, int64_t offset, int64_t length, int priority); 170 int play(int sampleID, float leftVolume, float rightVolume, int priority, 178 void setPriority(int channelID, int priority); 201 SoundChannel* allocateChannel(int priority); [all...] |
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 96 private int loadSound(int resId, int priority) { argument 97 int id = mSoundPool.load(getApplicationContext(), resId, priority); 198 if (DEBUG) Log.d(LOG_TAG, "Begin priority test"); 201 // play a normal priority looping sound 211 // play a low priority sound 215 Log.e(LOG_TAG, "Normal > Low priority test failed"); 219 Log.e(LOG_TAG, "Normal > Low priority test passed"); 223 // play a high priority sound 227 Log.e(LOG_TAG, "High > Normal priority test failed"); 230 Log.e(LOG_TAG, "High > Normal priority tes [all...] |
/frameworks/base/core/java/android/server/ |
H A D | BluetoothA2dpService.java | 449 public synchronized boolean setSinkPriority(BluetoothDevice device, int priority) { argument 456 Settings.Secure.getBluetoothA2dpSinkPriorityKey(device.getAddress()), priority); 503 // Bump priority
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 42 public static final String priorityVarName = "priority"; 258 public int priority; field in class:WifiConfiguration 302 priority = 0; 325 append(" BSSID: ").append(this.BSSID).append(" PRIO: ").append(this.priority). 445 dest.writeInt(priority); 472 config.priority = in.readInt();
|
/frameworks/base/awt/org/apache/harmony/awt/gl/font/ |
H A D | TextRunBreaker.java | 776 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...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 43 * and/or path) in an Intent. It also includes a "priority" value which is 138 * The filter {@link #setPriority} value at which system high-priority 148 * The filter {@link #setPriority} value at which system low-priority 401 * Modify priority of this filter. The default priority is 0. Positive 407 * @param priority The new priority value. 413 public final void setPriority(int priority) { argument 414 mPriority = priority; 418 * Return the priority o [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1191 * @param priority The log priority to use. 1195 public void dump(int priority, String tag, String prefix) { argument 1196 AssetManager.dumpTheme(mTheme, priority, tag, prefix);
|
H A D | AssetManager.java | 733 /*package*/ native static final void dumpTheme(int theme, int priority, String tag, String prefix); argument
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_api.c | 519 int priority[8] = {1, 2, 4, 3, 8, 6, 7, 5}; local 538 /** check the right priority */ 568 /**get priority by Indicator*/ 574 if(priority[num1] > priority[num2]) { 577 } else if(priority[pCurConstraint->Indicator] < priority[pCompareConstraint->Indicator]) 628 /** check the right priority */ 668 /** refresh the right priority */
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 221 // Message id for setting priority 1333 * Set the priority of the Render thread. Unlike the other settings, this 1336 * @param priority RenderPriority, can be normal, high or low. 1338 public synchronized void setRenderPriority(RenderPriority priority) { argument 1339 if (mRenderPriority != priority) { 1340 mRenderPriority = priority;
|