/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | BinderUtil.java | 30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid());
|
H A D | BinderUtilTest.java | 59 final int pid = Binder.getCallingPid(); 65 assertEquals(pid, Binder.getCallingPid()); 71 assertEquals(pid, Binder.getCallingPid()); 81 final int pid = Binder.getCallingPid(); 87 assertEquals(pid, Binder.getCallingPid()); 92 assertEquals(pid, Binder.getCallingPid());
|
/frameworks/base/core/java/android/hardware/location/ |
H A 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/base/core/java/android/content/ |
H A D | PermissionChecker.java | 149 if (Binder.getCallingPid() == Process.myPid()) { 152 return checkPermission(context, permission, Binder.getCallingPid(), 168 String packageName = (Binder.getCallingPid() == Process.myPid()) 170 return checkPermission(context, permission, Binder.getCallingPid(),
|
/frameworks/support/compat/src/main/java/androidx/core/content/ |
H A D | PermissionChecker.java | 152 if (Binder.getCallingPid() == Process.myPid()) { 155 return checkPermission(context, permission, Binder.getCallingPid(), 171 String packageName = (Binder.getCallingPid() == Process.myPid()) 173 return checkPermission(context, permission, Binder.getCallingPid(),
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 34 static int getCallingPid() { function in namespace:android 35 return IPCThreadState::self()->getCallingPid(); 48 int callingPid = getCallingPid(); 67 int callingPid = getCallingPid(); 108 int callingPid = getCallingPid(); 151 int callingPid = getCallingPid(); 161 ALOGE("attempt to use a camera after disconnect() (pid %d)", getCallingPid()); 170 int callingPid = getCallingPid(); 185 int callingPid = getCallingPid(); 207 int callingPid = getCallingPid(); [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 39 static int getCallingPid() { function in namespace:android 40 return IPCThreadState::self()->getCallingPid(); 74 int callingPid = getCallingPid(); 189 int callingPid = getCallingPid(); 222 getCallingPid() != TClientBase::mClientPid) { 228 getCallingPid(), 233 TClientBase::mClientPid = getCallingPid();
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 760 int pid = getCallingPid(); 1147 mSessionCb.sendCommand(packageName, Binder.getCallingPid(), Binder.getCallingUid(), 1154 return mSessionCb.sendMediaButton(packageName, Binder.getCallingPid(), 1238 int pid = Binder.getCallingPid(); 1252 int pid = Binder.getCallingPid(); 1264 mSessionCb.prepare(packageName, Binder.getCallingPid(), Binder.getCallingUid(), caller); 1270 mSessionCb.prepareFromMediaId(packageName, Binder.getCallingPid(), 1277 mSessionCb.prepareFromSearch(packageName, Binder.getCallingPid(), 1284 mSessionCb.prepareFromUri(packageName, Binder.getCallingPid(), Binder.getCallingUid(), 1290 mSessionCb.play(packageName, Binder.getCallingPid(), Binde [all...] |
/frameworks/av/media/utils/ |
H A D | ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid();
|
/frameworks/base/core/java/android/view/ |
H A D | RemoteAnimationAdapter.java | 55 /** @see #getCallingPid */ 99 public int getCallingPid() { method in class:RemoteAnimationAdapter
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
H A D | WebViewUpdateService.java | 190 if (Binder.getCallingPid() == Process.myPid()) { 206 + Binder.getCallingPid() 254 + Binder.getCallingPid() 280 + Binder.getCallingPid()
|
/frameworks/native/services/inputflinger/host/ |
H A D | InputFlinger.cpp | 51 const int pid = ipc->getCallingPid();
|
/frameworks/av/services/audioflinger/ |
H A D | ServiceUtilities.cpp | 145 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; 166 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true;
|
/frameworks/base/services/core/java/com/android/server/os/ |
H A D | SchedulingPolicyService.java | 120 if (Binder.getCallingPid() != Process.myPid() && 209 if (Binder.getCallingPid() == Process.myPid()) {
|
/frameworks/native/services/vr/virtual_touchpad/ |
H A D | VirtualTouchpadService.cpp | 104 const pid_t pid = ipc->getCallingPid(); 134 *out_pid = ipc->getCallingPid();
|
/frameworks/av/services/oboeservice/ |
H A D | AAudioService.cpp | 62 << IPCThreadState::self()->getCallingPid() << ", uid=" 77 pid_t pid = IPCThreadState::self()->getCallingPid(); 108 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && 273 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review
|
/frameworks/native/services/sensorservice/ |
H A D | SensorRegistrationInfo.h | 47 mPid = (thread != nullptr) ? thread->getCallingPid() : -1;
|
/frameworks/native/services/vr/hardware_composer/ |
H A D | vr_composer.cpp | 12 const pid_t pid = ipc->getCallingPid();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | LocalOnlyHotspotRequestInfo.java | 55 mPid = Binder.getCallingPid();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | DumpUtils.java | 89 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 120 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() 146 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 846 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 865 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 891 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 915 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 937 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 984 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 996 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 1025 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 1040 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), 1056 final int resolvedUserId = resolveCallingUserId(Binder.getCallingPid(), [all...] |
/frameworks/av/media/libmediametrics/ |
H A D | IMediaAnalyticsService.cpp | 122 int clientPid = ipc->getCallingPid();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | UpdateLockService.java | 112 + " pid=" + Binder.getCallingPid() + '}';
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 42 pid_t getCallingPid() const;
|
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 84 pid_t pid = ipcState->getCallingPid();
|