AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
StorageManager.cpp File Reference
#include "StorageManager.h"
#include <AVSCommon/Utils/Logger/Logger.h>
#include <algorithm>
#include <fstream>
#include "acsdkAssetManager/AssetManager.h"
Include dependency graph for StorageManager.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::acsdkAssets
 
 alexaClientSDK::acsdkAssets::manager
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

size_t alexaClientSDK::acsdkAssets::manager::subtractSize (size_t original, size_t subAmount)
 

Variables

static constexpr auto alexaClientSDK::acsdkAssets::manager::BYTES_IN_MB = 1024 * 1024
 
static const string alexaClientSDK::acsdkAssets::manager::BUDGET_FILE_SUFFIX = "/budget.config"
 
static constexpr size_t alexaClientSDK::acsdkAssets::manager::SYSTEM_STORAGE_BUFFER = 5 * BYTES_IN_MB
 
static const std::string alexaClientSDK::acsdkAssets::manager::TAG {"StorageManager"}
 String to identify log entries originating from this file. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
Theevent string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0