What Calls onCreate(), etc. on MonitoringInstrumentation?

61 views
Skip to first unread message

Mark Murphy

unread,
Jul 23, 2019, 2:39:59 PM7/23/19
to androidx-test-discuss

MonitoringInstrumentation has a few lifecycle-ish methods, like onCreate(), onStart(), and onDestroy(). What calls these? I am trying to grok the test execution environment, and I'm not seeing where these get called when I examine the https://github.com/android/android-test source code.

Thanks!

Mark Murphy

Brett Chabot

unread,
Jul 23, 2019, 3:04:20 PM7/23/19
to androidx-test-discuss

Mark Murphy

unread,
Jul 23, 2019, 3:22:33 PM7/23/19
to androidx-test-discuss
On Tue, Jul 23, 2019, at 15:04, 'Brett Chabot' via androidx-test-discuss wrote:
> Those are called by the Android framework.
>
> See
> https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/app/ActivityThread.java#5985, https://developer.android.com/reference/android/app/Instrumentation,

Ah, OK -- thanks!

--
Mark Murphy (a Commons Guy)
https://commonsware.com | https://github.com/commonsguy
https://commonsware.com/blog | https://twitter.com/commonsguy
Reply all
Reply to author
Forward
0 new messages