/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
H A D | event_db_helper.cpp | 50 EventDbHelper::EventDbHelper(const std::string workPath) : dbPath_(workPath), rdbStore_(nullptr) in EventDbHelper() 60 std::string workPath = dbPath_; in InitDbStore() 62 dbPath_ += "/"; in InitDbStore() 64 dbPath_ += DB_DIR; in InitDbStore() 65 if (!FileUtil::FileExists(dbPath_)) { in InitDbStore() 66 if (FileUtil::ForceCreateDirectory(dbPath_, FileUtil::FILE_PERM_770)) { in InitDbStore() 69 dbPath_ = workPath; in InitDbStore() 73 dbPath_ += DB_NAME; in InitDbStore() 75 NativeRdb::RdbStoreConfig config(dbPath_); in InitDbStore() 227 HIVIEW_LOGD("insert db=%{public}s with %{public}s", dbPath_.c_str(), eventStr.c_str()); in InsertPluginStatsTable() [all …]
|
H A D | fold_app_usage_db_helper.cpp | 130 dbPath_ = workPath; in FoldAppUsageDbHelper() 132 dbPath_ = workPath + "/"; in FoldAppUsageDbHelper() 134 dbPath_ += LOG_DB_PATH; in FoldAppUsageDbHelper() 135 CreateDbStore(dbPath_, LOG_DB_NAME); in FoldAppUsageDbHelper()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/ |
H A D | daily_db_helper.cpp | 100 dbPath_ = tempDbPath; in InitDbPath() 101 HIVIEW_LOGI("succ to init db store path=%{public}s", dbPath_.c_str()); in InitDbPath() 107 NativeRdb::RdbStoreConfig config(dbPath_); in InitDbStore() 199 std::string dateOfDbFile = HiviewDbUtil::GetDateFromDbFile(dbPath_); in NeedReport() 218 if (!HiviewDbUtil::InitDbUploadPath(dbPath_, uploadPath_)) { in PrepareOldDbFilesBeforeReport() 223 HiviewDbUtil::MoveDbFilesToUploadDir(dbPath_, uploadPath_); in PrepareOldDbFilesBeforeReport() 237 HiSysEvent::EventType::FAULT, "DATE", HiviewDbUtil::GetDateFromDbFile(dbPath_)); in ReportDailyEvent()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/ |
H A D | preferences_db_adapter.cpp | 149 ExtractFileName(dbPath_), in GetReportParam() 166 ExtractFileName(dbPath_).c_str()); in CloseDb() 203 …int errCode = PreferenceDbAdapter::GetApiInstance().DbOpenApi(dbPath_.c_str(), CONFIG_STR, flag, &… in OpenDb() 220 int errCode = PreferenceDbAdapter::GetApiInstance().DbRepairApi(dbPath_.c_str(), CONFIG_STR); in RepairDb() 232 ExtractFileName(dbPath_).c_str()); in TryRepairAndRebuild() 259 …ild db failed, errCode: %{public}d, file: %{public}s", innerErr, ExtractFileName(dbPath_).c_str()); in TryRepairAndRebuild() 273 dbPath_ = dbPath + ".db"; in Init() 319 … LOG_INFO("CreateCollection called when Put, file: %{public}s", ExtractFileName(dbPath_).c_str()); in Put() 354 …OG_INFO("CreateCollection called when Delete, file: %{public}s", ExtractFileName(dbPath_).c_str()); in Delete() 391 … LOG_INFO("CreateCollection called when Get, file: %{public}s", ExtractFileName(dbPath_).c_str()); in Get() [all …]
|
/ohos5.0/base/accesscontrol/sandbox_manager/services/common/database/src/ |
H A D | sqlite_helper.cpp | 27 : dbName_(dbName), dbPath_(dbPath), currentVersion_(version), db_(nullptr) in SqliteHelper() 39 if (dbName_.empty() || dbPath_.empty() || currentVersion_ < 0) { in Open() 42 dbName_.c_str(), dbPath_.c_str(), currentVersion_); in Open() 45 std::string fileName = dbPath_ + dbName_; in Open()
|
/ohos5.0/base/security/access_token/services/common/database/src/ |
H A D | sqlite_helper.cpp | 30 : dbName_(dbName), dbPath_(dbPath), currentVersion_(version), db_(nullptr) in SqliteHelper() 42 if (dbName_.empty() || dbPath_.empty() || currentVersion_ < 0) { in Open() 45 dbName_.c_str(), dbPath_.c_str(), currentVersion_); in Open() 51 std::string fileName = dbPath_ + dbName_; in Open()
|
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_restore.cpp | 45 dbPath_ = backupPath + RINGTONELIBRARY_DB_PATH + "/rdb" + "/" + RINGTONE_LIBRARY_DB_NAME; in Init() 48 if (!RingtoneFileUtils::IsFileExists(dbPath_)) { in Init() 49 RINGTONE_ERR_LOG("ringtone db is not exist, path=%{public}s", dbPath_.c_str()); in Init() 55 int32_t err = RingtoneRestoreDbUtils::InitDb(restoreRdb_, RINGTONE_LIBRARY_DB_NAME, dbPath_, in Init()
|
/ohos5.0/base/security/security_guard/services/config_manager/src/ |
H A D | app_info_rdb_helper.cpp | 30 dbPath_ = FOLDER_PATH + "app_info.db"; in AppInfoRdbHelper() 36 NativeRdb::RdbStoreConfig config(dbPath_); in Init()
|
/ohos5.0/base/security/security_guard/services/data_collect/store/src/ |
H A D | audit_event_rdb_helper.cpp | 29 dbPath_ = FOLDER_PATH + "audit_event.db"; in AuditEventRdbHelper() 42 NativeRdb::RdbStoreConfig config(dbPath_); in Init()
|
H A D | risk_event_rdb_helper.cpp | 31 dbPath_ = FOLDER_PATH + "risk_event.db"; in RiskEventRdbHelper() 37 NativeRdb::RdbStoreConfig config(dbPath_); in Init()
|
H A D | audit_event_mem_rdb_helper.cpp | 43 dbPath_ = FOLDER_PATH + "audit_event_mem.db"; in AuditEventMemRdbHelper() 54 NativeRdb::RdbStoreConfig config(dbPath_); in Init()
|
/ohos5.0/base/telephony/telephony_data/opkey/src/ |
H A D | rdb_opkey_helper.cpp | 34 NativeRdb::RdbStoreConfig config(dbPath_); in Init() 50 dbPath_ = path + DB_NAME; in UpdateDbPath()
|
/ohos5.0/base/telephony/telephony_data/global_params/src/ |
H A D | rdb_global_params_helper.cpp | 35 NativeRdb::RdbStoreConfig config(dbPath_); in Init() 54 dbPath_ = path + DB_NAME; in UpdateDbPath()
|
/ohos5.0/base/telephony/telephony_data/opkey/include/ |
H A D | rdb_opkey_helper.h | 75 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
|
/ohos5.0/base/telephony/telephony_data/sim/src/ |
H A D | rdb_sim_helper.cpp | 34 NativeRdb::RdbStoreConfig config(dbPath_); in Init() 47 dbPath_ = path + DB_NAME; in UpdateDbPath()
|
/ohos5.0/base/telephony/telephony_data/global_params/include/ |
H A D | rdb_global_params_helper.h | 71 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
|
/ohos5.0/base/telephony/telephony_data/sim/include/ |
H A D | rdb_sim_helper.h | 92 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
|
/ohos5.0/base/telephony/telephony_data/pdp_profile/include/ |
H A D | rdb_pdp_profile_helper.h | 104 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
|
/ohos5.0/base/accesscontrol/sandbox_manager/services/common/database/include/ |
H A D | sqlite_helper.h | 50 const std::string dbPath_; variable
|
/ohos5.0/foundation/multimedia/ringtone_library/services/ringtone_restore/include/ |
H A D | ringtone_restore.h | 43 std::string dbPath_ = {}; variable
|
/ohos5.0/base/security/access_token/services/common/database/include/ |
H A D | sqlite_helper.h | 60 const std::string dbPath_; variable
|
/ohos5.0/base/telephony/telephony_data/sms_mms/include/ |
H A D | rdb_sms_mms_helper.h | 143 std::string dbPath_ = FOLDER_PATH + DB_NAME; variable
|
/ohos5.0/base/hiviewdfx/hiview/plugins/sysevent_source/control/db/include/ |
H A D | daily_db_helper.h | 61 std::string dbPath_; variable
|
/ohos5.0/base/security/security_guard/services/config_manager/include/ |
H A D | config_database_helper.h | 40 std::string dbPath_{};
|
/ohos5.0/base/telephony/telephony_data/pdp_profile/src/ |
H A D | rdb_pdp_profile_helper.cpp | 36 NativeRdb::RdbStoreConfig config(dbPath_); in Init() 49 dbPath_ = path + DB_NAME; in UpdateDbPath()
|