/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 345 final LongSparseArray<ProcessRecord> mPendingStarts = new LongSparseArray<>(); 351 final ArrayList<ProcessRecord> mLruProcesses = new ArrayList<ProcessRecord>(); 374 final SparseArray<ProcessRecord> mIsolatedProcesses = new SparseArray<>(); 384 final ArrayMap<AppZygote, ArrayList<ProcessRecord>> mAppZygoteProcesses = 385 new ArrayMap<AppZygote, ArrayList<ProcessRecord>>(); 511 final ArrayList<ProcessRecord> mRemovedProcesses = new ArrayList<ProcessRecord>(); 521 final class MyProcessMap extends ProcessMap<ProcessRecord> { 523 public ProcessRecord put(String name, int uid, ProcessRecord value) { in put() 524 final ProcessRecord r = super.put(name, uid, value); in put() 530 public ProcessRecord remove(String name, int uid) { in remove() [all …]
|
D | AppErrors.java | 130 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() 402 void crashApplication(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo) { in crashApplication() [all …]
|
D | ActivityManagerService.java | 735 private final SparseArray<ProcessRecord> mPidMap = new SparseArray<>(); 742 void put(ProcessRecord app) { in put() 754 void remove(ProcessRecord app) { in remove() 757 final ProcessRecord existingApp = mPidMap.get(app.pid); in remove() 773 boolean removeIfNoThread(ProcessRecord app) { in removeIfNoThread() 776 final ProcessRecord existingApp = get(app.pid); in removeIfNoThread() 789 ProcessRecord get(int pid) { in get() 797 ProcessRecord valueAt(int index) { in valueAt() 849 final ArrayList<ProcessRecord> mProcessesOnHold = new ArrayList<ProcessRecord>(); 855 final ArrayList<ProcessRecord> mPersistentStartingProcesses = new ArrayList<ProcessRecord>(); [all …]
|
D | AppWaitingForDebuggerDialog.java | 27 final ProcessRecord mProc; 31 Context context, ProcessRecord app) { in AppWaitingForDebuggerDialog()
|
D | AppNotRespondingDialog.java | 50 private final ProcessRecord mProc; 154 ProcessRecord app = mProc; 184 final ProcessRecord proc; 188 Data(ProcessRecord proc, ApplicationInfo aInfo, boolean aboveSystem) { in Data()
|
D | AppCompactor.java | 127 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()
|
D | AppBindRecord.java | 30 final ProcessRecord client; // Who has started/bound the service. 53 ProcessRecord _client) { in AppBindRecord()
|
D | StrictModeViolationDialog.java | 32 private final ProcessRecord mProc; 43 AppErrorResult result, ProcessRecord app) { in StrictModeViolationDialog()
|
D | OomAdjuster.java | 209 boolean updateOomAdjLocked(ProcessRecord app, boolean oomAdjAll, in updateOomAdjLocked() 211 final ProcessRecord TOP_APP = mService.getTopAppLocked(); in updateOomAdjLocked() 234 private final boolean updateOomAdjLocked(ProcessRecord app, int cachedAdj, in updateOomAdjLocked() 235 ProcessRecord TOP_APP, boolean doingAll, long now) { in updateOomAdjLocked() 249 final ProcessRecord TOP_APP = mService.getTopAppLocked(); in updateOomAdjLocked() 322 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked() 328 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked() 424 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked() 432 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked() 445 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked() [all …]
|
D | NativeCrashListener.java | 61 ProcessRecord mApp; 65 NativeCrashReporter(ProcessRecord app, int signal, String report) { in NativeCrashReporter() 222 final ProcessRecord pr; in consumeNativeCrashData()
|
D | ContentProviderConnection.java | 34 public final ProcessRecord client; 50 public ContentProviderConnection(ContentProviderRecord _provider, ProcessRecord _client, in ContentProviderConnection()
|
D | ContentProviderRecord.java | 57 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()
|
D | IntentBindRecord.java | 37 final ArrayMap<ProcessRecord, AppBindRecord> apps 38 = new ArrayMap<ProcessRecord, AppBindRecord>();
|
D | ActiveInstrumentation.java | 65 final ArrayList<ProcessRecord> mRunningProcesses = new ArrayList<>(); 74 void removeProcess(ProcessRecord proc) { in removeProcess()
|
D | BackupRecord.java | 33 ProcessRecord app; // where this agent is running or null
|
D | ReceiverList.java | 40 public final ProcessRecord app; 49 ReceiverList(ActivityManagerService _owner, ProcessRecord _app, in ReceiverList()
|
D | AppErrorDialog.java | 42 private final ProcessRecord mProc; 216 ProcessRecord proc;
|
D | BroadcastQueue.java | 198 private final ProcessRecord mApp; 201 public AppNotResponding(ProcessRecord app, String annotation) { in AppNotResponding() 295 ProcessRecord app, boolean skipOomAdj) throws RemoteException { in processCurBroadcastLocked() 343 public boolean sendPendingBroadcastsLocked(ProcessRecord app) { in sendPendingBroadcastsLocked() 382 public void skipCurrentReceiverLocked(ProcessRecord app) { in skipCurrentReceiverLocked() 440 private void postActivityStartTokenRemoval(ProcessRecord app, BroadcastRecord r) { in postActivityStartTokenRemoval() 578 void performReceiveLocked(ProcessRecord app, IIntentReceiver receiver, in performReceiveLocked() 1010 ProcessRecord proc = mService.mPidsSelfLocked.get( in processNextBroadcastLocked() 1015 final ProcessRecord proc = mService.mProcessList.mProcessNames.get( in processNextBroadcastLocked() 1522 ProcessRecord app = mService.getProcessRecordLocked(targetProcess, in processNextBroadcastLocked() [all …]
|
D | BroadcastRecord.java | 52 final ProcessRecord callerApp; // process that sent this 111 ProcessRecord curApp; // hosting application of current receiver. 235 Intent _intent, ProcessRecord _callerApp, String _callerPackage, in BroadcastRecord()
|
D | ActiveServices.java | 417 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked() 575 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked() 757 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked() 1477 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked() 1490 private void updateWhitelistManagerLocked(ProcessRecord proc) { in updateWhitelistManagerLocked() 1501 public void updateServiceConnectionActivitiesLocked(ProcessRecord clientProc) { in updateServiceConnectionActivitiesLocked() 1502 ArraySet<ProcessRecord> updatedProcesses = null; in updateServiceConnectionActivitiesLocked() 1505 final ProcessRecord proc = conn.binding.service.app; in updateServiceConnectionActivitiesLocked() 1518 private boolean updateServiceClientActivitiesLocked(ProcessRecord proc, in updateServiceClientActivitiesLocked() 1564 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked() [all …]
|
D | ProcessRecord.java | 77 class ProcessRecord implements WindowProcessListener { class 573 ProcessRecord(ActivityManagerService _service, ApplicationInfo _info, String _processName, in ProcessRecord() method in ProcessRecord 865 if (adjSource instanceof ProcessRecord) { in makeAdjReason() 867 sb.append(((ProcessRecord)adjSource).toShortString()); in makeAdjReason() 1377 List<ProcessRecord> getLruProcessList() { in getLruProcessList() 1441 ProcessRecord r = getLruProcessList().get(i); in appNotResponding() 1539 final ProcessRecord parentPr = parentProcess != null in appNotResponding() 1540 ? (ProcessRecord) parentProcess.mOwner : null; in appNotResponding()
|
D | ServiceRecord.java | 99 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/ |
D | ProcessRecordTests.java | 53 private ProcessRecord mProcessRecord; 73 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()
|
D | OomAdjusterTests.java | 49 private ProcessRecord mProcessRecord; 81 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()
|
D | AppErrorDialogTest.java | 74 data.proc = new ProcessRecord(mService, mContext.getApplicationInfo(), "name", 12345); in testCreateWorks()
|