/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, 66 void setExclusiveEnabled(pid_t pid, bool enabled); 68 bool isExclusiveEnabled(pid_t pid); 85 NotificationClient(pid_t pid, const android::sp<IBinder>& binder); 109 const pid_t mProcessId; 117 android::sp<NotificationClient> getNotificationClient_l(pid_t pid); [all …]
|
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() 116 AAudioClientTracker::unregisterClientStream(pid_t pid, in unregisterClientStream() 130 void AAudioClientTracker::setExclusiveEnabled(pid_t pid, bool enabled) { in setExclusiveEnabled() 136 bool AAudioClientTracker::isExclusiveEnabled(pid_t pid) { in isExclusiveEnabled() 142 AAudioClientTracker::getNotificationClient_l(pid_t pid) { in getNotificationClient_l() 157 AAudioClientTracker::NotificationClient::NotificationClient(pid_t pid, const sp<IBinder>& binder) in NotificationClient()
|
D | AAudioServiceStreamBase.h | 126 aaudio_result_t registerAudioThread(pid_t clientThreadId, int priority); 128 aaudio_result_t unregisterAudioThread(pid_t clientThreadId); 139 void setRegisteredThread(pid_t pid) { in setRegisteredThread() 143 pid_t getRegisteredThread() const { in getRegisteredThread() 163 pid_t getOwnerProcessId() const { in getOwnerProcessId() 285 pid_t mRegisteredClientThread = ILLEGAL_THREAD_ID;
|
/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/media/utils/include/mediautils/ |
D | ServiceUtilities.h | 81 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid); 82 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid); 84 bool captureAudioOutputAllowed(pid_t pid, uid_t uid); 85 bool captureMediaOutputAllowed(pid_t pid, uid_t uid); 86 bool captureVoiceCommunicationOutputAllowed(pid_t pid, uid_t uid); 87 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid); 90 bool modifyAudioRoutingAllowed(pid_t pid, uid_t uid); 92 bool modifyDefaultAudioEffectsAllowed(pid_t pid, uid_t uid); 94 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid); 95 bool bypassInterruptionPolicyAllowed(pid_t pid, uid_t uid);
|
D | TimeCheck.h | 38 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);
|
D | SchedulingPolicyService.h | 30 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool isForApp, bool asynchronous = false);
|
/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/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/av/media/utils/ |
D | TimeCheck.cpp | 36 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()
|
D | ServiceUtilities.cpp | 64 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal() 107 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() 111 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() 132 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed() 140 bool captureMediaOutputAllowed(pid_t pid, uid_t uid) { in captureMediaOutputAllowed() 148 bool captureVoiceCommunicationOutputAllowed(pid_t pid, uid_t uid) { in captureVoiceCommunicationOutputAllowed() 157 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in captureHotwordAllowed() 185 bool modifyAudioRoutingAllowed(pid_t pid, uid_t uid) { in modifyAudioRoutingAllowed() 199 bool modifyDefaultAudioEffectsAllowed(pid_t pid, uid_t uid) { in modifyDefaultAudioEffectsAllowed() 220 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid) { in modifyPhoneStateAllowed() [all …]
|
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.h | 88 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);
|
D | incidentd_util.cpp | 91 pid_t fork_execute_cmd(char* const argv[], Fpipe* input, Fpipe* output, int* status) { in fork_execute_cmd() 104 pid_t fork_execute_cmd(char* const argv[], int in, int out, int* status) { in fork_execute_cmd() 110 pid_t pid = vfork(); in fork_execute_cmd() 182 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { in waitpid_with_timeout() 215 pid_t child_pid = waitpid(pid, status, WNOHANG); in waitpid_with_timeout() 227 status_t kill_child(pid_t pid) { in kill_child() 234 status_t wait_child(pid_t pid, int timeout_ms) { in wait_child()
|
/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/ |
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/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 | 38 std::string getExe(pid_t pid); 40 std::string getCmdline(pid_t pid); 42 Partition getPartition(pid_t pid);
|
/frameworks/av/services/audioflinger/ |
D | MmapTracks.h | 33 pid_t pid, 34 pid_t creatorPid, 72 pid_t mPid;
|
D | AudioFlinger.h | 221 void acquireAudioSessionId(audio_session_t audioSession, pid_t pid, uid_t uid) override; 223 virtual void releaseAudioSessionId(audio_session_t audioSession, pid_t pid); 242 pid_t pid, 291 virtual status_t setAudioHalPids(const std::vector<pid_t>& pids); 473 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid); 476 pid_t pid() const { return mPid; } in pid() 484 const pid_t mPid; 492 pid_t pid, 497 pid_t getPid() const { return mPid; } in getPid() 507 const pid_t mPid; [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | MetadataRetrieverClient.h | 40 MetadataRetrieverClient(const sp<IMediaPlayerService>& service, pid_t pid, int32_t connId); 69 explicit MetadataRetrieverClient(pid_t pid); 75 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()
|