Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java119 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in dumpLocked()
149 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in dumpLocked()
245 void killAppAtUserRequestLocked(ProcessRecord app, Dialog fromDialog) { in killAppAtUserRequestLocked()
274 ProcessRecord proc = null; in scheduleAppCrashLocked()
282 ProcessRecord p = mService.mPidsSelfLocked.valueAt(i); in scheduleAppCrashLocked()
315 void crashApplication(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo) { in crashApplication()
327 void crashApplicationInner(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo, in crashApplicationInner()
452 private boolean handleAppCrashInActivityController(ProcessRecord r, in handleAppCrashInActivityController()
494 private boolean makeAppCrashingLocked(ProcessRecord app, in makeAppCrashingLocked()
505 void startAppProblemLocked(ProcessRecord app) { in startAppProblemLocked()
[all …]
DVrController.java138 public void onTopProcChangedLocked(ProcessRecord proc) { in onTopProcChangedLocked()
198 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) { in setVrThreadLocked()
232 public void setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) { in setPersistentVrThreadLocked()
267 private boolean changeVrModeLocked(boolean vrMode, ProcessRecord proc) { in changeVrModeLocked()
DAppBindRecord.java29 final ProcessRecord client; // Who has started/bound the service.
52 ProcessRecord _client) { in AppBindRecord()
DAppWaitingForDebuggerDialog.java27 final ProcessRecord mProc;
31 Context context, ProcessRecord app) { in AppWaitingForDebuggerDialog()
DActivityManagerService.java784 final ProcessMap<ProcessRecord> mProcessNames = new ProcessMap<ProcessRecord>();
795 final SparseArray<ProcessRecord> mIsolatedProcesses = new SparseArray<ProcessRecord>();
806 ProcessRecord mHeavyWeightProcess = null;
827 final SparseArray<ProcessRecord> mPidsSelfLocked = new SparseArray<ProcessRecord>();
858 final ArrayList<ProcessRecord> mProcessesOnHold = new ArrayList<ProcessRecord>();
864 final ArrayList<ProcessRecord> mPersistentStartingProcesses = new ArrayList<ProcessRecord>();
869 final ArrayList<ProcessRecord> mRemovedProcesses = new ArrayList<ProcessRecord>();
875 final ArrayList<ProcessRecord> mLruProcesses = new ArrayList<ProcessRecord>();
891 final ArrayList<ProcessRecord> mProcessesToGc = new ArrayList<ProcessRecord>();
896 final ArrayList<ProcessRecord> mPendingPssProcesses = new ArrayList<ProcessRecord>();
[all …]
DContentProviderConnection.java28 public final ProcessRecord client;
42 public ContentProviderConnection(ContentProviderRecord _provider, ProcessRecord _client) { in ContentProviderConnection()
DStrictModeViolationDialog.java32 private final ProcessRecord mProc;
43 AppErrorResult result, ProcessRecord app) { in StrictModeViolationDialog()
DAppNotRespondingDialog.java52 private final ProcessRecord mProc;
55 ProcessRecord app, ActivityRecord activity, boolean aboveSystem) { in AppNotRespondingDialog()
157 ProcessRecord app = mProc;
DNativeCrashListener.java62 ProcessRecord mApp;
66 NativeCrashReporter(ProcessRecord app, int signal, String report) { in NativeCrashReporter()
223 final ProcessRecord pr; in consumeNativeCrashData()
DActiveInstrumentation.java61 final ArrayList<ProcessRecord> mRunningProcesses = new ArrayList<>();
70 void removeProcess(ProcessRecord proc) { in removeProcess()
DIntentBindRecord.java36 final ArrayMap<ProcessRecord, AppBindRecord> apps
37 = new ArrayMap<ProcessRecord, AppBindRecord>();
DReceiverList.java36 public final ProcessRecord app;
45 ReceiverList(ActivityManagerService _owner, ProcessRecord _app, in ReceiverList()
DContentProviderRecord.java52 ProcessRecord proc; // if non-null, hosting process.
53 ProcessRecord launchingApp; // if non-null, waiting for this app to be launched.
86 public boolean canRunHere(ProcessRecord app) { in canRunHere()
DBackupRecord.java35 ProcessRecord app; // where this agent is running or null
DBroadcastRecord.java47 final ProcessRecord callerApp; // process that sent this
97 ProcessRecord curApp; // hosting application of current receiver.
217 Intent _intent, ProcessRecord _callerApp, String _callerPackage, in BroadcastRecord()
DActivityMetricsLogger.java150 final ProcessRecord processRecord = launchedActivity != null in notifyActivityLaunched()
166 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { in hasStartedActivity()
306 void notifyBindApplication(ProcessRecord app) { in notifyBindApplication()
DAppErrorDialog.java41 private final ProcessRecord mProc;
210 ProcessRecord proc;
DActiveServices.java335 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked()
417 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked()
588 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked()
1150 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked()
1162 private void updateWhitelistManagerLocked(ProcessRecord proc) { in updateWhitelistManagerLocked()
1173 public void updateServiceConnectionActivitiesLocked(ProcessRecord clientProc) { in updateServiceConnectionActivitiesLocked()
1174 ArraySet<ProcessRecord> updatedProcesses = null; in updateServiceConnectionActivitiesLocked()
1177 final ProcessRecord proc = conn.binding.service.app; in updateServiceConnectionActivitiesLocked()
1190 private boolean updateServiceClientActivitiesLocked(ProcessRecord proc, in updateServiceClientActivitiesLocked()
1234 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked()
[all …]
DBroadcastQueue.java183 private final ProcessRecord mApp;
186 public AppNotResponding(ProcessRecord app, String annotation) { in AppNotResponding()
273 ProcessRecord app) throws RemoteException { in processCurBroadcastLocked()
319 public boolean sendPendingBroadcastsLocked(ProcessRecord app) { in sendPendingBroadcastsLocked()
357 public void skipCurrentReceiverLocked(ProcessRecord app) { in skipCurrentReceiverLocked()
482 void performReceiveLocked(ProcessRecord app, IIntentReceiver receiver, in performReceiveLocked()
877 ProcessRecord proc = mService.mPidsSelfLocked.get(mPendingBroadcast.curApp.pid); in processNextBroadcast()
1250 ProcessRecord app = mService.getProcessRecordLocked(targetProcess, in processNextBroadcast()
1461 ProcessRecord app = null; in broadcastTimeoutLocked()
DProcessRecord.java55 final class ProcessRecord { class
437 ProcessRecord(BatteryStatsImpl _batteryStats, ApplicationInfo _info, in ProcessRecord() method in ProcessRecord
677 if (adjSource instanceof ProcessRecord) { in makeAdjReason()
679 sb.append(((ProcessRecord)adjSource).toShortString()); in makeAdjReason()
DServiceRecord.java89 ProcessRecord app; // where this service is running or null.
90 ProcessRecord isolatedProc; // keep track of isolated process, if requested
372 ProcessRecord app) { in retrieveAppBindingLocked()
DActivityStackSupervisor.java569 final ProcessRecord callerApp;
572 int _startFlags, ActivityStack _stack, ProcessRecord _callerApp) { in PendingActivityLaunch()
957 boolean attachApplicationLocked(ProcessRecord app) throws RemoteException { in attachApplicationLocked()
1325 final boolean realStartActivityLocked(ActivityRecord r, ProcessRecord app, in realStartActivityLocked()
1555 ProcessRecord app = mService.getProcessRecordLocked(r.processName, in startSpecificActivityLocked()
1588 String callingPackage, boolean ignoreTargetSecurity, ProcessRecord callerApp, in checkStartAnyActivityPermission()
1968 boolean handleAppDiedLocked(ProcessRecord app) { in handleAppDiedLocked()
2029 ProcessRecord fgApp = null; in updatePreviousProcessLocked()
2083 TaskRecord finishTopRunningActivityLocked(ProcessRecord app, String reason) { in finishTopRunningActivityLocked()
2723 ArrayList<ProcessRecord> procsToKill = new ArrayList<>(); in cleanUpRemovedTaskLocked()
[all …]
DActivityRecord.java269 ProcessRecord app; // if non-null, hosting application
789 ActivityRecord(ActivityManagerService _service, ProcessRecord _caller, int _launchedFromPid, in ActivityRecord()
1719 ProcessRecord app = task.mActivities.get(0).app; in completeResumeLocked()
1839 public boolean mayFreezeScreenLocked(ProcessRecord app) { in mayFreezeScreenLocked()
1847 public void startFreezingScreenLocked(ProcessRecord app, int configChanges) { in startFreezingScreenLocked()
1999 ProcessRecord anrApp; in keyDispatchingTimedOut()
2657 ProcessRecord proc = app; in isProcessRunning()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAppErrorDialogTest.java69 data.proc = new ProcessRecord(null, mContext.getApplicationInfo(), "name", 12345); in testCreateWorks()
DActivityManagerServiceTest.java261 final ProcessRecord appRec = new ProcessRecord(mBatteryStatsImpl, in addUidRecord()
283 final ProcessRecord app = mAms.mLruProcesses.get(i); in verifySeqCounterAndInteractions()

12