Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DMemoryTracker.java41 public int pid; field in MemoryTracker.ProcessMemInfo
50 public ProcessMemInfo(int pid, String name, long start) { in ProcessMemInfo() argument
51 this.pid = pid; in ProcessMemInfo()
94 public ProcessMemInfo getMemInfo(int pid) { in getMemInfo() argument
95 return mData.get(pid); in getMemInfo()
102 public void startTrackingProcess(int pid, String name, long start) { in startTrackingProcess() argument
104 final Long lpid = Long.valueOf(pid); in startTrackingProcess()
111 mData.put(pid, new ProcessMemInfo(pid, name, start)); in startTrackingProcess()
136 final long pid = mPids.get(i).intValue(); in update() local
137 final ProcessMemInfo info = mData.get(pid); in update()
[all …]
DMemoryDumpActivity.java91 for (int pid : pids_copy) { in dumpHprofAndShare()
92 MemoryTracker.ProcessMemInfo info = tracker.getMemInfo(pid); in dumpHprofAndShare()
94 body.append("pid ").append(pid).append(":") in dumpHprofAndShare()
100 if (pid == myPid) { in dumpHprofAndShare()
103 pid); in dumpHprofAndShare()
104 Log.v(TAG, "Dumping memory info for process " + pid + " to " + path); in dumpHprofAndShare()
DWeightWatcher.java173 public void setPid(int pid) { in setPid() argument
174 mPid = pid; in setPid()
/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/Nfc/src/com/android/nfc/
DForegroundUtils.java137 public void onForegroundActivitiesChanged(int pid, int uid, in onForegroundActivitiesChanged() argument
144 foregroundPids.put(pid, true); in onForegroundActivitiesChanged()
146 foregroundPids.delete(pid); in onForegroundActivitiesChanged()
159 if (DBG) Log.d(TAG, "Foreground changed, PID: " + Integer.toString(pid) + " UID: " + in onForegroundActivitiesChanged()
180 public void onProcessDied(int pid, int uid) throws RemoteException { in onProcessDied() argument
182 Integer.toString(pid)); in onProcessDied()
183 onForegroundActivitiesChanged(pid, uid, false); in onProcessDied()
187 public void onProcessStateChanged(int pid, int uid, int procState) in onProcessStateChanged() argument
DNfcApplication.java55 if (appInfo.pid == Process.myPid()) { in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java938 mTmpAppProcesses.put(pi.pid, new AppProcessInfo(pi)); in update()
945 if (si.restarting == 0 && si.pid > 0) { in update()
946 AppProcessInfo ainfo = mTmpAppProcesses.get(si.pid); in update()
965 if (si.restarting == 0 && si.pid > 0) { in update()
966 AppProcessInfo ainfo = mTmpAppProcesses.get(si.pid); in update()
1006 int pid = si.restarting == 0 ? si.pid : 0; in update() local
1007 if (pid != proc.mPid) { in update()
1009 if (proc.mPid != pid) { in update()
1013 if (pid != 0) { in update()
1014 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/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp77 const int pid = pointerIds ? pointerIds[i] : 0; in updateTouchPoints() local
78 if (pointerId == pid) { in updateTouchPoints()
98 const int pid = pointerIds ? pointerIds[i] : 0; in updateTouchPoints() local
100 AKLOGI("Init ProximityInfoState: (%d)PID = %d", i, pid); in updateTouchPoints()
102 if (pointerId == pid) { in updateTouchPoints()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsService.java234 final int pid = intent.getIntExtra(EXTRA_MYPID, -1); in fromThisProcess() local
235 return pid == getMyPid(); in fromThisProcess()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java453 public int checkPermission(String permission, int pid, int uid) { in checkPermission() argument
467 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { in checkUriPermission() argument
486 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() argument
/packages/apps/Messaging/src/com/android/messaging/util/
DLogSaver.java133 int pid = Process.myPid(); in dump() local
139 pid, rec.mTid, rec.mLevelString, rec.mTag, rec.mMessage)); in dump()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2120 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, in matchThumbRequest() argument
2124 return (req.mCallingPid == pid) && in matchThumbRequest()
2159 int pid = Binder.getCallingPid(); in queryThumbnail() local
2173 matchThumbRequest(mCurrentThumbRequest, pid, id, gid, isVideo)) { in queryThumbnail()
2180 if (matchThumbRequest(mtq, pid, id, gid, isVideo)) { in queryThumbnail()
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dpl_wordlist.combined.gz
Dtr_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Des_wordlist.combined.gz