HomeSort by relevance Sort by last modified time
    Searched refs:callingPid (Results 1 - 25 of 46) sorted by null

1 2

  /frameworks/base/services/core/java/com/android/server/notification/
NotificationDelegate.java 23 void onClearAll(int callingUid, int callingPid, int userId);
24 void onNotificationClick(int callingUid, int callingPid, String key);
25 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex);
26 void onNotificationClear(int callingUid, int callingPid,
28 void onNotificationError(int callingUid, int callingPid,
NotificationManagerInternal.java 22 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid,
NotificationManagerService.java 515 public void onClearAll(int callingUid, int callingPid, int userId) {
517 cancelAllLocked(callingUid, callingPid, userId, REASON_DELEGATE_CANCEL_ALL, null,
523 public void onNotificationClick(int callingUid, int callingPid, String key) {
535 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(),
543 public void onNotificationActionClick(int callingUid, int callingPid, String key,
559 public void onNotificationClear(int callingUid, int callingPid,
561 cancelNotification(callingUid, callingPid, pkg, tag, id, 0,
590 public void onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id,
594 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 0, false, userId,
    [all...]
  /external/robolectric/v1/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/av/services/mediaresourcemanager/
ResourceManagerService.h 71 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources);
82 bool getAllClients_l(int callingPid, MediaResource::Type type,
88 bool getLowestPriorityBiggestClient_l(int callingPid, MediaResource::Type type,
99 bool isCallingPriorityHigher_l(int callingPid, int pid);
104 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
ResourceManagerService.cpp 251 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) {
256 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) {
262 int callingPid, const Vector<MediaResource> &resources) {
263 String8 log = String8::format("reclaimResource(callingPid %d, resources %s)",
264 callingPid, getString(resources).string());
270 if (!mProcessInfo->isValidPid(callingPid)) {
271 ALOGE("Rejected reclaimResource call with invalid callingPid.");
291 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) {
296 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) {
303 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients))
    [all...]
  /frameworks/av/media/libstagefright/
ProcessInfo.cpp 57 int callingPid = IPCThreadState::self()->getCallingPid();
59 return (callingPid == getpid()) || (callingPid == pid);
  /frameworks/av/services/camera/libcameraservice/api1/
CameraClient.cpp 46 int callingPid = getCallingPid();
47 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId);
60 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId);
64 int callingPid = getCallingPid();
67 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId);
96 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId);
104 int callingPid = getCallingPid();
105 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this);
108 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this);
142 int callingPid = getCallingPid()
    [all...]
  /frameworks/av/include/media/
IResourceManagerService.h 49 int callingPid,
DrmSessionManager.h 54 bool reclaimSession(int callingPid);
  /frameworks/av/media/libmedia/
IResourceManagerService.cpp 97 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources) {
100 data.writeInt32(callingPid);
154 int callingPid = data.readInt32();
157 bool ret = reclaimResource(callingPid, resources);
  /frameworks/av/services/camera/libcameraservice/common/
Camera2ClientBase.cpp 73 int callingPid = getCallingPid();
74 if (callingPid == TClientBase::mClientPid) return NO_ERROR;
77 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid);
179 int callingPid = getCallingPid();
180 if (callingPid != TClientBase::mClientPid &&
181 callingPid != TClientBase::mServicePid) return res;
  /frameworks/av/drm/libmediadrm/
DrmSessionManager.cpp 141 bool DrmSessionManager::reclaimSession(int callingPid) {
142 ALOGV("reclaimSession(%d)", callingPid);
151 if (!mProcessInfo->getPriority(callingPid, &callingPriority)) {
  /frameworks/base/services/core/java/com/android/server/display/
DisplayManagerService.java 417 private void registerCallbackInternal(IDisplayManagerCallback callback, int callingPid) {
419 if (mCallbacks.get(callingPid) != null) {
424 CallbackRecord record = new CallbackRecord(callingPid, callback);
433 mCallbacks.put(callingPid, record);
444 private void startWifiDisplayScanInternal(int callingPid) {
446 CallbackRecord record = mCallbacks.get(callingPid);
466 private void stopWifiDisplayScanInternal(int callingPid) {
468 CallbackRecord record = mCallbacks.get(callingPid);
    [all...]
  /frameworks/base/services/core/java/com/android/server/statusbar/
StatusBarManagerService.java 758 final int callingPid = Binder.getCallingPid();
761 mNotificationDelegate.onNotificationClick(callingUid, callingPid, key);
771 final int callingPid = Binder.getCallingPid();
774 mNotificationDelegate.onNotificationActionClick(callingUid, callingPid, key,
786 final int callingPid = Binder.getCallingPid();
790 mNotificationDelegate.onNotificationError(callingUid, callingPid,
801 final int callingPid = Binder.getCallingPid();
804 mNotificationDelegate.onNotificationClear(callingUid, callingPid, pkg, tag, id, userId);
841 final int callingPid = Binder.getCallingPid();
844 mNotificationDelegate.onClearAll(callingUid, callingPid, userId)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmMockContext.java 98 public int callingPid = CALLER_PID;
101 final long token = (((long) callingUid) << 32) | (callingPid);
103 callingPid = SYSTEM_PID;
109 callingPid = (int) token;
117 return callingPid;
503 if (binder.callingPid != SYSTEM_PID) {
  /frameworks/av/services/camera/libcameraservice/
CameraService.cpp     [all...]
  /frameworks/base/services/core/java/com/android/server/am/
ActivityStarter.java 229 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid,
240 callingPid = callerApp.pid;
244 + " (pid=" + callingPid + ") when starting: "
373 requestCode, callingPid, callingUid, callingPackage, ignoreTargetSecurity, callerApp,
376 callingPid, resolvedType, aInfo.applicationInfo);
391 mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, callingUid,
398 callingPid = mInterceptor.mCallingPid;
437 callingPid = realCallingPid;
489 callingPid = realCallingPid;
512 if (!mService.checkAppSwitchAllowedLocked(callingPid, callingUid
    [all...]
ActivityStartInterceptor.java 97 TaskRecord inTask, int callingPid, int callingUid, ActivityOptions activityOptions) {
100 mCallingPid = callingPid;
BroadcastRecord.java 49 final int callingPid; // the pid of who sent this
114 pw.print(" pid="); pw.print(callingPid);
227 callingPid = _callingPid;
BroadcastQueue.java 504 r.callingPid, r.callingUid, -1, true);
509 + r.callingPid + ", uid=" + r.callingUid + ")"
521 + r.callingPid + ", uid=" + r.callingUid + ")"
607 r.callingPid, r.resolvedType, filter.receiverList.uid)) {
    [all...]
ActiveServices.java 307 int callingPid, int callingUid, String callingPackage, final int userId)
329 callingPid, callingUid, userId, true, callerFg, false);
351 r.appInfo.uid, r.packageName, callingPid, true);
355 + " from pid=" + callingPid + " uid=" + callingUid
443 + callingUid + " pid=" + callingPid + "): " + r);
    [all...]
  /frameworks/av/services/audiopolicy/service/
AudioPolicyInterfaceImpl.cpp 297 const pid_t callingPid = IPCThreadState::self()->getCallingPid();
298 ALOGW_IF(pid != (pid_t)-1 && pid != callingPid,
300 __func__, callingUid, callingPid, pid);
301 pid = callingPid;
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerServiceImpl.java 184 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token,
198 return mAm.startVoiceActivity(mComponent.getPackageName(), callingPid, callingUid,
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 671 int callingPid = Binder.getCallingPid();
672 if (mInputDevicesChangedListeners.get(callingPid) != null) {
678 new InputDevicesChangedListenerRecord(callingPid, listener);
687 mInputDevicesChangedListeners.put(callingPid, record);
    [all...]

Completed in 507 milliseconds

1 2