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

123456

/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/services/core/java/com/android/server/
H A DServiceThread.java31 public ServiceThread(String name, int priority, boolean allowIo) { argument
32 super(name, priority);
H A DThreadPriorityBooster.java70 * Updates the priority we boost the threads to, and updates the current thread's priority if
73 protected void setBoostToPriority(int priority) { argument
77 mBoostToPriority = priority;
81 if (state.regionCounter != 0 && prevPriority != priority) {
82 setThreadPriority(tid, priority);
91 * the thread's priority.
96 * The thread's previous priority before boosting.
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowSlog.java29 public static int println(int priority, String tag, String msg) { argument
30 return Log.println(priority, tag, msg);
/frameworks/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/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.java40 * @param priority The priority to run the thread at. The value supplied must be from
43 public HandlerThread(String name, int priority) { argument
45 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.java119 public static int println(int priority, String tag, String msg) { argument
120 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;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DThreadedRendererCompat.java30 public static void setContextPriority(int priority) { argument
31 ThreadedRenderer.setContextPriority(priority);
/frameworks/native/services/schedulerservice/
H A DSchedulingPolicyService.cpp38 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { argument
39 if (priority < static_cast<int32_t>(Priority::MIN) ||
40 priority > static_cast<int32_t>(Priority::MAX)) {
50 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */);
/frameworks/av/media/utils/
H A DProcessInfo.cpp31 bool ProcessInfo::getPriority(int pid, int* priority) { argument
51 // Use OOM adjustments value as the priority. Lower the value, higher the priority.
52 *priority = score;
/frameworks/base/core/java/android/content/pm/
H A DPermissionGroupInfo.java70 public int priority; field in class:PermissionGroupInfo
81 priority = orig.priority;
124 dest.writeInt(priority);
143 priority = source.readInt();
/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/base/telephony/java/android/telephony/
H A DRlog.java90 public static int println(int priority, String tag, String msg) { argument
91 return Log.println_native(Log.LOG_ID_RADIO, priority, tag, msg);
/frameworks/native/services/utils/
H A DPriorityDumper.cpp22 const char16_t PriorityDumper::PRIORITY_ARG[] = u"--dump-priority";
54 PriorityType priority = PriorityType::INVALID; local
63 priority = getPriorityType(args[argIndex]);
70 switch (priority) {
/frameworks/native/services/vr/performanced/
H A Dperformance_service.h50 int priority; member in struct:android::dvr::PerformanceService::SchedulerPolicyConfig
/frameworks/support/slices/core/src/main/java/androidx/slice/core/
H A DSliceAction.java44 * Sets the priority of this action, with the lowest priority having the highest ranking.
46 SliceAction setPriority(@IntRange(from = 0) int priority); argument
74 * @return the priority associated with this action, -1 if unset.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DTile.java82 public int priority; field in class:Tile
131 dest.writeInt(priority);
153 priority = in.readInt();
/frameworks/base/services/backup/java/com/android/server/backup/transport/
H A DTransportUtils.java47 static void log(@Priority int priority, String tag, String message) { argument
48 if (priority == Priority.WTF) {
50 } else if (Log.isLoggable(tag, priority)) {
51 Slog.println(priority, tag, message);
/frameworks/multidex/library/test/src/android/util/
H A DLog.java204 * @param priority The priority/type of this log message
210 public static int println(int priority, String tag, String msg) { argument
211 return println(LOG_ID_MAIN, priority, tag, msg);
222 int priority, String tag, String msg) {
221 println(int bufID, int priority, String tag, String msg) argument
/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/opt/telephony/src/java/com/android/internal/telephony/util/
H A DSMSDispatcherUtil.java67 * @param priority Priority level of the message
87 int priority, int validityPeriod) {
90 priority);
160 * @param priority Priority level of the message
174 String message, boolean statusReportRequested, SmsHeader smsHeader, int priority) {
176 message, statusReportRequested, smsHeader, priority);
85 getSubmitPdu(boolean isCdma, String scAddr, String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, int priority, int validityPeriod) argument
173 getSubmitPduCdma(String scAddr, String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, int priority) argument
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/
H A DSliceAction.java156 * Sets the priority of this action, with the lowest priority having the highest ranking.
160 public SliceAction setPriority(@IntRange(from = 0) int priority) { argument
161 mSliceAction.setPriority(priority);
203 * @return the priority associated with this action, -1 if unset.

Completed in 2421 milliseconds

123456