Add an API in update_engine to switch the slot back and forth

In some cases, the OTA update want to flip the slot to source
without cancelling the entire update. The functionality was
achieved by ResetStatus(). However ResetStatus() will clean up
the update progress and free up space to support virtual A/B.

Test: build
Bug: 187321613
Change-Id: I508c8034e69ad9f3159b985241451b0f5806bab7
diff --git a/aosp/binder_service_android.cc b/aosp/binder_service_android.cc
index ed76c4a..8e87588 100644
--- a/aosp/binder_service_android.cc
+++ b/aosp/binder_service_android.cc
@@ -157,6 +157,17 @@
   return Status::ok();
 }
 
+Status BinderUpdateEngineAndroidService::setShouldSwitchSlotOnReboot(
+    const android::String16& metadata_filename) {
+  // TODO(187321613) Call the service_delegate_ for the actual implementation
+  return Status::ok();
+}
+
+Status BinderUpdateEngineAndroidService::resetShouldSwitchSlotOnReboot() {
+  // TODO(187321613) Call the service_delegate_ for the actual implementation
+  return Status::ok();
+}
+
 Status BinderUpdateEngineAndroidService::verifyPayloadApplicable(
     const android::String16& metadata_filename, bool* return_value) {
   const std::string payload_metadata{