Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/am/
DAppErrors.java130 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in writeToProto()
157 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in writeToProto()
190 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in dumpLocked()
220 final ProcessRecord r = mService.mProcessNames.get(pname, puid); in dumpLocked()
316 void killAppAtUserRequestLocked(ProcessRecord app, Dialog fromDialog) { in killAppAtUserRequestLocked()
345 ProcessRecord proc = null; in scheduleAppCrashLocked()
353 ProcessRecord p = mService.mPidsSelfLocked.valueAt(i); in scheduleAppCrashLocked()
386 void crashApplication(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo) { in crashApplication()
398 void crashApplicationInner(ProcessRecord r, ApplicationErrorReport.CrashInfo crashInfo, in crashApplicationInner()
530 private boolean handleAppCrashInActivityController(ProcessRecord r, in handleAppCrashInActivityController()
[all …]
DVrController.java153 public void onTopProcChangedLocked(ProcessRecord proc) { in onTopProcChangedLocked()
218 public void setVrThreadLocked(int tid, int pid, ProcessRecord proc) { in setVrThreadLocked()
252 public void setPersistentVrThreadLocked(int tid, int pid, ProcessRecord proc) { in setPersistentVrThreadLocked()
287 private boolean changeVrModeLocked(boolean vrMode, ProcessRecord proc) { in changeVrModeLocked()
DAppWaitingForDebuggerDialog.java27 final ProcessRecord mProc;
31 Context context, ProcessRecord app) { in AppWaitingForDebuggerDialog()
DAppNotRespondingDialog.java49 private final ProcessRecord mProc;
153 ProcessRecord app = mProc;
183 final ProcessRecord proc;
187 Data(ProcessRecord proc, ActivityRecord activity, boolean aboveSystem) { in Data()
DContentProviderConnection.java28 public final ProcessRecord client;
42 public ContentProviderConnection(ContentProviderRecord _provider, ProcessRecord _client) { in ContentProviderConnection()
DActivityManagerService.java897 final ProcessMap<ProcessRecord> mProcessNames = new ProcessMap<ProcessRecord>();
908 final SparseArray<ProcessRecord> mIsolatedProcesses = new SparseArray<ProcessRecord>();
919 ProcessRecord mHeavyWeightProcess = null;
940 final SparseArray<ProcessRecord> mPidsSelfLocked = new SparseArray<ProcessRecord>();
981 final ArrayList<ProcessRecord> mProcessesOnHold = new ArrayList<ProcessRecord>();
987 final ArrayList<ProcessRecord> mPersistentStartingProcesses = new ArrayList<ProcessRecord>();
992 final ArrayList<ProcessRecord> mRemovedProcesses = new ArrayList<ProcessRecord>();
998 final ArrayList<ProcessRecord> mLruProcesses = new ArrayList<ProcessRecord>();
1014 final ArrayList<ProcessRecord> mProcessesToGc = new ArrayList<ProcessRecord>();
1019 final ArrayList<ProcessRecord> mPendingPssProcesses = new ArrayList<ProcessRecord>();
[all …]
DAppBindRecord.java30 final ProcessRecord client; // Who has started/bound the service.
53 ProcessRecord _client) { in AppBindRecord()
DStrictModeViolationDialog.java32 private final ProcessRecord mProc;
43 AppErrorResult result, ProcessRecord app) { in StrictModeViolationDialog()
DNativeCrashListener.java62 ProcessRecord mApp;
66 NativeCrashReporter(ProcessRecord app, int signal, String report) { in NativeCrashReporter()
223 final ProcessRecord pr; in consumeNativeCrashData()
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()
DActiveInstrumentation.java62 final ArrayList<ProcessRecord> mRunningProcesses = new ArrayList<>();
71 void removeProcess(ProcessRecord proc) { in removeProcess()
DIntentBindRecord.java37 final ArrayMap<ProcessRecord, AppBindRecord> apps
38 = new ArrayMap<ProcessRecord, AppBindRecord>();
DReceiverList.java40 public final ProcessRecord app;
49 ReceiverList(ActivityManagerService _owner, ProcessRecord _app, in ReceiverList()
DBackupRecord.java35 ProcessRecord app; // where this agent is running or null
DActivityMetricsLogger.java136 final private ProcessRecord processRecord;
237 final ProcessRecord processRecord = findProcessForActivity(launchedActivity); in notifyActivityLaunched()
250 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { in hasStartedActivity()
434 void notifyBindApplication(ProcessRecord app) { in notifyBindApplication()
664 private ProcessRecord findProcessForActivity(ActivityRecord launchedActivity) { in findProcessForActivity()
DSafeActivityOptions.java120 @Nullable ProcessRecord callerApp, in getOptions()
189 @Nullable ProcessRecord callerApp, ActivityStackSupervisor supervisor, in checkPermissions()
DBroadcastRecord.java48 final ProcessRecord callerApp; // process that sent this
98 ProcessRecord curApp; // hosting application of current receiver.
218 Intent _intent, ProcessRecord _callerApp, String _callerPackage, in BroadcastRecord()
DAppErrorDialog.java40 private final ProcessRecord mProc;
214 ProcessRecord proc;
DActiveServices.java397 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in startServiceLocked()
551 ProcessRecord proc = mAm.getProcessRecordLocked(r.processName, r.appInfo.uid, false); in startServiceLocked()
722 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in stopServiceLocked()
1350 private void updateServiceForegroundLocked(ProcessRecord proc, boolean oomAdj) { in updateServiceForegroundLocked()
1362 private void updateWhitelistManagerLocked(ProcessRecord proc) { in updateWhitelistManagerLocked()
1373 public void updateServiceConnectionActivitiesLocked(ProcessRecord clientProc) { in updateServiceConnectionActivitiesLocked()
1374 ArraySet<ProcessRecord> updatedProcesses = null; in updateServiceConnectionActivitiesLocked()
1377 final ProcessRecord proc = conn.binding.service.app; in updateServiceConnectionActivitiesLocked()
1390 private boolean updateServiceClientActivitiesLocked(ProcessRecord proc, in updateServiceClientActivitiesLocked()
1434 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); in bindServiceLocked()
[all …]
DBroadcastQueue.java184 private final ProcessRecord mApp;
187 public AppNotResponding(ProcessRecord app, String annotation) { in AppNotResponding()
274 ProcessRecord app, boolean skipOomAdj) throws RemoteException { in processCurBroadcastLocked()
322 public boolean sendPendingBroadcastsLocked(ProcessRecord app) { in sendPendingBroadcastsLocked()
360 public void skipCurrentReceiverLocked(ProcessRecord app) { in skipCurrentReceiverLocked()
485 void performReceiveLocked(ProcessRecord app, IIntentReceiver receiver, in performReceiveLocked()
886 ProcessRecord proc = mService.mPidsSelfLocked.get( in processNextBroadcastLocked()
891 final ProcessRecord proc = mService.mProcessNames.get( in processNextBroadcastLocked()
1260 ProcessRecord app = mService.getProcessRecordLocked(targetProcess, in processNextBroadcastLocked()
1476 ProcessRecord app = null; in broadcastTimeoutLocked()
DActivityStackSupervisor.java584 final ProcessRecord callerApp;
587 int _startFlags, ActivityStack _stack, ProcessRecord _callerApp) { in PendingActivityLaunch()
971 boolean attachApplicationLocked(ProcessRecord app) throws RemoteException { in attachApplicationLocked()
1377 final boolean realStartActivityLocked(ActivityRecord r, ProcessRecord app, in realStartActivityLocked()
1681 ProcessRecord app = mService.getProcessRecordLocked(r.processName, in startSpecificActivityLocked()
1741 ProcessRecord callerApp, ActivityRecord resultRecord, ActivityStack resultStack) { in checkStartAnyActivityPermission()
2120 boolean handleAppDiedLocked(ProcessRecord app) { in handleAppDiedLocked()
2183 ProcessRecord fgApp = null; in updatePreviousProcessLocked()
2252 TaskRecord finishTopCrashedActivitiesLocked(ProcessRecord app, String reason) { in finishTopCrashedActivitiesLocked()
3102 ArrayList<ProcessRecord> procsToKill = new ArrayList<>(); in cleanUpRemovedTaskLocked()
[all …]
DProcessRecord.java57 final class ProcessRecord { class
492 ProcessRecord(ActivityManagerService _service, BatteryStatsImpl _batteryStats, in ProcessRecord() method in ProcessRecord
763 if (adjSource instanceof ProcessRecord) { in makeAdjReason()
765 sb.append(((ProcessRecord)adjSource).toShortString()); in makeAdjReason()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStartControllerTests.java80 final ProcessRecord process= new ProcessRecord(null, null, in testPendingActivityLaunches()
DAppErrorDialogTest.java69 data.proc = new ProcessRecord(null, null, mContext.getApplicationInfo(), "name", 12345); in testCreateWorks()
DActivityManagerServiceTest.java261 final ProcessRecord appRec = new ProcessRecord(null, mBatteryStatsImpl, in addUidRecord()
283 final ProcessRecord app = mAms.mLruProcesses.get(i); in verifySeqCounterAndInteractions()

12