Welcome to our tests! unit tests are under the 'unit/' dir, function under 'functional/'. To run just small tests" adb shell am instrument -w -e debug false -e log false -e timeout_msec 300000 -e size small com.android.documentsui.tests/android.support.test.runner.AndroidJUnitRunner Replace '-e size small' with '-e size large'.