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

123456789

/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.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 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;
/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/hardware/interfaces/schedulerservice/1.0/
H A DISchedulingPolicyService.hal25 * Request real-time priority for a specific thread in a process.
29 * @param priority Value within [Priority:MIN, Priority:MAX]
31 * @return success whether or not priority was successfully set
33 requestPriority(int32_t pid, int32_t tid, int32_t priority)
37 * Must return 0 if no priority is allowed.
39 * @return priority Max priority that can be set with
42 getMaxAllowedPriority() generates (int32_t priority);
/frameworks/native/services/schedulerservice/
H A DSchedulingPolicyService.cpp35 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { argument
36 if (priority < static_cast<int32_t>(Priority::MIN) ||
37 priority > static_cast<int32_t>(Priority::MAX)) {
47 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */);
/frameworks/base/core/tests/coretests/src/android/os/
H A DIBinderThreadPriorityService.aidl23 void setPriorityAndCallBack(int priority, IBinderThreadPriorityService recurse);
H A DBinderThreadPriorityService.java49 public void setPriorityAndCallBack(int priority, IBinderThreadPriorityService recurse) {
50 Process.setThreadPriority(priority);
/frameworks/av/include/media/stagefright/
H A DProcessInfoInterface.h25 virtual bool getPriority(int pid, int* priority) = 0;
H A DProcessInfo.h29 virtual bool getPriority(int pid, int* priority);
/frameworks/av/media/libstagefright/foundation/include/
H A DProcessInfoInterface.h25 virtual bool getPriority(int pid, int* priority) = 0;
H A DProcessInfo.h29 virtual bool getPriority(int pid, int* priority);
/frameworks/av/media/libstagefright/include/
H A DProcessInfoInterface.h25 virtual bool getPriority(int pid, int* priority) = 0;
H A DProcessInfo.h29 virtual bool getPriority(int pid, int* priority);
/frameworks/base/services/core/java/com/android/server/
H A DServiceThread.java32 public ServiceThread(String name, int priority, boolean allowIo) { argument
33 super(name, priority);
H A DThreadPriorityBooster.java68 * Updates the priority we boost the threads to, and updates the current thread's priority if
71 protected void setBoostToPriority(int priority) { argument
75 mBoostToPriority = priority;
79 if (state.regionCounter != 0 && prevPriority != priority) {
80 setThreadPriority(tid, priority);
89 * the thread's priority.
94 * The thread's previous priority before boosting.
/frameworks/native/services/vr/performanced/
H A Dperformance_service.cpp59 .priority = fifo_medium}},
63 .priority = fifo_medium + 3}},
67 .priority = fifo_medium}},
71 .priority = fifo_medium}},
75 .priority = fifo_medium + 2}},
79 .priority = fifo_low}},
83 .priority = fifo_low}},
87 .priority = fifo_low + 1}},
91 .priority = 0}},
95 .priority
[all...]
/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();
/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/jni/include/android_runtime/
H A DLog.h27 #define LOG_EX(env, priority, tag, ...) \
28 jniLogException(env, ANDROID_##priority, tag, ##__VA_ARGS__)
/frameworks/ex/framesequence/jni/utils/
H A Dlog.h136 * verbose priority.
148 * debug priority.
156 * info priority.
164 * warn priority.
172 * error priority.
242 #define ALOG(priority, tag, ...) \
243 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
247 * Log macro that allows you to specify a number for the priority.
250 #define LOG_PRI(priority, tag, ...) \
251 __android_log_print(priority, ta
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcRequest.java41 public final int priority; field in class:DcRequest
48 priority = priorityForApnId(apnId);
52 return networkRequest.toString() + ", priority=" + priority + ", apnId=" + apnId;
67 return o.priority - priority;
153 sApnPriorityMap.put(apnId, networkConfig.priority);
160 Integer priority = sApnPriorityMap.get(apnId);
161 return (priority != null ? priority
[all...]
/frameworks/base/cmds/idmap/
H A Dscan.cpp27 apk_path(a), idmap_path(i), priority(p) {}
31 return rhs.priority > priority;
36 int priority; member in struct:__anon1028::Overlay
103 int priority = -1; local
114 } else if (key == String16("priority")) {
117 priority = v.data;
118 if (priority < 0 || priority > 9999) {
150 return priority;
166 int priority = NO_OVERLAY_TAG; local
226 int priority = parse_manifest(buf, static_cast<size_t>(uncompLen), target_package_name); local
260 int priority = parse_apk(overlay_apk_path, target_package_name); local
275 Overlay overlay(String8(overlay_apk_path), idmap_path, priority); local
[all...]
/frameworks/base/media/java/android/media/
H A DSoundPool.java58 * on priority and then by age within that priority. Limiting the maximum
75 * <p>Priority runs low to high, i.e. higher numbers are higher priority.
79 * the lowest priority stream. If there are multiple streams with the same
80 * low priority, it will choose the oldest stream to stop. In the case
81 * where the priority of the new stream is lower than all the active
103 * is stopped to allow a higher priority stream to play, the stream is no
188 * @param priority the priority of the sound. Currently has no effect. Use
192 public int load(String path, int priority) { argument
223 load(Context context, int resId, int priority) argument
245 load(AssetFileDescriptor afd, int priority) argument
271 load(FileDescriptor fd, long offset, long length, int priority) argument
311 play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
450 setPriority(int streamID, int priority) argument
512 _load(FileDescriptor fd, long offset, long length, int priority) argument
517 _play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothPbapClient.aidl32 boolean setPriority(in BluetoothDevice device, int priority);

Completed in 3111 milliseconds

123456789