Home
last modified time | relevance | path

Searched refs:appSwitches_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/
H A Dcloud_status.cpp42 appSwitches_.insert(std::make_pair(bundleName, switchStatus)); in GetCurrentCloudInfo()
58 appSwitches_.erase(bundleName); in IsCloudStatusOkay()
62 auto iter = appSwitches_.find(bundleName); in IsCloudStatusOkay()
63 if (iter == appSwitches_.end()) { in IsCloudStatusOkay()
72 userInfo_.enableCloud, appSwitches_[bundleName]); in IsCloudStatusOkay()
73 return appSwitches_[bundleName]; in IsCloudStatusOkay()
80 auto iter = appSwitches_.find(bundleName); in ChangeAppSwitch()
81 if (iter != appSwitches_.end()) { in ChangeAppSwitch()
84 appSwitches_[bundleName] = appSwitchStatus; in ChangeAppSwitch()
88 appSwitches_.erase(bundleName); in ChangeAppSwitch()
[all …]
/ohos5.0/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/
H A Dcloud_status.h36 static inline std::map<std::string, bool> appSwitches_; variable
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/
H A Dcloud_status_test.cpp143 cloudStatus.appSwitches_.clear();