Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_server_Watchdog.cpp31 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()
Dandroid_util_Process.cpp160 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, &param); in android_os_Process_setThreadScheduler()
/frameworks/base/services/java/com/android/server/os/
DSchedulingPolicyService.java40 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/
Dutils.c113 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()
Ddumpstate.h55 void show_wchan(int pid, int tid, const char *name);
/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
45 data.writeInt32(tid); in requestPriority()
DSchedulingPolicyService.h27 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous = false);
DISchedulingPolicyService.h29 virtual int requestPriority(/*pid_t*/int32_t pid, /*pid_t*/int32_t tid,
DThreads.h83 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,
DThreads.cpp361 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 …]
DAudioFlinger.h109 pid_t tid,
122 pid_t tid,
DAudioFlinger.cpp448 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/
DProcess.java751 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
DISchedulingPolicyService.aidl32 int requestPriority(int pid, int tid, int prio); in requestPriority() argument
/frameworks/base/tools/preload/
DRoot.java84 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()
DRecord.java86 final int tid; field in Record
130 tid = Integer.parseInt(parts[2]); in Record()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifParser.java590 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/
DIAudioFlinger.h71 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/
DBootAnimation.h63 mutable GLuint tid; member
DBootAnimation.cpp512 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/
DIAudioFlinger.cpp96 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()
DAudioRecord.cpp434 pid_t tid = -1; in openRecord_l() local
445 tid = mAudioRecordThread->getTid(); in openRecord_l()
471 tid, in openRecord_l()
DAudioTrack.cpp982 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/
DSipHelper.java260 ClientTransaction tid = responseEvent.getClientTransaction(); in handleChallenge() local
262 responseEvent.getResponse(), tid, mSipProvider, 5); in handleChallenge()

12