/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 32 static int getCallingPid() { in getCallingPid() function 33 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 45 int callingPid = getCallingPid(); in CameraClient() 63 int callingPid = getCallingPid(); in initialize() 103 int callingPid = getCallingPid(); in ~CameraClient() 137 int callingPid = getCallingPid(); in checkPid() 149 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); in checkPidAndHardware() 156 int callingPid = getCallingPid(); in lock() 171 int callingPid = getCallingPid(); in unlock() 193 int callingPid = getCallingPid(); in connect() [all …]
|
D | Camera2Client.cpp | 43 static int getCallingPid() { in getCallingPid() function 44 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 392 int callingPid = getCallingPid(); in disconnect() 462 if (mClientPid != 0 && getCallingPid() != mClientPid) { in connect() 465 mCameraId, getCallingPid(), mClientPid); in connect() 469 mClientPid = getCallingPid(); in connect() 482 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock() 485 mClientPid = getCallingPid(); in lock() 489 if (mClientPid != getCallingPid()) { in lock() 491 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareService.java | 101 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 110 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 119 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 128 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 138 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 149 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | PermissionChecker.java | 142 if (Binder.getCallingPid() == Process.myPid()) { in checkCallingPermission() 145 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingPermission() 160 String packageName = (Binder.getCallingPid() == Process.myPid()) in checkCallingOrSelfPermission() 162 return checkPermission(context, permission, Binder.getCallingPid(), in checkCallingOrSelfPermission()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | Camera2ClientBase.cpp | 39 static int getCallingPid() { in getCallingPid() function 40 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 72 int callingPid = getCallingPid(); in checkPid() 176 int callingPid = getCallingPid(); in disconnect() 207 getCallingPid() != TClientBase::mClientPid) { in connect() 213 getCallingPid(), in connect() 218 TClientBase::mClientPid = getCallingPid(); in connect()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 46 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed() 101 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed() 118 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 786 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList() 805 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo() 821 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState() 837 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList() 852 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerCallback() 881 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterCallback() 896 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isParentalControlsEnabled() 912 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in setParentalControlsEnabled() 927 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isRatingBlocked() 943 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getBlockedRatings() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | UpdateLockService.java | 110 + " pid=" + Binder.getCallingPid() + '}'; in makeTag() 118 + Binder.getCallingPid() in dump()
|
D | AppOpsService.java | 201 mPid = Binder.getCallingPid(); in ClientState() 397 Binder.getCallingPid(), Binder.getCallingUid(), null); in getPackagesForOps() 429 Binder.getCallingPid(), Binder.getCallingUid(), null); in getOpsForPackage() 471 if (Binder.getCallingPid() != Process.myPid()) { in setUidMode() 473 Binder.getCallingPid(), Binder.getCallingUid(), null); in setUidMode() 580 if (Binder.getCallingPid() != Process.myPid()) { in setMode() 582 Binder.getCallingPid(), Binder.getCallingUid(), null); in setMode() 669 final int callingPid = Binder.getCallingPid(); in resetAllModes() 1088 if (Binder.getCallingPid() == Process.myPid()) { in verifyIncomingUid() 1092 Binder.getCallingPid(), Binder.getCallingUid(), null); in verifyIncomingUid() [all …]
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 630 final int callingPid = Binder.getCallingPid(); in onNotificationClick() 643 final int callingPid = Binder.getCallingPid(); in onNotificationActionClick() 658 final int callingPid = Binder.getCallingPid(); in onNotificationError() 673 final int callingPid = Binder.getCallingPid(); in onNotificationClear() 713 final int callingPid = Binder.getCallingPid(); in onClearAllNotifications() 792 + Binder.getCallingPid() in dump()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 176 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() 258 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfosByViewIdUiThread() 269 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfosByViewIdUiThread() 376 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findAccessibilityNodeInfosByTextUiThread() 387 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findAccessibilityNodeInfosByTextUiThread() 498 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in findFocusUiThread() 509 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in findFocusUiThread() 583 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { in focusSearchUiThread() 594 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { in focusSearchUiThread()
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | SchedulingPolicyService.java | 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 53 const int pid = ipc->getCallingPid(); in dump()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 321 LOG_ALWAYS_FATAL_IF(getCallingPid() != getpid(), in onDeviceStatusChanged() 577 int CameraService::getCallingPid() { in getCallingPid() function in android::CameraService 578 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 845 int callingPid = getCallingPid(); in validateConnectLocked() 897 int callingPid = getCallingPid(); in checkIfDeviceIsUsable() 1141 logRejected(id, getCallingPid(), String8(clientPackageName), in connect() 1170 logRejected(id, getCallingPid(), String8(clientPackageName), in connectLegacy() 1181 logRejected(id, getCallingPid(), String8(clientPackageName), in connectLegacy() 1206 logRejected(id, getCallingPid(), String8(clientPackageName), in connectDevice() 1474 const int callingPid = getCallingPid(); in evictClientIdByRemote() [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | Drm.cpp | 38 static inline int getCallingPid() { in getCallingPid() function 39 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 46 if (getpid() == IPCThreadState::self()->getCallingPid()) return true; in checkPermission() 364 retry = DrmSessionManager::Instance()->reclaimSession(getCallingPid()); in openSession() 378 DrmSessionManager::Instance()->addSession(getCallingPid(), mDrmSessionClient, sessionId); in openSession()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 535 + ", pid " + Binder.getCallingPid()); in getPassword() 581 + ", pid " + Binder.getCallingPid()); in getPreviousName() 633 account, key, callingUid, Binder.getCallingPid()); in getUserData() 662 + ", pid " + Binder.getCallingPid()); in getAuthenticatorTypes() 715 + ", pid " + Binder.getCallingPid()); in addAccountExplicitly() 1002 + ", pid " + Binder.getCallingPid()); in hasFeatures() 1083 + ", pid " + Binder.getCallingPid()); in renameAccount() 1217 + ", pid " + Binder.getCallingPid() in removeAccountAsUser() 1288 + ", pid " + Binder.getCallingPid()); in removeAccountExplicitly() 1409 + ", pid " + Binder.getCallingPid()); in invalidateAuthToken() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 645 final int pid = Binder.getCallingPid(); in createSession() 664 final int pid = Binder.getCallingPid(); in getSessions() 688 final int pid = Binder.getCallingPid(); in addSessionsListener() 748 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent() 786 final int pid = Binder.getCallingPid(); in dispatchAdjustVolume() 802 final int pid = Binder.getCallingPid(); in setRemoteVolumeController() 823 + Binder.getCallingPid() in dump()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 1204 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text); 1222 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text, 1235 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, audioUri); 1246 Binder.getCallingUid(), Binder.getCallingPid(), utteranceId, duration); 1316 Binder.getCallingPid(), lang, country, variant); 1340 Binder.getCallingPid(), voiceName);
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 64 IPCThreadState::self()->getCallingPid(), in dump()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdateService.java | 114 if (Binder.getCallingPid() == Process.myPid()) { in waitForRelroCreationCompleted()
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 42 pid_t getCallingPid() const;
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid(); in checkCallingPermission()
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 89 pid_t spid = ipcState->getCallingPid(); in isProtectedCallAllowed() 349 IPCThreadState::self()->getCallingPid(), in dump()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 400 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid()); in addClient() 409 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid() in addClient() 443 return (OWN_PROCESS_ID != Binder.getCallingPid()); in sendAccessibilityEvent() 550 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection() 561 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection() 583 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection() 596 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection() 2270 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByViewId() 2327 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByText() 2384 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfoByAccessibilityId() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Session.java | 76 mPid = Binder.getCallingPid(); in Session() 197 + Binder.getCallingPid()); in relayout() 203 + Binder.getCallingPid()); in relayout()
|