/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 18 private static Integer callingPid; 27 if (callingPid != null) { 28 return callingPid; 42 ShadowBinder.callingPid = pid; 50 ShadowBinder.callingPid = null;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationDelegate.java | 21 void onClearAll(int callingUid, int callingPid, int userId); 22 void onNotificationClick(int callingUid, int callingPid, String key); 23 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex); 24 void onNotificationClear(int callingUid, int callingPid, 26 void onNotificationError(int callingUid, int callingPid,
|
NotificationManagerInternal.java | 22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid,
|
NotificationManagerService.java | 533 public void onClearAll(int callingUid, int callingPid, int userId) { 535 cancelAllLocked(callingUid, callingPid, userId, REASON_DELEGATE_CANCEL_ALL, null, 541 public void onNotificationClick(int callingUid, int callingPid, String key) { 550 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(), 558 public void onNotificationActionClick(int callingUid, int callingPid, String key, 572 public void onNotificationClear(int callingUid, int callingPid, 574 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 627 public void onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id, 631 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 0, false, userId, [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.cpp | 45 int callingPid = getCallingPid(); 46 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId); 59 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId); 63 int callingPid = getCallingPid(); 66 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); 95 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); 108 int callingPid = getCallingPid(); 109 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this); 112 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this); 141 int callingPid = getCallingPid() [all...] |
Camera2Client.cpp | 392 int callingPid = getCallingPid(); 393 if (callingPid != mClientPid && callingPid != mServicePid) return; [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
Camera2ClientBase.cpp | 72 int callingPid = getCallingPid(); 73 if (callingPid == TClientBase::mClientPid) return NO_ERROR; 76 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); 175 int callingPid = getCallingPid(); 176 if (callingPid != TClientBase::mClientPid && 177 callingPid != TClientBase::mServicePid) return;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 225 public void startSessionLocked(int callingPid, int callingUid, Bundle args) { 233 public boolean deliverNewSessionLocked(int callingPid, int callingUid, IBinder token, 244 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, 254 return mAm.startVoiceActivity(mComponent.getPackageName(), callingPid, callingUid, 263 public void finishLocked(int callingPid, int callingUid, IBinder token) {
|
VoiceInteractionManagerService.java | 388 final int callingPid = Binder.getCallingPid(); 392 mImpl.startSessionLocked(callingPid, callingUid, args); 407 final int callingPid = Binder.getCallingPid(); 411 return mImpl.deliverNewSessionLocked(callingPid, callingUid, token, session, 426 final int callingPid = Binder.getCallingPid(); 433 return mImpl.startVoiceActivityLocked(callingPid, callingUid, token, 448 final int callingPid = Binder.getCallingPid(); 452 mImpl.finishLocked(callingPid, callingUid, token); [all...] |
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 570 int callingPid = getCallingPid(); 576 if (callingPid != getpid()) { 578 callingPid); 590 callingPid, cameraId); 598 ALOGI("Camera is disabled. connect X (pid %d) rejected", callingPid); 605 " connect X (pid %d) rejected", callingPid); 609 " connect X (pid %d) rejected", callingPid); 623 int callingPid = getCallingPid(); 630 callingPid); 636 " (existing client).", callingPid); [all...] |
CameraService.h | 463 int callingPid,
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerService.java | 537 final int callingPid = Binder.getCallingPid(); 540 mNotificationDelegate.onNotificationClick(callingUid, callingPid, key); 550 final int callingPid = Binder.getCallingPid(); 553 mNotificationDelegate.onNotificationActionClick(callingUid, callingPid, key, 565 final int callingPid = Binder.getCallingPid(); 569 mNotificationDelegate.onNotificationError(callingUid, callingPid, 580 final int callingPid = Binder.getCallingPid(); 583 mNotificationDelegate.onNotificationClear(callingUid, callingPid, pkg, tag, id, userId); 619 final int callingPid = Binder.getCallingPid(); 622 mNotificationDelegate.onClearAll(callingUid, callingPid, userId) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
BroadcastRecord.java | 44 final int callingPid; // the pid of who sent this 99 pw.print(" pid="); pw.print(callingPid); 187 callingPid = _callingPid;
|
ActivityStackSupervisor.java | [all...] |
BroadcastQueue.java | 448 r.callingPid, r.callingUid, -1, true); 453 + r.callingPid + ", uid=" + r.callingUid + ")" 486 r.callingPid, r.resolvedType, filter.receiverList.uid); 753 r.callingPid, r.callingUid, info.activityInfo.applicationInfo.uid, [all...] |
ActiveServices.java | 300 int callingPid, int callingUid, int userId) { 321 callingPid, callingUid, userId, true, callerFg); 402 + callingUid + " pid=" + callingPid + "): " + r); [all...] |
ActivityManagerService.java | [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayManagerService.java | 383 private void registerCallbackInternal(IDisplayManagerCallback callback, int callingPid) { 385 if (mCallbacks.get(callingPid) != null) { 390 CallbackRecord record = new CallbackRecord(callingPid, callback); 399 mCallbacks.put(callingPid, record); 410 private void startWifiDisplayScanInternal(int callingPid) { 412 CallbackRecord record = mCallbacks.get(callingPid); 432 private void stopWifiDisplayScanInternal(int callingPid) { 434 CallbackRecord record = mCallbacks.get(callingPid); [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
InputManagerService.java | 622 int callingPid = Binder.getCallingPid(); 623 if (mInputDevicesChangedListeners.get(callingPid) != null) { 629 new InputDevicesChangedListenerRecord(callingPid, listener); 638 mInputDevicesChangedListeners.put(callingPid, record); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AppOpsService.java | 442 final int callingPid = Binder.getCallingPid(); 445 callingPid, callingUid, null); 446 reqUserId = ActivityManager.handleIncomingUser(callingPid, callingUid, reqUserId, [all...] |
/frameworks/av/media/libmedia/ |
AudioTrack.cpp | 387 int callingpid = IPCThreadState::self()->getCallingPid(); local 389 if (uid == -1 || (callingpid != mypid)) { 394 if (pid == -1 || (callingpid != mypid)) { 395 mClientPid = callingpid; [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 85 public int startVoiceActivity(String callingPackage, int callingPid, int callingUid, 212 public int handleIncomingUser(int callingPid, int callingUid, int userId, boolean allowAll, [all...] |
ActivityManagerNative.java | 271 int callingPid = data.readInt(); 285 int result = startVoiceActivity(callingPackage, callingPid, callingUid, intent, [all...] |
ActivityManager.java | [all...] |
/frameworks/base/services/core/java/com/android/server/tv/ |
TvInputManagerService.java | 487 private int resolveCallingUserId(int callingPid, int callingUid, int requestedUserId, 489 return ActivityManager.handleIncomingUser(callingPid, callingUid, requestedUserId, false, [all...] |