Android 2.3 Gingerbread

dalvik.system
Interface BlockGuard.Policy

Enclosing class:
BlockGuard

public static interface BlockGuard.Policy


Method Summary
 int getPolicyMask()
          Returns the policy bitmask, for shipping over Binder calls to remote threads/processes and reinstantiating the policy there.
 void onNetwork()
          Called on network operations.
 void onReadFromDisk()
          Called on disk writes.
 void onWriteToDisk()
          Called on disk writes.
 

Method Detail

onWriteToDisk

void onWriteToDisk()
Called on disk writes.


onReadFromDisk

void onReadFromDisk()
Called on disk writes.


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.


Android 2.3 Gingerbread