Searched defs:setThreadPolicy (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/os/
H A DStrictMode.java79 * StrictMode.setThreadPolicy(new {@link ThreadPolicy.Builder StrictMode.ThreadPolicy.Builder}()
309 * <p>The policy is enabled by {@link #setThreadPolicy}. The current policy
350 * StrictMode.setThreadPolicy(policy);
767 public static void setThreadPolicy(final ThreadPolicy policy) { method in class:StrictMode
786 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY);
795 BlockGuard.setThreadPolicy(androidPolicy);
879 * with {@link #setThreadPolicy}, returning the old policy so you
882 * @return the old policy, to be passed to {@link #setThreadPolicy} to
898 * with {@link #setThreadPolicy}, returning the old policy so you
901 * @return the old policy, to be passed to setThreadPolicy t
[all...]

Completed in 15 milliseconds