Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 11 of 11) 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.java83 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority() argument
92 if (!isPermitted() || prio < PRIORITY_MIN || in requestPriority()
93 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority()
109 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/native/vulkan/libvulkan/
Dapi.cpp166 int prio = -PROPERTY_VALUE_MAX; in ParseDebugVulkanLayers() local
172 AddImplicitLayer(prio, p, static_cast<size_t>(delim - p)); in ParseDebugVulkanLayers()
174 prio++; in ParseDebugVulkanLayers()
179 AddImplicitLayer(prio, p, strlen(p)); in ParseDebugVulkanLayers()
1055 int prio; in DebugReportCallback() local
1058 prio = ANDROID_LOG_ERROR; in DebugReportCallback()
1061 prio = ANDROID_LOG_WARN; in DebugReportCallback()
1063 prio = ANDROID_LOG_INFO; in DebugReportCallback()
1065 prio = ANDROID_LOG_DEBUG; in DebugReportCallback()
1067 prio = ANDROID_LOG_UNKNOWN; in DebugReportCallback()
[all …]
/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/base/core/java/android/text/
DSpannableStringInternal.java381 int prio = data[i * COLUMNS + FLAGS] & Spanned.SPAN_PRIORITY; in getSpans() local
382 if (prio != 0) { in getSpans()
388 if (prio > p) { in getSpans()
/frameworks/av/services/audioflinger/
DThreads.h130 PrioConfigEventData(pid_t pid, pid_t tid, int32_t prio, bool forApp) : in PrioConfigEventData() argument
131 mPid(pid), mTid(tid), mPrio(prio), mForApp(forApp) {} in PrioConfigEventData()
146 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) : in PrioConfigEvent() argument
148 mData = new PrioConfigEventData(pid, tid, prio, forApp); in PrioConfigEvent()
299 void sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp);
300 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio, bool forApp);
DThreads.cpp595 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent() argument
598 sendPrioConfigEvent_l(pid, tid, prio, forApp); in sendPrioConfigEvent()
603 pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent_l() argument
605 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio, forApp); in sendPrioConfigEvent_l()