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 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(IntentSender statusReceiver)protected voidfsync(OutputStream out)protected OutputStreamopenWrite(String name, long offsetBytes, long lengthBytes)
-
-
-
Method Detail
-
__constructor__
@Implementation(maxSdk=20) protected void __constructor__()
-
openWrite
@Implementation protected OutputStream openWrite(String name, long offsetBytes, long lengthBytes) throws IOException
- Throws:
IOException
-
fsync
@Implementation protected void fsync(OutputStream out) throws IOException
- Throws:
IOException
-
commit
@Implementation protected void commit(IntentSender statusReceiver)
-
close
@Implementation protected void close()
-
abandon
@Implementation protected void abandon()
-
-