Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java111 public static String expectedSchedulerGroup(int prio) { in expectedSchedulerGroup() argument
116 for (int prio = 19; prio >= -20; prio--) { in testPassPriorityToService()
117 Process.setThreadPriority(prio); in testPassPriorityToService()
120 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()
121 assertEquals(expectedSchedulerGroup(prio), getSchedulerGroup()); in testPassPriorityToService()
124 assertEquals(prio, mService.getThreadPriority()); in testPassPriorityToService()
125 assertEquals(expectedSchedulerGroup(prio), mService.getThreadSchedulerGroup()); in testPassPriorityToService()
130 for (int prio = -20; prio <= 19; prio++) { in testCallBackFromServiceWithPriority()
131 final int expected = prio; in testCallBackFromServiceWithPriority()
132 mService.setPriorityAndCallBack(prio, new ServiceStub() { in testCallBackFromServiceWithPriority()
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java43 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority() argument
52 if (!isPermitted() || prio < PRIORITY_MIN || in requestPriority()
53 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority()
69 prio); in requestPriority()
/frameworks/base/libs/common_time/
Dutils.cpp67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { in log() argument
70 internalLog(prio, tag, fmt, argp); in log()
81 void LogRing::internalLog(int prio, in internalLog() argument
110 LOG_PRI_VA(prio, tag, fmt, argp); in internalLog()
Dutils.h54 void log(int prio, const char* tag, const char* fmt, ...);
78 void internalLog(int prio, const char* tag, const char* fmt, va_list va);
Dcommon_time_server_packets.cpp65 inline uint64_t packDeviceID(uint64_t devID, uint8_t prio) { in packDeviceID() argument
67 (static_cast<uint64_t>(prio) << kDevicePriorityShift); in packDeviceID()
/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.cpp41 int32_t prio, bool isForApp, bool asynchronous) in requestPriority() argument
47 data.writeInt32(prio); in requestPriority()
DISchedulingPolicyService.h30 int32_t prio, bool isForApp, bool asynchronous) = 0;
/frameworks/native/vulkan/libvulkan/
Dapi.cpp142 int prio = -PROPERTY_VALUE_MAX; in ParseDebugVulkanLayers() local
148 AddImplicitLayer(prio, p, static_cast<size_t>(delim - p)); in ParseDebugVulkanLayers()
150 prio++; in ParseDebugVulkanLayers()
155 AddImplicitLayer(prio, p, strlen(p)); in ParseDebugVulkanLayers()
1026 int prio; in DebugReportCallback() local
1029 prio = ANDROID_LOG_ERROR; in DebugReportCallback()
1032 prio = ANDROID_LOG_WARN; in DebugReportCallback()
1034 prio = ANDROID_LOG_INFO; in DebugReportCallback()
1036 prio = ANDROID_LOG_DEBUG; in DebugReportCallback()
1038 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.h27 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java334 int prio = data[i * COLUMNS + FLAGS] & Spanned.SPAN_PRIORITY; in getSpans() local
335 if (prio != 0) { in getSpans()
341 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()
273 void sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp);
274 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio, bool forApp);
DThreads.cpp615 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent() argument
618 sendPrioConfigEvent_l(pid, tid, prio, forApp); in sendPrioConfigEvent()
623 pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent_l() argument
625 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio, forApp); in sendPrioConfigEvent_l()