Home
last modified time | relevance | path

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

12345678

/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/av/services/oboeservice/
DAAudioClientTracker.h49 aaudio_result_t registerClient(pid_t pid, const android::sp<android::IAAudioClient>& client);
51 void unregisterClient(pid_t pid);
53 int32_t getStreamCount(pid_t pid);
55 aaudio_result_t registerClientStream(pid_t pid,
58 aaudio_result_t unregisterClientStream(pid_t pid,
76 NotificationClient(pid_t pid, const android::sp<IBinder>& binder);
92 const pid_t mProcessId;
99 std::map<pid_t, android::sp<NotificationClient>> mNotificationClients;
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()
108 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
125 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream()
139 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid, const sp<IBinder>& binder) in NotificationClient()
DAAudioService.cpp77 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient()
90 pid_t pid = request.getProcessId(); in openStream()
140 pid_t pid = request.getProcessId(); in openStream()
156 pid_t pid = foundStream->getOwnerProcessId(); in releaseStream()
177 pid_t pid = serviceStream->getOwnerProcessId(); in closeStream()
264 pid_t clientThreadId, in registerAudioThread()
276 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
290 pid_t clientThreadId) { in unregisterAudioThread()
/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/av/media/utils/include/mediautils/
DServiceUtilities.h79 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
80 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid);
82 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
83 bool captureMediaOutputAllowed(pid_t pid, uid_t uid);
84 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
88 bool modifyDefaultAudioEffectsAllowed(pid_t pid, uid_t uid);
90 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid);
91 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid);
DTimeCheck.h38 static void setAudioHalPids(const std::vector<pid_t>& pids);
39 static std::vector<pid_t> getAudioHalPids();
68 static void accessAudioHalPids(std::vector<pid_t>* pids, bool update);
DSchedulingPolicyService.h30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
/frameworks/av/media/utils/
DTimeCheck.cpp36 void TimeCheck::accessAudioHalPids(std::vector<pid_t>* pids, bool update) { in accessAudioHalPids()
38 static std::vector<pid_t> audioHalPids[kNumAudioHalPidsVectors]; in accessAudioHalPids()
50 void TimeCheck::setAudioHalPids(const std::vector<pid_t>& pids) { in setAudioHalPids()
51 accessAudioHalPids(&(const_cast<std::vector<pid_t>&>(pids)), true); in setAudioHalPids()
55 std::vector<pid_t> TimeCheck::getAudioHalPids() { in getAudioHalPids()
56 std::vector<pid_t> pids; in getAudioHalPids()
125 std::vector<pid_t> pids = getAudioHalPids(); in threadLoop()
DServiceUtilities.cpp62 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal()
105 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed()
109 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording()
130 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed()
138 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed()
146 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed()
181 bool modifyDefaultAudioEffectsAllowed(pid_t pid, uid_t uid) { in modifyDefaultAudioEffectsAllowed()
202 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed()
209 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid) { in bypassInterruptionPolicyAllowed()
/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/native/cmds/lshal/
DListCommand.h110 virtual bool getPidInfo(pid_t serverPid, PidInfo *info) const;
112 const PidInfo* getPidInfoCached(pid_t serverPid);
122 virtual std::string parseCmdline(pid_t pid) const;
124 const std::string& getCmdline(pid_t pid);
129 virtual Partition getPartition(pid_t pid);
188 std::map<pid_t, std::string> mCmdlines;
191 std::map<pid_t, PidInfo> mCachedPidInfos;
194 std::map<pid_t, Partition> mPartitions;
Dtest.cpp236 const PidInfo* getPidInfoCached(pid_t serverPid) { in getPidInfoCached()
241 MOCK_CONST_METHOD2(getPidInfo, bool(pid_t, PidInfo*));
242 MOCK_CONST_METHOD1(parseCmdline, std::string(pid_t));
243 MOCK_METHOD1(getPartition, Partition(pid_t));
298 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr()
299 static std::vector<pid_t> getClients(pid_t serverId) { in getClients()
302 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId()
309 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName()
312 static std::string getInstanceName(pid_t serverId) { in getInstanceName()
315 static pid_t getIdFromInstanceName(const hidl_string& instance) { in getIdFromInstanceName()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamRequest.h47 pid_t getProcessId() const { in getProcessId()
51 void setProcessId(pid_t processId) { in setProcessId()
90 pid_t mProcessId = (pid_t) -1;
/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/libprocpartition/include/procpartition/
Dprocpartition.h38 std::string getExe(pid_t pid);
40 std::string getCmdline(pid_t pid);
42 Partition getPartition(pid_t pid);
/frameworks/base/cmds/incidentd/src/
Dincidentd_util.h63 pid_t fork_execute_cmd(char* const argv[], Fpipe* input, Fpipe* output);
78 status_t kill_child(pid_t pid);
79 status_t wait_child(pid_t pid);
Dincidentd_util.cpp67 pid_t fork_execute_cmd(char* const argv[], Fpipe* input, Fpipe* output) { in fork_execute_cmd()
69 pid_t pid = fork(); in fork_execute_cmd()
137 status_t kill_child(pid_t pid) { in kill_child()
145 status_t wait_child(pid_t pid) { in wait_child()
/frameworks/av/services/audioflinger/
DMmapTracks.h33 pid_t pid,
34 pid_t creatorPid,
72 pid_t mPid;
DAudioFlinger.h217 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
219 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
238 pid_t pid,
286 virtual status_t setAudioHalPids(const std::vector<pid_t>& pids);
465 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
468 pid_t pid() const { return mPid; } in pid()
476 const pid_t mPid;
484 pid_t pid);
496 const pid_t mPid;
714 pid_t pid = 0);
[all …]
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.h40 MetadataRetrieverClient(const sp<IMediaPlayerService>& service, pid_t pid, int32_t connId);
70 explicit MetadataRetrieverClient(pid_t pid);
76 pid_t mPid;
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadService.cpp29 pid_t pid; in attach()
104 const pid_t pid = ipc->getCallingPid(); in dump()
121 pid_t pid; in CheckPermissions()
132 bool VirtualTouchpadService::CheckTouchPermission(pid_t* out_pid) { in CheckTouchPermission()

12345678