Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java996 private static void setThreadPolicyMask(final int policyMask) { in setThreadPolicyMask() argument
1002 setBlockGuardPolicy(policyMask); in setThreadPolicyMask()
1005 Binder.setThreadStrictModePolicy(policyMask); in setThreadPolicyMask()
1009 private static void setBlockGuardPolicy(final int policyMask) { in setBlockGuardPolicy() argument
1010 if (policyMask == 0) { in setBlockGuardPolicy()
1022 androidPolicy.setPolicyMask(policyMask); in setBlockGuardPolicy()
1046 public StrictModeNetworkViolation(int policyMask) { in StrictModeNetworkViolation() argument
1047 super(policyMask, DETECT_NETWORK, null); in StrictModeNetworkViolation()
1055 public StrictModeDiskReadViolation(int policyMask) { in StrictModeDiskReadViolation() argument
1056 super(policyMask, DETECT_DISK_READ, null); in StrictModeDiskReadViolation()
[all …]
DBinder.java317 public static final native void setThreadStrictModePolicy(int policyMask); in setThreadStrictModePolicy() argument
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp812 static void android_os_Binder_setThreadStrictModePolicy(JNIEnv* env, jobject clazz, jint policyMask) in android_os_Binder_setThreadStrictModePolicy() argument
814 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()