Searched refs:HiAppEventConfig (Results 1 – 7 of 7) sorted by relevance
22 class HiAppEventConfig {24 static HiAppEventConfig& GetInstance();32 HiAppEventConfig() {} in HiAppEventConfig() function33 ~HiAppEventConfig() {} in ~HiAppEventConfig()34 HiAppEventConfig(const HiAppEventConfig&);35 HiAppEventConfig& operator=(const HiAppEventConfig&);
71 HiAppEventConfig& HiAppEventConfig::GetInstance() in GetInstance()73 static HiAppEventConfig instance; in GetInstance()77 bool HiAppEventConfig::SetConfigurationItem(std::string name, std::string value) in SetConfigurationItem()105 bool HiAppEventConfig::SetDisableItem(const std::string& value) in SetDisableItem()118 bool HiAppEventConfig::SetMaxStorageSizeItem(const std::string& value) in SetMaxStorageSizeItem()161 void HiAppEventConfig::SetDisable(bool disable) in SetDisable()169 void HiAppEventConfig::SetMaxStorageSize(uint64_t size) in SetMaxStorageSize()177 void HiAppEventConfig::SetStorageDir(const std::string& dir) in SetStorageDir()186 bool HiAppEventConfig::GetDisable() in GetDisable()191 uint64_t HiAppEventConfig::GetMaxStorageSize() in GetMaxStorageSize()[all …]
80 return HiAppEventConfig::GetInstance().GetStorageDir(); in GetStorageDirPath()85 return HiAppEventConfig::GetInstance().GetMaxStorageSize(); in GetMaxStorageSize()225 if (HiAppEventConfig::GetInstance().GetDisable()) { in WriterEvent()
176 if (HiAppEventConfig::GetInstance().GetDisable()) { in VerifyAppEvent()
178 return HiAppEventConfig::GetInstance().SetConfigurationItem(name, value); in HiAppEventInnerConfigure()
101 if (!HiAppEventConfig::GetInstance().SetConfigurationItem(keyStr, valueStr)) { in ConfigureFromNapiInner()
58 HiAppEventConfig::GetInstance().SetStorageDir(TEST_STORAGE_PATH); in SetUpTestCase()