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

/frameworks/base/core/java/android/os/
H A DStrictMode.java82 * StrictMode.setThreadPolicy(new {@link ThreadPolicy.Builder StrictMode.ThreadPolicy.Builder}()
347 * <p>The policy is enabled by {@link #setThreadPolicy}. The current policy
388 * StrictMode.setThreadPolicy(policy);
870 public static void setThreadPolicy(final ThreadPolicy policy) { method in class:StrictMode
889 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY);
898 BlockGuard.setThreadPolicy(androidPolicy);
991 * with {@link #setThreadPolicy}, returning the old policy so you
994 * @return the old policy, to be passed to {@link #setThreadPolicy} to
1010 * with {@link #setThreadPolicy}, returning the old policy so you
1013 * @return the old policy, to be passed to setThreadPolicy t
[all...]

Completed in 1982 milliseconds