Home | History | Annotate | Download | only in src
      1 // Copyright 2007 The Android Open Source Project
      2 
      3 import java.security.AccessController;
      4 import java.security.PrivilegedAction;
      5 import java.security.ProtectionDomain;
      6 
      7 class Privvy implements PrivilegedAction<Integer> {
      8 
      9     private Integer mValue;
     10 
     11     public Privvy(int val) {
     12         mValue = new Integer(val + 1);
     13     }
     14 
     15     public Integer run() {
     16         return mValue;
     17     }
     18 }
     19