summaryrefslogtreecommitdiff
path: root/startop/iorap
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2019-04-17 12:28:19 -0700
committerIgor Murashkin <iam@google.com>2019-04-24 15:24:25 -0700
commit7ab5c4d6e65e6b041d686767d377765ad788a695 (patch)
treef66a1874fe4b03ec904b061ea48f992381dcfcaf /startop/iorap
parent8298ae003997f53cdef1f39b4d5bfafc0cf06db3 (diff)
startop: Update app_startup_runner to work with iorapd
Script measures app startup times with/without iorapd-based prefetching against a cold (or warm) baseline. mlock/fadvise readahead options now use iorapd to exercise real code to do prefetching. Bug: 72170747 Change-Id: I28affac3470271e46febb0e22a6dc9543258b4a4
Diffstat (limited to 'startop/iorap')
-rw-r--r--startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt b/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
index b1e6194e0c92..883d09490610 100644
--- a/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
+++ b/startop/iorap/tests/src/com/google/android/startop/iorap/IIorapIntegrationTest.kt
@@ -105,6 +105,13 @@ class IIorapIntegrationTest {
}
@Test
+ fun testOnAppLaunchEvent() {
+ testAnyMethod { requestId : RequestId ->
+ // iorapService.onAppLaunchEvent(requestId, AppLaunchEvent.IntentStarted())
+ }
+ }
+
+ @Test
fun testOnSystemServiceEvent() {
testAnyMethod { requestId: RequestId ->
iorapService.onSystemServiceEvent(requestId,