/frameworks/av/services/audioflinger/ |
H A D | ISchedulingPolicyService.cpp | 40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio, bool asynchronous) argument 45 data.writeInt32(tid);
|
H A D | SchedulingPolicyService.cpp | 31 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous) argument 50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
|
H A D | Threads.h | 123 PrioConfigEventData(pid_t pid, pid_t tid, int32_t prio) : argument 124 mPid(pid), mTid(tid), mPrio(prio) {} 127 snprintf(buffer, size, "Prio event: pid %d, tid %d, prio %d\n", mPid, mTid, mPrio); 137 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : argument 139 mData = new PrioConfigEventData(pid, tid, prio); 258 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio); 538 pid_t tid, 1091 pid_t tid,
|
H A D | AudioFlinger.cpp | 542 pid_t tid, 625 channelMask, frameCount, sharedBuffer, lSessionId, flags, tid, clientUid, &lStatus); 1382 pid_t tid, 1454 flags, tid, &lStatus); 533 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, IAudioFlinger::track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument 1375 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *frameCount, IAudioFlinger::track_flags_t *flags, pid_t tid, int *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
|
H A D | Threads.cpp | 429 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) argument 431 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio); 482 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d", 1360 pid_t tid, 1383 (tid != -1) && 1418 "hasFastMixer=%d tid=%d fastTrackAvailMask=%#x", 1421 channelMask, sampleRate, mSampleRate, hasFastMixer(), tid, mFastTrackAvailMask); 1534 if ((*flags & IAudioFlinger::TRACK_FAST) && (tid != -1)) { 1538 sendPrioConfigEvent_l(callingPid, tid, kPriorityAudioApp); 2913 pid_t tid local 1350 createTrack_l( const sp<AudioFlinger::Client>& client, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, const sp<IMemory>& sharedBuffer, int sessionId, IAudioFlinger::track_flags_t *flags, pid_t tid, int uid, status_t *status) argument 5054 pid_t tid = mFastCapture->getTid(); local [all...] |
/frameworks/base/services/core/java/com/android/server/os/ |
H A D | SchedulingPolicyService.java | 40 public int requestPriority(int pid, int tid, int prio) { argument 41 //Log.i(TAG, "requestPriority(pid=" + pid + ", tid=" + tid + ", prio=" + prio + ")"); 46 // we can't trust the tid. No need to explicitly check for pid == 0 || tid == 0, 49 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? 57 Process.setThreadScheduler(tid, Process.SCHED_FIFO, prio);
|
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 31 static void dumpOneStack(int tid, int outFd) { argument 34 snprintf(buf, sizeof(buf), "/proc/%d/stack", tid); 51 ALOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno)); 83 int tid = atoi(ent->d_name); local 84 if (tid > 0 && tid <= 65535) { 86 dumpOneStack(tid, outFd);
|
H A D | android_util_Process.cpp | 164 void android_os_Process_setThreadGroup(JNIEnv* env, jobject clazz, int tid, jint grp) argument 166 ALOGV("%s tid=%d grp=%" PRId32, __func__, tid, grp); 168 int res = set_sched_policy(tid, sp); 274 ALOGV("Process.setCanSelfBackground(%d) : tid=%d", bgOk, androidGetTid()); 288 jint tid, jint policy, jint pri) 293 int rc = sched_setscheduler(tid, policy, ¶m); 287 android_os_Process_setThreadScheduler(JNIEnv* env, jclass clazz, jint tid, jint policy, jint pri) argument
|
/frameworks/base/tools/preload/ |
H A D | Record.java | 86 final int tid; field in class:Record 130 tid = Integer.parseInt(parts[2]);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 64 mutable GLuint tid; member in struct:android::BootAnimation::Animation::Frame
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | audio.c | 191 pthread_t tid; local 218 pthread_create(&tid, NULL, capture_thread, NULL); 219 pthread_create(&tid, NULL, play_thread, pcm);
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 446 pid_t tid = -1; local 450 tid = mAudioRecordThread->getTid(); 483 tid,
|
H A D | AudioTrack.cpp | 1086 pid_t tid = -1; local 1090 tid = mAudioTrackThread->getTid(); 1115 tid,
|
H A D | IAudioFlinger.cpp | 103 pid_t tid, 127 data.writeInt32((int32_t) tid); 177 pid_t tid, 195 data.writeInt32((int32_t) tid); 922 pid_t tid = (pid_t) data.readInt32(); local 934 channelMask, &frameCount, &flags, buffer, output, tid, 953 pid_t tid = (pid_t) data.readInt32(); local 960 sampleRate, format, channelMask, &frameCount, &flags, tid, &sessionId, 94 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, int clientUid, status_t *status) argument 170 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, pid_t tid, int *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 138 int tid; local 143 if (!(tid = atoi(de->d_name))) { 147 if (tid == pid) 150 sprintf(commpath,"/proc/%d/comm", tid); 164 func(pid, tid, comm); 174 void show_wchan(int pid, int tid, const char *name) { argument 182 sprintf(path, "/proc/%d/wchan", tid); 194 pid == tid ? 0 : 3, "", name); 196 printf("%-7d %-32s %s\n", tid, name_buffer, buffer);
|
/frameworks/base/core/java/android/os/ |
H A D | Process.java | 841 * @param tid the thread id 843 * This is same as what getpid(2) would return if called by tid. 846 public static final int getThreadGroupLeader(int tid) { argument 850 Process.readProcLines("/proc/" + tid + "/status", procStatusLabels, procStatusValues); 857 * @param tid The identifier of the thread/process to change. 862 * <var>tid</var> does not exist. 867 public static final native void setThreadPriority(int tid, int priority) argument 882 * @param tid The identifier of the thread to change. 886 * <var>tid</var> does not exist. 893 public static final native void setThreadGroup(int tid, in argument 955 getThreadPriority(int tid) argument 973 setThreadScheduler(int tid, int policy, int priority) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 4883 pid_t tid = androidGetTid(); local 4884 int prevPriority = androidGetThreadPriority(tid); 4885 androidSetThreadPriority(tid, ANDROID_PRIORITY_FOREGROUND); 4887 androidSetThreadPriority(tid, prevPriority);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 4240 int tid = Res_GETTYPE(resID); local 4241 if (tid < 0 || tid >= (int)p->getOrderedTypes().size()) { 4245 sp<Type> t = p->getOrderedTypes()[tid];
|