/frameworks/av/services/camera/libcameraservice/ |
D | CameraServiceWatchdog.h | 69 auto watchThread(T func, uint32_t tid, uint32_t cycles, uint32_t cycleLength) { in watchThread() argument 85 res = watchThread(func, tid); in watchThread() 89 res = tempWatchdog->watchThread(func, tid); in watchThread() 95 res = watchThread(func, tid); in watchThread() 103 auto watchThread(T func, uint32_t tid) { in watchThread() argument 108 start(tid); in watchThread() 110 stop(tid); in watchThread() 124 void start(uint32_t tid); 130 void stop(uint32_t tid);
|
D | CameraServiceWatchdog.cpp | 80 void CameraServiceWatchdog::stop(uint32_t tid) in stop() argument 84 tidToCycleCounterMap.erase(tid); in stop() 91 void CameraServiceWatchdog::start(uint32_t tid) in start() argument 95 tidToCycleCounterMap[tid] = 0; in start()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | VrController.java | 230 public void setVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setVrThreadLocked() argument 239 if (tid != 0) { in setVrThreadLocked() 240 enforceThreadInProcess(tid, pid); in setVrThreadLocked() 245 setVrRenderThreadLocked(tid, proc.getCurrentSchedulingGroup(), false); in setVrThreadLocked() 247 proc.mVrThreadTid = (tid > 0) ? tid : 0; in setVrThreadLocked() 264 public void setPersistentVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setPersistentVrThreadLocked() argument 273 if (tid != 0) { in setPersistentVrThreadLocked() 274 enforceThreadInProcess(tid, pid); in setPersistentVrThreadLocked() 276 setPersistentVrRenderThreadLocked(tid, false); in setPersistentVrThreadLocked() 425 private void enforceThreadInProcess(int tid, int pid) { in enforceThreadInProcess() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ThreadPriorityBooster.java | 48 final int prevPriority = getThreadPriority(state.tid); in boost() 50 setThreadPriority(state.tid, mBoostToPriority); in boost() 64 setThreadPriority(state.tid, state.prevPriority); in reset() 80 final int prevPriority = getThreadPriority(state.tid); in setBoostToPriority() 82 setThreadPriority(state.tid, priority); in setBoostToPriority() 88 final int tid = myTid(); field in ThreadPriorityBooster.PriorityState
|
/frameworks/av/media/utils/include/mediautils/ |
D | ThreadSnapshot.h | 34 explicit ThreadSnapshot(pid_t tid = -1) { mState.reset(tid); }; 40 void setTid(pid_t tid); 70 void reset(pid_t tid);
|
D | Process.h | 103 std::string getThreadSchedAsString(pid_t tid); 113 inline std::map<std::string, double> getThreadSchedAsMap(pid_t tid) { in getThreadSchedAsMap() argument 114 return parseThreadSchedString(getThreadSchedAsString(tid)); in getThreadSchedAsMap()
|
D | SchedulingPolicyService.h | 30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false); 44 int requestSpatializerPriority(pid_t pid, pid_t tid);
|
/frameworks/av/media/utils/ |
D | SchedulingPolicyService.cpp | 32 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous) in requestPriority() argument 51 ret = sps->requestPriority(pid, tid, prio, isForApp, asynchronous); in requestPriority() 90 int requestSpatializerPriority(pid_t pid, pid_t tid) { in requestSpatializerPriority() argument 91 if (pid == -1 || tid == -1) return BAD_VALUE; in requestSpatializerPriority() 100 pid, tid, priorityBoost, false /* isForApp */, true /*asynchronous*/); in requestSpatializerPriority()
|
D | ThreadSnapshot.cpp | 31 void ThreadSnapshot::setTid(pid_t tid) { in setTid() argument 33 if (mState.mTid == tid) return; in setTid() 34 mState.reset(tid); in setTid() 64 void ThreadSnapshot::State::reset(pid_t tid) { in reset() argument 65 mTid = tid; in reset()
|
D | MediaUtilsDelayedLibrary.cpp | 23 std::string getCallStackStringForTid(pid_t tid) { in getCallStackStringForTid() argument 25 cs.update(0 /* ignoreDepth */, tid); in getCallStackStringForTid()
|
D | MediaUtilsDelayed.cpp | 49 std::string getCallStackStringForTid(pid_t tid) { in getCallStackStringForTid() argument 52 return delayedDispatchTable->getCallStackStringForTid(tid); in getCallStackStringForTid()
|
D | ISchedulingPolicyService.cpp | 41 virtual int requestPriority(int32_t pid, int32_t tid, in requestPriority() argument 47 data.writeInt32(tid); in requestPriority()
|
D | Process.cpp | 48 std::string getThreadSchedAsString(pid_t tid) { in getThreadSchedAsString() argument 51 .append("/task/").append(std::to_string(tid)).append("/sched"); in getThreadSchedAsString()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 89 static void signalExceptionForError(JNIEnv* env, int err, int tid) { in signalExceptionForError() argument 93 "Invalid argument: %d", tid); in signalExceptionForError() 97 "Given thread %d does not exist", tid); in signalExceptionForError() 101 "No permission to modify given thread %d", tid); in signalExceptionForError() 109 static void signalExceptionForPriorityError(JNIEnv* env, int err, int tid) { in signalExceptionForPriorityError() argument 113 "No permission to set the priority of %d", tid); in signalExceptionForPriorityError() 116 signalExceptionForError(env, err, tid); in signalExceptionForPriorityError() 122 static void signalExceptionForGroupError(JNIEnv* env, int err, int tid) { in signalExceptionForGroupError() argument 126 "No permission to set the group of %d", tid); in signalExceptionForGroupError() 129 signalExceptionForError(env, err, tid); in signalExceptionForGroupError() [all …]
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 82 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority() argument 92 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { in requestPriority() 98 && Process.getUidForPid(tid) != Process.AUDIOSERVER_UID) { in requestPriority() 104 Process.setThreadGroup(tid, !isForApp ? in requestPriority() 113 Process.setThreadScheduler(tid, Process.SCHED_FIFO | Process.SCHED_RESET_ON_FORK, in requestPriority()
|
/frameworks/base/core/java/android/os/ |
D | Process.java | 1005 public static final int getThreadGroupLeader(int tid) { in getThreadGroupLeader() argument 1009 Process.readProcLines("/proc/" + tid + "/status", procStatusLabels, procStatusValues); in getThreadGroupLeader() 1026 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority() argument 1055 public static final native void setThreadGroup(int tid, int group) in setThreadGroup() argument 1070 public static final native void setThreadGroupAndCpuset(int tid, int group) in setThreadGroupAndCpuset() argument 1195 public static final native int getThreadPriority(int tid) in getThreadPriority() argument 1213 public static final native int getThreadScheduler(int tid) in getThreadScheduler() argument 1232 public static final native void setThreadScheduler(int tid, int policy, int priority) in setThreadScheduler() argument 1484 public static final boolean isThreadInProcess(int tid, int pid) { in isThreadInProcess() argument 1487 if (Os.access("/proc/" + tid + "/task/" + pid, OsConstants.F_OK)) { in isThreadInProcess()
|
/frameworks/native/services/schedulerservice/ |
D | SchedulingPolicyService.cpp | 38 Return<bool> SchedulingPolicyService::requestPriority(int32_t pid, int32_t tid, int32_t priority) { in requestPriority() argument 50 int value = ::android::requestPriority(pid, tid, priority, false /* isForApp */); in requestPriority()
|
/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()
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | audio.c | 189 pthread_t tid; in init_audio() local 216 pthread_create(&tid, NULL, capture_thread, NULL); in init_audio() 217 pthread_create(&tid, NULL, play_thread, pcm); in init_audio()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | StorageSessionController.java | 194 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted() argument 203 connection.notifyAnrDelayStarted(packageName, uid, tid, reason); in notifyAnrDelayStarted() 397 public void notifyAppIoBlocked(String volumeUuid, int uid, int tid, in notifyAppIoBlocked() argument 406 connection.notifyAppIoBlocked(volumeUuid, uid, tid, reason); in notifyAppIoBlocked() 416 public void notifyAppIoResumed(String volumeUuid, int uid, int tid, in notifyAppIoResumed() argument 425 connection.notifyAppIoResumed(volumeUuid, uid, tid, reason); in notifyAppIoResumed()
|
D | StorageUserConnection.java | 157 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted() argument 163 mActiveConnection.notifyAnrDelayStarted(packageName, uid, tid, reason); in notifyAnrDelayStarted() 249 public void notifyAppIoBlocked(String volumeUuid, int uid, int tid, in notifyAppIoBlocked() argument 263 public void notifyAppIoResumed(String volumeUuid, int uid, int tid, in notifyAppIoResumed() argument 436 public void notifyAnrDelayStarted(String packgeName, int uid, int tid, int reason) in notifyAnrDelayStarted() argument 440 service.notifyAnrDelayStarted(packgeName, uid, tid, reason); in notifyAnrDelayStarted()
|
/frameworks/base/core/java/android/service/storage/ |
D | ExternalStorageService.java | 181 public void onAnrDelayStarted(@NonNull String packageName, int uid, int tid, in onAnrDelayStarted() argument 247 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted() argument 251 onAnrDelayStarted(packageName, uid, tid, reason); in notifyAnrDelayStarted()
|
/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 148 void notifyAppIoBlocked(in String volumeUuid, int uid, int tid, int reason) = 92; in notifyAppIoBlocked() argument 149 void notifyAppIoResumed(in String volumeUuid, int uid, int tid, int reason) = 93; in notifyAppIoResumed() argument 151 boolean isAppIoBlocked(in String volumeUuid, int uid, int tid, int reason) = 95; in isAppIoBlocked() argument
|
/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/minikin/tests/stresstest/ |
D | MultithreadTest.cpp | 62 static void thread_main(int tid) { in thread_main() argument 69 std::mt19937 mt(tid); in thread_main()
|