Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java769 private static void setThreadPolicyMask(final int policyMask) { in setThreadPolicyMask() argument
775 setBlockGuardPolicy(policyMask); in setThreadPolicyMask()
778 Binder.setThreadStrictModePolicy(policyMask); in setThreadPolicyMask()
782 private static void setBlockGuardPolicy(final int policyMask) { in setBlockGuardPolicy() argument
783 if (policyMask == 0) { in setBlockGuardPolicy()
795 androidPolicy.setPolicyMask(policyMask); in setBlockGuardPolicy()
819 public StrictModeNetworkViolation(int policyMask) { in StrictModeNetworkViolation() argument
820 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()
828 public StrictModeDiskReadViolation(int policyMask) { in StrictModeDiskReadViolation() argument
829 super(policyMask, DETECT_DISK_READ, null); in StrictModeDiskReadViolation()
[all …]
DBinder.java136 public static final native void setThreadStrictModePolicy(int policyMask); in setThreadStrictModePolicy() argument
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp743 static void android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) in android_os_Binder_setThreadStrictModePolicy() argument
745 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()