Home
last modified time | relevance | path

Searched refs:ProcessRecord (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java372 final LongSparseArray<ProcessRecord> mPendingStarts = new LongSparseArray<>();
378 final ArrayList<ProcessRecord> mLruProcesses = new ArrayList<ProcessRecord>();
407 final SparseArray<ProcessRecord> mIsolatedProcesses = new SparseArray<>();
417 final ArrayMap<AppZygote, ArrayList<ProcessRecord>> mAppZygoteProcesses =
418 new ArrayMap<AppZygote, ArrayList<ProcessRecord>>();
573 final ArrayList<ProcessRecord> mRemovedProcesses = new ArrayList<ProcessRecord>();
583 final class MyProcessMap extends ProcessMap<ProcessRecord> {
585 public ProcessRecord put(String name, int uid, ProcessRecord value) { in put()
586 final ProcessRecord r = super.put(name, uid, value); in put()
592 public ProcessRecord remove(String name, int uid) { in remove()
[all …]
DAppErrors.java130 final ProcessRecord r = mService.getProcessNames().get(pname, puid); in writeToProto()
157 final ProcessRecord r = mService.getProcessNames().get(pname, puid); in writeToProto()
190 final ProcessRecord r = mService.getProcessNames().get(pname, puid); in dumpLocked()
220 final ProcessRecord r = mService.getProcessNames().get(pname, puid); in dumpLocked()
316 void killAppAtUserRequestLocked(ProcessRecord app, Dialog fromDialog) { in killAppAtUserRequestLocked()
326 private void killAppImmediateLocked(ProcessRecord app, String reason, String killReason) { in killAppImmediateLocked()
349 ProcessRecord proc = null; in scheduleAppCrashLocked()
357 ProcessRecord p = mService.mPidsSelfLocked.valueAt(i); in scheduleAppCrashLocked()
384 final ProcessRecord p = proc; in scheduleAppCrashLocked()
398 void crashApplication(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo) { in crashApplication()
[all …]
DActivityManagerService.java744 private final SparseArray<ProcessRecord> mPidMap = new SparseArray<>();
751 void put(ProcessRecord app) { in put()
763 void remove(ProcessRecord app) { in remove()
766 final ProcessRecord existingApp = mPidMap.get(app.pid); in remove()
782 boolean removeIfNoThread(ProcessRecord app) { in removeIfNoThread()
785 final ProcessRecord existingApp = get(app.pid); in removeIfNoThread()
798 ProcessRecord get(int pid) { in get()
806 ProcessRecord valueAt(int index) { in valueAt()
858 final ArrayList<ProcessRecord> mProcessesOnHold = new ArrayList<ProcessRecord>();
864 final ArrayList<ProcessRecord> mPersistentStartingProcesses = new ArrayList<ProcessRecord>();
[all …]
DAppNotRespondingDialog.java50 private final ProcessRecord mProc;
154 ProcessRecord app = mProc;
184 final ProcessRecord proc;
188 Data(ProcessRecord proc, ApplicationInfo aInfo, boolean aboveSystem) { in Data()
DAppCompactor.java127 private final ArrayList<ProcessRecord> mPendingCompactionProcesses =
128 new ArrayList<ProcessRecord>();
299 void compactAppSome(ProcessRecord app) { in compactAppSome()
308 void compactAppFull(ProcessRecord app) { in compactAppFull()
318 void compactAppPersistent(ProcessRecord app) { in compactAppPersistent()
327 boolean shouldCompactPersistent(ProcessRecord app, long now) { in shouldCompactPersistent()
333 void compactAppBfgs(ProcessRecord app) { in compactAppBfgs()
342 boolean shouldCompactBFGS(ProcessRecord app, long now) { in shouldCompactBFGS()
532 ProcessRecord proc; in handleMessage()
DAppWaitingForDebuggerDialog.java27 final ProcessRecord mProc;
31 Context context, ProcessRecord app) { in AppWaitingForDebuggerDialog()
DAppBindRecord.java30 final ProcessRecord client; // Who has started/bound the service.
53 ProcessRecord _client) { in AppBindRecord()
DOomAdjuster.java213 boolean updateOomAdjLocked(ProcessRecord app, boolean oomAdjAll, in updateOomAdjLocked()
215 final ProcessRecord TOP_APP = mService.getTopAppLocked(); in updateOomAdjLocked()
238 private final boolean updateOomAdjLocked(ProcessRecord app, int cachedAdj, in updateOomAdjLocked()
239 ProcessRecord TOP_APP, boolean doingAll, long now) { in updateOomAdjLocked()
253 final ProcessRecord TOP_APP = mService.getTopAppLocked(); in updateOomAdjLocked()
326 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
332 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
428 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
436 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
449 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
[all …]
DStrictModeViolationDialog.java32 private final ProcessRecord mProc;
43 AppErrorResult result, ProcessRecord app) { in StrictModeViolationDialog()
DNativeCrashListener.java61 ProcessRecord mApp;
65 NativeCrashReporter(ProcessRecord app, int signal, String report) { in NativeCrashReporter()
222 final ProcessRecord pr; in consumeNativeCrashData()
DContentProviderRecord.java57 ProcessRecord proc; // if non-null, hosting process.
58 ProcessRecord launchingApp; // if non-null, waiting for this app to be launched.
92 public void setProcess(ProcessRecord proc) { in setProcess()
116 public boolean canRunHere(ProcessRecord app) { in canRunHere()
DContentProviderConnection.java34 public final ProcessRecord client;
50 public ContentProviderConnection(ContentProviderRecord _provider, ProcessRecord _client, in ContentProviderConnection()
DIntentBindRecord.java37 final ArrayMap<ProcessRecord, AppBindRecord> apps
38 = new ArrayMap<ProcessRecord, AppBindRecord>();
DActiveInstrumentation.java65 final ArrayList<ProcessRecord> mRunningProcesses = new ArrayList<>();
74 void removeProcess(ProcessRecord proc) { in removeProcess()
DReceiverList.java40 public final ProcessRecord app;
49 ReceiverList(ActivityManagerService _owner, ProcessRecord _app, in ReceiverList()
DBackupRecord.java33 ProcessRecord app; // where this agent is running or null
DAppErrorDialog.java42 private final ProcessRecord mProc;
216 ProcessRecord proc;
DBroadcastQueue.java201 private final ProcessRecord mApp;
204 public AppNotResponding(ProcessRecord app, String annotation) { in AppNotResponding()
298 ProcessRecord app, boolean skipOomAdj) throws RemoteException { in processCurBroadcastLocked()
346 public boolean sendPendingBroadcastsLocked(ProcessRecord app) { in sendPendingBroadcastsLocked()
385 public void skipCurrentReceiverLocked(ProcessRecord app) { in skipCurrentReceiverLocked()
443 private void postActivityStartTokenRemoval(ProcessRecord app, BroadcastRecord r) { in postActivityStartTokenRemoval()
583 void performReceiveLocked(ProcessRecord app, IIntentReceiver receiver, in performReceiveLocked()
1015 ProcessRecord proc = mService.mPidsSelfLocked.get( in processNextBroadcastLocked()
1020 final ProcessRecord proc = mService.mProcessList.mProcessNames.get( in processNextBroadcastLocked()
1527 ProcessRecord app = mService.getProcessRecordLocked(targetProcess, in processNextBroadcastLocked()
[all …]
DBroadcastRecord.java52 final ProcessRecord callerApp; // process that sent this
111 ProcessRecord curApp; // hosting application of current receiver.
235 Intent _intent, ProcessRecord _callerApp, String _callerPackage, in BroadcastRecord()
DActiveServices.java430 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked()
588 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked()
770 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked()
1501 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked()
1514 private void updateWhitelistManagerLocked(ProcessRecord proc) { in updateWhitelistManagerLocked()
1525 public void updateServiceConnectionActivitiesLocked(ProcessRecord clientProc) { in updateServiceConnectionActivitiesLocked()
1526 ArraySet<ProcessRecord> updatedProcesses = null; in updateServiceConnectionActivitiesLocked()
1529 final ProcessRecord proc = conn.binding.service.app; in updateServiceConnectionActivitiesLocked()
1542 private boolean updateServiceClientActivitiesLocked(ProcessRecord proc, in updateServiceClientActivitiesLocked()
1588 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked()
[all …]
DProcessRecord.java78 class ProcessRecord implements WindowProcessListener { class
576 ProcessRecord(ActivityManagerService _service, ApplicationInfo _info, String _processName, in ProcessRecord() method in ProcessRecord
868 if (adjSource instanceof ProcessRecord) { in makeAdjReason()
870 sb.append(((ProcessRecord)adjSource).toShortString()); in makeAdjReason()
1399 List<ProcessRecord> getLruProcessList() { in getLruProcessList()
1463 ProcessRecord r = getLruProcessList().get(i); in appNotResponding()
1561 final ProcessRecord parentPr = parentProcess != null in appNotResponding()
1562 ? (ProcessRecord) parentProcess.mOwner : null; in appNotResponding()
DServiceRecord.java99 ProcessRecord app; // where this service is running or null.
100 ProcessRecord isolatedProc; // keep track of isolated process, if requested
139 private ProcessRecord mAppForStartedWhitelistingBgActivityStarts;
544 public void setProcess(ProcessRecord _proc) { in setProcess()
718 ProcessRecord app) { in retrieveAppBindingLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DProcessRecordTests.java53 private ProcessRecord mProcessRecord;
73 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()
DOomAdjusterTests.java49 private ProcessRecord mProcessRecord;
81 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()
DAppErrorDialogTest.java74 data.proc = new ProcessRecord(mService, mContext.getApplicationInfo(), "name", 12345); in testCreateWorks()

12