Loading core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_STATIC_JAVA_LIBRARIES := android-common mockwebserver LOCAL_SDK_VERSION := current LOCAL_JAVA_LIBRARIES := android.test.runner LOCAL_PACKAGE_NAME := DownloadManagerTestApp Loading core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/DownloadManagerTestRunner.java +5 −3 Original line number Diff line number Diff line Loading @@ -16,12 +16,11 @@ package com.android.frameworks.downloadmanagertests; import android.content.Context; import android.net.wifi.WifiManager; import android.os.Bundle; import android.test.InstrumentationTestRunner; import android.test.InstrumentationTestSuite; import android.util.Log; import com.android.frameworks.downloadmanagertests.DownloadManagerTestApp; import junit.framework.TestSuite; Loading Loading @@ -57,6 +56,9 @@ public class DownloadManagerTestRunner extends InstrumentationTestRunner { if (externalDownloadUri != null) { externalDownloadUriValue = externalDownloadUri; } // enable verbose wifi logging ((WifiManager)getContext().getSystemService(Context.WIFI_SERVICE)) .enableVerboseLogging(1); super.onCreate(icicle); } Loading Loading
core/tests/hosttests/test-apps/DownloadManagerTestApp/Android.mk +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_STATIC_JAVA_LIBRARIES := android-common mockwebserver LOCAL_SDK_VERSION := current LOCAL_JAVA_LIBRARIES := android.test.runner LOCAL_PACKAGE_NAME := DownloadManagerTestApp Loading
core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/DownloadManagerTestRunner.java +5 −3 Original line number Diff line number Diff line Loading @@ -16,12 +16,11 @@ package com.android.frameworks.downloadmanagertests; import android.content.Context; import android.net.wifi.WifiManager; import android.os.Bundle; import android.test.InstrumentationTestRunner; import android.test.InstrumentationTestSuite; import android.util.Log; import com.android.frameworks.downloadmanagertests.DownloadManagerTestApp; import junit.framework.TestSuite; Loading Loading @@ -57,6 +56,9 @@ public class DownloadManagerTestRunner extends InstrumentationTestRunner { if (externalDownloadUri != null) { externalDownloadUriValue = externalDownloadUri; } // enable verbose wifi logging ((WifiManager)getContext().getSystemService(Context.WIFI_SERVICE)) .enableVerboseLogging(1); super.onCreate(icicle); } Loading