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

/frameworks/base/core/java/android/os/
H A DStrictMode.java106 * StrictMode.setThreadPolicy(new {@link ThreadPolicy.Builder StrictMode.ThreadPolicy.Builder}()
435 * <p>The policy is enabled by {@link #setThreadPolicy}. The current policy can be retrieved
476 * StrictMode.setThreadPolicy(policy);
1098 public static void setThreadPolicy(final ThreadPolicy policy) { method in class:StrictMode
1120 BlockGuard.setThreadPolicy(BlockGuard.LAX_POLICY);
1129 BlockGuard.setThreadPolicy(androidPolicy);
1167 * policy with {@link #setThreadPolicy}, returning the old policy so you can restore it at the
1170 * @return the old policy, to be passed to {@link #setThreadPolicy} to restore the policy at the
1193 * #setThreadPolicy}, returning the old policy so you can restore it at the end of a block.
1195 * @return the old policy, to be passed to setThreadPolicy t
[all...]

Completed in 50 milliseconds