Home
last modified time | relevance | path

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

1234

/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()
62 int callingPid = getCallingPid(); in initialize()
107 int callingPid = getCallingPid(); in ~CameraClient()
130 int callingPid = getCallingPid(); in checkPid()
142 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); in checkPidAndHardware()
149 int callingPid = getCallingPid(); in lock()
164 int callingPid = getCallingPid(); in unlock()
186 int callingPid = getCallingPid(); in connect()
[all …]
DCamera2Client.cpp42 static int getCallingPid() { in getCallingPid() function
43 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
388 int callingPid = getCallingPid(); in disconnect()
447 if (mClientPid != 0 && getCallingPid() != mClientPid) { in connect()
450 mCameraId, getCallingPid(), mClientPid); in connect()
454 mClientPid = getCallingPid(); in connect()
467 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock()
470 mClientPid = getCallingPid(); in lock()
474 if (mClientPid != getCallingPid()) { in lock()
476 __FUNCTION__, mCameraId, getCallingPid(), mClientPid); in lock()
[all …]
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareService.java94 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
104 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
112 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
120 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
129 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType);
139 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()
54 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
DAudioFlinger.cpp306 IPCThreadState::self()->getCallingPid(), in dumpPermissionDenial()
486 pid_t pid = IPCThreadState::self()->getCallingPid(); in createTrack()
874 ioHandle, keyValuePairs.string(), IPCThreadState::self()->getCallingPid()); in setParameters()
960 ioHandle, keys.string(), IPCThreadState::self()->getCallingPid()); in getParameters()
1067 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient()
1132 IPCThreadState::self()->getCallingPid()); in removeClient_l()
1277 pid_t pid = IPCThreadState::self()->getCallingPid(); in openRecord()
1868 pid_t caller = IPCThreadState::self()->getCallingPid(); in acquireAudioSessionId()
1896 pid_t caller = IPCThreadState::self()->getCallingPid(); in releaseAudioSessionId()
2093 pid_t pid = IPCThreadState::self()->getCallingPid(); in createEffect()
/frameworks/av/services/camera/libcameraservice/common/
DCamera2ClientBase.cpp37 static int getCallingPid() { in getCallingPid() function
38 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
67 int callingPid = getCallingPid(); in checkPid()
169 int callingPid = getCallingPid(); in disconnect()
200 getCallingPid() != TClientBase::mClientPid) { in connect()
206 getCallingPid(), in connect()
211 TClientBase::mClientPid = getCallingPid(); in connect()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp64 static int getCallingPid() { in getCallingPid() function
65 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
313 int callingPid = getCallingPid(); in validateConnect()
366 int callingPid = getCallingPid(); in canConnectUnsafe()
414 int callingPid = getCallingPid(); in connect()
511 int callingPid = getCallingPid(); in connectPro()
581 int callingPid = getCallingPid(); in connectDevice()
713 int callingPid = getCallingPid(); in removeClientByRemote()
837 const int pid = getCallingPid(); in onTransact()
935 int callingPid = getCallingPid(); in Client()
[all …]
/frameworks/base/services/java/com/android/server/
DUpdateLockService.java111 + " pid=" + Binder.getCallingPid() + '}'; in makeTag()
119 + Binder.getCallingPid() in dump()
DAppOpsService.java157 mPid = Binder.getCallingPid(); in ClientState()
296 Binder.getCallingPid(), Binder.getCallingUid(), null); in getPackagesForOps()
321 Binder.getCallingPid(), Binder.getCallingUid(), null); in getOpsForPackage()
425 Binder.getCallingPid(), Binder.getCallingUid(), null); in resetAllModes()
675 if (Binder.getCallingPid() == Process.myPid()) { in verifyIncomingUid()
679 Binder.getCallingPid(), Binder.getCallingUid(), null); in verifyIncomingUid()
990 + Binder.getCallingPid() in dump()
/frameworks/base/services/java/com/android/server/os/
DSchedulingPolicyService.java54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority()
/frameworks/base/services/java/com/android/server/accounts/
DAccountManagerService.java483 + ", pid " + Binder.getCallingPid()); in getPassword()
524 + ", pid " + Binder.getCallingPid()); in getUserData()
543 + ", pid " + Binder.getCallingPid()); in getAuthenticatorTypes()
569 + ", pid " + Binder.getCallingPid()); in addAccountExplicitly()
777 + ", pid " + Binder.getCallingPid()); in hasFeatures()
853 + ", pid " + Binder.getCallingPid()); in removeAccount()
970 + ", pid " + Binder.getCallingPid()); in invalidateAuthToken()
1063 + ", pid " + Binder.getCallingPid()); in peekAuthToken()
1083 + ", pid " + Binder.getCallingPid()); in setAuthToken()
1102 + ", pid " + Binder.getCallingPid()); in setPassword()
[all …]
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java804 Binder.getCallingUid(), Binder.getCallingPid(), params, text);
822 Binder.getCallingUid(), Binder.getCallingPid(), params, text,
834 Binder.getCallingUid(), Binder.getCallingPid(), params, audioUri);
845 Binder.getCallingUid(), Binder.getCallingPid(), params, duration);
915 Binder.getCallingPid(), null, lang, country, variant);
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java489 if (Binder.getCallingPid() == Process.myPid()) { in enforceCallingPermission()
493 Binder.getCallingPid(), Binder.getCallingUid(), null); in enforceCallingPermission()
512 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump()
/frameworks/base/services/java/com/android/server/accessibility/
DAccessibilityManagerService.java366 Slog.i(LOG_TAG, "Added global client for pid:" + Binder.getCallingPid()); in addClient()
375 Slog.i(LOG_TAG, "Added user client for pid:" + Binder.getCallingPid() in addClient()
405 return (OWN_PROCESS_ID != Binder.getCallingPid()); in sendAccessibilityEvent()
497 Slog.i(LOG_TAG, "Added global connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection()
508 Slog.i(LOG_TAG, "Added user connection for pid:" + Binder.getCallingPid() in addAccessibilityInteractionConnection()
528 Slog.i(LOG_TAG, "Removed global connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection()
541 Slog.i(LOG_TAG, "Removed user connection for pid:" + Binder.getCallingPid() in removeAccessibilityInteractionConnection()
1940 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByViewId()
1985 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByText()
2030 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfoByAccessibilityId()
[all …]
/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/services/common_time/
Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(), in dumpClockInterface()
374 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface()
/frameworks/base/services/java/com/android/server/wm/
DSession.java72 mPid = Binder.getCallingPid(); in Session()
189 + Binder.getCallingPid()); in relayout()
195 + Binder.getCallingPid()); in relayout()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardService.java65 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() in checkPermission()
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java92 + Binder.getCallingPid() in dump()
375 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() in checkPermission()
/frameworks/base/services/java/com/android/server/wifi/
DWifiService.java381 this.pid = getCallingPid(); in BatchedScanRequest()
457 stopBatchedScan(settings, getCallingUid(), getCallingPid()); in stopBatchedScan()
593 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid() in setWifiEnabled()
1194 + Binder.getCallingPid() in dump()
1343 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid()); in acquireWifiLock()
1405 int pid = Binder.getCallingPid(); in updateWifiLockWorkSource()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfo.java230 + Binder.getCallingPid() in dump()
/frameworks/native/services/surfaceflinger/
DClient.cpp93 const int pid = ipc->getCallingPid(); in onTransact()
/frameworks/base/services/java/com/android/server/display/
DDisplayManagerService.java446 int callingPid = Binder.getCallingPid(); in registerCallback()
477 final int callingPid = Binder.getCallingPid(); in startWifiDisplayScan()
509 final int callingPid = Binder.getCallingPid(); in stopWifiDisplayScan()
1149 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); in dump()

1234