/frameworks/native/libs/vr/libperformance/include/private/dvr/ |
D | performance_client.h | 17 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);
|
D | performance_rpc.h | 29 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/ |
D | performance_client.cpp | 22 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/ |
D | AAudioClientTracker.h | 49 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;
|
D | AAudioClientTracker.cpp | 66 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) in NotificationClient()
|
D | AAudioService.cpp | 77 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()
|
D | AAudioServiceStreamBase.h | 148 void setRegisteredThread(pid_t pid) { in setRegisteredThread() 152 pid_t getRegisteredThread() const { in getRegisteredThread() 172 pid_t getOwnerProcessId() const { in getOwnerProcessId() 290 pid_t mRegisteredClientThread = ILLEGAL_THREAD_ID;
|
/frameworks/native/services/vr/performanced/ |
D | task.h | 24 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_;
|
D | performance_service.h | 32 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/ |
D | ServiceUtilities.h | 73 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid); 74 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid); 76 bool captureAudioOutputAllowed(pid_t pid, uid_t uid); 77 bool captureMediaOutputAllowed(pid_t pid, uid_t uid); 78 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid); 83 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid); 84 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid);
|
D | SchedulingPolicyService.h | 30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
|
/frameworks/native/libs/vr/libperformance/include/dvr/ |
D | performance_client_api.h | 23 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/ |
D | ListCommand.h | 110 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;
|
D | test.cpp | 209 const PidInfo* getPidInfoCached(pid_t serverPid) { in getPidInfoCached() 214 MOCK_CONST_METHOD2(getPidInfo, bool(pid_t, PidInfo*)); 215 MOCK_CONST_METHOD1(parseCmdline, std::string(pid_t)); 216 MOCK_METHOD1(getPartition, Partition(pid_t)); 271 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr() 272 static std::vector<pid_t> getClients(pid_t serverId) { in getClients() 275 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId() 282 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName() 285 static std::string getInstanceName(pid_t serverId) { in getInstanceName() 288 static pid_t getIdFromInstanceName(const hidl_string& instance) { in getIdFromInstanceName() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamRequest.h | 47 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/ |
D | procpartition.cpp | 35 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/ |
D | procpartition.h | 39 std::string getExe(pid_t pid); 41 std::string getCmdline(pid_t pid); 43 Partition getPartition(pid_t pid);
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.h | 63 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);
|
D | incidentd_util.cpp | 67 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/media/utils/ |
D | ServiceUtilities.cpp | 62 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal() 102 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 106 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() 127 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed() 135 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed() 143 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed() 203 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed() 210 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid) { in bypassInterruptionPolicyAllowed()
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 27 pid_t pid; 64 static bool check_mac_perms(pid_t spid, const char* sid, uid_t uid, const char *tctx, const char *p… in check_mac_perms() 91 static bool check_mac_perms_from_getcon(pid_t spid, const char* sid, uid_t uid, const char *perm) in check_mac_perms_from_getcon() 96 static bool check_mac_perms_from_lookup(pid_t spid, const char* sid, uid_t uid, const char *perm, c… in check_mac_perms_from_lookup() 116 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, const char* sid, uid… in svc_can_register() 127 static int svc_can_list(pid_t spid, const char* sid, uid_t uid) in svc_can_list() 133 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, const char* sid, uid_t u… in svc_can_find() 182 uint32_t do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid, const char* sid) in do_find_service() 207 … uid_t uid, int allow_isolated, uint32_t dumpsys_priority, pid_t spid, const char* sid) { in do_add_service()
|
/frameworks/av/services/audioflinger/ |
D | MmapTracks.h | 33 pid_t pid, 34 pid_t creatorPid, 72 pid_t mPid;
|
D | AudioFlinger.h | 214 virtual void acquireAudioSessionId(audio_session_t audioSession, pid_t pid); 216 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid); 234 pid_t pid, 453 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid); 456 pid_t pid() const { return mPid; } in pid() 464 const pid_t mPid; 472 pid_t pid); 484 const pid_t mPid; 685 pid_t pid = 0); 718 void removeClient_l(pid_t pid); [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MetadataRetrieverClient.h | 40 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/ |
D | VirtualTouchpadService.cpp | 29 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()
|