Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java110 public static String expectedSchedulerGroup(int prio) { in expectedSchedulerGroup() argument
115 for (int prio = 19; prio >= -20; prio--) { in testPassPriorityToService()
116 Process.setThreadPriority(prio); in testPassPriorityToService()
119 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()
120 assertEquals(expectedSchedulerGroup(prio), getSchedulerGroup()); in testPassPriorityToService()
123 assertEquals(prio, mService.getThreadPriority()); in testPassPriorityToService()
124 assertEquals(expectedSchedulerGroup(prio), mService.getThreadSchedulerGroup()); in testPassPriorityToService()
129 for (int prio = -20; prio <= 19; prio++) { in testCallBackFromServiceWithPriority()
130 final int expected = prio; in testCallBackFromServiceWithPriority()
131 mService.setPriorityAndCallBack(prio, new ServiceStub() { in testCallBackFromServiceWithPriority()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java82 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority() argument
91 if (!isPermitted() || prio < PRIORITY_MIN || in requestPriority()
92 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority()
108 prio); in requestPriority()
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp31 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous) in requestPriority() argument
50 ret = sps->requestPriority(pid, tid, prio, isForApp, asynchronous); in requestPriority()
DISchedulingPolicyService.cpp42 int32_t prio, bool isForApp, bool asynchronous) in requestPriority() argument
48 data.writeInt32(prio); in requestPriority()
DISchedulingPolicyService.h30 int32_t prio, bool isForApp, bool asynchronous) = 0;
/frameworks/base/core/java/android/os/
DISchedulingPolicyService.aidl32 int requestPriority(int pid, int tid, int prio, boolean isForApp); in requestPriority() argument
/frameworks/av/media/utils/include/mediautils/
DSchedulingPolicyService.h30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
/frameworks/native/vulkan/libvulkan/
Dapi.cpp168 int prio = -PROPERTY_VALUE_MAX; in ParseDebugVulkanLayers() local
174 AddImplicitLayer(prio, p, static_cast<size_t>(delim - p)); in ParseDebugVulkanLayers()
176 prio++; in ParseDebugVulkanLayers()
181 AddImplicitLayer(prio, p, strlen(p)); in ParseDebugVulkanLayers()
1063 int prio; in DebugReportCallback() local
1066 prio = ANDROID_LOG_ERROR; in DebugReportCallback()
1069 prio = ANDROID_LOG_WARN; in DebugReportCallback()
1071 prio = ANDROID_LOG_INFO; in DebugReportCallback()
1073 prio = ANDROID_LOG_DEBUG; in DebugReportCallback()
1075 prio = ANDROID_LOG_UNKNOWN; in DebugReportCallback()
[all …]
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java382 int prio = data[i * COLUMNS + FLAGS] & Spanned.SPAN_PRIORITY; in getSpans() local
383 if (prio != 0) { in getSpans()
389 if (prio > p) { in getSpans()
/frameworks/av/services/audioflinger/
DThreads.h131 PrioConfigEventData(pid_t pid, pid_t tid, int32_t prio, bool forApp) : in PrioConfigEventData() argument
132 mPid(pid), mTid(tid), mPrio(prio), mForApp(forApp) {} in PrioConfigEventData()
147 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) : in PrioConfigEvent() argument
149 mData = new PrioConfigEventData(pid, tid, prio, forApp); in PrioConfigEvent()
300 void sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp);
301 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio, bool forApp);
DThreads.cpp630 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent() argument
633 sendPrioConfigEvent_l(pid, tid, prio, forApp); in sendPrioConfigEvent()
638 pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent_l() argument
640 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio, forApp); in sendPrioConfigEvent_l()
/frameworks/base/startop/scripts/trace_analyzer/test_fixtures/
Dcommon_systrace169 …>-13916 (-----) [002] .... 14594.229562: sched_process_exit: comm=HeapTaskDaemon pid=13916 prio=124
194 …-13917 (-----) [000] .... 14594.230015: sched_process_exit: comm=ReferenceQueueD pid=13917 prio=124
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...