Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/frameworks/av/services/oboeservice/
DAAudioClientTracker.h50 aaudio_result_t registerClient(pid_t pid, const android::sp<IAAudioClient>& client);
52 void unregisterClient(pid_t pid);
54 int32_t getStreamCount(pid_t pid);
56 aaudio_result_t registerClientStream(pid_t pid,
60 pid_t pid, const android::sp<AAudioServiceStreamBase>& serviceStream);
67 void setExclusiveEnabled(pid_t pid, bool enabled);
69 bool isExclusiveEnabled(pid_t pid);
86 NotificationClient(pid_t pid, const android::sp<IBinder>& binder);
112 const pid_t mProcessId;
120 android::sp<NotificationClient> getNotificationClient_l(pid_t pid)
[all …]
DAAudioServiceStreamBase.h137 aaudio_result_t registerAudioThread(pid_t clientThreadId, int priority) EXCLUDES(mLock);
139 aaudio_result_t unregisterAudioThread(pid_t clientThreadId) EXCLUDES(mLock);
150 void setRegisteredThread(pid_t pid) { in setRegisteredThread()
154 pid_t getRegisteredThread() const { in getRegisteredThread()
175 pid_t getOwnerProcessId() const { in getOwnerProcessId()
243 RegisterAudioThreadParam(pid_t ownerPid, pid_t clientThreadId, int priority) in RegisterAudioThreadParam()
248 pid_t mOwnerPid;
249 pid_t mClientThreadId;
253 pid_t ownerPid, pid_t clientThreadId, int priority) REQUIRES(mLock);
257 explicit UnregisterAudioThreadParam(pid_t clientThreadId) in UnregisterAudioThreadParam()
[all …]
DAAudioClientTracker.cpp66 aaudio_result_t AAudioClientTracker::registerClient(pid_t pid, in registerClient()
91 void AAudioClientTracker::unregisterClient(pid_t pid) { in unregisterClient()
97 int32_t AAudioClientTracker::getStreamCount(pid_t pid) { in getStreamCount()
109 pid_t pid, const sp<AAudioServiceStreamBase>& serviceStream) { in registerClientStream()
117 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream()
131 void AAudioClientTracker::setExclusiveEnabled(pid_t pid, bool enabled) { in setExclusiveEnabled()
137 bool AAudioClientTracker::isExclusiveEnabled(pid_t pid) { in isExclusiveEnabled()
143 AAudioClientTracker::getNotificationClient_l(pid_t pid) { in getNotificationClient_l()
158 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid, const sp<IBinder>& binder) in NotificationClient()
/frameworks/native/libs/vr/libperformance/include/private/dvr/
Dperformance_client.h17 int SetSchedulerPolicy(pid_t task_id, const std::string& scheduler_policy);
18 int SetSchedulerPolicy(pid_t task_id, const char* scheduler_policy);
21 int SetCpuPartition(pid_t task_id, const std::string& partition);
22 int SetCpuPartition(pid_t task_id, const char* partition);
23 int SetSchedulerClass(pid_t task_id, const std::string& scheduler_class);
24 int SetSchedulerClass(pid_t task_id, const char* scheduler_class);
25 int GetCpuPartition(pid_t task_id, std::string* partition_out);
26 int GetCpuPartition(pid_t task_id, char* partition_out, std::size_t size);
Dperformance_rpc.h29 void(pid_t, const std::string&));
31 void(pid_t, const std::string&));
32 PDX_REMOTE_METHOD(GetCpuPartition, kOpGetCpuPartition, std::string(pid_t));
34 void(pid_t, const std::string&));
/frameworks/native/libs/vr/libperformance/
Dperformance_client.cpp22 int PerformanceClient::SetCpuPartition(pid_t task_id, in SetCpuPartition()
31 int PerformanceClient::SetCpuPartition(pid_t task_id, const char* partition) { in SetCpuPartition()
40 int PerformanceClient::SetSchedulerPolicy(pid_t task_id, in SetSchedulerPolicy()
50 int PerformanceClient::SetSchedulerPolicy(pid_t task_id, in SetSchedulerPolicy()
60 int PerformanceClient::SetSchedulerClass(pid_t task_id, in SetSchedulerClass()
70 int PerformanceClient::SetSchedulerClass(pid_t task_id, in SetSchedulerClass()
80 int PerformanceClient::GetCpuPartition(pid_t task_id, in GetCpuPartition()
93 int PerformanceClient::GetCpuPartition(pid_t task_id, char* partition_out, in GetCpuPartition()
116 extern "C" int dvrSetCpuPartition(pid_t task_id, const char* partition) { in dvrSetCpuPartition()
124 extern "C" int dvrSetSchedulerPolicy(pid_t task_id, in dvrSetSchedulerPolicy()
[all …]
/frameworks/native/libs/binderdebug/include/binderdebug/
DBinderDebug.h26 std::map<uint64_t, std::vector<pid_t>> refPids; // cookie -> processes which hold binder
40 status_t getBinderPidInfo(BinderDebugContext context, pid_t pid, BinderPidInfo* pidInfo);
44 status_t getBinderClientPids(BinderDebugContext context, pid_t pid, pid_t servicePid,
45 int32_t handle, std::vector<pid_t>* pids);
53 status_t getBinderTransactions(pid_t pid, std::string& transactionOutput);
/frameworks/native/services/vr/performanced/
Dtask.h24 explicit Task(pid_t task_id);
29 pid_t task_id() const { return task_id_; } in task_id()
31 pid_t thread_group_id() const { return thread_group_id_; } in thread_group_id()
32 pid_t parent_process_id() const { return parent_process_id_; } in parent_process_id()
50 pid_t task_id_;
55 pid_t thread_group_id_;
56 pid_t parent_process_id_;
Dperformance_service.h32 pdx::Status<void> OnSetSchedulerPolicy(pdx::Message& message, pid_t task_id,
35 pdx::Status<void> OnSetCpuPartition(pdx::Message& message, pid_t task_id,
37 pdx::Status<void> OnSetSchedulerClass(pdx::Message& message, pid_t task_id,
40 pid_t task_id);
48 void SetVrAppRenderThread(pid_t new_vr_app_render_thread);
81 pid_t vr_app_render_thread_ = -1;
/frameworks/base/libs/hwui/renderthread/
DHintSessionWrapper.h39 HintSessionWrapper(pid_t uiThreadId, pid_t renderThreadId);
53 void setActiveFunctorThreads(std::vector<pid_t> threadIds);
66 pid_t mUiThreadId;
67 pid_t mRenderThreadId;
68 std::vector<pid_t> mPermanentSessionTids;
69 std::vector<pid_t> mActiveFunctorTids;
94 int (*setThreads)(APerformanceHintSession* session, const pid_t* tids,
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dptrace_test.cc29 ScopedSigKill(pid_t p) : pid_(p) {} in ScopedSigKill()
33 pid_t pid_;
36 pid_t PrepareTracee() { in PrepareTracee()
37 pid_t child_pid = fork(); in PrepareTracee()
59 pid_t child_pid; in TEST()
75 pid_t child_pid; in TEST()
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread_map.h30 void ResetThreadTable(pid_t tid, GuestThread* thread);
31 void InsertThread(pid_t tid, GuestThread* thread);
32 GuestThread* RemoveThread(pid_t tid);
33 GuestThread* FindThread(pid_t tid);
45 ForeverMap<pid_t, GuestThread*> map_;
Dguest_thread_manager.cc81 bool GetGuestThreadAttr(pid_t tid, in GetGuestThreadAttr()
96 pid_t tid = GettidSyscall(); in ExitCurrentThread()
122 pid_t current_tid = GettidSyscall(); in FlushGuestCodeCache()
123 g_guest_thread_map_.ForEachThread([current_tid](pid_t tid, GuestThread* thread) { in FlushGuestCodeCache()
157 pid_t tid = GettidSyscall(); in AttachCurrentThread()
190 pid_t tid = GettidSyscall(); in InsertCurrentThread()
211 pid_t tid = GettidSyscall(); in DetachCurrentThread()
Dguest_thread_map.cc27 void GuestThreadMap::ResetThreadTable(pid_t tid, GuestThread* thread) { in ResetThreadTable()
33 void GuestThreadMap::InsertThread(pid_t tid, GuestThread* thread) { in InsertThread()
39 GuestThread* GuestThreadMap::RemoveThread(pid_t tid) { in RemoveThread()
48 GuestThread* GuestThreadMap::FindThread(pid_t tid) { in FindThread()
/frameworks/av/media/utils/include/mediautils/
DThreadSnapshot.h34 explicit ThreadSnapshot(pid_t tid = -1) { mState.reset(tid); };
37 pid_t getTid() const;
40 void setTid(pid_t tid);
60 pid_t mTid;
70 void reset(pid_t tid);
DSchedulingPolicyService.h30 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/native/libs/vr/libperformance/include/dvr/
Dperformance_client_api.h23 int dvrSetSchedulerPolicy(pid_t task_id, const char* scheduler_policy);
37 int dvrSetCpuPartition(pid_t task_id, const char* partition);
53 int dvrSetSchedulerClass(pid_t task_id, const char* scheduler_class);
67 int dvrGetCpuPartition(pid_t task_id, char* partition, size_t size);
/frameworks/av/services/audioflinger/
DClient.h33 virtual void removeClient_l(pid_t pid) REQUIRES(clientMutex()) = 0;
34 virtual void removeNotificationClient(pid_t pid) EXCLUDES_AudioFlinger_Mutex = 0;
45 Client(const sp<IAfClientCallback>& audioFlinger, pid_t pid);
51 pid_t pid() const { return mPid; } in pid()
58 const pid_t mPid;
/frameworks/base/libs/hwui/
DWebViewFunctorManager.h57 const std::vector<pid_t>& getRenderingThreads() const { in getRenderingThreads()
82 void reportRenderingThreads(const pid_t* thread_ids, size_t size);
83 const std::vector<pid_t>& getRenderingThreads() const { return mRenderingThreads; } in getRenderingThreads()
104 std::vector<pid_t> mRenderingThreads;
115 void reportRenderingThreads(int functor, const pid_t* thread_ids, size_t size);
116 std::vector<pid_t> getRenderingThreadsForActiveFunctors();
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelSingleProcessCpuThreadReader.cpp52 virtual bool startTrackingProcessCpuTimes(pid_t) = 0;
55 virtual bool startAggregatingTaskCpuTimes(pid_t, uint16_t) = 0;
64 getAggregatedTaskCpuFreqTimes(pid_t, const std::vector<uint16_t> &);
86 bool startTrackingProcessCpuTimes(pid_t tgid) { in startTrackingProcessCpuTimes()
90 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey) { in startAggregatingTaskCpuTimes()
95 getAggregatedTaskCpuFreqTimes(pid_t pid, const std::vector<uint16_t> &aggregationKeys) { in getAggregatedTaskCpuFreqTimes()
114 bool startTrackingProcessCpuTimes(pid_t tgid);
116 bool startAggregatingTaskCpuTimes(pid_t pid, uint16_t aggregationKey);
119 getAggregatedTaskCpuFreqTimes(pid_t tgid, const std::vector<uint16_t> &aggregationKeys);
270 bool MockCpuTimeInStateReader::startTrackingProcessCpuTimes(pid_t tgid) { in startTrackingProcessCpuTimes()
[all …]
/frameworks/base/cmds/incidentd/src/
Dincidentd_util.h88 pid_t fork_execute_cmd(char* const argv[], Fpipe* input, Fpipe* output, int* status = nullptr);
98 pid_t fork_execute_cmd(char* const argv[], int in, int out, int* status = nullptr);
113 status_t kill_child(pid_t pid);
114 status_t wait_child(pid_t pid, int timeout_ms = 1000);
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp35 std::string getExe(pid_t pid) { in getExe()
47 std::string getCmdline(pid_t pid) { in getCmdline()
81 Partition getPartitionFromCmdline(pid_t pid) { in getPartitionFromCmdline()
92 Partition getPartitionFromExe(pid_t pid) { in getPartitionFromExe()
101 Partition getPartition(pid_t pid) { in getPartition()
/frameworks/native/cmds/lshal/
DListCommand.h108 virtual bool getPidInfo(pid_t serverPid, BinderPidInfo *info) const;
110 const BinderPidInfo* getPidInfoCached(pid_t serverPid);
120 virtual std::string parseCmdline(pid_t pid) const;
122 const std::string& getCmdline(pid_t pid);
127 virtual Partition getPartition(pid_t pid);
186 std::map<pid_t, std::string> mCmdlines;
189 std::map<pid_t, BinderPidInfo> mCachedPidInfos;
192 std::map<pid_t, Partition> mPartitions;
/frameworks/av/media/utils/
DTimeCheck.cpp42 static inline void signalAudioHAL([[maybe_unused]] pid_t pid) { in signalAudioHAL()
121 void TimeCheck::accessAudioHalPids(std::vector<pid_t>* pids, bool update) { in accessAudioHalPids()
123 static std::vector<pid_t> audioHalPids[kNumAudioHalPidsVectors]; in accessAudioHalPids()
134 void TimeCheck::setAudioHalPids(const std::vector<pid_t>& pids) { in setAudioHalPids()
135 accessAudioHalPids(&(const_cast<std::vector<pid_t>&>(pids)), true); in setAudioHalPids()
139 std::vector<pid_t> TimeCheck::getAudioHalPids() { in getAudioHalPids()
140 std::vector<pid_t> pids; in getAudioHalPids()
264 std::vector<pid_t> pids = TimeCheck::getAudioHalPids(); in onTimeout()
303 static constexpr pid_t invalidPid = TimerThread::SnapshotAnalysis::INVALID_PID; in onTimeout()
304 pid_t tidToAbort = invalidPid; in onTimeout()
/frameworks/av/media/ndk/include_platform/media/
DNdkMediaCodecPlatform.h57 pid_t pid,
73 pid_t pid,
89 pid_t pid,

12345678910>>...13