Home
last modified time | relevance | path

Searched refs:policyMask (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
DStrictMode.java751 private static void setThreadPolicyMask(final int policyMask) { in setThreadPolicyMask() argument
757 setBlockGuardPolicy(policyMask); in setThreadPolicyMask()
760 Binder.setThreadStrictModePolicy(policyMask); in setThreadPolicyMask()
764 private static void setBlockGuardPolicy(final int policyMask) { in setBlockGuardPolicy() argument
765 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() argument
800 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()
808 public StrictModeDiskReadViolation(int policyMask) { in StrictModeDiskReadViolation() argument
[all …]
DBinder.java146 public static final native void setThreadStrictModePolicy(int policyMask); in setThreadStrictModePolicy() argument
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp756 static void android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) in android_os_Binder_setThreadStrictModePolicy() argument
758 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()