Home
last modified time | relevance | path

Searched defs:tid (Results 1 – 25 of 53) sorted by relevance

123

/aosp14/system/core/libprocessgroup/
H A Dsched_policy.cpp41 int set_cpuset_policy(int tid, SchedPolicy policy) { in set_cpuset_policy()
67 int set_sched_policy(int tid, SchedPolicy policy) { in set_sched_policy()
157 static int getCGroupSubsys(int tid, const char* subsys, std::string& subgroup) { in getCGroupSubsys()
188 int get_sched_policy(int tid, SchedPolicy* policy) { in get_sched_policy()
H A Dprocessgroup.cpp123 bool CgroupGetAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in CgroupGetAttributePathForTask()
174 bool SetTaskProfiles(int tid, const std::vector<std::string>& profiles, bool use_fd_cache) { in SetTaskProfiles()
179 bool SetTaskProfiles(int tid, std::initializer_list<std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles()
184 bool SetTaskProfiles(int tid, std::span<const std::string_view> profiles, bool use_fd_cache) { in SetTaskProfiles()
626 static bool SetProcessGroupValue(int tid, const std::string& attr_name, int64_t value) { in SetProcessGroupValue()
657 bool getAttributePathForTask(const std::string& attr_name, int tid, std::string* path) { in getAttributePathForTask()
H A Dtask_profiles.h86 virtual bool IsValidForTask(int tid) const { return false; } in IsValidForTask()
113 bool IsValidForTask(int tid) const override { return true; } in IsValidForTask()
/aosp14/system/core/libutils/
H A DCallStack_test.cpp38 __attribute__((__noinline__)) extern "C" void ThreadBusyWait(std::atomic<pid_t>* tid, in ThreadBusyWait()
50 std::atomic<pid_t> tid = -1; in TEST() local
H A DProcessCallStack.cpp77 static String8 getThreadName(pid_t tid) { in getThreadName()
156 pid_t tid = -1; in update() local
212 pid_t tid = mThreadMap.keyAt(i); in printInternal() local
H A DCallStack_fuzz.cpp29 pid_t tid = dataProvider.ConsumeIntegral<pid_t>(); in LLVMFuzzerTestOneInput() local
H A DThreads.cpp299 int androidSetThreadPriority(pid_t tid, int pri) in androidSetThreadPriority()
317 int androidGetThreadPriority(pid_t tid) { in androidGetThreadPriority()
831 pid_t tid; in getTid() local
/aosp14/system/core/debuggerd/client/
H A Ddebuggerd_client.cpp96 for (int tid : tids) { in get_wchan_data() local
117 bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int timeout_ms, in debuggerd_trigger_dump()
300 int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int fd) { in dump_backtrace_to_file()
304 int dump_backtrace_to_file_timeout(pid_t tid, DebuggerdDumpType dump_type, int timeout_secs, in dump_backtrace_to_file_timeout()
/aosp14/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp108 pid_t tid; in forward_output() local
138 int32_t tid; member
142 static uint64_t pack_thread_fd(pid_t tid, int fd) { in pack_thread_fd()
213 if (!iterate_tids(current_tid, [&output_fd, &current_tid](pid_t tid) { in trace_handler()
/aosp14/system/core/debuggerd/
H A Dutil.cpp57 std::string get_thread_name(pid_t tid) { in get_thread_name()
89 pid_t tid = atoi(entry->d_name); in iterate_tids() local
H A Dcrash_dump.cpp71 static bool pid_contains_tid(int pid_proc_fd, pid_t tid) { in pid_contains_tid()
87 static bool ptrace_seize_thread(int pid_proc_fd, pid_t tid, std::string* error, int flags = 0) { in ptrace_seize_thread()
115 static bool wait_for_stop(pid_t tid, int* received_signal) { in wait_for_stop()
136 static bool ptrace_interrupt(pid_t tid, int* received_signal) { in ptrace_interrupt()
/aosp14/system/core/libcutils/
H A Dthreads.cpp34 uint64_t tid; in gettid() local
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DVrController.java234 public void setVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setVrThreadLocked()
268 public void setPersistentVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setPersistentVrThreadLocked()
429 private void enforceThreadInProcess(int tid, int pid) { in enforceThreadInProcess()
/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DStorageUserConnection.java157 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted()
249 public void notifyAppIoBlocked(String volumeUuid, int uid, int tid, in notifyAppIoBlocked()
263 public void notifyAppIoResumed(String volumeUuid, int uid, int tid, in notifyAppIoResumed()
436 public void notifyAnrDelayStarted(String packgeName, int uid, int tid, int reason) in notifyAnrDelayStarted()
H A DStorageSessionController.java195 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted()
398 public void notifyAppIoBlocked(String volumeUuid, int uid, int tid, in notifyAppIoBlocked()
417 public void notifyAppIoResumed(String volumeUuid, int uid, int tid, in notifyAppIoResumed()
/aosp14/system/core/libprocessgroup/tools/
H A Dsettaskprofile.cpp38 int tid = atoi(argv[1]); in main() local
/aosp14/system/core/llkd/
H A Dlibllkd.cpp218 bool llkIsMissingExeLink(pid_t tid) { in llkIsMissingExeLink()
236 std::string llkProcGetName(pid_t tid, const char* node = "/cmdline") { in llkProcGetName()
246 uid_t llkProcGetUid(pid_t tid) { in llkProcGetUid()
281 pid_t tid; // monitored thread id (in Z or D state). member
436 std::string llkProcGetName(pid_t tid, const char* comm, const char* cmdline) { in llkProcGetName()
460 int llkKillOneProcess(pid_t pid, char state, pid_t tid, const char* tcomm = nullptr, in llkKillOneProcess()
524 void llkPanicKernel(bool dump, pid_t tid, const char* state, const std::string& message = "") { in llkPanicKernel()
590 proc* llkTidLookup(pid_t tid) { in llkTidLookup()
598 void llkTidRemove(pid_t tid) { in llkTidRemove()
602 proc* llkTidAlloc(pid_t tid, pid_t pid, pid_t ppid, const char* comm, int time, char state, in llkTidAlloc()
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DISchedulingPolicyService.aidl32 int requestPriority(int pid, int tid, int prio, boolean isForApp); in requestPriority()
H A DProcess.java1017 public static final int getThreadGroupLeader(int tid) { in getThreadGroupLeader()
1038 public static final native void setThreadPriority(int tid, int priority) in setThreadPriority()
1067 public static final native void setThreadGroup(int tid, int group) in setThreadGroup()
1082 public static final native void setThreadGroupAndCpuset(int tid, int group) in setThreadGroupAndCpuset()
1207 public static final native int getThreadPriority(int tid) in getThreadPriority()
1225 public static final native int getThreadScheduler(int tid) in getThreadScheduler()
1244 public static final native void setThreadScheduler(int tid, int policy, int priority) in setThreadScheduler()
1535 public static final boolean isThreadInProcess(int tid, int pid) { in isThreadInProcess()
/aosp14/frameworks/base/core/proto/android/util/
H A Dlog.proto46 optional int32 tid = 6; field
60 optional int32 tid = 5; field
/aosp14/frameworks/base/core/java/android/service/storage/
H A DExternalStorageService.java181 public void onAnrDelayStarted(@NonNull String packageName, int uid, int tid, in onAnrDelayStarted()
247 public void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason) in notifyAnrDelayStarted()
H A DIExternalStorageService.aidl35 void notifyAnrDelayStarted(String packageName, int uid, int tid, int reason); in notifyAnrDelayStarted()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DThreadPriorityBooster.java88 final int tid = myTid(); field in ThreadPriorityBooster.PriorityState
/aosp14/frameworks/base/services/core/java/com/android/server/os/
H A DSchedulingPolicyService.java82 public int requestPriority(int pid, int tid, int prio, boolean isForApp) { in requestPriority()
/aosp14/frameworks/base/tools/preload/
H A DRecord.java86 final int tid; field in Record

123