Home
last modified time | relevance | path

Searched refs:getCallingPid (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp32 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()
108 int callingPid = getCallingPid(); in ~CameraClient()
141 int callingPid = getCallingPid(); in checkPid()
153 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); in checkPidAndHardware()
160 int callingPid = getCallingPid(); in lock()
175 int callingPid = getCallingPid(); in unlock()
197 int callingPid = getCallingPid(); in connect()
[all …]
DCamera2Client.cpp43 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/
DGeofenceHardwareService.java95 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
103 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
111 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);
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp29 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed()
38 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed()
61 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
DAudioFlinger.cpp358 IPCThreadState::self()->getCallingPid(), in dumpPermissionDenial()
597 pid_t pid = IPCThreadState::self()->getCallingPid(); in createTrack()
908 pid_t caller = IPCThreadState::self()->getCallingPid(); in checkStreamType()
1015 ioHandle, keyValuePairs.string(), IPCThreadState::self()->getCallingPid()); in setParameters()
1101 ioHandle, keys.string(), IPCThreadState::self()->getCallingPid()); in getParameters()
1213 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient()
1287 IPCThreadState::self()->getCallingPid()); in removeClient_l()
1444 pid_t pid = IPCThreadState::self()->getCallingPid(); in openRecord()
2202 pid_t caller = IPCThreadState::self()->getCallingPid(); in acquireAudioSessionId()
2236 pid_t caller = IPCThreadState::self()->getCallingPid(); in releaseAudioSessionId()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp39 static int getCallingPid() { in getCallingPid() function
40 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
72 int callingPid = getCallingPid(); in checkPid()
175 int callingPid = getCallingPid(); in disconnect()
206 getCallingPid() != TClientBase::mClientPid) { in connect()
212 getCallingPid(), in connect()
217 TClientBase::mClientPid = getCallingPid(); in connect()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java753 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputList()
772 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputInfo()
788 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvInputState()
804 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getTvContentRatingSystemList()
819 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in registerCallback()
848 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in unregisterCallback()
863 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isParentalControlsEnabled()
879 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in setParentalControlsEnabled()
894 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in isRatingBlocked()
910 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), in getBlockedRatings()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp69 static int getCallingPid() { in getCallingPid() function
70 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
471 int pid = getCallingPid(); in initializeShimMetadata()
570 int callingPid = getCallingPid(); in validateConnect()
623 int callingPid = getCallingPid(); in canConnectUnsafe()
742 int callingPid = getCallingPid(); in connect()
806 int callingPid = getCallingPid(); in connectLegacy()
877 int callingPid = getCallingPid(); in connectPro()
949 int callingPid = getCallingPid(); in connectDevice()
1145 int callingPid = getCallingPid(); in removeClientByRemote()
[all …]
/frameworks/base/services/core/java/com/android/server/
DUpdateLockService.java110 + " pid=" + Binder.getCallingPid() + '}'; in makeTag()
118 + Binder.getCallingPid() in dump()
DAppOpsService.java172 mPid = Binder.getCallingPid(); in ClientState()
311 Binder.getCallingPid(), Binder.getCallingUid(), null); in getPackagesForOps()
336 Binder.getCallingPid(), Binder.getCallingUid(), null); in getOpsForPackage()
374 if (Binder.getCallingPid() != Process.myPid()) { in setMode()
376 Binder.getCallingPid(), Binder.getCallingUid(), null); in setMode()
442 final int callingPid = Binder.getCallingPid(); in resetAllModes()
767 if (Binder.getCallingPid() == Process.myPid()) { in verifyIncomingUid()
771 Binder.getCallingPid(), Binder.getCallingUid(), null); in verifyIncomingUid()
1143 + Binder.getCallingPid() in dump()
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java537 final int callingPid = Binder.getCallingPid(); in onNotificationClick()
550 final int callingPid = Binder.getCallingPid(); in onNotificationActionClick()
565 final int callingPid = Binder.getCallingPid(); in onNotificationError()
580 final int callingPid = Binder.getCallingPid(); in onNotificationClear()
619 final int callingPid = Binder.getCallingPid(); in onClearAllNotifications()
695 + Binder.getCallingPid() in dump()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java503 + ", pid " + Binder.getCallingPid()); in getPassword()
543 + ", pid " + Binder.getCallingPid()); in getPreviousName()
595 + ", pid " + Binder.getCallingPid()); in getUserData()
615 + ", pid " + Binder.getCallingPid()); in getAuthenticatorTypes()
653 + ", pid " + Binder.getCallingPid()); in addAccountExplicitly()
866 + ", pid " + Binder.getCallingPid()); in hasFeatures()
942 + ", pid " + Binder.getCallingPid()); in renameAccount()
1056 + ", pid " + Binder.getCallingPid()); in removeAccount()
1109 + ", pid " + Binder.getCallingPid() in removeAccountAsUser()
1164 + ", pid " + Binder.getCallingPid()); in removeAccountExplicitly()
[all …]
/frameworks/base/services/core/java/com/android/server/os/
DSchedulingPolicyService.java54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java388 final int callingPid = Binder.getCallingPid(); in startSession()
407 final int callingPid = Binder.getCallingPid(); in deliverNewSession()
426 final int callingPid = Binder.getCallingPid(); in startVoiceActivity()
448 final int callingPid = Binder.getCallingPid(); in finish()
656 + Binder.getCallingPid() in dump()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java617 final int pid = Binder.getCallingPid(); in createSession()
636 final int pid = Binder.getCallingPid(); in getSessions()
660 final int pid = Binder.getCallingPid(); in addSessionsListener()
720 final int pid = Binder.getCallingPid(); in dispatchMediaKeyEvent()
752 final int pid = Binder.getCallingPid(); in dispatchAdjustVolume()
768 final int pid = Binder.getCallingPid(); in setRemoteVolumeController()
789 + Binder.getCallingPid() in dump()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java1146 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text);
1164 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, text,
1177 Binder.getCallingUid(), Binder.getCallingPid(), params, utteranceId, audioUri);
1188 Binder.getCallingUid(), Binder.getCallingPid(), utteranceId, duration);
1258 Binder.getCallingPid(), lang, country, variant);
1282 Binder.getCallingPid(), voiceName);
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java114 if (Binder.getCallingPid() == Process.myPid()) { in waitForRelroCreationCompleted()
/frameworks/av/services/medialog/
DMediaLogService.cpp64 IPCThreadState::self()->getCallingPid(), in dump()
/frameworks/native/libs/binder/
DPermissionCache.cpp84 pid_t pid = ipcState->getCallingPid(); in checkCallingPermission()
/frameworks/native/include/binder/
DIPCThreadState.h42 int getCallingPid() const;
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(), in dumpClockInterface()
374 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java392 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid()); in addClient()
401 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid() in addClient()
435 return (OWN_PROCESS_ID != Binder.getCallingPid()); in sendAccessibilityEvent()
542 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection()
553 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection()
575 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection()
588 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection()
2225 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByViewId()
2277 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByText()
2329 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfoByAccessibilityId()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java76 mPid = Binder.getCallingPid(); in Session()
196 + Binder.getCallingPid()); in relayout()
202 + Binder.getCallingPid()); in relayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardService.java61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() in checkPermission()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetServiceImpl.java178 + Binder.getCallingPid() in dump()

12345