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