Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java342 private static volatile int sVmPolicyMask = 0; field in StrictMode
1261 sVmPolicyMask |= DETECT_VM_FILE_URI_EXPOSURE | PENALTY_DEATH_ON_FILE_URI_EXPOSURE; in enableDeathOnFileUriExposure()
1271 sVmPolicyMask &= ~(DETECT_VM_FILE_URI_EXPOSURE | PENALTY_DEATH_ON_FILE_URI_EXPOSURE); in disableDeathOnFileUriExposure()
1808 sVmPolicyMask = policy.mask; in setVmPolicy()
1815 (sVmPolicyMask & VM_PENALTY_MASK) == 0) { in setVmPolicy()
1825 if ((sVmPolicyMask & DETECT_VM_CLEARTEXT_NETWORK) != 0) { in setVmPolicy()
1826 if ((sVmPolicyMask & PENALTY_DEATH) != 0 in setVmPolicy()
1827 || (sVmPolicyMask & PENALTY_DEATH_ON_CLEARTEXT_NETWORK) != 0) { in setVmPolicy()
1879 return (sVmPolicyMask & DETECT_VM_CURSOR_LEAKS) != 0; in vmSqliteObjectLeaksEnabled()
1886 return (sVmPolicyMask & DETECT_VM_CLOSABLE_LEAKS) != 0; in vmClosableObjectLeaksEnabled()
[all …]