/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessErrorStateRecord.java | 83 final ProcessRecord mApp; field in ProcessErrorStateRecord 175 mApp.getWindowProcessController().setCrashing(crashing); in setCrashing() 196 mApp.getWindowProcessController().setNotResponding(notResponding); in setNotResponding() 265 mApp = app; in ProcessErrorStateRecord() 283 } else if (mApp.isKilledByAm()) { in skipAnrLocked() 286 } else if (mApp.isKilled()) { in skipAnrLocked() 309 if (mApp.isDebugging()) { in appNotResponding() 314 mApp.getWindowProcessController().appEarlyNotResponding(annotation, () -> { in appNotResponding() 320 mApp.killLocked("anr", ApplicationExitInfo.REASON_ANR, true); in appNotResponding() 343 pid = mApp.getPid(); in appNotResponding() [all …]
|
D | ProcessStateRecord.java | 52 private final ProcessRecord mApp; field in ProcessStateRecord 456 mApp = app; in ProcessStateRecord() 490 mApp.getWindowProcessController().setPerceptible( in setCurRawAdj() 513 mApp.getWindowProcessController().setCurrentAdj(curAdj); in setCurAdj() 574 mApp.getWindowProcessController().setCurrentSchedulingGroup(curSchedGroup); in setCurrentSchedulingGroup() 595 mApp.getWindowProcessController().setCurrentProcState(mCurProcState); in setCurProcState() 629 mApp.getWindowProcessController().setReportedProcState(repProcState); in setReportedProcState() 645 mService.mOomAdjuster.onProcessStateChanged(mApp, prevProcState); in forceProcessStateUpTo() 718 mApp.mProfile.addHostingComponentType(HOSTING_COMPONENT_TYPE_STARTED_SERVICE); in setHasStartedServices() 720 mApp.mProfile.clearHostingComponentType(HOSTING_COMPONENT_TYPE_STARTED_SERVICE); in setHasStartedServices() [all …]
|
D | ProcessProviderRecord.java | 31 final ProcessRecord mApp; field in ProcessProviderRecord 102 mApp = app; in ProcessProviderRecord() 115 if (cpr.proc != mApp) { in onCleanupApplicationRecordLocked() 119 final boolean alwaysRemove = mApp.mErrorState.isBad() || !allowRestart; in onCleanupApplicationRecordLocked() 121 .removeDyingProviderLocked(mApp, cpr, alwaysRemove); in onCleanupApplicationRecordLocked() 134 if (mService.mCpHelper.cleanupAppInLaunchingProvidersLocked(mApp, false)) { in onCleanupApplicationRecordLocked() 135 mService.mProcessList.noteProcessDiedLocked(mApp); in onCleanupApplicationRecordLocked() 144 mService.stopAssociationLocked(mApp.uid, mApp.processName, conn.provider.uid, in onCleanupApplicationRecordLocked()
|
D | ProcessServiceRecord.java | 154 final ProcessRecord mApp; field in ProcessServiceRecord 159 mApp = app; in ProcessServiceRecord() 165 mApp.getWindowProcessController().setHasClientActivities(hasClientActivities); in setHasClientActivities() 184 mApp.getWindowProcessController().setHasForegroundServices(hasForegroundServices); in setHasForegroundServices() 186 mApp.mProfile.addHostingComponentType(HOSTING_COMPONENT_TYPE_FOREGROUND_SERVICE); in setHasForegroundServices() 188 mApp.mProfile.clearHostingComponentType(HOSTING_COMPONENT_TYPE_FOREGROUND_SERVICE); in setHasForegroundServices() 427 mApp.getWindowProcessController().onServiceStarted(record.serviceInfo); in startService() 566 mApp.getWindowProcessController() in addBoundClientUid() 578 WindowProcessController controller = mApp.getWindowProcessController(); in updateBoundClientUids() 605 mApp.getWindowProcessController() in addBoundClientUidsOfNewService() [all …]
|
D | ProcessProfileRecord.java | 48 final ProcessRecord mApp; field in ProcessProfileRecord 223 mApp = app; in ProcessProfileRecord() 247 final PackageList pkgList = mApp.getPkgList(); in onProcessFrozen() 260 final PackageList pkgList = mApp.getPkgList(); in onProcessUnfrozen() 274 final PackageList pkgList = mApp.getPkgList(); in onProcessActive() 283 final ApplicationInfo info = mApp.info; in onProcessActive() 284 final int attributionUid = getUidForAttribution(mApp); in onProcessActive() 287 mApp.processName); in onProcessActive() 295 mApp.info.longVersionCode, mApp.processName); in onProcessActive() 315 final PackageList pkgList = mApp.getPkgList(); in onProcessInactive() [all …]
|
D | ErrorDialogController.java | 34 private final ProcessRecord mApp; field in ErrorDialogController 190 mApp.mErrorState.isSilentAnr() /* lastUsedOnly */); in showAnrDialogs() 206 new StrictModeViolationDialog(c, mService, res, mApp)); in showViolationDialogs() 215 mWaitDialog = new AppWaitingForDebuggerDialog(mService, c, mApp); in showDebugWaitingDialogs() 251 mApp.getWindowProcessController().getDisplayContextsWithErrorDialogs(displayContexts); in getDisplayContexts() 263 mApp = app; in ErrorDialogController()
|
D | OomAdjusterModernImpl.java | 227 final @Nullable ProcessRecord mApp; field in OomAdjusterModernImpl.ProcessRecordNode 230 mApp = app; in ProcessRecordNode() 253 sb.append(mApp); in toString() 255 sb.append(mApp != null ? mApp.mState.getCurProcState() : PROCESS_STATE_UNKNOWN); in toString() 257 sb.append(mApp != null ? mApp.mState.getCurAdj() : UNKNOWN_ADJ); in toString() 335 mTmpOomAdjusterArgs.mApp = node.mApp; in forEachNewNode() 336 if (node.mApp == null) { in forEachNewNode() 351 if (last.mApp == null) { in forEachNewNode() 356 sb.append(last.mApp.getSetProcState()); in forEachNewNode() 358 sb.append(last.mApp.mState.getCurProcState()); in forEachNewNode() [all …]
|
D | AnrHelper.java | 228 final int currentPid = r.mApp.mPid; in run() 243 Slog.d(TAG, "Completed ANR of " + r.mApp.processName + " in " in run() 275 final ProcessRecord mApp; field in AnrHelper.AnrConsumerThread.AnrRecord 292 mApp = anrProcess; in AnrRecord() 308 mApp.mErrorState.appNotResponding(mActivityShortComponentName, mAppInfo, in appNotResponding()
|
D | NativeCrashListener.java | 65 ProcessRecord mApp; field in NativeCrashListener.NativeCrashReporter 73 mApp = app; in NativeCrashReporter() 93 mApp, mApp.processName, ci); in run()
|
D | ProcessReceiverRecord.java | 29 final ProcessRecord mApp; field in ProcessReceiverRecord 107 mApp = app; in ProcessReceiverRecord()
|
D | ProcessCachedOptimizerRecord.java | 34 private final ProcessRecord mApp; field in ProcessCachedOptimizerRecord 336 mApp = app; in ProcessCachedOptimizerRecord()
|
D | AppProfiler.java | 719 (profile.mApp.mOptRecord != null in collectPssInBackground() 720 && profile.mApp.mOptRecord.skipPSSCollectionBecauseFrozen()) in collectPssInBackground() 721 || mService.isCameraActiveForUid(profile.mApp.uid) in collectPssInBackground() 860 (profile.mApp.mOptRecord != null in collectRssInBackground() 861 && profile.mApp.mOptRecord.skipPSSCollectionBecauseFrozen()) in collectRssInBackground() 862 || mService.isCameraActiveForUid(profile.mApp.uid) in collectRssInBackground() 916 final ProcessRecord proc = profile.mApp; in recordPssSampleLPf() 978 final ProcessRecord proc = profile.mApp; in recordRssSampleLPf() 1051 + mProfile.mApp + " to " + mDumpUri.getPath()); in run() 1066 abortHeapDump(mProfile.mApp.processName); in run() [all …]
|
D | AppErrors.java | 475 final int pid = errState.mApp.getPid(); in killAppImmediateLSP()
|
D | ActiveServices.java | 3546 mAm.updateProcessForegroundLocked(psr.mApp, anyForeground, in updateServiceForegroundLocked() 4008 if (proc == null || proc == clientPsr.mApp) { in updateServiceConnectionActivitiesLocked() 4038 if (cr.binding.client == null || cr.binding.client == psr.mApp) { in updateServiceClientActivitiesLocked() 4052 mAm.updateLruProcessLocked(psr.mApp, anyClientActivities, null); in updateServiceClientActivitiesLocked()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 1192 private String mApp; field in AppLaunch.LaunchOrder 1198 mApp = app; in LaunchOrder() 1205 return mApp; in getApp() 1209 mApp = app; in setApp()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 8098 std::shared_ptr<FakeApplicationHandle> mApp; member in android::inputdispatcher::InputDispatcherFallbackKeyTest 8104 mApp = std::make_shared<FakeApplicationHandle>(); in SetUp() 8106 mWindow = sp<FakeWindowHandle>::make(mApp, mDispatcher, "Window", in SetUp() 8407 std::shared_ptr<FakeApplicationHandle> mApp; member in android::inputdispatcher::InputDispatcherKeyRepeatTest 8418 mApp = std::make_shared<FakeApplicationHandle>(); in setUpWindow() 8419 mWindow = sp<FakeWindowHandle>::make(mApp, mDispatcher, "Fake Window", in setUpWindow() 10726 std::shared_ptr<FakeApplicationHandle> mApp; member in android::inputdispatcher::InputDispatcherMirrorWindowFocusTests 10732 mApp = std::make_shared<FakeApplicationHandle>(); in SetUp() 10733 mWindow = sp<FakeWindowHandle>::make(mApp, mDispatcher, "TestWindow", in SetUp() 10736 mDispatcher->setFocusedApplication(ui::LogicalDisplayId::DEFAULT, mApp); in SetUp() [all …]
|