Searched refs:getCallingPid (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/av/services/audioflinger/
H A DServiceUtilities.cpp28 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
37 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp33 static int getCallingPid() { function in namespace:android
34 return IPCThreadState::self()->getCallingPid();
47 int callingPid = getCallingPid();
64 int callingPid = getCallingPid();
102 int callingPid = getCallingPid();
125 int callingPid = getCallingPid();
137 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid());
144 int callingPid = getCallingPid();
159 int callingPid = getCallingPid();
181 int callingPid = getCallingPid();
[all...]
H A DCameraService.cpp60 static int getCallingPid() { function in namespace:android
61 return IPCThreadState::self()->getCallingPid();
136 int callingPid = getCallingPid();
222 int callingPid = getCallingPid();
304 const int pid = getCallingPid();
393 int callingPid = getCallingPid();
468 getCallingPid(),
579 "died (this pid %d)", cameraClient.get(), getCallingPid());
H A DCamera2Client.cpp36 static int getCallingPid() { function in namespace:android
37 return IPCThreadState::self()->getCallingPid();
67 int callingPid = getCallingPid();
376 int callingPid = getCallingPid();
425 if (mClientPid != 0 && getCallingPid() != mClientPid) {
428 mCameraId, getCallingPid(), mClientPid);
432 mClientPid = getCallingPid();
445 __FUNCTION__, mCameraId, getCallingPid(), mClientPid);
448 mClientPid = getCallingPid();
452 if (mClientPid != getCallingPid()) {
[all...]
/frameworks/base/core/java/android/os/
H A DSchedulingPolicyService.java55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
H A DBinder.java64 public static final native int getCallingPid(); method in class:Binder
99 * @see #getCallingPid()
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java111 + " pid=" + Binder.getCallingPid() + '}';
119 + Binder.getCallingPid()
H A DCommonTimeManagementService.java190 "pid=%d, uid=%d", Binder.getCallingPid(), Binder.getCallingUid()));
H A DNotificationManagerService.java683 int callingPid = Binder.getCallingPid();
872 enqueueNotificationInternal(pkg, Binder.getCallingUid(), Binder.getCallingPid(),
1302 userId = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
1313 userId = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
1437 + Binder.getCallingPid()
/frameworks/native/include/binder/
H A DIPCThreadState.h42 int getCallingPid();
/frameworks/native/libs/binder/
H A DPermissionCache.cpp84 pid_t pid = ipcState->getCallingPid();
H A DIServiceManager.cpp60 pid_t pid = ipcState->getCallingPid();
/frameworks/base/core/java/android/accounts/
H A DAccountManagerService.java432 + ", pid " + Binder.getCallingPid());
472 + ", pid " + Binder.getCallingPid());
490 + ", pid " + Binder.getCallingPid());
515 + ", pid " + Binder.getCallingPid());
593 + ", pid " + Binder.getCallingPid());
665 + ", pid " + Binder.getCallingPid());
755 + ", pid " + Binder.getCallingPid());
847 + ", pid " + Binder.getCallingPid());
866 + ", pid " + Binder.getCallingPid());
884 + ", pid " + Binder.getCallingPid());
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java450 if (Binder.getCallingPid() == Process.myPid()) {
454 Binder.getCallingPid(), Binder.getCallingUid(), null);
471 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
H A DActivityManagerService.java1496 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1517 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1537 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1557 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
2469 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2481 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2495 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2634 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2647 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2658 userId = handleIncomingUser(Binder.getCallingPid(), Binde
[all...]
H A DActiveServices.java222 + " (pid=" + Binder.getCallingPid()
276 + " (pid=" + Binder.getCallingPid()
282 Binder.getCallingPid(), Binder.getCallingUid(), userId, false);
301 Binder.getCallingPid(), Binder.getCallingUid(),
310 + " from pid=" + Binder.getCallingPid()
436 + " (pid=" + Binder.getCallingPid()
474 Binder.getCallingPid(), Binder.getCallingUid(), userId, true);
1428 + Binder.getCallingPid());
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java736 Binder.getCallingUid(), Binder.getCallingPid(), params, text);
749 Binder.getCallingPid(), params, text, file);
760 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri);
771 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
/frameworks/native/services/surfaceflinger/
H A DClient.cpp95 const int pid = ipc->getCallingPid();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSubInfo.java196 + Binder.getCallingPid()
/frameworks/base/services/common_time/
H A Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(),
374 IPCThreadState::self()->getCallingPid(),
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java327 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
336 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
366 return (OWN_PROCESS_ID != Binder.getCallingPid());
439 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid()
450 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid()
470 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid()
483 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid()
1622 final int interrogatingPid = Binder.getCallingPid();
1667 final int interrogatingPid = Binder.getCallingPid();
1713 final int interrogatingPid = Binder.getCallingPid();
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java70 mPid = Binder.getCallingPid();
187 + Binder.getCallingPid());
193 + Binder.getCallingPid());
/frameworks/base/core/java/android/content/
H A DContentProvider.java278 final int pid = Binder.getCallingPid();
339 final int pid = Binder.getCallingPid();
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp52 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java516 final int pid = Binder.getCallingPid();
595 int callingPid = Binder.getCallingPid();
1216 + Binder.getCallingPid()
1230 if (Binder.getCallingPid() == Process.myPid()) {
1238 + Binder.getCallingPid()

Completed in 361 milliseconds

123