/frameworks/base/services/core/java/com/android/server/wm/ |
D | AnrController.java | 69 TimeoutRecord timeoutRecord) { in notifyAppUnresponsive() argument 71 timeoutRecord.mLatencyTracker.notifyAppUnresponsiveStarted(); in notifyAppUnresponsive() 72 timeoutRecord.mLatencyTracker.preDumpIfLockTooSlowStarted(); in notifyAppUnresponsive() 74 timeoutRecord.mLatencyTracker.preDumpIfLockTooSlowEnded(); in notifyAppUnresponsive() 76 timeoutRecord.mLatencyTracker.waitingOnGlobalLockStarted(); in notifyAppUnresponsive() 81 timeoutRecord.mLatencyTracker.waitingOnGlobalLockEnded(); in notifyAppUnresponsive() 113 + timeoutRecord.mReason); in notifyAppUnresponsive() 118 if (blamePendingFocusRequest && notifyWindowUnresponsive(focusToken, timeoutRecord)) { in notifyAppUnresponsive() 123 activity.inputDispatchingTimedOut(timeoutRecord, INVALID_PID); in notifyAppUnresponsive() 127 dumpAnrStateAsync(activity, null /* windowState */, timeoutRecord.mReason); in notifyAppUnresponsive() [all …]
|
D | InputManagerCallback.java | 99 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchNoFocusedWindow( in notifyNoFocusedWindowAnr() local 101 mService.mAnrController.notifyAppUnresponsive(applicationHandle, timeoutRecord); in notifyNoFocusedWindowAnr() 107 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in notifyWindowUnresponsive() local 109 mService.mAnrController.notifyWindowUnresponsive(token, pid, timeoutRecord); in notifyWindowUnresponsive()
|
D | ActivityRecord.java | 7250 public boolean inputDispatchingTimedOut(TimeoutRecord timeoutRecord, int windowPid) { in inputDispatchingTimedOut() argument 7257 timeoutRecord.mLatencyTracker.waitingOnGlobalLockStarted(); in inputDispatchingTimedOut() 7259 timeoutRecord.mLatencyTracker.waitingOnGlobalLockEnded(); in inputDispatchingTimedOut() 7269 shortComponentName, app, false, timeoutRecord); in inputDispatchingTimedOut() 7275 windowPid, false /* aboveSystem */, timeoutRecord); in inputDispatchingTimedOut()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AnrHelper.java | 117 void appNotResponding(ProcessRecord anrProcess, TimeoutRecord timeoutRecord) { in appNotResponding() argument 120 false /* aboveSystem */, timeoutRecord, /*isContinuousAnr*/ false); in appNotResponding() 126 TimeoutRecord timeoutRecord, boolean isContinuousAnr) { in appNotResponding() argument 128 timeoutRecord.mLatencyTracker.appNotRespondingStarted(); in appNotResponding() 130 timeoutRecord.mLatencyTracker.waitingOnAnrRecordLockStarted(); in appNotResponding() 132 timeoutRecord.mLatencyTracker.waitingOnAnrRecordLockEnded(); in appNotResponding() 142 + timeoutRecord.mReason); in appNotResponding() 148 + timeoutRecord.mReason); in appNotResponding() 155 + timeoutRecord.mReason); in appNotResponding() 162 timeoutRecord.mLatencyTracker.earlyDumpRequestSubmittedWithSize( in appNotResponding() [all …]
|
D | ProcessErrorStateRecord.java | 295 boolean aboveSystem, TimeoutRecord timeoutRecord, in appNotResponding() argument 298 String annotation = timeoutRecord.mReason; in appNotResponding() 299 AnrLatencyTracker latencyTracker = timeoutRecord.mLatencyTracker; in appNotResponding() 307 timeoutRecord.closeExpiredTimer(); in appNotResponding() 361 if (timeoutRecord != null && timeoutRecord.mEndUptimeMillis > 0) { in appNotResponding() 362 long millisSinceEndUptimeMs = anrTime - timeoutRecord.mEndUptimeMillis; in appNotResponding()
|
D | ActiveServices.java | 7494 TimeoutRecord timeoutRecord = null; in serviceTimeout() local 7537 timeoutRecord = TimeoutRecord.forServiceExec(timeout.shortInstanceName, in serviceTimeout() 7549 if (timeoutRecord != null) { in serviceTimeout() 7550 mAm.mAnrHelper.appNotResponding(proc, timeoutRecord); in serviceTimeout() 7564 TimeoutRecord timeoutRecord = TimeoutRecord.forServiceStartWithEndTime(annotation, in serviceForegroundTimeout() local 7567 timeoutRecord.mLatencyTracker.waitingOnAMSLockStarted(); in serviceForegroundTimeout() 7569 timeoutRecord.mLatencyTracker.waitingOnAMSLockEnded(); in serviceForegroundTimeout() 7597 args.arg2 = timeoutRecord; in serviceForegroundTimeout() 7607 void serviceForegroundTimeoutANR(ProcessRecord app, TimeoutRecord timeoutRecord) { in serviceForegroundTimeoutANR() argument 7608 mAm.mAnrHelper.appNotResponding(app, timeoutRecord); in serviceForegroundTimeoutANR()
|
D | ContentProviderHelper.java | 1010 TimeoutRecord timeoutRecord = TimeoutRecord.forContentProvider( in appNotRespondingViaProvider() local 1012 mService.mAnrHelper.appNotResponding(host, timeoutRecord); in appNotRespondingViaProvider()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | AnrHelperTest.java | 127 final TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in testHandleAppNotResponding() local 130 parentShortComponentName, parentProcess, aboveSystem, timeoutRecord, in testHandleAppNotResponding() 135 eq(parentProcess), eq(aboveSystem), eq(timeoutRecord), eq(mAuxExecutorService), in testHandleAppNotResponding() 152 final TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in testSkipDuplicatedAnr() local 156 null /* parentProcess */, false /* aboveSystem */, timeoutRecord, in testSkipDuplicatedAnr()
|
D | ProcessRecordTests.java | 202 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchNoFocusedWindow(annotation); in appNotResponding() local 205 false /* aboveSystem */, timeoutRecord, mExecutorService, false /* onlyDumpSelf */, in appNotResponding()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 660 TimeoutRecord timeoutRecord); in inputDispatchingTimedOut() argument 664 boolean aboveSystem, TimeoutRecord timeoutRecord); in inputDispatchingTimedOut() argument 695 @NonNull TimeoutRecord timeoutRecord); in appNotResponding() argument
|