/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 110 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/ |
D | SchedulingPolicyService.java | 83 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/ |
D | SchedulingPolicyService.cpp | 31 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()
|
D | ISchedulingPolicyService.cpp | 42 int32_t prio, bool isForApp, bool asynchronous) in requestPriority() argument 48 data.writeInt32(prio); in requestPriority()
|
D | ISchedulingPolicyService.h | 30 int32_t prio, bool isForApp, bool asynchronous) = 0;
|
/frameworks/native/vulkan/libvulkan/ |
D | api.cpp | 166 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/ |
D | ISchedulingPolicyService.aidl | 32 int requestPriority(int pid, int tid, int prio, boolean isForApp); in requestPriority() argument
|
/frameworks/av/media/utils/include/mediautils/ |
D | SchedulingPolicyService.h | 30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 381 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/ |
D | Threads.h | 130 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);
|
D | Threads.cpp | 595 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()
|