Package dalvik.system
Interface BlockGuard.Policy
-
- Enclosing class:
- BlockGuard
public static interface BlockGuard.Policy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPolicyMask()Returns the policy bitmask, for shipping over Binder calls to remote threads/processes and reinstantiating the policy there.voidonNetwork()Called on network operations.voidonReadFromDisk()Called on disk reads.voidonWriteToDisk()Called on disk writes.
-
-
-
Method Detail
-
onWriteToDisk
void onWriteToDisk()
Called on disk writes.
-
onReadFromDisk
void onReadFromDisk()
Called on disk reads.
-
onNetwork
void onNetwork()
Called on network operations.
-
getPolicyMask
int getPolicyMask()
Returns the policy bitmask, for shipping over Binder calls to remote threads/processes and reinstantiating the policy there. The bits in the mask are from the DISALLOW_* and PENALTY_* constants.
-
-