Loading cmds/installd/InstalldNativeService.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -2014,5 +2014,11 @@ std::string InstalldNativeService::findQuotaDeviceForUuid( return mQuotaDevices[path]; } binder::Status InstalldNativeService::isQuotaSupported( const std::unique_ptr<std::string>& volumeUuid, bool* _aidl_return) { *_aidl_return = !findQuotaDeviceForUuid(volumeUuid).empty(); return ok(); } } // namespace installd } // namespace android cmds/installd/InstalldNativeService.h +2 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,8 @@ public: const std::unique_ptr<std::string>& volumeUuid, int32_t storage_flag, bool* _aidl_return); binder::Status invalidateMounts(); binder::Status isQuotaSupported(const std::unique_ptr<std::string>& volumeUuid, bool* _aidl_return); private: std::recursive_mutex mLock; Loading cmds/installd/binder/android/os/IInstalld.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -77,4 +77,5 @@ interface IInstalld { int storage_flag); void invalidateMounts(); boolean isQuotaSupported(@nullable @utf8InCpp String uuid); } Loading
cmds/installd/InstalldNativeService.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -2014,5 +2014,11 @@ std::string InstalldNativeService::findQuotaDeviceForUuid( return mQuotaDevices[path]; } binder::Status InstalldNativeService::isQuotaSupported( const std::unique_ptr<std::string>& volumeUuid, bool* _aidl_return) { *_aidl_return = !findQuotaDeviceForUuid(volumeUuid).empty(); return ok(); } } // namespace installd } // namespace android
cmds/installd/InstalldNativeService.h +2 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,8 @@ public: const std::unique_ptr<std::string>& volumeUuid, int32_t storage_flag, bool* _aidl_return); binder::Status invalidateMounts(); binder::Status isQuotaSupported(const std::unique_ptr<std::string>& volumeUuid, bool* _aidl_return); private: std::recursive_mutex mLock; Loading
cmds/installd/binder/android/os/IInstalld.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -77,4 +77,5 @@ interface IInstalld { int storage_flag); void invalidateMounts(); boolean isQuotaSupported(@nullable @utf8InCpp String uuid); }