/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 | 24 void enqueueNotification(String pkg, String basePkg, int callingUid, int callingPid,
|
NotificationManagerService.java | 630 public void onClearAll(int callingUid, int callingPid, int userId) { 632 cancelAllLocked(callingUid, callingPid, userId, REASON_CANCEL_ALL, null, 638 public void onNotificationClick(int callingUid, int callingPid, String key) { 653 cancelNotification(callingUid, callingPid, sbn.getPackageName(), sbn.getTag(), 661 public void onNotificationActionClick(int callingUid, int callingPid, String key, 681 public void onNotificationClear(int callingUid, int callingPid, 683 cancelNotification(callingUid, callingPid, pkg, tag, id, 0, 715 public void onNotificationError(int callingUid, int callingPid, String pkg, String tag, int id, 719 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 | 72 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources); 85 bool getAllClients_l(int callingPid, MediaResource::Type type, 91 bool getLowestPriorityBiggestClient_l(int callingPid, MediaResource::Type type, 102 bool isCallingPriorityHigher_l(int callingPid, int pid); 107 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
|
ResourceManagerService.cpp | 285 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { 290 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { 296 int callingPid, const Vector<MediaResource> &resources) { 297 String8 log = String8::format("reclaimResource(callingPid %d, resources %s)", 298 callingPid, getString(resources).string()); 304 if (!mProcessInfo->isValidPid(callingPid)) { 305 ALOGE("Rejected reclaimResource call with invalid callingPid."); 325 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { 330 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { 337 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) [all...] |
/frameworks/av/media/utils/ |
ProcessInfo.cpp | 57 int callingPid = IPCThreadState::self()->getCallingPid(); 59 return (callingPid == getpid()) || (callingPid == pid);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.cpp | 48 int callingPid = getCallingPid(); 49 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId); 62 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId); 66 int callingPid = getCallingPid(); 69 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); 99 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); 107 int callingPid = getCallingPid(); 108 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this); 111 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this); 145 int callingPid = getCallingPid() [all...] |
/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/media/libmedia/include/media/ |
IResourceManagerService.h | 49 int callingPid,
|
DrmSessionManager.h | 54 bool reclaimSession(int callingPid);
|
/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); 185 int callingPid = getCallingPid(); 186 if (callingPid != TClientBase::mClientPid && 187 callingPid != TClientBase::mServicePid) return res;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestBase.java | 97 final int callingPid = caller.binder.callingPid; 102 serviceContext.binder.callingPid = callingPid;
|
DpmMockContext.java | 83 public int callingPid = CALLER_PID; 87 final long token = (((long) callingUid) << 32) | (callingPid); 89 callingPid = SYSTEM_PID; 95 callingPid = (int) token; 103 return callingPid; 280 if (binder.callingPid != SYSTEM_PID) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
VideoProviderProxy.java | 307 * @param callingPid The PID of the caller. 313 int callingPid, int targetSdkVersion) { 319 if (!canUseCamera(mCall.getContext(), callingPackage, callingUid, callingPid)) { 324 callingPackage, callingUid, callingPid, targetSdkVersion); 554 * @param callingPid The PID of the caller. 559 int callingPid) { 569 context.enforcePermission(Manifest.permission.CAMERA, callingPid, callingUid,
|
/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/am/ |
BroadcastRecord.java | 49 final int callingPid; // the pid of who sent this 115 pw.print(" pid="); pw.print(callingPid); 230 callingPid = _callingPid; 261 callingPid = from.callingPid;
|
ActivityStarter.java | 266 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, 280 callingPid, callingUid, callingPackage, realCallingPid, realCallingUid, startFlags, 297 IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, 310 callingPid = callerApp.pid; 314 + " (pid=" + callingPid + ") when starting: " 439 requestCode, callingPid, callingUid, callingPackage, ignoreTargetSecurity, callerApp, 442 callingPid, resolvedType, aInfo.applicationInfo); 457 mInterceptor.intercept(intent, rInfo, aInfo, resolvedType, inTask, callingPid, callingUid, 464 callingPid = mInterceptor.mCallingPid; 503 callingPid = realCallingPid [all...] |
ActivityStartInterceptor.java | 98 TaskRecord inTask, int callingPid, int callingUid, ActivityOptions activityOptions) { 101 mCallingPid = callingPid;
|
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayManagerService.java | 520 private void registerCallbackInternal(IDisplayManagerCallback callback, int callingPid) { 522 if (mCallbacks.get(callingPid) != null) { 527 CallbackRecord record = new CallbackRecord(callingPid, callback); 536 mCallbacks.put(callingPid, record); 547 private void startWifiDisplayScanInternal(int callingPid) { 549 CallbackRecord record = mCallbacks.get(callingPid); 569 private void stopWifiDisplayScanInternal(int callingPid) { 571 CallbackRecord record = mCallbacks.get(callingPid); [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerService.java | 860 final int callingPid = Binder.getCallingPid(); 863 mNotificationDelegate.onNotificationClick(callingUid, callingPid, key); 873 final int callingPid = Binder.getCallingPid(); 876 mNotificationDelegate.onNotificationActionClick(callingUid, callingPid, key, 888 final int callingPid = Binder.getCallingPid(); 892 mNotificationDelegate.onNotificationError(callingUid, callingPid, 903 final int callingPid = Binder.getCallingPid(); 906 mNotificationDelegate.onNotificationClear(callingUid, callingPid, pkg, tag, id, userId); 943 final int callingPid = Binder.getCallingPid(); 946 mNotificationDelegate.onClearAll(callingUid, callingPid, userId) [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 190 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, 204 return mAm.startVoiceActivity(mComponent.getPackageName(), callingPid, callingUid, 212 public int startAssistantActivityLocked(int callingPid, int callingUid, IBinder token, 227 return mAm.startAssistantActivity(mComponent.getPackageName(), callingPid, callingUid,
|
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 853 int callingPid = getCallingPid(); 857 callingPid); 863 ALOGE("CameraService::connect X (PID %d) rejected (invalid camera ID %s)", callingPid, 887 int callingPid = getCallingPid(); 895 "(don't trust clientUid %d)", callingPid, callingUid, clientUid); 899 callingPid, callingUid, cameraId.string(), 905 clientPid = callingPid; 908 "(don't trust clientPid %d)", callingPid, callingUid, clientPid); [all...] |
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 302 const pid_t callingPid = IPCThreadState::self()->getCallingPid(); 303 ALOGW_IF(pid != (pid_t)-1 && pid != callingPid, 305 __func__, callingUid, callingPid, pid); 306 pid = callingPid;
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
SubscriptionManager.h | 137 sp<HalClient> getOrCreateHalClientLocked(ClientId callingPid,
|