/frameworks/av/services/audioflinger/ |
H A D | SchedulingPolicyService.cpp | 28 int requestPriority(pid_t pid, pid_t tid, int32_t prio) argument 49 return sps->requestPriority(pid, tid, prio);
|
H A D | ISchedulingPolicyService.cpp | 40 virtual int requestPriority(int32_t pid, int32_t tid, int32_t prio) argument 44 data.writeInt32(pid);
|
/frameworks/base/core/java/android/net/ |
H A D | Credentials.java | 24 /** pid of process. root peers may lie. */ 25 private final int pid; field in class:Credentials 31 public Credentials (int pid, int uid, int gid) { argument 32 this.pid = pid; 38 return pid;
|
/frameworks/base/core/java/android/os/ |
H A D | SchedulingPolicyService.java | 41 public int requestPriority(int pid, int tid, int prio) { argument 42 //Log.i(TAG, "requestPriority(pid=" + pid + ", tid=" + tid + ", prio=" + prio + ")"); 46 // Once we've verified that the caller is mediaserver, we can trust the pid but 47 // we can't trust the tid. No need to explicitly check for pid == 0 || tid == 0, 50 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) { 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
H A D | SELinux.java | 92 * @param pid an int representing the process id to check. 93 * @return a String representing the security context of the given pid. 95 public static final native String getPidContext(int pid); argument
|
/frameworks/native/libs/binder/ |
H A D | IPermissionController.cpp | 40 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) argument 45 data.writeInt32(pid); 66 int32_t pid = data.readInt32(); local 68 bool res = checkPermission(permission, pid, uid);
|
H A D | PermissionCache.cpp | 62 // note, we don't need to store the pid, which is not actually used in 84 pid_t pid = ipcState->getCallingPid(); local 86 if (outPid) *outPid = pid; 88 return PermissionCache::checkPermission(permission, pid, uid); 92 const String16& permission, pid_t pid, uid_t uid) { 93 if ((uid == 0) || (pid == getpid())) { 102 granted = android::checkPermission(permission, pid, uid); 91 checkPermission( const String16& permission, pid_t pid, uid_t uid) argument
|
H A D | IServiceManager.cpp | 60 pid_t pid = ipcState->getCallingPid(); local 62 if (outPid) *outPid = pid; 64 return checkPermission(permission, pid, uid); 67 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) argument 78 bool res = pc->checkPermission(permission, pid, uid); 81 ALOGI("Check passed after %d seconds for %s from uid=%d pid=%d", 83 String8(permission).string(), uid, pid); 90 ALOGW("Permission failure: %s from uid=%d pid=%d", 91 String8(permission).string(), uid, pid); 109 ALOGI("Waiting to check permission %s from uid=%d pid [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputBinding.java | 57 * @param pid The process id of where the binding came from. 60 int uid, int pid) { 64 mPid = pid; 121 + " / uid " + mUid + " / pid " + mPid + "}"; 59 InputBinding(InputConnection conn, IBinder connToken, int uid, int pid) argument
|
/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 59 // get the info in /proc/[pid]/map 63 pid_t pid = getpid(); local 66 sprintf(path, "/proc/%d/maps", pid);
|
H A D | com_android_internal_os_ZygoteInit.cpp | 70 JNIEnv* env, jobject clazz, jint pid, jint pgid) 72 if (setpgid(pid, pgid) < 0) { 80 * private static native int getpgid(int pid) 83 JNIEnv* env, jobject clazz, jint pid) 86 ret = getpgid(pid); 177 capheader.pid = 0; 193 jobject clazz, jint pid) 203 capheader.pid = pid; 69 com_android_internal_os_ZygoteInit_setpgid( JNIEnv* env, jobject clazz, jint pid, jint pgid) argument 82 com_android_internal_os_ZygoteInit_getpgid( JNIEnv* env, jobject clazz, jint pid) argument 192 com_android_internal_os_ZygoteInit_capgetPermitted(JNIEnv *env, jobject clazz, jint pid) argument
|
/frameworks/base/tools/preload/ |
H A D | Record.java | 73 final int pid; field in class:Record 119 pid = Integer.parseInt(parts[1]);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 44 MetadataRetrieverClient::MetadataRetrieverClient(pid_t pid) argument 46 ALOGV("MetadataRetrieverClient constructor pid(%d)", pid); 47 mPid = pid; 65 snprintf(buffer, 255, " pid(%d)\n", mPid); 74 ALOGV("disconnect from pid %d", mPid);
|
H A D | MediaRecorderClient.cpp | 303 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument 306 mPid = pid;
|
/frameworks/base/cmds/screenshot/ |
H A D | screenshot.c | 92 pid_t pid = fork(); local 93 if (pid == 0) {
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ReceiverList.java | 40 public final int pid; field in class:ReceiverList 53 pid = _pid; 73 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); 104 sb.append(pid);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 95 const int pid = ipc->getCallingPid(); local 98 if (CC_UNLIKELY(pid != self_pid && uid != AID_GRAPHICS && uid != 0)) { 103 "can't openGlobalTransaction pid=%d, uid=%d", pid, uid);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 77 int pid = smsMessage.getProtocolIdentifier(); 132 EVENT_SEND_ENVELOPE_RESPONSE, new int[]{ dcs, pid })); 161 private void sendSmsAckForEnvelopeResponse(IccIoResult response, int dcs, int pid) { argument 206 smsAckPdu[index++] = (byte) pid;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 59 virtual sp<IMediaMetadataRetriever> createMetadataRetriever(pid_t pid) argument 63 data.writeInt32(pid); 69 pid_t pid, const sp<IMediaPlayerClient>& client, int audioSessionId) { 72 data.writeInt32(pid); 80 virtual sp<IMediaRecorder> createMediaRecorder(pid_t pid) argument 84 data.writeInt32(pid); 171 pid_t pid = data.readInt32(); local 175 sp<IMediaPlayer> player = create(pid, client, audioSessionId); 209 pid_t pid = data.readInt32(); local 210 sp<IMediaRecorder> recorder = createMediaRecorder(pid); 68 create( pid_t pid, const sp<IMediaPlayerClient>& client, int audioSessionId) argument 216 pid_t pid = data.readInt32(); local [all...] |
H A D | IOMX.cpp | 60 virtual bool livesLocally(node_id node, pid_t pid) { argument 64 data.writeInt32(pid); 420 pid_t pid = (pid_t)data.readInt32(); local 421 reply->writeInt32(livesLocally(node, pid));
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteConnection.java | 206 int pid = -1; 235 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid, parsedArgs.gids, 250 if (pid == 0) { 260 // in parent...pid of < 0 means failure 263 return handleParentProc(pid, descriptors, serverPipeFd, parsedArgs); 565 * After the zygote process reads these it will write the pid of 983 * @param pid != 0; pid of child if > 0 or indication of failed fork 992 private boolean handleParentProc(int pid, argument 995 if (pid > 1062 setChildPgid(int pid) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 106 Uri uri, String readPermission, String writePermission, int pid, 112 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { argument 105 checkUriPermission( Uri uri, String readPermission, String writePermission, int pid, int uid, int modeFlags) argument
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 85 long pid = getpid(); local 87 snprintf(procPath, 128, "/proc/%ld/cmdline", pid);
|
H A D | egl.cpp | 135 long pid = getpid(); local 137 sprintf(procPath, "/proc/%ld/cmdline", pid);
|
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 37 virtual bool livesLocally(node_id node, pid_t pid); 158 bool MuxOMX::livesLocally(node_id node, pid_t pid) { argument 159 return getOMX(node)->livesLocally(node, pid);
|