Add stubs for UpdateEngine.AllocateSpaceForPayload am: 6f7e29f0c9 am: 45edac8b42 am: 42aa78ff9b
Change-Id: I3f74c39192694dea3c733acc7afc84341e9863a5
GitOrigin-RevId: 65a62f3f2784ee1f736070b546da7601981ffa9d
diff --git a/binder_bindings/android/os/IUpdateEngine.aidl b/binder_bindings/android/os/IUpdateEngine.aidl
index 1305079..8a5ec71 100644
--- a/binder_bindings/android/os/IUpdateEngine.aidl
+++ b/binder_bindings/android/os/IUpdateEngine.aidl
@@ -45,4 +45,17 @@
void resetStatus();
/** @hide */
boolean verifyPayloadApplicable(in String metadataFilename);
+ /**
+ * Allocate space on userdata partition.
+ *
+ * @return 0 indicates allocation is successful.
+ * Non-zero indicates space is insufficient. The returned value is the
+ * total required space (in bytes) on userdata partition.
+ *
+ * @throws ServiceSpecificException for other errors.
+ *
+ * @hide
+ */
+ long allocateSpaceForPayload(in String metadataFilename,
+ in String[] headerKeyValuePairs);
}