Searched refs:policyMask (Results 1 – 3 of 3) sorted by relevance
751 private static void setThreadPolicyMask(final int policyMask) { in setThreadPolicyMask() argument757 setBlockGuardPolicy(policyMask); in setThreadPolicyMask()760 Binder.setThreadStrictModePolicy(policyMask); in setThreadPolicyMask()764 private static void setBlockGuardPolicy(final int policyMask) { in setBlockGuardPolicy() argument765 if (policyMask == 0) { in setBlockGuardPolicy()771 BlockGuard.setThreadPolicy(new AndroidBlockGuardPolicy(policyMask)); in setBlockGuardPolicy()774 androidPolicy.setPolicyMask(policyMask); in setBlockGuardPolicy()799 public StrictModeNetworkViolation(int policyMask) { in StrictModeNetworkViolation() argument800 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()808 public StrictModeDiskReadViolation(int policyMask) { in StrictModeDiskReadViolation() argument[all …]
146 public static final native void setThreadStrictModePolicy(int policyMask); in setThreadStrictModePolicy() argument
756 static void android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) in android_os_Binder_setThreadStrictModePolicy() argument758 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()