/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowBinder.java | 17 private static Integer callingPid; 44 if (callingPid != null) { 45 return callingPid; 59 ShadowBinder.callingPid = pid; 68 ShadowBinder.callingPid = null;
|
/frameworks/av/services/mediaresourcemanager/ |
ResourceManagerService.h | 73 virtual bool reclaimResource(int callingPid, const Vector<MediaResource> &resources); 86 bool getAllClients_l(int callingPid, MediaResource::Type type, 92 bool getLowestPriorityBiggestClient_l(int callingPid, MediaResource::Type type, 103 bool isCallingPriorityHigher_l(int callingPid, int pid); 108 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients);
|
ResourceManagerService.cpp | 306 int callingPid, const MediaResource *res, Vector<sp<IResourceManagerClient>> *clients) { 311 if (getLowestPriorityBiggestClient_l(callingPid, res->mType, &client)) { 317 int callingPid, const Vector<MediaResource> &resources) { 318 String8 log = String8::format("reclaimResource(callingPid %d, resources %s)", 319 callingPid, getString(resources).string()); 325 if (!mProcessInfo->isValidPid(callingPid)) { 326 ALOGE("Rejected reclaimResource call with invalid callingPid."); 346 if (!getAllClients_l(callingPid, MediaResource::kSecureCodec, &clients)) { 351 if (!getAllClients_l(callingPid, MediaResource::kNonSecureCodec, &clients)) { 358 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 | 45 int callingPid = CameraThreadState::getCallingPid(); 46 LOG1("CameraClient::CameraClient E (pid %d, id %d)", callingPid, cameraId); 58 LOG1("CameraClient::CameraClient X (pid %d, id %d)", callingPid, cameraId); 63 int callingPid = CameraThreadState::getCallingPid(); 66 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); 96 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); 104 int callingPid = CameraThreadState::getCallingPid(); 105 LOG1("CameraClient::~CameraClient E (pid %d, this %p)", callingPid, this); 108 LOG1("CameraClient::~CameraClient X (pid %d, this %p)", callingPid, this); 147 int callingPid = CameraThreadState::getCallingPid() [all...] |
Camera2Client.cpp | 402 int callingPid = CameraThreadState::getCallingPid(); 403 if (callingPid != mClientPid && callingPid != mServicePid) return res; [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 | 71 int callingPid = CameraThreadState::getCallingPid(); 72 if (callingPid == TClientBase::mClientPid) return NO_ERROR; 75 " (old pid %d, new pid %d)", checkLocation, TClientBase::mClientPid, callingPid); 186 int callingPid = CameraThreadState::getCallingPid(); 187 if (callingPid != TClientBase::mClientPid && 188 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/cmds/incidentd/src/ |
IncidentService.cpp | 66 pid_t callingPid = IPCThreadState::self()->getCallingPid(); 82 callingPid, callingUid); 89 callingPid, callingUid); 100 callingPid, callingUid); 110 callingPid, callingUid);
|
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 527 int callingPid = CameraThreadState::getCallingPid(); 531 if ((callingPid != getpid()) && 532 !checkPermission(String16("android.permission.CAMERA"), callingPid, callingUid)) { 909 int callingPid = CameraThreadState::getCallingPid(); [all...] |
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 373 const pid_t callingPid = IPCThreadState::self()->getCallingPid(); 374 ALOGW_IF(pid != (pid_t)-1 && pid != callingPid, 376 __func__, callingUid, callingPid, pid); 377 pid = callingPid; [all...] |
/frameworks/av/media/libaudioclient/ |
AudioRecord.cpp | 215 pid_t callingPid; 314 callingPid = IPCThreadState::self()->getCallingPid(); 316 if (uid == AUDIO_UID_INVALID || (callingPid != myPid)) { 321 if (pid == -1 || (callingPid != myPid)) { 322 mClientPid = callingPid; [all...] |
AudioTrack.cpp | 350 pid_t callingPid; 553 callingPid = IPCThreadState::self()->getCallingPid(); 555 if (uid == AUDIO_UID_INVALID || (callingPid != myPid)) { 560 if (pid == -1 || (callingPid != myPid)) { 561 mClientPid = callingPid; [all...] |
/frameworks/av/services/audioflinger/ |
AudioFlinger.cpp | 706 const pid_t callingPid = IPCThreadState::self()->getCallingPid(); 708 ALOGW_IF(clientPid != -1 && clientPid != callingPid, 710 __func__, callingUid, callingPid, clientPid); 711 clientPid = callingPid; 791 callingPid, input.clientInfo.clientTid, clientUid, [all...] |
Threads.cpp | [all...] |