Home
last modified time | relevance | path

Searched refs:TimeoutRecord (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/Internal/src/com/android/internal/os/
DTimeoutRecordTest.java45 TimeoutRecord record = TimeoutRecord.forBroadcastReceiver(intent); in forBroadcastReceiver_returnsCorrectTimeoutRecord()
48 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_returnsCorrectTimeoutRecord()
58 TimeoutRecord record = TimeoutRecord.forBroadcastReceiver(intent, in forBroadcastReceiver_withPackageAndClass_returnsCorrectTimeoutRecord()
62 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_withPackageAndClass_returnsCorrectTimeoutRecord()
74 TimeoutRecord record = TimeoutRecord.forBroadcastReceiver(intent, 1000L); in forBroadcastReceiver_withTimeoutDurationMs_returnsCorrectTimeoutRecord()
77 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_withTimeoutDurationMs_returnsCorrectTimeoutRecord()
86 TimeoutRecord record = TimeoutRecord.forInputDispatchNoFocusedWindow("Test ANR reason"); in forInputDispatchNoFocusedWindow_returnsCorrectTimeoutRecord()
89 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.INPUT_DISPATCH_NO_FOCUSED_WINDOW); in forInputDispatchNoFocusedWindow_returnsCorrectTimeoutRecord()
97 TimeoutRecord record = TimeoutRecord.forInputDispatchWindowUnresponsive("Test ANR reason"); in forInputDispatchWindowUnresponsive_returnsCorrectTimeoutRecord()
100 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.INPUT_DISPATCH_WINDOW_UNRESPONSIVE); in forInputDispatchWindowUnresponsive_returnsCorrectTimeoutRecord()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DTimeoutRecord.java36 public class TimeoutRecord { class
86 private TimeoutRecord(@TimeoutKind int kind, @NonNull String reason, long endUptimeMillis, in TimeoutRecord() method in TimeoutRecord
96 private static TimeoutRecord endingNow(@TimeoutKind int kind, String reason) { in endingNow()
98 return new TimeoutRecord(kind, reason, endUptimeMillis, /* endTakenBeforeLocks */ true); in endingNow()
101 private static TimeoutRecord endingApproximatelyNow(@TimeoutKind int kind, String reason) { in endingApproximatelyNow()
103 return new TimeoutRecord(kind, reason, endUptimeMillis, /* endTakenBeforeLocks */ false); in endingApproximatelyNow()
108 public static TimeoutRecord forBroadcastReceiver(@NonNull Intent intent, in forBroadcastReceiver()
127 public static TimeoutRecord forBroadcastReceiver(@NonNull Intent intent) { in forBroadcastReceiver()
130 return TimeoutRecord.endingNow(TimeoutKind.BROADCAST_RECEIVER, reason.toString()); in forBroadcastReceiver()
135 public static TimeoutRecord forBroadcastReceiver(@NonNull Intent intent, in forBroadcastReceiver()
[all …]
DOWNERS16 # Bug component : 158088 = per-file TimeoutRecord.java
17 per-file TimeoutRecord.java = file:/PERFORMANCE_OWNERS
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAnrHelperTest.java41 import com.android.internal.os.TimeoutRecord;
127 final TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in testHandleAppNotResponding()
152 final TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in testSkipDuplicatedAnr()
DProcessRecordTests.java37 import com.android.internal.os.TimeoutRecord;
202 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchNoFocusedWindow(annotation); in appNotResponding()
/frameworks/base/services/core/java/com/android/server/am/
DAnrHelper.java31 import com.android.internal.os.TimeoutRecord;
117 void appNotResponding(ProcessRecord anrProcess, TimeoutRecord timeoutRecord) { in appNotResponding()
126 TimeoutRecord timeoutRecord, boolean isContinuousAnr) { in appNotResponding()
280 final TimeoutRecord mTimeoutRecord;
290 TimeoutRecord timeoutRecord, boolean isContinuousAnr, in AnrRecord()
DProcessErrorStateRecord.java55 import com.android.internal.os.TimeoutRecord;
295 boolean aboveSystem, TimeoutRecord timeoutRecord, in appNotResponding()
DContentProviderHelper.java88 import com.android.internal.os.TimeoutRecord;
1010 TimeoutRecord timeoutRecord = TimeoutRecord.forContentProvider( in appNotRespondingViaProvider()
DBroadcastQueueModernImpl.java91 import com.android.internal.os.TimeoutRecord;
1461 TimeoutRecord tr = TimeoutRecord.forBroadcastReceiver(r.intent, packageName, in finishReceiverActiveLocked()
DActiveServices.java232 import com.android.internal.os.TimeoutRecord;
3696 final TimeoutRecord tr = TimeoutRecord.forShortFgsTimeout(reason); in onShortFgsAnrTimeout()
7494 TimeoutRecord timeoutRecord = null; in serviceTimeout()
7537 timeoutRecord = TimeoutRecord.forServiceExec(timeout.shortInstanceName, in serviceTimeout()
7564 TimeoutRecord timeoutRecord = TimeoutRecord.forServiceStartWithEndTime(annotation, in serviceForegroundTimeout()
7607 void serviceForegroundTimeoutANR(ProcessRecord app, TimeoutRecord timeoutRecord) { in serviceForegroundTimeoutANR()
/frameworks/base/services/core/java/com/android/server/wm/
DInputManagerCallback.java39 import com.android.internal.os.TimeoutRecord;
99 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchNoFocusedWindow( in notifyNoFocusedWindowAnr()
107 TimeoutRecord timeoutRecord = TimeoutRecord.forInputDispatchWindowUnresponsive( in notifyWindowUnresponsive()
DAnrController.java36 import com.android.internal.os.TimeoutRecord;
69 TimeoutRecord timeoutRecord) { in notifyAppUnresponsive()
144 @NonNull TimeoutRecord timeoutRecord) { in notifyWindowUnresponsive()
168 TimeoutRecord timeoutRecord) { in notifyWindowUnresponsive()
204 private void notifyWindowUnresponsive(int pid, TimeoutRecord timeoutRecord) { in notifyWindowUnresponsive()
DActivityRecord.java383 import com.android.internal.os.TimeoutRecord;
7250 public boolean inputDispatchingTimedOut(TimeoutRecord timeoutRecord, int windowPid) { in inputDispatchingTimedOut()
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java50 import com.android.internal.os.TimeoutRecord;
660 TimeoutRecord timeoutRecord); in inputDispatchingTimedOut()
664 boolean aboveSystem, TimeoutRecord timeoutRecord); in inputDispatchingTimedOut()
695 @NonNull TimeoutRecord timeoutRecord); in appNotResponding()
/frameworks/base/core/java/com/android/internal/os/anr/
DAnrLatencyTracker.java21 import static com.android.internal.os.TimeoutRecord.TimeoutKind;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java67 import com.android.internal.os.TimeoutRecord;
1474 TimeoutRecord.forJobService(anrMessage)); in onSlowAppResponseLocked()
/frameworks/base/services/
Dart-wear-profile4847 …ntheticLambda2;-><init>(Lcom/android/server/am/AnrHelper;ILcom/android/internal/os/TimeoutRecord;)V
4852 …m/android/server/wm/WindowProcessController;ZLcom/android/internal/os/TimeoutRecord;ZLjava/util/co…
4854 …ASRfiFAv34(Lcom/android/server/am/AnrHelper;ILcom/android/internal/os/TimeoutRecord;)Ljava/io/File;
4867 …r;->appNotResponding(Lcom/android/server/am/ProcessRecord;Lcom/android/internal/os/TimeoutRecord;)V
4868 …g/String;Lcom/android/server/wm/WindowProcessController;ZLcom/android/internal/os/TimeoutRecord;Z)V
4869 …er/am/AnrHelper;->lambda$appNotResponding$2(ILcom/android/internal/os/TimeoutRecord;)Ljava/io/File;
6576 …m/android/server/wm/WindowProcessController;ZLcom/android/internal/os/TimeoutRecord;Ljava/util/con…