/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 | 160 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) in android_os_Process_setThreadGroup() argument 162 ALOGV("%s tid=%d grp=%d", __func__, tid, grp); in android_os_Process_setThreadGroup() 164 int res = set_sched_policy(tid, sp); in android_os_Process_setThreadGroup() 284 jint tid, jint policy, jint pri) in android_os_Process_setThreadScheduler() argument 289 int rc = sched_setscheduler(tid, policy, ¶m); in android_os_Process_setThreadScheduler()
|
/frameworks/base/services/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 40 public int requestPriority(int pid, int tid, int prio) { in requestPriority() argument 49 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority() 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority() 57 Process.setThreadScheduler(tid, Process.SCHED_FIFO, prio); in requestPriority()
|
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 113 int tid; in for_each_tid_helper() local 118 if (!(tid = atoi(de->d_name))) { in for_each_tid_helper() 122 if (tid == pid) in for_each_tid_helper() 125 sprintf(commpath,"/proc/%d/comm", tid); in for_each_tid_helper() 139 func(pid, tid, comm); in for_each_tid_helper() 149 void show_wchan(int pid, int tid, const char *name) { in show_wchan() argument 157 sprintf(path, "/proc/%d/wchan", tid); in show_wchan() 169 pid == tid ? 0 : 3, "", name); in show_wchan() 171 printf("%-7d %-32s %s\n", tid, name_buffer, buffer); in show_wchan()
|
D | dumpstate.h | 55 void show_wchan(int pid, int tid, const char *name);
|
/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 45 data.writeInt32(tid); in requestPriority()
|
D | SchedulingPolicyService.h | 27 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous = false);
|
D | ISchedulingPolicyService.h | 29 virtual int requestPriority(/*pid_t*/int32_t pid, /*pid_t*/int32_t tid,
|
D | Threads.h | 83 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : in PrioConfigEvent() argument 84 ConfigEvent(CFG_EVENT_PRIO), mPid(pid), mTid(tid), mPrio(prio) {} in PrioConfigEvent() 88 pid_t tid() const { return mTid; } in tid() function 142 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio); 426 pid_t tid, 885 pid_t tid,
|
D | Threads.cpp | 361 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) in sendPrioConfigEvent_l() argument 363 PrioConfigEvent *prioEvent = new PrioConfigEvent(pid, tid, prio); in sendPrioConfigEvent_l() 366 mConfigEvents.size(), pid, tid, prio); in sendPrioConfigEvent_l() 384 int err = requestPriority(prioEvent->pid(), prioEvent->tid(), prioEvent->prio(), in processConfigEvents() 389 prioEvent->prio(), prioEvent->pid(), prioEvent->tid(), err); in processConfigEvents() 1189 pid_t tid, in createTrack_l() argument 1211 (tid != -1) && in createTrack_l() 1244 channelMask, sampleRate, mSampleRate, hasFastMixer(), tid, mFastTrackAvailMask); in createTrack_l() 1346 if ((*flags & IAudioFlinger::TRACK_FAST) && (tid != -1)) { in createTrack_l() 1350 sendPrioConfigEvent_l(callingPid, tid, kPriorityAudioApp); in createTrack_l() [all …]
|
D | AudioFlinger.h | 109 pid_t tid, 122 pid_t tid,
|
D | AudioFlinger.cpp | 448 pid_t tid, in createTrack() argument 515 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); in createTrack() 1235 pid_t tid, in openRecord() argument 1295 flags, tid, &lStatus); in openRecord()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 751 public static final int getThreadGroupLeader(int tid) { in getThreadGroupLeader() argument 755 Process.readProcLines("/proc/" + tid + "/status", procStatusLabels, procStatusValues); in getThreadGroupLeader() 772 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority() argument 798 public static final native void setThreadGroup(int tid, int group) in setThreadGroup() argument 860 public static final native int getThreadPriority(int tid) in getThreadPriority() argument 878 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/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 | 86 final int tid; field in Record 130 tid = Integer.parseInt(parts[2]); in Record()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 590 short tid = tag.getTagId(); in checkOffsetOrImageTag() local 592 if (tid == TAG_EXIF_IFD && checkAllowed(ifd, ExifInterface.TAG_EXIF_IFD)) { in checkOffsetOrImageTag() 597 } else if (tid == TAG_GPS_IFD && checkAllowed(ifd, ExifInterface.TAG_GPS_IFD)) { in checkOffsetOrImageTag() 601 } else if (tid == TAG_INTEROPERABILITY_IFD in checkOffsetOrImageTag() 606 } else if (tid == TAG_JPEG_INTERCHANGE_FORMAT in checkOffsetOrImageTag() 611 } else if (tid == TAG_JPEG_INTERCHANGE_FORMAT_LENGTH in checkOffsetOrImageTag() 616 } else if (tid == TAG_STRIP_OFFSETS && checkAllowed(ifd, ExifInterface.TAG_STRIP_OFFSETS)) { in checkOffsetOrImageTag() 630 } else if (tid == TAG_STRIP_BYTE_COUNTS in checkOffsetOrImageTag()
|
/frameworks/av/include/media/ |
D | IAudioFlinger.h | 71 pid_t tid, // -1 means unused, otherwise must be valid non-0 87 pid_t tid, // -1 means unused, otherwise must be valid non-0
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 63 mutable GLuint tid; member
|
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()
|
/frameworks/av/media/libmedia/ |
D | IAudioFlinger.cpp | 96 pid_t tid, in createTrack() argument 119 data.writeInt32((int32_t) tid); in createTrack() 155 pid_t tid, in openRecord() argument 169 data.writeInt32((int32_t) tid); in openRecord() 765 pid_t tid = (pid_t) data.readInt32(); in onTransact() local 778 channelMask, frameCount, &flags, buffer, output, tid, in onTransact() 796 pid_t tid = (pid_t) data.readInt32(); in onTransact() local 800 sampleRate, format, channelMask, frameCount, &flags, tid, &sessionId, &status); in onTransact()
|
D | AudioRecord.cpp | 434 pid_t tid = -1; in openRecord_l() local 445 tid = mAudioRecordThread->getTid(); in openRecord_l() 471 tid, in openRecord_l()
|
D | AudioTrack.cpp | 982 pid_t tid = -1; in createTrack_l() local 986 tid = mAudioTrackThread->getTid(); in createTrack_l() 1004 tid, in createTrack_l()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipHelper.java | 260 ClientTransaction tid = responseEvent.getClientTransaction(); in handleChallenge() local 262 responseEvent.getResponse(), tid, mSipProvider, 5); in handleChallenge()
|