@Implements(value=android.content.pm.PackageInstaller.Session.class, minSdk=21) public static class ShadowPackageInstaller.ShadowSession extends java.lang.Object
Constructor and Description |
---|
ShadowSession() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__() |
protected void |
abandon() |
protected void |
close() |
protected void |
commit(android.content.IntentSender statusReceiver) |
protected void |
fsync(java.io.OutputStream out) |
protected java.io.OutputStream |
openWrite(java.lang.String name,
long offsetBytes,
long lengthBytes) |
@Implementation(maxSdk=20) protected void __constructor__()
@Implementation protected java.io.OutputStream openWrite(java.lang.String name, long offsetBytes, long lengthBytes) throws java.io.IOException
java.io.IOException
@Implementation protected void fsync(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
@Implementation protected void commit(android.content.IntentSender statusReceiver)
@Implementation protected void close()
@Implementation protected void abandon()