From: Mika Isojärvi Date: Thu, 19 Mar 2015 19:40:32 +0000 (-0700) Subject: Fix java build warnings, mostly unused imports. X-Git-Tag: upstream/0.1.0~1860^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e155d3415292cf4c0d54c9c438eaae95092af91a;p=platform%2Fupstream%2FVK-GL-CTS.git Fix java build warnings, mostly unused imports. Change-Id: I6cbb47241d542d825dd9d2f69e88ed1501b691c1 --- diff --git a/android/package/src/com/drawelements/deqp/execserver/ExecServerActivity.java b/android/package/src/com/drawelements/deqp/execserver/ExecServerActivity.java index 981ba81..b16e4be 100644 --- a/android/package/src/com/drawelements/deqp/execserver/ExecServerActivity.java +++ b/android/package/src/com/drawelements/deqp/execserver/ExecServerActivity.java @@ -27,14 +27,11 @@ package com.drawelements.deqp.execserver; import android.app.Activity; -import android.content.Context; import android.content.Intent; -import android.content.pm.ActivityInfo; import android.widget.TextView; import android.os.Bundle; import com.drawelements.deqp.testercore.Log; -import com.drawelements.deqp.execserver.ExecService; import com.drawelements.deqp.R; public class ExecServerActivity extends Activity { diff --git a/android/package/src/com/drawelements/deqp/execserver/ExecService.java b/android/package/src/com/drawelements/deqp/execserver/ExecService.java index 6976fa8..d091bad 100644 --- a/android/package/src/com/drawelements/deqp/execserver/ExecService.java +++ b/android/package/src/com/drawelements/deqp/execserver/ExecService.java @@ -27,11 +27,8 @@ import android.app.Service; import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; -import android.content.Context; -import android.content.ComponentName; import android.os.Binder; import android.os.IBinder; -import android.os.Build; import com.drawelements.deqp.execserver.ExecServerActivity; import com.drawelements.deqp.R; diff --git a/android/package/src/com/drawelements/deqp/execserver/ServiceStarter.java b/android/package/src/com/drawelements/deqp/execserver/ServiceStarter.java index 817f435..8bcefd8 100644 --- a/android/package/src/com/drawelements/deqp/execserver/ServiceStarter.java +++ b/android/package/src/com/drawelements/deqp/execserver/ServiceStarter.java @@ -27,7 +27,6 @@ import android.app.Activity; import android.os.Bundle; import com.drawelements.deqp.testercore.Log; import android.content.Intent; -import com.drawelements.deqp.execserver.ExecService; public class ServiceStarter extends Activity { diff --git a/android/package/src/com/drawelements/deqp/testercore/DeqpInstrumentation.java b/android/package/src/com/drawelements/deqp/testercore/DeqpInstrumentation.java index c12d7f6..466c6fd 100644 --- a/android/package/src/com/drawelements/deqp/testercore/DeqpInstrumentation.java +++ b/android/package/src/com/drawelements/deqp/testercore/DeqpInstrumentation.java @@ -23,23 +23,11 @@ package com.drawelements.deqp.testercore; -import android.app.ActivityManager; import android.app.Instrumentation; -import android.app.Activity; -import android.app.NativeActivity; - -import android.content.Context; -import android.content.Intent; -import android.content.ComponentName; - import android.os.Bundle; -import java.util.List; import java.lang.Thread; import java.io.File; -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.IOException; public class DeqpInstrumentation extends Instrumentation { diff --git a/android/package/src/com/drawelements/deqp/testercore/Log.java b/android/package/src/com/drawelements/deqp/testercore/Log.java index b130153..dbed170 100644 --- a/android/package/src/com/drawelements/deqp/testercore/Log.java +++ b/android/package/src/com/drawelements/deqp/testercore/Log.java @@ -23,11 +23,8 @@ package com.drawelements.deqp.testercore; -import javax.microedition.khronos.egl.*; - public class Log { - private static final boolean LOG_VERBOSE = android.util.Log.isLoggable("dEQP", android.util.Log.VERBOSE); private static final boolean LOG_DEBUG = android.util.Log.isLoggable("dEQP", android.util.Log.DEBUG); private static final boolean LOG_INFO = true; private static final boolean LOG_WARNING = true; diff --git a/android/package/src/com/drawelements/deqp/testercore/RemoteAPI.java b/android/package/src/com/drawelements/deqp/testercore/RemoteAPI.java index 10b85cc..3c7fd7a 100644 --- a/android/package/src/com/drawelements/deqp/testercore/RemoteAPI.java +++ b/android/package/src/com/drawelements/deqp/testercore/RemoteAPI.java @@ -27,11 +27,7 @@ import android.app.ActivityManager; import android.content.Context; import android.content.ComponentName; import android.content.Intent; -import android.content.pm.PackageManager; import android.os.Process; -import android.os.Build; -import android.text.TextUtils; -import java.lang.System; import java.util.List; diff --git a/android/package/src/com/drawelements/deqp/testercore/TestLogParser.java b/android/package/src/com/drawelements/deqp/testercore/TestLogParser.java index 05ee665..842ad00 100644 --- a/android/package/src/com/drawelements/deqp/testercore/TestLogParser.java +++ b/android/package/src/com/drawelements/deqp/testercore/TestLogParser.java @@ -23,8 +23,6 @@ package com.drawelements.deqp.testercore; -import android.os.Build; - import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException;