Package org.robolectric.shadows
Class ShadowPackageInstaller.ShadowSession
- java.lang.Object
-
- org.robolectric.shadows.ShadowPackageInstaller.ShadowSession
-
- Enclosing class:
- ShadowPackageInstaller
@Implements(value=android.content.pm.PackageInstaller.Session.class, minSdk=21) public static class ShadowPackageInstaller.ShadowSession extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ShadowSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void__constructor__()protected voidabandon()protected voidclose()protected voidcommit(android.content.IntentSender statusReceiver)protected voidfsync(java.io.OutputStream out)protected java.io.OutputStreamopenWrite(java.lang.String name, long offsetBytes, long lengthBytes)
-
-
-
Method Detail
-
__constructor__
@Implementation(maxSdk=20) protected void __constructor__()
-
openWrite
@Implementation protected java.io.OutputStream openWrite(java.lang.String name, long offsetBytes, long lengthBytes) throws java.io.IOException- Throws:
java.io.IOException
-
fsync
@Implementation protected void fsync(java.io.OutputStream out) throws java.io.IOException- Throws:
java.io.IOException
-
commit
@Implementation protected void commit(android.content.IntentSender statusReceiver)
-
close
@Implementation protected void close()
-
abandon
@Implementation protected void abandon()
-
-