Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 177) 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);
92 const pid_t mProcessId;
97 std::map<pid_t, android::sp<NotificationClient>> mNotificationClients;
DAAudioClientTracker.cpp66 aaudio_result_t AAudioClientTracker::registerClient(pid_t pid, in registerClient()
85 void AAudioClientTracker::unregisterClient(pid_t pid) { in unregisterClient()
91 int32_t AAudioClientTracker::getStreamCount(pid_t pid) { in getStreamCount()
102 AAudioClientTracker::registerClientStream(pid_t pid, sp<AAudioServiceStreamBase> serviceStream) { in registerClientStream()
119 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream()
135 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid) in NotificationClient()
DAAudioService.cpp77 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient()
90 pid_t pid = request.getProcessId(); in openStream()
137 pid_t pid = request.getProcessId(); in openStream()
153 pid_t pid = foundStream->getOwnerProcessId(); in releaseStream()
174 pid_t pid = serviceStream->getOwnerProcessId(); in closeStream()
261 pid_t clientThreadId, in registerAudioThread()
273 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
287 pid_t clientThreadId) { in unregisterAudioThread()
DAAudioServiceStreamBase.h148 void setRegisteredThread(pid_t pid) { in setRegisteredThread()
152 pid_t getRegisteredThread() const { in getRegisteredThread()
172 pid_t getOwnerProcessId() const { in getOwnerProcessId()
276 pid_t mRegisteredClientThread = ILLEGAL_THREAD_ID;
/frameworks/av/services/audioflinger/
DServiceUtilities.h23 extern pid_t getpid_cached;
25 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
26 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid);
28 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
29 bool captureHotwordAllowed(pid_t pid, uid_t uid);
33 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid);
DServiceUtilities.cpp39 pid_t getpid_cached;
79 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal()
119 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed()
123 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording()
144 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed()
152 bool captureHotwordAllowed(pid_t pid, uid_t uid) { in captureHotwordAllowed()
192 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed()
DAudioFlinger.h196 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid);
198 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid);
214 pid_t pid,
422 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
425 pid_t pid() const { return mPid; } in pid()
433 const pid_t mPid;
441 pid_t pid);
453 const pid_t mPid;
624 pid_t pid = 0);
654 void removeClient_l(pid_t pid);
[all …]
/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);
/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.h96 virtual bool getPidInfo(pid_t serverPid, PidInfo *info) const;
98 const PidInfo* getPidInfoCached(pid_t serverPid);
108 virtual std::string parseCmdline(pid_t pid) const;
110 const std::string& getCmdline(pid_t pid);
115 virtual Partition getPartition(pid_t pid);
145 std::map<pid_t, std::string> mCmdlines;
148 std::map<pid_t, PidInfo> mCachedPidInfos;
151 std::map<pid_t, Partition> mPartitions;
Dtest.cpp202 const PidInfo* getPidInfoCached(pid_t serverPid) { in getPidInfoCached()
207 MOCK_CONST_METHOD2(getPidInfo, bool(pid_t, PidInfo*));
208 MOCK_CONST_METHOD1(parseCmdline, std::string(pid_t));
209 MOCK_METHOD1(getPartition, Partition(pid_t));
257 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr()
258 static std::vector<pid_t> getClients(pid_t serverId) { in getClients()
261 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId()
268 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName()
271 static std::string getInstanceName(pid_t serverId) { in getInstanceName()
274 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.h39 std::string getExe(pid_t pid);
41 std::string getCmdline(pid_t pid);
43 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()
138 status_t kill_child(pid_t pid) { in kill_child()
146 status_t wait_child(pid_t pid) { in wait_child()
/frameworks/native/cmds/servicemanager/
Dservice_manager.c27 pid_t pid;
64 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *… in check_mac_perms()
87 static bool check_mac_perms_from_getcon(pid_t spid, uid_t uid, const char *perm) in check_mac_perms_from_getcon()
92 static bool check_mac_perms_from_lookup(pid_t spid, uid_t uid, const char *perm, const char *name) in check_mac_perms_from_lookup()
112 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_register()
123 static int svc_can_list(pid_t spid, uid_t uid) in svc_can_list()
129 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_find()
178 uint32_t do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid) in do_find_service()
203 uid_t uid, int allow_isolated, uint32_t dumpsys_priority, pid_t spid) { in do_add_service()
/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/av/media/utils/include/mediautils/
DSchedulingPolicyService.h30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
/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()
/frameworks/base/libs/hwui/tests/unit/
DThreadBaseTests.cpp64 pid_t thisTid = gettid(); in TEST()
65 pid_t otherTid = thisTid; in TEST()
77 pid_t thisTid = gettid(); in TEST()
78 pid_t thisPid = getpid(); in TEST()

12345678