Searched refs:dbPath_ (Results 1 – 12 of 12) sorted by relevance
57 EventDbHelper::EventDbHelper(const std::string workPath) : dbPath_(workPath), rdbStore_(nullptr) in EventDbHelper()67 std::string workPath = dbPath_; in InitDbStore()69 dbPath_ += "/"; in InitDbStore()71 dbPath_ += DB_DIR; in InitDbStore()72 if (!FileUtil::FileExists(dbPath_)) { in InitDbStore()73 if (FileUtil::ForceCreateDirectory(dbPath_, FileUtil::FILE_PERM_770)) { in InitDbStore()76 dbPath_ = workPath; in InitDbStore()80 dbPath_ += DB_NAME; in InitDbStore()82 NativeRdb::RdbStoreConfig config(dbPath_); in InitDbStore()234 HIVIEW_LOGD("insert db=%{public}s with %{public}s", dbPath_.c_str(), eventStr.c_str()); in InsertPluginStatsTable()[all …]
28 : dbName_(dbName), dbPath_(dbPath), currentVersion_(version), db_(nullptr) in SqliteHelper()39 if (dbName_.empty() || dbPath_.empty() || currentVersion_ < 0) { in Open()42 std::string fileName = dbPath_ + dbName_; in Open()
68 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
69 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
34 NativeRdb::RdbStoreConfig config(dbPath_); in Init()50 dbPath_ = path + DB_NAME; in UpdateDbPath()
92 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
52 const std::string dbPath_; variable
143 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
35 NativeRdb::RdbStoreConfig config(dbPath_); in Init()48 dbPath_ = path + DB_NAME; in UpdateDbPath()
34 NativeRdb::RdbStoreConfig config(dbPath_); in Init()47 dbPath_ = path + DB_NAME; in UpdateDbPath()
55 std::string dbPath_;
38 NativeRdb::RdbStoreConfig config(dbPath_); in Init()185 dbPath_ = path + DB_NAME; in UpdateDbPath()