/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 111 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/ |
D | SchedulingPolicyService.java | 40 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/ |
D | utils.cpp | 67 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()
|
D | utils.h | 54 void log(int prio, const char* tag, const char* fmt, ...); 78 void internalLog(int prio, const char* tag, const char* fmt, va_list va);
|
D | common_time_server_packets.cpp | 65 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/ |
D | SchedulingPolicyService.cpp | 31 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()
|
D | ISchedulingPolicyService.cpp | 40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio, bool asynchronous) in requestPriority() argument 46 data.writeInt32(prio); in requestPriority()
|
D | SchedulingPolicyService.h | 27 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous = false);
|
D | ISchedulingPolicyService.h | 30 int32_t prio, bool asynchronous) = 0;
|
D | Threads.h | 123 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);
|
D | Threads.cpp | 429 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/ |
D | ISchedulingPolicyService.aidl | 32 int requestPriority(int pid, int tid, int prio); in requestPriority() argument
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 249 int prio = data[i * COLUMNS + FLAGS] & Spanned.SPAN_PRIORITY; in getSpans() local 250 if (prio != 0) { in getSpans() 256 if (prio > p) { in getSpans()
|
D | SpannableStringBuilder.java | 825 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/ |
D | lollipop.jd | 202 <p>Para ativar a opção de trazer seu próprio dispositivo em ambientes corporativos, um novo <a href…
|
D | android-5.0.jd | 216 …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…
|