Class ShadowBackupDataOutput

java.lang.Object
org.robolectric.shadows.ShadowBackupDataOutput

@Implements(value=android.app.backup.BackupDataOutput.class, minSdk=21) public class ShadowBackupDataOutput extends Object
Shadow for BackupDataOutput.
  • Field Details

  • Constructor Details

    • ShadowBackupDataOutput

      public ShadowBackupDataOutput()
  • Method Details

    • getEntities

      public com.google.common.collect.ImmutableList<BackupDataEntity> getEntities()
      Gets a list of all data written to the BackupDataOutput.
    • writeEntityHeader_native

      @Implementation protected static int writeEntityHeader_native(long mBackupWriter, String key, int dataSize)
    • writeEntityData_native

      @Implementation protected static int writeEntityData_native(long mBackupWriter, byte[] data, int size)
    • setKeyPrefix_native

      @Implementation protected static void setKeyPrefix_native(long mBackupWriter, String keyPrefix)
    • ctor

      @Implementation protected static long ctor(FileDescriptor fd)
    • dtor

      @Implementation protected static void dtor(long mBackupWriter)