Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/frameworks/base/cmds/idmap/
Dscan.cpp26 apk_path(a), idmap_path(i), priority(p) {} in Overlay()
30 return rhs.priority > priority; in operator <()
35 int priority; member
96 int priority = -1; in parse_overlay_tag() local
110 priority = v.data; in parse_overlay_tag()
111 if (priority < 0 || priority > 9999) { in parse_overlay_tag()
143 return priority; in parse_overlay_tag()
159 int priority = NO_OVERLAY_TAG; in parse_manifest() local
166 priority = parse_overlay_tag(parser, target_package_name, &is_static_overlay); in parse_manifest()
173 return priority; in parse_manifest()
[all …]
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/summary/
DDeferredAction.java27 public final int priority; field in DeferredAction
29 public DeferredAction(String deferredNotificationDescription, boolean completed, int priority) { in DeferredAction() argument
32 this.priority = priority; in DeferredAction()
40 return priority - o.priority; in compareTo()
DSummaryAction.java28 public final int priority; field in SummaryAction
40 int priority, in SummaryAction() argument
50 this.priority = priority; in SummaryAction()
63 return priority - o.priority; in compareTo()
/frameworks/hardware/interfaces/schedulerservice/1.0/
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/base/core/java/com/android/internal/os/
DAndroidPrintStream.java29 private final int priority; field in AndroidPrintStream
39 public AndroidPrintStream(int priority, String tag) { in AndroidPrintStream() argument
44 this.priority = priority; in AndroidPrintStream()
49 Log.println(priority, tag, line); in log()
/frameworks/base/media/java/android/media/
DSoundPool.java192 public int load(String path, int priority) { in load() argument
199 id = _load(fd.getFileDescriptor(), 0, f.length(), priority); in load()
223 public int load(Context context, int resId, int priority) { in load() argument
227 id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority); in load()
245 public int load(AssetFileDescriptor afd, int priority) { in load() argument
251 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority); in load()
271 public int load(FileDescriptor fd, long offset, long length, int priority) { in load() argument
272 return _load(fd, offset, length, priority); in load()
312 int priority, int loop, float rate) { in play() argument
314 return _play(soundID, leftVolume, rightVolume, priority, loop, rate); in play()
[all …]
/frameworks/ex/framesequence/jni/utils/
Dlog.h242 #define ALOG(priority, tag, ...) \ argument
243 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
250 #define LOG_PRI(priority, tag, ...) \ argument
251 __android_log_print(priority, tag, __VA_ARGS__)
258 #define LOG_PRI_VA(priority, tag, fmt, args) \ argument
259 __android_log_vprint(priority, NULL, tag, fmt, args)
266 #define IF_ALOG(priority, tag) \ argument
267 if (__android_log_assert(ANDROID_##priority, tag))
/frameworks/native/services/vr/performanced/
Dperformance_service.cpp161 .priority = fifo_medium, in PerformanceService()
166 .priority = fifo_medium + 3, in PerformanceService()
171 .priority = fifo_medium, in PerformanceService()
176 .priority = fifo_medium, in PerformanceService()
181 .priority = fifo_medium + 2, in PerformanceService()
186 .priority = fifo_low, in PerformanceService()
191 .priority = fifo_low, in PerformanceService()
196 .priority = fifo_low + 1, in PerformanceService()
201 .priority = fifo_medium + 2, in PerformanceService()
207 .priority = fifo_medium + 1, in PerformanceService()
[all …]
/frameworks/base/core/java/android/util/
DLogPrinter.java40 public LogPrinter(int priority, String tag) { in LogPrinter() argument
41 mPriority = priority; in LogPrinter()
50 public LogPrinter(int priority, String tag, int buffer) { in LogPrinter() argument
51 mPriority = priority; in LogPrinter()
DLog.java375 public static int println(@Level int priority, @Nullable String tag, @NonNull String msg) { in println() argument
376 return println_native(LOG_ID_MAIN, priority, tag, msg); in println()
387 public static native int println_native(int bufID, int priority, String tag, String msg); in println_native() argument
403 public static int logToRadioBuffer(@Level int priority, @Nullable String tag, in logToRadioBuffer() argument
405 return println_native(LOG_ID_RADIO, priority, tag, message); in logToRadioBuffer()
420 public static int printlns(int bufID, int priority, @Nullable String tag, @NonNull String msg, in printlns() argument
422 ImmediateLogWriter logWriter = new ImmediateLogWriter(bufID, priority, tag); in printlns()
479 private int priority; field in Log.ImmediateLogWriter
488 public ImmediateLogWriter(int bufID, int priority, String tag) { in ImmediateLogWriter() argument
490 this.priority = priority; in ImmediateLogWriter()
[all …]
DLogWriter.java43 public LogWriter(int priority, String tag) { in LogWriter() argument
44 mPriority = priority; in LogWriter()
53 public LogWriter(int priority, String tag, int buffer) { in LogWriter() argument
54 mPriority = priority; in LogWriter()
/frameworks/native/services/schedulerservice/
DSchedulingPolicyService.cpp38 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { in requestPriority() argument
39 if (priority < static_cast<int32_t>(Priority::MIN) || in requestPriority()
40 priority > static_cast<int32_t>(Priority::MAX)) { in requestPriority()
50 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */); in requestPriority()
/frameworks/layoutlib/bridge/src/android/util/
DLog_Delegate.java23 private static char priorityChar(int priority) { in priorityChar() argument
24 switch (priority) { in priorityChar()
43 static int println_native(int bufID, int priority, String tag, String msgs) { in println_native() argument
44 String prefix = priorityChar(priority) + "/" + tag + ": "; in println_native()
/frameworks/base/media/jni/soundpool/
DSoundPool.h94 float rightVolume, int priority, int loop, float rate);
99 int priority() { return mPriority; } in priority() function
123 int priority, int loop, float rate);
135 void setPriority(int priority) { mPriority = priority; } in setPriority() argument
170 int load(int fd, int64_t offset, int64_t length, int priority);
172 int play(int sampleID, float leftVolume, float rightVolume, int priority,
181 void setPriority(int channelID, int priority);
203 SoundChannel* allocateChannel_l(int priority, int sampleID);
DSoundPool.cpp219 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused) in load()
222 fd, offset, length, priority); in load()
248 int priority, int loop, float rate) in play() argument
251 sampleID, leftVolume, rightVolume, priority, loop, rate); in play()
270 channel = allocateChannel_l(priority, sampleID); in play()
281 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate); in play()
285 SoundChannel* SoundPool::allocateChannel_l(int priority, int sampleID) in allocateChannel_l() argument
305 if (priority >= (*iter)->priority()) { in allocateChannel_l()
314 channel->setPriority(priority); in allocateChannel_l()
316 if (priority < (*iter)->priority()) { in allocateChannel_l()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java51 public String toString(int priority) { in toString() argument
54 return sub.getClass().getSimpleName() + " [0x" + id + ", P" + priority + "]"; in toString()
66 int priority; field in EventHandler
70 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { in EventHandler() argument
73 this.priority = priority; in EventHandler()
78 return subscriber.toString(priority) + " " + method.toString(); in toString()
310 if (h1.priority != h2.priority) {
311 return h2.priority - h1.priority;
390 public void register(Object subscriber, int priority) { in register() argument
391 registerSubscriber(subscriber, priority); in register()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java35 public final int priority; field in DcRequest
41 priority = apnPriority; in DcRequest()
85 return networkRequest.toString() + ", priority=" + priority + ", apnType=" + apnType; in toString()
100 return o.priority - priority; in compareTo()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java95 int priority = (mAppTransitionRunning || mBoundsAnimationRunning) in updatePriorityLocked() local
97 setBoostToPriority(priority); in updatePriorityLocked()
98 setThreadPriority(mAnimationThreadId, priority); in updatePriorityLocked()
99 setThreadPriority(mSurfaceAnimationThreadId, priority); in updatePriorityLocked()
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java73 protected void setBoostToPriority(int priority) { in setBoostToPriority() argument
77 mBoostToPriority = priority; in setBoostToPriority()
81 if (prevPriority != priority) { in setBoostToPriority()
82 setThreadPriority(state.tid, priority); in setBoostToPriority()
/frameworks/ml/nn/runtime/
DCompilationBuilder.cpp133 int CompilationBuilder::setPriority(int32_t priority) { in setPriority() argument
139 if (priority != ANEURALNETWORKS_PRIORITY_LOW && priority != ANEURALNETWORKS_PRIORITY_MEDIUM && in setPriority()
140 priority != ANEURALNETWORKS_PRIORITY_HIGH) { in setPriority()
141 LOG(ERROR) << "ANeuralNetworksCompilation_setPriority invalid priority " << priority; in setPriority()
145 mPriority = priority; in setPriority()
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java188 public final int priority; field in OverlayInfo
209 source.category, source.baseCodePath, state, source.userId, source.priority, in OverlayInfo()
217 int priority, boolean isStatic) { in OverlayInfo() argument
225 this.priority = priority; in OverlayInfo()
239 priority = source.readInt(); in OverlayInfo()
333 dest.writeInt(priority); in writeToParcel()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java206 int priority = colorPriorities.get(supportedColorFormat); in findDecoderCodec() local
207 candidateCodecs.put(priority, info.getName()); in findDecoderCodec()
230 for (int priority = 0; priority < values.length; ++priority) { in intArrayToPriorityMap()
231 result.append(values[priority], priority); in intArrayToPriorityMap()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportUtils.java47 static void log(@Priority int priority, String tag, String message) { in log() argument
48 if (priority == Priority.WTF) { in log()
50 } else if (Log.isLoggable(tag, priority)) { in log()
51 Slog.println(priority, tag, message); in log()
/frameworks/base/core/java/android/content/pm/
DPermissionGroupInfo.java121 public int priority; field in PermissionGroupInfo
155 priority = orig.priority; in PermissionGroupInfo()
201 dest.writeInt(priority); in writeToParcel()
223 priority = source.readInt(); in PermissionGroupInfo()
/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp60 return priority < rhs.priority || (priority == rhs.priority && apk_path < rhs.apk_path); in operator <()
65 int priority; // NOLINT(misc-non-private-member-variables-in-classes) member
175 if (overlay_info->priority < 0) { in Scan()
210 InputOverlay input{path, idmap_path, overlay_info->priority, fulfilled_policies, in Scan()

12345678910>>...12