Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java111 public static String expectedSchedulerGroup(int prio) { in expectedSchedulerGroup() argument
112 return prio < Process.THREAD_PRIORITY_BACKGROUND ? "/" : "/bg_non_interactive"; in expectedSchedulerGroup()
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()
[all …]
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java40 public int requestPriority(int pid, int tid, int prio) { in requestPriority() argument
48 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN || in requestPriority()
49 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority()
57 Process.setThreadScheduler(tid, Process.SCHED_FIFO, 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/services/audioflinger/
DSchedulingPolicyService.cpp31 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous) in requestPriority() argument
50 ret = sps->requestPriority(pid, tid, prio, asynchronous); in requestPriority()
DISchedulingPolicyService.cpp40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio, bool asynchronous) in requestPriority() argument
46 data.writeInt32(prio); in requestPriority()
DSchedulingPolicyService.h27 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous = false);
DISchedulingPolicyService.h30 int32_t prio, bool asynchronous) = 0;
DThreads.h123 PrioConfigEventData(pid_t pid, pid_t tid, int32_t prio) : in PrioConfigEventData() argument
124 mPid(pid), mTid(tid), mPrio(prio) {} in PrioConfigEventData()
137 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : in PrioConfigEvent() argument
139 mData = new PrioConfigEventData(pid, tid, prio); in PrioConfigEvent()
260 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio);
DThreads.cpp429 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) in sendPrioConfigEvent_l() argument
431 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio); in sendPrioConfigEvent_l()
/frameworks/base/core/java/android/os/
DISchedulingPolicyService.aidl32 int requestPriority(int pid, int tid, int prio); in requestPriority() argument
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java249 int prio = data[i * COLUMNS + FLAGS] & Spanned.SPAN_PRIORITY; in getSpans() local
250 if (prio != 0) { in getSpans()
256 if (prio > p) { in getSpans()
DSpannableStringBuilder.java825 int prio = flags[i] & SPAN_PRIORITY; in getSpans() local
826 if (prio != 0) { in getSpans()
832 if (prio > p) { in getSpans()
/frameworks/base/docs/html-intl/intl/pt-br/about/versions/
Dlollipop.jd202 <p>Para ativar a opção de trazer seu próprio dispositivo em ambientes corporativos, um novo <a href…
Dandroid-5.0.jd216 …m pequeno subconjunto de seus dados, incluindo a chamada de tarefas do próprio app e, possivelment…
391 <p>É possível criar seu próprio app controlador de mídia com a nova classe {@link android.media.ses…