Searched defs:pid (Results 1 - 3 of 3) sorted by relevance

/packages/experimental/procstatlog/
H A Dprocstatlog.c235 int pid = atoi(proc_entry->d_name); local
236 if (pid <= 0) continue;
239 while (bad_pos < bad_count && bad[bad_pos] < pid) ++bad_pos;
240 if (bad_pos < bad_count && bad[bad_pos] == pid) continue;
243 sprintf(filename, "/proc/%d/cmdline", pid);
266 while (pos > 0 && bad[pos - 1] > pid) {
270 bad[pos] = pid;
279 pids[pid_count++] = pid;
/packages/apps/Nfc/src/com/android/nfc/
H A DNfcService.java1764 if (checkPid && mOpenEe.pid != -1 && callingPid != mOpenEe.pid) {
1865 if (getCallingPid() != mOpenEe.pid) {
1903 public int pid; // pid that opened SE field in class:NfcService.OpenSecureElement
1905 public OpenSecureElement(int pid, int handle) { argument
1906 this.pid = pid;
1912 if (DBG) Log.d(TAG, "Tracked app " + pid + " died");
1913 pid
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java1205 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, argument
1209 return (req.mCallingPid == pid) &&
1244 int pid = Binder.getCallingPid();
1258 matchThumbRequest(mCurrentThumbRequest, pid, id, gid, isVideo)) {
1265 if (matchThumbRequest(mtq, pid, id, gid, isVideo)) {

Completed in 79 milliseconds