Searched refs:getCallingPid (Results 51 - 75 of 171) sorted by relevance

1234567

/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java546 mPid = Binder.getCallingPid();
869 Binder.getCallingPid(), Binder.getCallingUid(), null);
901 Binder.getCallingPid(), Binder.getCallingUid(), null);
927 Binder.getCallingPid(), Binder.getCallingUid(), null);
983 Binder.getCallingPid(), Binder.getCallingUid(), null);
988 enforceManageAppOpsModes(Binder.getCallingPid(), Binder.getCallingUid(), uid);
1091 enforceManageAppOpsModes(Binder.getCallingPid(), Binder.getCallingUid(), uid);
1208 final int callingPid = Binder.getCallingPid();
1337 final int callingPid = Binder.getCallingPid();
1487 enforceManageAppOpsModes(Binder.getCallingPid(), Binde
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java1006 if (Binder.getCallingPid() != Process.myPid()) {
1047 if (Binder.getCallingPid() != Process.myPid()) {
1096 if (Binder.getCallingPid() != Process.myPid()) {
1151 if (Binder.getCallingPid() != Process.myPid()) {
/frameworks/base/core/java/android/os/
H A DShellCommand.java99 + " pid=" + Binder.getCallingPid() + " ShellCallback=" + getShellCallback());
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java69 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
/frameworks/base/services/core/java/com/android/server/slice/
H A DPinnedSliceState.java125 Binder.getCallingUid(), Binder.getCallingPid()));
/frameworks/native/libs/binder/
H A DIServiceManager.cpp69 pid_t pid = ipcState->getCallingPid();
/frameworks/native/services/sensorservice/hidl/
H A DSensorManager.cpp219 android::hardware::IPCThreadState::self()->getCallingPid()));
/frameworks/native/services/surfaceflinger/
H A DClient.cpp127 const int pid = ipc->getCallingPid();
/frameworks/av/services/mediaanalytics/
H A DMediaAnalyticsService.cpp150 int pid = IPCThreadState::self()->getCallingPid();
236 IPCThreadState::self()->getCallingPid(),
/frameworks/base/services/core/java/com/android/server/audio/
H A DMediaFocusControl.java696 + "/" + Binder.getCallingPid()
829 + "/" + Binder.getCallingPid()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java359 mPid = getCallingPid();
369 mPid = getCallingPid();
/frameworks/av/media/libaaudio/src/binding/
H A DIAAudioService.cpp270 request.setProcessId(IPCThreadState::self()->getCallingPid());
/frameworks/base/cmds/incidentd/src/
H A DIncidentService.cpp53 pid_t callingPid = IPCThreadState::self()->getCallingPid();
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java121 return Process.myPid() == Binder.getCallingPid();
/frameworks/base/core/java/android/database/
H A DCursorWindow.java139 recordNewWindow(Binder.getCallingPid(), mWindowPtr);
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java230 + Binder.getCallingPid()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DActiveRestoreSession.java317 Binder.getCallingPid(), Binder.getCallingUid());
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermission.java107 + Binder.getCallingUid() + " PID " + Binder.getCallingPid(),
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java277 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
/frameworks/base/core/java/android/content/
H A DContentProvider.java541 if (getContext().checkPermission(permission, Binder.getCallingPid(), Binder.getCallingUid(),
558 final int pid = Binder.getCallingPid();
640 final int pid = Binder.getCallingPid();
/frameworks/av/drm/libmediadrm/
H A DDrmHal.cpp94 static inline int getCallingPid() { function in namespace:android
95 return IPCThreadState::self()->getCallingPid();
99 if (getpid() == IPCThreadState::self()->getCallingPid()) return true;
618 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid());
626 DrmSessionManager::Instance()->addSession(getCallingPid(),
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java1176 final int callingPid = Binder.getCallingPid();
1210 final int callingPid = Binder.getCallingPid();
1280 Binder.getCallingUid(), Binder.getCallingPid(),
1312 Binder.getCallingUid(), Binder.getCallingPid(),
1323 Binder.getCallingUid(), Binder.getCallingPid(),
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java608 final int pid = Binder.getCallingPid();
713 int callingPid = Binder.getCallingPid();
963 final int callingPid = Binder.getCallingPid();
1717 if (Binder.getCallingPid() == Process.myPid()) {
1725 + Binder.getCallingPid()
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp448 IPCThreadState::self()->getCallingPid(),
678 const pid_t callingPid = IPCThreadState::self()->getCallingPid();
1081 pid_t caller = IPCThreadState::self()->getCallingPid();
1224 IPCThreadState::self()->getCallingPid(), IPCThreadState::self()->getCallingUid());
1307 ioHandle, keys.string(), IPCThreadState::self()->getCallingPid());
1444 pid_t pid = IPCThreadState::self()->getCallingPid();
1519 IPCThreadState::self()->getCallingPid());
1648 const pid_t callingPid = IPCThreadState::self()->getCallingPid();
2606 pid_t caller = IPCThreadState::self()->getCallingPid();
2640 pid_t caller = IPCThreadState::self()->getCallingPid();
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java497 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid());
508 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid()
576 if (OWN_PROCESS_ID != Binder.getCallingPid()) {
694 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid()
706 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid()
728 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid()
741 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid()
2618 final int interrogatingPid = Binder.getCallingPid();
3536 return (Binder.getCallingPid() == android.os.Process.myPid()
3598 if (OWN_PROCESS_ID == Binder.getCallingPid()) {
[all...]

Completed in 5021 milliseconds

1234567