Package dalvik.system

Interface BlockGuard.Policy

  • Enclosing class:
    BlockGuard

    public static interface BlockGuard.Policy
    • 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.