diff options
Diffstat (limited to 'aosp/apex_handler_android.h')
-rw-r--r-- | aosp/apex_handler_android.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/aosp/apex_handler_android.h b/aosp/apex_handler_android.h index aac1cd9c..00f3a80b 100644 --- a/aosp/apex_handler_android.h +++ b/aosp/apex_handler_android.h @@ -30,17 +30,12 @@ namespace chromeos_update_engine { class ApexHandlerAndroid : virtual public ApexHandlerInterface { public: - uint64_t CalculateSize(const std::vector<ApexInfo>& apex_infos) const; - bool AllocateSpace(const uint64_t size_required) const; + android::base::Result<uint64_t> CalculateSize( + const std::vector<ApexInfo>& apex_infos) const; + bool AllocateSpace(const std::vector<ApexInfo>& apex_infos) const; private: - friend class ApexHandlerAndroidTest; android::sp<android::apex::IApexService> GetApexService() const; - uint64_t CalculateSize( - const std::vector<ApexInfo>& apex_infos, - android::sp<android::apex::IApexService> apex_service) const; - bool AllocateSpace(const uint64_t size_required, - const std::string& dir_path) const; }; } // namespace chromeos_update_engine |