Home
last modified time | relevance | path

Searched refs:TimeoutKind (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DTimeoutRecord.java39 TimeoutKind.INPUT_DISPATCH_NO_FOCUSED_WINDOW,
40 TimeoutKind.INPUT_DISPATCH_WINDOW_UNRESPONSIVE,
41 TimeoutKind.BROADCAST_RECEIVER,
42 TimeoutKind.SERVICE_START,
43 TimeoutKind.SERVICE_EXEC,
44 TimeoutKind.CONTENT_PROVIDER,
45 TimeoutKind.APP_REGISTERED,
46 TimeoutKind.SHORT_FGS_TIMEOUT,
47 TimeoutKind.JOB_SERVICE,
51 public @interface TimeoutKind { annotation in TimeoutRecord
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/os/
DTimeoutRecordTest.java48 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_returnsCorrectTimeoutRecord()
62 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_withPackageAndClass_returnsCorrectTimeoutRecord()
77 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.BROADCAST_RECEIVER); in forBroadcastReceiver_withTimeoutDurationMs_returnsCorrectTimeoutRecord()
89 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.INPUT_DISPATCH_NO_FOCUSED_WINDOW); in forInputDispatchNoFocusedWindow_returnsCorrectTimeoutRecord()
100 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.INPUT_DISPATCH_WINDOW_UNRESPONSIVE); in forInputDispatchWindowUnresponsive_returnsCorrectTimeoutRecord()
110 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.SERVICE_EXEC); in forServiceExec_returnsCorrectTimeoutRecord()
120 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.SERVICE_START); in forServiceStartWithEndTime_returnsCorrectTimeoutRecord()
131 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.CONTENT_PROVIDER); in forContentProvider_returnsCorrectTimeoutRecord()
141 assertEquals(record.mKind, TimeoutRecord.TimeoutKind.APP_REGISTERED); in forApp_returnsCorrectTimeoutRecord()
/frameworks/base/core/java/com/android/internal/os/anr/
DAnrLatencyTracker.java21 import static com.android.internal.os.TimeoutRecord.TimeoutKind;
132 public AnrLatencyTracker(@TimeoutKind int timeoutKind, long anrTriggerUptime) { in AnrLatencyTracker()
533 private static int timeoutKindToAnrType(@TimeoutKind int timeoutKind) { in timeoutKindToAnrType()
535 case TimeoutKind.INPUT_DISPATCH_NO_FOCUSED_WINDOW: in timeoutKindToAnrType()
537 case TimeoutKind.INPUT_DISPATCH_WINDOW_UNRESPONSIVE: in timeoutKindToAnrType()
539 case TimeoutKind.BROADCAST_RECEIVER: in timeoutKindToAnrType()
541 case TimeoutKind.SERVICE_START: in timeoutKindToAnrType()
543 case TimeoutKind.SERVICE_EXEC: in timeoutKindToAnrType()
545 case TimeoutKind.CONTENT_PROVIDER: in timeoutKindToAnrType()
547 case TimeoutKind.SHORT_FGS_TIMEOUT: in timeoutKindToAnrType()
[all …]