Searched defs:pid (Results 1 - 25 of 88) sorted by path

1234

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp749 pid_t pid = fork(); local
750 if (pid < 0) {
754 } else if (pid > 0) {
758 pid_t actualPid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
759 if (actualPid != pid) {
760 ALOGW("waitpid(%d) returned %d (errno=%d)", pid, actualPid, errno);
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp433 void AudioSystem::acquireAudioSessionId(int audioSession, pid_t pid) argument
437 af->acquireAudioSessionId(audioSession, pid);
441 void AudioSystem::releaseAudioSessionId(int audioSession, pid_t pid) argument
445 af->releaseAudioSessionId(audioSession, pid);
H A DAudioTrack.cpp142 pid_t pid,
153 offloadInfo, uid, pid, pAttributes);
170 pid_t pid,
181 uid, pid, pAttributes);
224 pid_t pid,
394 if (pid == -1 || (callingpid != mypid)) {
397 mClientPid = pid;
128 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
156 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
208 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
H A DIAudioFlinger.cpp620 virtual void acquireAudioSessionId(int audioSession, int pid) argument
625 data.writeInt32(pid);
629 virtual void releaseAudioSessionId(int audioSession, int pid) argument
634 data.writeInt32(pid);
1197 int pid = data.readInt32(); local
1198 acquireAudioSessionId(audioSession, pid);
1204 int pid = data.readInt32(); local
1205 releaseAudioSessionId(audioSession, pid);
H A DIOMX.cpp66 virtual bool livesLocally(node_id node, pid_t pid) { argument
70 data.writeInt32(pid);
533 pid_t pid = (pid_t)data.readInt32(); local
534 reply->writeInt32(livesLocally(node, pid));
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp308 pid_t pid = IPCThreadState::self()->getCallingPid(); local
309 sp<MediaRecorderClient> recorder = new MediaRecorderClient(this, pid);
313 ALOGV("Create new media recorder client from pid %d", pid);
326 pid_t pid = IPCThreadState::self()->getCallingPid(); local
327 sp<MetadataRetrieverClient> retriever = new MetadataRetrieverClient(pid);
328 ALOGV("Create new media retriever from pid %d", pid);
335 pid_t pid = IPCThreadState::self()->getCallingPid(); local
339 this, pid, connI
574 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, int audioSessionId, uid_t uid) argument
1409 AudioOutput(int sessionId, int uid, int pid, const audio_attributes_t* attr) argument
[all...]
H A DMediaPlayerService.h75 AudioOutput(int sessionId, int uid, int pid,
385 pid_t pid() const { return mPid; } function in class:android::MediaPlayerService::Client
393 pid_t pid,
H A DMediaRecorderClient.cpp304 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument
307 mPid = pid;
H A DMetadataRetrieverClient.cpp45 MetadataRetrieverClient::MetadataRetrieverClient(pid_t pid) argument
47 ALOGV("MetadataRetrieverClient constructor pid(%d)", pid);
48 mPid = pid;
66 snprintf(buffer, 255, " pid(%d)\n", mPid);
75 ALOGV("disconnect from pid %d", mPid);
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp42 virtual bool livesLocally(node_id node, pid_t pid);
195 bool MuxOMX::livesLocally(node_id node, pid_t pid) { argument
196 return getOMX(node)->livesLocally(node, pid);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp53 unsigned pid, ABitReader *br, status_t *err);
56 unsigned pid, unsigned continuity_counter,
108 unsigned pid() const { return mElementaryPID; } function in struct:android::ATSParser::Stream
109 void setPID(unsigned pid) { mElementaryPID = pid; } argument
190 unsigned pid, ABitReader *br, status_t *err) {
193 if (pid != mProgramMapPID) {
203 unsigned pid, unsigned continuity_counter,
208 ssize_t index = mStreams.indexOfKey(pid);
361 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), strea
189 parsePSISection( unsigned pid, ABitReader *br, status_t *err) argument
202 parsePID( unsigned pid, unsigned continuity_counter, unsigned payload_unit_start_indicator, ABitReader *br, status_t *err) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp190 bool OMX::livesLocally(node_id /* node */, pid_t pid) { argument
191 return pid == getpid();
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp314 snprintf(buffer, SIZE, " pid: %d\n", client->pid());
321 snprintf(buffer, SIZE, " pid: %d\n", mNotificationClients.keyAt(i));
326 result.append(" session pid count\n");
357 "can't dump AudioFlinger from pid=%d, uid=%d\n",
459 sp<AudioFlinger::Client> AudioFlinger::registerPid(pid_t pid) argument
462 // If pid is already in the mClients wp<> map, then use that entry
464 sp<Client> client = mClients.valueFor(pid).promote();
466 client = new Client(this, pid);
467 mClients.add(pid, clien
597 pid_t pid = IPCThreadState::self()->getCallingPid(); local
1205 pid_t pid = IPCThreadState::self()->getCallingPid(); local
1235 removeNotificationClient(pid_t pid) argument
1276 removeClient_l(pid_t pid) argument
1302 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid) argument
1351 NotificationClient(const sp<AudioFlinger>& audioFlinger, const sp<IAudioFlingerClient>& client, pid_t pid) argument
1436 pid_t pid = IPCThreadState::self()->getCallingPid(); local
2192 acquireAudioSessionId(int audioSession, pid_t pid) argument
2226 releaseAudioSessionId(int audioSession, pid_t pid) argument
2429 pid_t pid = IPCThreadState::self()->getCallingPid(); local
[all...]
H A DAudioFlinger.h199 virtual void acquireAudioSessionId(int audioSession, pid_t pid);
201 virtual void releaseAudioSessionId(int audioSession, pid_t pid);
396 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
399 pid_t pid() const { return mPid; } function in class:android::AudioFlinger::Client
421 pid_t pid);
567 void removeClient_l(pid_t pid);
568 void removeNotificationClient(pid_t pid);
652 AudioSessionRef(int sessionid, pid_t pid) : argument
653 mSessionid(sessionid), mPid(pid), mCnt(1) {}
739 sp<Client> registerPid(pid_t pid); // alway
[all...]
H A DISchedulingPolicyService.cpp40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio, bool asynchronous) argument
44 data.writeInt32(pid);
H A DSchedulingPolicyService.cpp31 int requestPriority(pid_t pid, pid_t tid, int32_t prio, bool asynchronous) argument
50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
H A DThreads.cpp429 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) argument
431 sp<ConfigEvent> configEvent = (ConfigEvent *)new PrioConfigEvent(pid, tid, prio);
482 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
2916 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
2928 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
5057 ALOGW("Policy SCHED_FIFO priority %d is unavailable for pid %d tid %d; error %d",
H A DThreads.h123 PrioConfigEventData(pid_t pid, pid_t tid, int32_t prio) : argument
124 mPid(pid), mTid(tid), mPrio(prio) {}
127 snprintf(buffer, size, "Prio event: pid %d, tid %d, prio %d\n", mPid, mTid, mPrio);
137 PrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) : argument
139 mData = new PrioConfigEventData(pid, tid, prio);
258 void sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio);
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp100 ALOGI("CameraService started (pid=%d)", getpid());
471 int pid = getCallingPid(); local
495 pid);
577 ALOGE("CameraService::connect X (pid %d) rejected (don't trust clientUid)",
589 ALOGE("CameraService::connect X (pid %d) rejected (invalid cameraId %d).",
598 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid);
605 " connect X (pid %d) rejected", callingPid);
609 " connect X (pid %d) rejected", callingPid);
629 LOG1("CameraService::connect X (pid %d) (the same client)",
635 ALOGW("CameraService::connect X (pid
1275 const int pid = getCallingPid(); local
[all...]
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp680 const int pid = IPCThreadState::self()->getCallingPid(); local
706 if (pid == selfPid) {
721 "can't disable transmit LED pid=%d, uid=%d", pid, uid);
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.cpp394 const int pid = IPCThreadState::self()->getCallingPid(); local
420 if (pid == selfPid) {
435 "can't disable transmit LED pid=%d, uid=%d", pid, uid);
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java196 " may be either a process name or pid. Options are:\n" +
201 " be either a process name or pid. Options are:\n" +
1244 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, argument
1249 System.out.println("processPid: " + pid);
1256 int result = waitControllerLocked(pid, STATE_CRASHED);
1262 public int appEarlyNotResponding(String processName, int pid, String annotation) { argument
1266 System.out.println("processPid: " + pid);
1268 int result = waitControllerLocked(pid, STATE_EARLY_ANR);
1275 public int appNotResponding(String processName, int pid, String processStats) { argument
1279 System.out.println("processPid: " + pid);
1314 waitControllerLocked(int pid, int state) argument
[all...]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DUiAutomationShellWrapper.java100 public boolean appCrashed(String processName, int pid, String shortMsg, String longMsg, argument
107 public int appEarlyNotResponding(String processName, int pid, String annotation) argument
114 public int appNotResponding(String processName, int pid, String processStats) argument
/frameworks/base/core/java/android/app/
H A DActivityManager.java1408 public int pid; field in class:ActivityManager.RunningServiceInfo
1512 dest.writeInt(pid);
1529 pid = source.readInt();
1824 * The pid of this process; 0 if none
1826 public int pid; field in class:ActivityManager.ProcessErrorStateInfo
1872 dest.writeInt(pid);
1883 pid = source.readInt();
1932 * The pid of this process; 0 if none
1934 public int pid; field in class:ActivityManager.RunningAppProcessInfo
2079 * content providers is being used by another process. The pid o
[all...]
H A DActivityManagerNative.java1178 int pid = data.readInt();
1180 setProcessForeground(token, pid, isForeground);
1188 int pid = data.readInt();
1190 int res = checkPermission(perm, pid, uid);
1199 int pid = data.readInt();
1202 int res = checkPermissionWithToken(perm, pid, uid, token);
1211 int pid = data.readInt();
1216 int res = checkUriPermission(uri, pid, uid, mode, userId, callerToken);
2098 int pid = data.readInt();
2101 long res = inputDispatchingTimedOut(pid, aboveSyste
3860 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
3873 checkPermission(String permission, int pid, int uid) argument
3888 checkPermissionWithToken(String permission, int pid, int uid, IBinder callerToken) argument
3919 checkUriPermission(Uri uri, int pid, int uid, int mode, int userId, IBinder callerToken) argument
5077 inputDispatchingTimedOut(int pid, boolean aboveSystem, String reason) argument
[all...]

Completed in 5531 milliseconds

1234