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

/frameworks/base/core/java/android/os/
H A DStrictMode.java75 * StrictMode.setThreadPolicy(new {@link ThreadPolicy.Builder StrictMode.ThreadPolicy.Builder}()
300 * <p>The policy is enabled by {@link #setThreadPolicy}. The current policy
341 * StrictMode.setThreadPolicy(policy);
747 public static void setThreadPolicy(final ThreadPolicy policy) { method in class:StrictMode
766 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY);
771 BlockGuard.setThreadPolicy(new AndroidBlockGuardPolicy(policyMask));
857 * with {@link #setThreadPolicy}, returning the old policy so you
860 * @return the old policy, to be passed to {@link #setThreadPolicy} to
876 * with {@link #setThreadPolicy}, returning the old policy so you
879 * @return the old policy, to be passed to setThreadPolicy t
[all...]

Completed in 299 milliseconds