Loading startop/iorap/src/com/google/android/startop/iorap/EventSequenceValidator.java +9 −9 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.INTENT_STARTED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.INTENT_STARTED)); state = State.INTENT_STARTED; } Loading @@ -138,7 +138,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.INTENT_FAILED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.INTENT_FAILED)); state = State.INTENT_FAILED; } Loading @@ -156,7 +156,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_LAUNCHED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_LAUNCHED)); state = State.ACTIVITY_LAUNCHED; } Loading @@ -174,7 +174,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_CANCELLED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_CANCELLED)); state = State.ACTIVITY_CANCELLED; } Loading @@ -194,7 +194,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_FINISHED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_FINISHED)); state = State.ACTIVITY_FINISHED; } Loading @@ -215,7 +215,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.REPORT_FULLY_DRAWN)); Log.d(TAG, String.format("Transition from %s to %s", state, State.REPORT_FULLY_DRAWN)); state = State.REPORT_FULLY_DRAWN; } Loading @@ -238,7 +238,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { state = State.UNKNOWN; } ++accIntentStartedEvents; Log.i(TAG, Log.d(TAG, String.format("inc AccIntentStartedEvents to %d", accIntentStartedEvents)); } Loading @@ -250,7 +250,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { state = State.INIT; } --accIntentStartedEvents; Log.i(TAG, Log.d(TAG, String.format("dec AccIntentStartedEvents to %d", accIntentStartedEvents)); } Loading @@ -258,6 +258,6 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); new Throwable("EventSequenceValidator#getStackTrace").printStackTrace(pw); Log.w(TAG, String.format("%s\n%s", log, sw)); Log.d(TAG, String.format("%s\n%s", log, sw)); } } Loading
startop/iorap/src/com/google/android/startop/iorap/EventSequenceValidator.java +9 −9 Original line number Diff line number Diff line Loading @@ -120,7 +120,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.INTENT_STARTED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.INTENT_STARTED)); state = State.INTENT_STARTED; } Loading @@ -138,7 +138,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.INTENT_FAILED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.INTENT_FAILED)); state = State.INTENT_FAILED; } Loading @@ -156,7 +156,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_LAUNCHED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_LAUNCHED)); state = State.ACTIVITY_LAUNCHED; } Loading @@ -174,7 +174,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_CANCELLED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_CANCELLED)); state = State.ACTIVITY_CANCELLED; } Loading @@ -194,7 +194,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_FINISHED)); Log.d(TAG, String.format("Transition from %s to %s", state, State.ACTIVITY_FINISHED)); state = State.ACTIVITY_FINISHED; } Loading @@ -215,7 +215,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { return; } Log.i(TAG, String.format("Transition from %s to %s", state, State.REPORT_FULLY_DRAWN)); Log.d(TAG, String.format("Transition from %s to %s", state, State.REPORT_FULLY_DRAWN)); state = State.REPORT_FULLY_DRAWN; } Loading @@ -238,7 +238,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { state = State.UNKNOWN; } ++accIntentStartedEvents; Log.i(TAG, Log.d(TAG, String.format("inc AccIntentStartedEvents to %d", accIntentStartedEvents)); } Loading @@ -250,7 +250,7 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { state = State.INIT; } --accIntentStartedEvents; Log.i(TAG, Log.d(TAG, String.format("dec AccIntentStartedEvents to %d", accIntentStartedEvents)); } Loading @@ -258,6 +258,6 @@ public class EventSequenceValidator implements ActivityMetricsLaunchObserver { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); new Throwable("EventSequenceValidator#getStackTrace").printStackTrace(pw); Log.w(TAG, String.format("%s\n%s", log, sw)); Log.d(TAG, String.format("%s\n%s", log, sw)); } }