Searched refs:AssetChangeTimer (Results 1 – 3 of 3) sorted by relevance
24 class AssetChangeTimer {26 static AssetChangeTimer *GetInstance(FlatObjectStore *flatObjectStore);31 AssetChangeTimer() = default;32 ~AssetChangeTimer() = default;33 AssetChangeTimer(const AssetChangeTimer &) = delete;34 AssetChangeTimer &operator=(const AssetChangeTimer &) = delete;35 AssetChangeTimer(FlatObjectStore *flatObjectStore);49 static AssetChangeTimer *instance;
23 std::mutex AssetChangeTimer::instanceMutex;24 AssetChangeTimer *AssetChangeTimer::instance = nullptr;26 AssetChangeTimer *AssetChangeTimer::GetInstance(FlatObjectStore *flatObjectStore) in GetInstance()31 instance = new (std::nothrow) AssetChangeTimer(flatObjectStore); in GetInstance()37 AssetChangeTimer::AssetChangeTimer(FlatObjectStore *flatObjectStore) in AssetChangeTimer() function in OHOS::ObjectStore::AssetChangeTimer43 void AssetChangeTimer::OnAssetChanged( in OnAssetChanged()49 void AssetChangeTimer::StartTimer( in StartTimer()62 std::function<void()> AssetChangeTimer::ProcessTask( in ProcessTask()78 void AssetChangeTimer::StopTimer(const std::string &sessionId, const std::string &assetKey) in StopTimer()86 uint32_t AssetChangeTimer::HandleAssetChanges(const std::string &sessionId, const std::string &asse… in HandleAssetChanges()[all …]
159 AssetChangeTimer *assetChangeTimer = AssetChangeTimer::GetInstance(flatObjectStore_); in Watch()