Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0637bd
commit 7c08856
Showing
15 changed files
with
327 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
package android.content; | ||
|
||
import java.io.InputStream; | ||
import java.io.OutputStream; | ||
|
||
public class Context { | ||
|
||
static int MODE_PRIVATE = 0; | ||
public static int MODE_PRIVATE = 0; | ||
|
||
public String getContentResolver() { | ||
return null; | ||
} | ||
|
||
} | ||
public InputStream openFileInput(String file) { | ||
return null; | ||
} | ||
|
||
public OutputStream openFileOutput(String file, int mode) { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 34 additions & 1 deletion
35
library/androidrefsrc/android/security/keystore/KeyGenParameterSpec.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,38 @@ | ||
package android.security.keystore; | ||
|
||
import java.math.BigInteger; | ||
import java.security.spec.ECGenParameterSpec; | ||
import java.security.spec.AlgorithmParameterSpec; | ||
import java.util.Date; | ||
|
||
import javax.security.auth.x500.X500Principal; | ||
|
||
public class KeyGenParameterSpec { | ||
|
||
} | ||
public static class Builder { | ||
public Builder(String a, int b) { | ||
|
||
} | ||
|
||
public Builder setAlgorithmParameterSpec(AlgorithmParameterSpec g) { | ||
return this; | ||
} | ||
public Builder setDigests(int alg) { | ||
return this; | ||
} | ||
public Builder setCertificateSerialNumber(BigInteger serial) { | ||
return this; | ||
} | ||
public Builder setCertificateNotBefore(Date date) { | ||
return this; | ||
} | ||
public Builder setCertificateSubject(X500Principal name) { | ||
return this; | ||
} | ||
public AlgorithmParameterSpec build() { | ||
return null; | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
library/androidrefsrc/android/support/test/InstrumentationRegistry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package android.support.test; | ||
|
||
import android.content.Context; | ||
|
||
public class InstrumentationRegistry { | ||
|
||
public static Context getTargetContext() { | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.