Searched refs:policyMask (Results 1 – 3 of 3) sorted by relevance
769 private static void setThreadPolicyMask(final int policyMask) { in setThreadPolicyMask() argument775 setBlockGuardPolicy(policyMask); in setThreadPolicyMask()778 Binder.setThreadStrictModePolicy(policyMask); in setThreadPolicyMask()782 private static void setBlockGuardPolicy(final int policyMask) { in setBlockGuardPolicy() argument783 if (policyMask == 0) { in setBlockGuardPolicy()795 androidPolicy.setPolicyMask(policyMask); in setBlockGuardPolicy()819 public StrictModeNetworkViolation(int policyMask) { in StrictModeNetworkViolation() argument820 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()828 public StrictModeDiskReadViolation(int policyMask) { in StrictModeDiskReadViolation() argument829 super(policyMask, DETECT_DISK_READ, null); in StrictModeDiskReadViolation()[all …]
136 public static final native void setThreadStrictModePolicy(int policyMask); in setThreadStrictModePolicy() argument
743 static void android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) in android_os_Binder_setThreadStrictModePolicy() argument745 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()