android.os
Class StrictMode

java.lang.Object
  extended by android.os.StrictMode

public final class StrictMode
extends Object


Nested Class Summary
static class StrictMode.ThreadPolicy
           
static class StrictMode.VmPolicy
           
 
Method Summary
static StrictMode.ThreadPolicy allowThreadDiskReads()
           
static StrictMode.ThreadPolicy allowThreadDiskWrites()
           
static void enableDefaults()
           
static StrictMode.ThreadPolicy getThreadPolicy()
           
static StrictMode.VmPolicy getVmPolicy()
           
static void noteSlowCall(String name)
           
static void setThreadPolicy(StrictMode.ThreadPolicy policy)
           
static void setVmPolicy(StrictMode.VmPolicy policy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setThreadPolicy

public static void setThreadPolicy(StrictMode.ThreadPolicy policy)

getThreadPolicy

public static StrictMode.ThreadPolicy getThreadPolicy()

allowThreadDiskWrites

public static StrictMode.ThreadPolicy allowThreadDiskWrites()

allowThreadDiskReads

public static StrictMode.ThreadPolicy allowThreadDiskReads()

setVmPolicy

public static void setVmPolicy(StrictMode.VmPolicy policy)

getVmPolicy

public static StrictMode.VmPolicy getVmPolicy()

enableDefaults

public static void enableDefaults()

noteSlowCall

public static void noteSlowCall(String name)


Copyright © 2008-2012. All Rights Reserved.