Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DStrictMode.java295 private static volatile int sVmPolicyMask = 0; field in StrictMode
1496 sVmPolicyMask = policy.mask; in setVmPolicy()
1503 (sVmPolicyMask & VM_PENALTY_MASK) == 0) { in setVmPolicy()
1546 return (sVmPolicyMask & DETECT_VM_CURSOR_LEAKS) != 0; in vmSqliteObjectLeaksEnabled()
1553 return (sVmPolicyMask & DETECT_VM_CLOSABLE_LEAKS) != 0; in vmClosableObjectLeaksEnabled()
1560 return (sVmPolicyMask & DETECT_VM_REGISTRATION_LEAKS) != 0; in vmRegistrationLeaksEnabled()
1567 return (sVmPolicyMask & DETECT_VM_FILE_URI_EXPOSURE) != 0; in vmFileUriExposureEnabled()
1613 final boolean penaltyDropbox = (sVmPolicyMask & PENALTY_DROPBOX) != 0; in onVmPolicyViolation()
1614 final boolean penaltyDeath = (sVmPolicyMask & PENALTY_DEATH) != 0; in onVmPolicyViolation()
1615 final boolean penaltyLog = (sVmPolicyMask & PENALTY_LOG) != 0; in onVmPolicyViolation()
[all …]