Home
last modified time | relevance | path

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

12345678910

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java29 public final int priority; field in DcRequest
36 priority = priorityForApnType(apnType); in DcRequest()
40 return networkRequest.toString() + ", priority=" + priority + ", apnType=" + apnType; in toString()
55 return o.priority - priority; in compareTo()
69 sApnPriorityMap.put(apnType, networkConfig.priority); in initApnPriorities()
76 Integer priority = sApnPriorityMap.get(apnType); in priorityForApnType() local
77 return (priority != null ? priority.intValue() : 0); in priorityForApnType()
/frameworks/base/cmds/idmap/
Dscan.cpp27 apk_path(a), idmap_path(i), priority(p) {} in Overlay()
31 return rhs.priority > priority; in operator <()
36 int priority; member
103 int priority = -1; in parse_overlay_tag() local
117 priority = v.data; in parse_overlay_tag()
118 if (priority < 0 || priority > 9999) { in parse_overlay_tag()
150 return priority; in parse_overlay_tag()
166 int priority = NO_OVERLAY_TAG; in parse_manifest() local
173 priority = parse_overlay_tag(parser, target_package_name, &is_static_overlay); in parse_manifest()
180 return priority; in parse_manifest()
[all …]
/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/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/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/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/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()
DLogWriter.java42 public LogWriter(int priority, String tag) { in LogWriter() argument
43 mPriority = priority; in LogWriter()
52 public LogWriter(int priority, String tag, int buffer) { in LogWriter() argument
53 mPriority = priority; in LogWriter()
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
401 public static int printlns(int bufID, int priority, @Nullable String tag, @NonNull String msg, in printlns() argument
403 ImmediateLogWriter logWriter = new ImmediateLogWriter(bufID, priority, tag); in printlns()
460 private int priority; field in Log.ImmediateLogWriter
469 public ImmediateLogWriter(int bufID, int priority, String tag) { in ImmediateLogWriter() argument
471 this.priority = priority; in ImmediateLogWriter()
484 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
/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/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/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/services/core/java/com/android/server/display/
DDisplayModeDirector.java145 int priority = globalVotes.keyAt(i); in getVotesLocked() local
146 if (votes.indexOfKey(priority) < 0) { in getVotesLocked()
147 votes.put(priority, globalVotes.valueAt(i)); in getVotesLocked()
164 for (int priority = Vote.MAX_PRIORITY; in getAllowedModesLocked()
165 priority >= lowestConsideredPriority; in getAllowedModesLocked()
166 priority--) { in getAllowedModesLocked()
167 Vote vote = votes.get(priority); in getAllowedModesLocked()
321 private void updateVoteLocked(int priority, Vote vote) { in updateVoteLocked() argument
322 updateVoteLocked(GLOBAL_ID, priority, vote); in updateVoteLocked()
325 private void updateVoteLocked(int displayId, int priority, Vote vote) { in updateVoteLocked() argument
[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/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/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/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/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
174 if (overlay_info->priority < 0) { in Scan()
198 InputOverlay input{path, idmap_path, overlay_info->priority, fulfilled_policies, in Scan()
/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/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/media/java/android/media/audiofx/
DSourceDefaultEffect.java64 public SourceDefaultEffect(UUID type, UUID uuid, int priority, int source) { in SourceDefaultEffect() argument
68 priority, in SourceDefaultEffect()
112 int priority, in native_setup() argument
DStreamDefaultEffect.java63 public StreamDefaultEffect(UUID type, UUID uuid, int priority, int streamUsage) { in StreamDefaultEffect() argument
67 priority, in StreamDefaultEffect()
111 int priority, in native_setup() argument

12345678910