Searched defs:priority (Results 1 - 25 of 66) sorted by relevance

123

/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/tools/layoutlib/bridge/src/android/util/
H A DLog_Delegate.java23 private static char priorityChar(int priority) { argument
24 switch (priority) {
43 static int println_native(int bufID, int priority, String tag, String msgs) { argument
44 String prefix = priorityChar(priority) + "/" + tag + ": ";
/frameworks/native/libs/utils/
H A DLog.cpp24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument
26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
H A Dmisc.cpp93 int priority; member in struct:android::sysprop_change_callback_info
101 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument
109 info.priority = priority;
112 if (priority >= gSyspropList->itemAt(i).priority) {
/frameworks/base/core/java/android/net/
H A DNetworkConfig.java43 * 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/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;
/frameworks/base/core/java/android/util/
H A DLogPrinter.java29 * 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 DSlog.java81 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 DLogWriter.java29 * 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) { argument
41 mPriority = priority;
50 public LogWriter(int priority, String tag, int buffer) { argument
51 mPriority = priority;
H A DLog.java325 * @param priority The priority/type of this log message
331 public static int println(int priority, String tag, String msg) { argument
332 return println_native(LOG_ID_MAIN, priority, tag, msg);
341 int priority, String tag, String msg);
340 println_native(int bufID, int priority, String tag, String msg) argument
/frameworks/support/volley/tests/src/com/android/volley/
H A DRequestTest.java53 public TestRequest(Priority priority) { argument
55 mPriority = priority;
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Thread_priv.h50 M4OSA_ThreadPriorityLevel priority; /* thread priority level */ member in struct:M4OSA_ThreadContext
/frameworks/base/core/java/android/content/pm/
H A DPermissionGroupInfo.java59 public int priority; field in class:PermissionGroupInfo
69 priority = orig.priority;
111 dest.writeInt(priority);
129 priority = source.readInt();
H A DResolveInfo.java56 * 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.
208 pw.println(prefix + "priority=" + priority
237 priority = orig.priority;
252 + " " + ci.name + " p=" + priority
[all...]
/frameworks/base/media/java/android/media/
H A DMediaInserter.java56 private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { argument
57 HashMap<Uri, List<ContentValues>> rowmap = priority ? mPriorityRowMap : mRowMap;
/frameworks/rs/driver/
H A DrsdCore.cpp45 static void SetPriority(const Context *rsc, int32_t priority);
302 void SetPriority(const Context *rsc, int32_t priority) { argument
305 setpriority(PRIO_PROCESS, dc->mWorkers.mNativeThreadId[ct], priority);
308 rsdGLSetPriority(rsc, priority);
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdCore.cpp37 static void SetPriority(const Context *rsc, int32_t priority);
284 void SetPriority(const Context *rsc, int32_t priority) { argument
287 setpriority(PRIO_PROCESS, dc->mWorkers.mNativeThreadId[ct], priority);
290 //rsdGLSetPriority(rsc, priority);
/frameworks/av/include/media/
H A DAudioEffect.h162 * the same effect type but with a higher priority. Control is returned when the
192 * on the priority parameter. If priority is higher than the priority used by the current
215 * priority: requested priority for effect control: the priority level corresponds to the
216 * value of priority parameter: negative values indicate lower priorities, positive values
217 * higher priorities, 0 being the normal priority.
229 int32_t priority
295 int32_t priority() const { return mPriority; } function in class:android::AudioEffect
[all...]
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Thread.c155 threadContext->priority = M4OSA_kThreadNormalPriority ;
213 int priority = 0; local
260 /* Set the priority based on default android priorities */
262 * outcome of this priority settings are not yet satisfactory */
265 switch(threadContext->priority)
268 priority = ANDROID_PRIORITY_NORMAL;
271 priority = ANDROID_PRIORITY_DISPLAY;
274 priority = ANDROID_PRIORITY_URGENT_DISPLAY;
277 priority = ANDROID_PRIORITY_AUDIO;
280 priority
521 M4OSA_ThreadPriorityLevel priority local
758 M4OSA_ThreadPriorityLevel* priority = local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp90 bool runOnCallingThread, bool canCallJava, int32_t priority) {
117 mName.empty() ? "ALooper" : mName.c_str(), priority);
89 start( bool runOnCallingThread, bool canCallJava, int32_t priority) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java322 * Set priority of the profile
332 * @param priority
333 * @return true if priority is set, false on error
336 public boolean setPriority(BluetoothDevice device, int priority) { argument
337 if (DBG) log("setPriority(" + device + ", " + priority + ")");
340 if (priority != BluetoothProfile.PRIORITY_OFF &&
341 priority != BluetoothProfile.PRIORITY_ON){
345 return mService.setPriority(device, priority);
356 * Get the priority of the profile.
358 * <p> The priority ca
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp106 * public static native int println_native(int buffer, int priority, String tag, String msg)
109 jint bufID, jint priority, jstring tagObj, jstring msgObj)
128 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg);
108 android_util_Log_println_native(JNIEnv* env, jobject clazz, jint bufID, jint priority, jstring tagObj, jstring msgObj) argument
/frameworks/base/media/java/android/media/audiofx/
H A DBassBoost.java86 * @param priority the priority level requested by the application for controlling the BassBoost
88 * how much the requesting application needs control of effect parameters. The normal priority
98 public BassBoost(int priority, int audioSession) argument
101 super(EFFECT_TYPE_BASS_BOOST, EFFECT_TYPE_NULL, priority, audioSession);
H A DPresetReverb.java120 * @param priority the priority level requested by the application for controlling the
123 * The normal priority is 0, above normal is a positive number, below normal a negative number.
134 public PresetReverb(int priority, int audioSession) argument
136 super(EFFECT_TYPE_PRESET_REVERB, EFFECT_TYPE_NULL, priority, audioSession);
H A DVirtualizer.java88 * @param priority the priority level requested by the application for controlling the Virtualizer
90 * how much the requesting application needs control of effect parameters. The normal priority
100 public Virtualizer(int priority, int audioSession) argument
103 super(EFFECT_TYPE_VIRTUALIZER, EFFECT_TYPE_NULL, priority, audioSession);

Completed in 451 milliseconds

123