Home
last modified time | relevance | path

Searched refs:currentDb (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_multi_ver_data_storage.cpp378 …std::string currentDb = property.path + "/" + property.identifierName + "/" + DBConstant::MULTI_SU… in BackupCurrentDatabase() local
381 int errCode = DBCommon::CopyFile(currentDb, dstDb); in BackupCurrentDatabase()
391 …std::string currentDb = property.path + "/" + property.identifierName + "/" + DBConstant::MULTI_SU… in ImportDatabase() local
394 …int errCode = SQLiteUtils::ExportDatabase(srcDb, property.cipherType, passwd, currentDb, property.… in ImportDatabase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb.cpp323 std::string currentDb = baseDir + "/" + subDir + "/" + dbName + DBConstant::DB_EXTENSION; in BackupCurrentDatabase() local
325 errCode = DBCommon::CopyFile(currentDb, dstDb); in BackupCurrentDatabase()
344 std::string currentDb = dir + "/" + dbName + DBConstant::DB_EXTENSION; in ImportDatabase() local
348 return SQLiteUtils::ExportDatabase(currentDb, cipherType, passwd, dstDb, dstPasswd); in ImportDatabase()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/
H A Dsingle_ver_database_oper.cpp178 …std::string currentDb = currentDir + "/" + DBConstant::MAINDB_DIR + "/" + DBConstant::SINGLE_VER_D… in ExportMainDB() local
185 …int errCode = SQLiteUtils::ExportDatabase(currentDb, cipherType, currPasswd, backupDbName, passwd); in ExportMainDB()
198 …std::string currentDb = currentDir + "/" + DBConstant::METADB_DIR + "/" + DBConstant::SINGLE_VER_… in ExportMetaDB() local
200 if (!OS::CheckPathExistence(currentDb)) { // Is S2 label, can access in ExportMetaDB()
207 int errCode = SQLiteUtils::ExportDatabase(currentDb, CipherType::DEFAULT, CipherPassword(), in ExportMetaDB()
H A Dlocal_database_oper.cpp126 …std::string currentDb = currentDir + "/" + DBConstant::LOCAL_DATABASE_NAME + DBConstant::DB_EXTENS… in ExportAllDatabases() local
131 …int errCode = SQLiteUtils::ExportDatabase(currentDb, cipherType, currPasswd, backupDbName, passwd); in ExportAllDatabases()