Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 19 of 19) sorted by relevance

/packages/experimental/procstatlog/
Dprocstatreport.py310 pid = int(next[0])
311 process_start.setdefault(pid, when)
312 process_name[pid] = next[1][1:-1]
318 process_faults.setdefault(pid, {})[when] = faults
324 process_sys.setdefault(pid, {})[when] = (stime, all)
325 process_sys_user.setdefault(pid, {})[when] = (stime + utime, all)
578 for start, pid in sorted([(s, p) for p, s in process_start.iteritems()]):
579 sys = sum([n for n, d in process_sys.get(pid, {}).values()])
580 sys_user = sum([n for n, d in process_sys_user.get(pid, {}).values()])
587 [process_sys.get(pid, {}), process_sys_user.get(pid, {})],
[all …]
Dprocstatlog.c235 int pid = atoi(proc_entry->d_name); in read_stats() local
236 if (pid <= 0) continue; in read_stats()
239 while (bad_pos < bad_count && bad[bad_pos] < pid) ++bad_pos; in read_stats()
240 if (bad_pos < bad_count && bad[bad_pos] == pid) continue; in read_stats()
243 sprintf(filename, "/proc/%d/cmdline", pid); in read_stats()
266 while (pos > 0 && bad[pos - 1] > pid) { in read_stats()
270 bad[pos] = pid; in read_stats()
279 pids[pid_count++] = pid; in read_stats()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java891 mTmpAppProcesses.put(pi.pid, new AppProcessInfo(pi)); in update()
898 if (si.restarting == 0 && si.pid > 0) { in update()
899 AppProcessInfo ainfo = mTmpAppProcesses.get(si.pid); in update()
918 if (si.restarting == 0 && si.pid > 0) { in update()
919 AppProcessInfo ainfo = mTmpAppProcesses.get(si.pid); in update()
959 int pid = si.restarting == 0 ? si.pid : 0; in update() local
960 if (pid != proc.mPid) { in update()
962 if (proc.mPid != pid) { in update()
966 if (pid != 0) { in update()
967 mServiceProcessesByPid.put(pid, proc); in update()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSource.java79 PathId pid = list.get(i); in mapMediaItems() local
82 obj = pid.path.getObject(); in mapMediaItems()
85 obj = createMediaObject(pid.path); in mapMediaItems()
87 Log.w(TAG, "cannot create media object: " + pid.path, th); in mapMediaItems()
92 consumer.consume(pid.id, (MediaItem) obj); in mapMediaItems()
DLocalSource.java197 PathId pid = list.get(i); in mapMediaItems() local
200 Path parent = pid.path.getParent(); in mapMediaItems()
202 imageList.add(pid); in mapMediaItems()
204 videoList.add(pid); in mapMediaItems()
218 PathId pid = list.get(i); in processMapMediaItems() local
222 int startId = Integer.parseInt(pid.path.getSuffix()); in processMapMediaItems()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java1350 if (callingPid != -1 && callingPid != mOpenEe.pid) { in _nfcEeClose()
1495 if (getCallingPid() != mOpenEe.pid) { in _transceive()
1539 public int pid; // pid that opened SE field in NfcService.OpenSecureElement
1547 public OpenSecureElement(int pid, int handle, IBinder binder) { in OpenSecureElement() argument
1548 this.pid = pid; in OpenSecureElement()
1555 Log.i(TAG, "Tracked app " + pid + " died"); in binderDied()
1556 pid = -1; in binderDied()
1565 .append(pid).append(" handle=").append(handle).append("]").toString(); in toString()
DNfcApplication.java37 if (appInfo.pid == Process.myPid()) { in onCreate()
/packages/inputmethods/LatinIME/native/jni/src/
Dproximity_info_state_utils.cpp73 const int pid = pointerIds ? pointerIds[i] : 0; in updateTouchPoints() local
74 if (pointerId == pid) { in updateTouchPoints()
94 const int pid = pointerIds ? pointerIds[i] : 0; in updateTouchPoints() local
96 AKLOGI("Init ProximityInfoState: (%d)PID = %d", i, pid); in updateTouchPoints()
98 if (pointerId == pid) { in updateTouchPoints()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSource.java132 int pid = android.os.Process.myPid(); in canRead() local
134 if (getContext().checkPermission(readPermission, pid, uid) in canRead()
150 && getContext().checkPermission(pathReadPermission, pid, uid) in canRead()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java297 public int checkPermission(String permission, int pid, int uid) { in checkPermission() argument
311 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument
330 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() argument
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2038 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, in matchThumbRequest() argument
2042 return (req.mCallingPid == pid) && in matchThumbRequest()
2077 int pid = Binder.getCallingPid(); in queryThumbnail() local
2091 matchThumbRequest(mCurrentThumbRequest, pid, id, gid, isVideo)) { in queryThumbnail()
2098 if (matchThumbRequest(mtq, pid, id, gid, isVideo)) { in queryThumbnail()
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz
Dfr_wordlist.combined.gz
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1355802836, ...
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1357618222, ...
Des_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1355802858, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1355802843, ...