/frameworks/base/core/jni/ |
D | android_server_Watchdog.cpp | 31 static void dumpOneStack(int tid, int outFd) { in dumpOneStack() argument 34 snprintf(buf, sizeof(buf), "/proc/%d/stack", tid); in dumpOneStack() 51 ALOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno)); in dumpOneStack() 83 int tid = atoi(ent->d_name); in dumpKernelStacks() local 84 if (tid > 0 && tid <= 65535) { in dumpKernelStacks() 86 dumpOneStack(tid, outFd); in dumpKernelStacks()
|
D | android_util_Process.cpp | 174 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument 176 ALOGV("%s tid=%d grp=%d", __func__, tid, grp); in android_os_Process_setThreadGroup() 178 int res = set_sched_policy(tid, sp); in android_os_Process_setThreadGroup() 289 jint tid, jint policy, jint pri) in android_os_Process_setThreadScheduler() argument 294 int rc = sched_setscheduler(tid, policy, ¶m); in android_os_Process_setThreadScheduler() 337 jint tid = android_os_Process_myTid(env, clazz); in android_os_Process_setCallingThreadPriority() local 338 android_os_Process_setThreadPriority(env, clazz, tid, pri); in android_os_Process_setCallingThreadPriority()
|
/frameworks/base/core/java/android/os/ |
D | SchedulingPolicyService.java | 41 public int requestPriority(int pid, int tid, int prio) { in requestPriority() argument 50 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority() 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority() 58 Process.setThreadScheduler(tid, Process.SCHED_FIFO, prio); in requestPriority()
|
D | Process.java | 739 public static final int getThreadGroupLeader(int tid) { in getThreadGroupLeader() argument 743 Process.readProcLines("/proc/" + tid + "/status", procStatusLabels, procStatusValues); in getThreadGroupLeader() 760 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority() argument 786 public static final native void setThreadGroup(int tid, int group) in setThreadGroup() argument 840 public static final native int getThreadPriority(int tid) in getThreadPriority() argument 858 public static final native void setThreadScheduler(int tid, int policy, int priority) in setThreadScheduler() argument
|
D | ISchedulingPolicyService.aidl | 32 int requestPriority(int pid, int tid, int prio); in requestPriority() argument
|
/frameworks/native/libs/utils/ |
D | Threads.cpp | 329 int androidSetThreadPriority(pid_t tid, int pri) in androidSetThreadPriority() argument 340 if (tid == 0) { in androidSetThreadPriority() 343 policy_tid = tid; in androidSetThreadPriority() 347 } else if (getpriority(PRIO_PROCESS, tid) >= ANDROID_PRIORITY_BACKGROUND) { in androidSetThreadPriority() 356 if (setpriority(PRIO_PROCESS, tid, pri) < 0) { in androidSetThreadPriority() 366 int androidGetThreadPriority(pid_t tid) { in androidGetThreadPriority() argument 368 return getpriority(PRIO_PROCESS, tid); in androidGetThreadPriority() 879 pid_t tid; in getTid() local 882 tid = __pthread_gettid(pthread); in getTid() 885 tid = -1; in getTid() [all …]
|
/frameworks/av/services/audioflinger/ |
D | SchedulingPolicyService.cpp | 28 int requestPriority(pid_t pid, pid_t tid, int32_t prio) in requestPriority() argument 49 return sps->requestPriority(pid, tid, prio); in requestPriority()
|
D | ISchedulingPolicyService.cpp | 40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio) in requestPriority() argument 45 data.writeInt32(tid); in requestPriority()
|
D | SchedulingPolicyService.h | 24 int requestPriority(pid_t pid, pid_t tid, int32_t prio);
|
D | ISchedulingPolicyService.h | 29 virtual int requestPriority(/*pid_t*/int32_t pid, /*pid_t*/int32_t tid,
|
D | AudioFlinger.h | 99 pid_t tid, 111 pid_t tid, 515 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : in PrioConfigEvent() argument 516 ConfigEvent(CFG_EVENT_PRIO), mPid(pid), mTid(tid), mPrio(prio) {} in PrioConfigEvent() 520 pid_t tid() const { return mTid; } in tid() function 575 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio); 1085 pid_t tid, 1505 pid_t tid,
|
D | AudioFlinger.cpp | 451 pid_t tid, in createTrack() argument 506 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, &lStatus); in createTrack() 1223 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) in sendPrioConfigEvent_l() argument 1225 PrioConfigEvent *prioEvent = new PrioConfigEvent(pid, tid, prio); in sendPrioConfigEvent_l() 1228 mConfigEvents.size(), pid, tid, prio); in sendPrioConfigEvent_l() 1245 int err = requestPriority(prioEvent->pid(), prioEvent->tid(), prioEvent->prio()); in processConfigEvents() 1248 prioEvent->prio(), prioEvent->pid(), prioEvent->tid(), err); in processConfigEvents() 1719 pid_t tid, in createTrack_l() argument 1740 (tid != -1) && in createTrack_l() 1773 channelMask, sampleRate, mSampleRate, hasFastMixer(), tid, mFastTrackAvailMask); in createTrack_l() [all …]
|
/frameworks/native/include/utils/ |
D | AndroidThreads.h | 81 extern int androidSetThreadPriority(pid_t tid, int prio); 85 extern int androidGetThreadPriority(pid_t tid);
|
/frameworks/base/tools/preload/ |
D | Root.java | 84 o = process.endOperation(record.tid, record.className, in indexClassOperation() 93 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation() 98 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation()
|
D | Record.java | 76 final int tid; field in Record 120 tid = Integer.parseInt(parts[2]); in Record()
|
/frameworks/av/include/media/ |
D | IAudioFlinger.h | 68 pid_t tid, // -1 means unused, otherwise must be valid non-0 80 pid_t tid, // -1 means unused, otherwise must be valid non-0
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 512 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie() 515 glGenTextures(1, &frame.tid); in movie() 516 glBindTexture(GL_TEXTURE_2D, frame.tid); in movie() 569 glDeleteTextures(1, &frame.tid); in movie()
|
D | BootAnimation.h | 63 mutable GLuint tid; member
|
/frameworks/av/media/libmedia/ |
D | IAudioFlinger.cpp | 96 pid_t tid, in createTrack() argument 112 data.writeInt32((int32_t) tid); in createTrack() 143 pid_t tid, in openRecord() argument 157 data.writeInt32((int32_t) tid); in openRecord() 730 pid_t tid = (pid_t) data.readInt32(); in onTransact() local 735 channelMask, bufferCount, flags, buffer, output, tid, &sessionId, &status); in onTransact() 750 pid_t tid = (pid_t) data.readInt32(); in onTransact() local 754 sampleRate, format, channelMask, bufferCount, flags, tid, &sessionId, &status); in onTransact()
|
D | AudioRecord.cpp | 438 pid_t tid = -1; in openRecord_l() local 447 tid, in openRecord_l()
|
D | AudioTrack.cpp | 871 pid_t tid = -1; in createTrack_l() local 875 tid = mAudioTrackThread->getTid(); in createTrack_l() 888 tid, in createTrack_l()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipHelper.java | 262 ClientTransaction tid = responseEvent.getClientTransaction(); in handleChallenge() local 264 responseEvent.getResponse(), tid, mSipProvider, 5); in handleChallenge()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 3116 pid_t tid = androidGetTid(); in onAllocateComponent() local 3117 int prevPriority = androidGetThreadPriority(tid); in onAllocateComponent() 3118 androidSetThreadPriority(tid, ANDROID_PRIORITY_FOREGROUND); in onAllocateComponent() 3120 androidSetThreadPriority(tid, prevPriority); in onAllocateComponent()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 3816 int tid = Res_GETTYPE(resID); in getEntry() local 3817 if (tid < 0 || tid >= (int)p->getOrderedTypes().size()) { in getEntry() 3821 sp<Type> t = p->getOrderedTypes()[tid]; in getEntry()
|