diff options
Diffstat (limited to 'services')
8 files changed, 13 insertions, 21 deletions
diff --git a/services/java/com/android/server/DeviceStorageMonitorService.java b/services/java/com/android/server/DeviceStorageMonitorService.java index fc5443e..d34087f 100644 --- a/services/java/com/android/server/DeviceStorageMonitorService.java +++ b/services/java/com/android/server/DeviceStorageMonitorService.java @@ -34,7 +34,6 @@ import android.os.StatFs; import android.os.SystemClock; import android.os.SystemProperties; import android.provider.Settings; -import android.util.Config; import android.util.EventLog; import android.util.Slog; @@ -59,7 +58,7 @@ import android.util.Slog; public class DeviceStorageMonitorService extends Binder { private static final String TAG = "DeviceStorageMonitorService"; private static final boolean DEBUG = false; - private static final boolean localLOGV = DEBUG ? Config.LOGD : Config.LOGV; + private static final boolean localLOGV = false; private static final int DEVICE_MEMORY_WHAT = 1; private static final int MONITOR_INTERVAL = 1; //in minutes private static final int LOW_MEMORY_NOTIFICATION_ID = 1; diff --git a/services/java/com/android/server/IntentResolver.java b/services/java/com/android/server/IntentResolver.java index b78389b..1d3e3ac 100644 --- a/services/java/com/android/server/IntentResolver.java +++ b/services/java/com/android/server/IntentResolver.java @@ -35,7 +35,6 @@ import android.util.Slog; import android.util.LogPrinter; import android.util.Printer; -import android.util.Config; import android.content.Intent; import android.content.IntentFilter; @@ -45,7 +44,7 @@ import android.content.IntentFilter; public class IntentResolver<F extends IntentFilter, R extends Object> { final private static String TAG = "IntentResolver"; final private static boolean DEBUG = false; - final private static boolean localLOGV = DEBUG || Config.LOGV; + final private static boolean localLOGV = DEBUG || false; public void addFilter(F f) { if (localLOGV) { diff --git a/services/java/com/android/server/ProcessStats.java b/services/java/com/android/server/ProcessStats.java index 1a12a84..f693ed1 100644 --- a/services/java/com/android/server/ProcessStats.java +++ b/services/java/com/android/server/ProcessStats.java @@ -20,7 +20,6 @@ import static android.os.Process.*; import android.os.Process; import android.os.SystemClock; -import android.util.Config; import android.util.Slog; import java.io.File; @@ -35,7 +34,7 @@ import java.util.StringTokenizer; public class ProcessStats { private static final String TAG = "ProcessStats"; private static final boolean DEBUG = false; - private static final boolean localLOGV = DEBUG || Config.LOGV; + private static final boolean localLOGV = DEBUG || false; private static final int[] PROCESS_STATS_FORMAT = new int[] { PROC_SPACE_TERM, diff --git a/services/java/com/android/server/Watchdog.java b/services/java/com/android/server/Watchdog.java index 2a25c2a..2d3ac00 100644 --- a/services/java/com/android/server/Watchdog.java +++ b/services/java/com/android/server/Watchdog.java @@ -33,7 +33,6 @@ import android.os.ServiceManager; import android.os.SystemClock; import android.os.SystemProperties; import android.provider.Settings; -import android.util.Config; import android.util.EventLog; import android.util.Log; import android.util.Slog; @@ -45,7 +44,7 @@ import java.util.Calendar; /** This class calls its monitor every minute. Killing this process if they don't return **/ public class Watchdog extends Thread { static final String TAG = "Watchdog"; - static final boolean localLOGV = false || Config.LOGV; + static final boolean localLOGV = false || false; // Set this to true to use debug default values. static final boolean DB = false; diff --git a/services/java/com/android/server/WifiWatchdogService.java b/services/java/com/android/server/WifiWatchdogService.java index 94531bb..bf1b6e6 100644 --- a/services/java/com/android/server/WifiWatchdogService.java +++ b/services/java/com/android/server/WifiWatchdogService.java @@ -33,7 +33,6 @@ import android.os.Looper; import android.os.Message; import android.provider.Settings; import android.text.TextUtils; -import android.util.Config; import android.util.Slog; import java.io.IOException; @@ -73,8 +72,8 @@ import java.util.Random; */ public class WifiWatchdogService { private static final String TAG = "WifiWatchdogService"; - private static final boolean V = false || Config.LOGV; - private static final boolean D = true || Config.LOGD; + private static final boolean V = false || false; + private static final boolean D = true || false; private Context mContext; private ContentResolver mContentResolver; @@ -1264,7 +1263,7 @@ public class WifiWatchdogService { return false; } catch (Exception e) { - if (V || Config.LOGD) { + if (V || false) { Slog.d(TAG, "DnsPinger.isReachable got an unknown exception", e); } return false; diff --git a/services/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/java/com/android/server/accessibility/AccessibilityManagerService.java index 5257fb0..7a483aa 100644 --- a/services/java/com/android/server/accessibility/AccessibilityManagerService.java +++ b/services/java/com/android/server/accessibility/AccessibilityManagerService.java @@ -48,7 +48,6 @@ import android.os.ServiceManager; import android.provider.Settings; import android.text.TextUtils; import android.text.TextUtils.SimpleStringSplitter; -import android.util.Config; import android.util.Slog; import android.util.SparseArray; import android.view.accessibility.AccessibilityEvent; @@ -450,7 +449,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub try { listener.onAccessibilityEvent(event); - if (Config.DEBUG) { + if (false) { Slog.i(LOG_TAG, "Event " + event + " sent to " + listener); } } catch (RemoteException re) { @@ -470,7 +469,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub * @return True if the service was removed, false otherwise. */ private boolean removeDeadServiceLocked(Service service) { - if (Config.DEBUG) { + if (false) { Slog.i(LOG_TAG, "Dead service " + service.mService + " removed"); } mHandler.removeMessages(service.mId); diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 2e72068..610b65d 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java @@ -103,7 +103,6 @@ import android.os.StrictMode; import android.os.SystemClock; import android.os.SystemProperties; import android.provider.Settings; -import android.util.Config; import android.util.EventLog; import android.util.Slog; import android.util.Log; @@ -147,7 +146,7 @@ public final class ActivityManagerService extends ActivityManagerNative implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback { static final String TAG = "ActivityManager"; static final boolean DEBUG = false; - static final boolean localLOGV = DEBUG ? Config.LOGD : Config.LOGV; + static final boolean localLOGV = false; static final boolean DEBUG_SWITCH = localLOGV || false; static final boolean DEBUG_TASKS = localLOGV || false; static final boolean DEBUG_PAUSE = localLOGV || false; @@ -13072,7 +13071,7 @@ public final class ActivityManagerService extends ActivityManagerNative // If we still have too many processes, now from the least // recently used process we start finishing activities. - if (Config.LOGV) Slog.v( + if (false) Slog.v( TAG, "*** NOW HAVE " + mLruProcesses.size() + " of " + curMaxProcs + " processes"); for ( i=0; @@ -13086,11 +13085,11 @@ public final class ActivityManagerService extends ActivityManagerNative && app.services.size() == 0; int NUMA = app.activities.size(); int j; - if (Config.LOGV) Slog.v( + if (false) Slog.v( TAG, "Looking to quit " + app.processName); for (j=0; j<NUMA && canQuit; j++) { ActivityRecord r = app.activities.get(j); - if (Config.LOGV) Slog.v( + if (false) Slog.v( TAG, " " + r.intent.getComponent().flattenToShortString() + ": frozen=" + r.haveState + ", visible=" + r.visible); canQuit = (r.haveState || !r.stateNotNeeded) diff --git a/services/java/com/android/server/location/GpsXtraDownloader.java b/services/java/com/android/server/location/GpsXtraDownloader.java index 813d255..e420073 100644 --- a/services/java/com/android/server/location/GpsXtraDownloader.java +++ b/services/java/com/android/server/location/GpsXtraDownloader.java @@ -19,7 +19,6 @@ package com.android.server.location; import android.content.Context; import android.net.Proxy; import android.net.http.AndroidHttpClient; -import android.util.Config; import android.util.Log; import org.apache.http.HttpEntity; |