Home
last modified time | relevance | path

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

12345678910>>...14

/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/base/core/java/android/content/pm/parsing/component/
DParsedPermissionGroup.java31 int priority; field in ParsedPermissionGroup
33 public void setPriority(int priority) { in setPriority() argument
34 this.priority = priority; in setPriority()
55 dest.writeInt(this.priority); in writeToParcel()
67 this.priority = in.readInt(); in ParsedPermissionGroup()
100 return priority; in getPriority()
/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.java185 public int load(String path, int priority) { in load() argument
192 id = _load(fd.getFileDescriptor(), 0, f.length(), priority); in load()
216 public int load(Context context, int resId, int priority) { in load() argument
220 id = _load(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength(), priority); in load()
238 public int load(AssetFileDescriptor afd, int priority) { in load() argument
244 return _load(afd.getFileDescriptor(), afd.getStartOffset(), len, priority); in load()
264 public int load(FileDescriptor fd, long offset, long length, int priority) { in load() argument
265 return _load(fd, offset, length, priority); in load()
305 int priority, int loop, float rate) { in play() argument
307 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/base/media/jni/soundpool/
DSoundPool.cpp67 bool checkPriority(int32_t *priority) in checkPriority() argument
69 if (*priority < 0) { in checkPriority()
70 ALOGI("negative priority %d, should be >= 0.", *priority); in checkPriority()
101 int32_t SoundPool::load(int fd, int64_t offset, int64_t length, int32_t priority) in load() argument
104 __func__, fd, (long long)offset, (long long)length, priority); in load()
106 return mSoundManager.load(fd, offset, length, priority); in load()
117 int32_t priority, int32_t loop, float rate) in play() argument
120 __func__, soundID, leftVolume, rightVolume, priority, loop, rate); in play()
126 || checkPriority(&priority) in play()
138 sound, soundID, leftVolume, rightVolume, priority, loop, rate); in play()
[all …]
/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.java379 public static int println(@Level int priority, @Nullable String tag, @NonNull String msg) { in println() argument
380 return println_native(LOG_ID_MAIN, priority, tag, msg); in println()
391 public static native int println_native(int bufID, int priority, String tag, String msg); in println_native() argument
408 public static int logToRadioBuffer(@Level int priority, @Nullable String tag, in logToRadioBuffer() argument
410 return println_native(LOG_ID_RADIO, priority, tag, message); in logToRadioBuffer()
425 public static int printlns(int bufID, int priority, @Nullable String tag, @NonNull String msg, in printlns() argument
427 ImmediateLogWriter logWriter = new ImmediateLogWriter(bufID, priority, tag); in printlns()
484 private int priority; field in Log.ImmediateLogWriter
493 public ImmediateLogWriter(int bufID, int priority, String tag) { in ImmediateLogWriter() argument
495 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/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/av/media/libmediatranscoding/tests/
DAdjustableMaxPriorityQueue_tests.cpp229 int32_t priority; in TEST() member
239 if (lhs->priority != rhs->priority) { in TEST()
240 return lhs->priority < rhs->priority; in TEST()
270 EXPECT_EQ(3, topJob->priority); in TEST()
278 EXPECT_EQ(2, topJob2->priority); in TEST()
283 jobIdToJobMap[1]->priority = 4; in TEST()
286 EXPECT_EQ(4, topJob3->priority); in TEST()
/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/base/core/java/com/android/internal/content/om/
DOverlayScanner.java45 public final int priority; field in OverlayScanner.ParsedOverlayInfo
49 int targetSdkVersion, boolean isStatic, int priority, File path) { in ParsedOverlayInfo() argument
54 this.priority = priority; in ParsedOverlayInfo()
63 packageName, targetPackageName, targetSdkVersion, isStatic, priority, path); in toString()
/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/services/backup/backuplib/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/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/om/
DOverlayInfo.java192 public final int priority; field in OverlayInfo
213 source.category, source.baseCodePath, state, source.userId, source.priority, in OverlayInfo()
221 int priority, boolean isMutable) { in OverlayInfo() argument
229 this.priority = priority; in OverlayInfo()
243 priority = source.readInt(); in OverlayInfo()
338 dest.writeInt(priority); in writeToParcel()
/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.cpp62 return priority < rhs.priority || (priority == rhs.priority && apk_path < rhs.apk_path); in operator <()
67 int priority; // NOLINT(misc-non-private-member-variables-in-classes) member
179 if (overlay_info->priority < 0) { in Scan()
214 InputOverlay input{path, idmap_path, overlay_info->priority, fulfilled_policies, in Scan()

12345678910>>...14