/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/ |
H A D | nstackx_file_list.h | 50 typedef struct FileList { struct 70 } FileList; typedef 122 static inline char *FileListGetRemotePath(FileList *fileList, uint16_t fileId) in FileListGetRemotePath() 127 static inline char *FileListGetFileName(FileList *fileList, uint16_t fileId) in FileListGetFileName() 132 static inline uint64_t FileListGetFileSize(FileList *fileList, uint16_t fileId) in FileListGetFileSize() 137 static inline uint16_t FileListGetNum(const FileList *fileList) in FileListGetNum() 142 static inline uint16_t FileListGetPathType(FileList *fileList) in FileListGetPathType() 147 void FileListSetFileNameAcked(FileList *fileList, uint16_t fileId); 148 uint8_t FileListGetFileNameAcked(FileList *fileList, uint16_t fileId); 150 static inline uint8_t FileListGetFileNameReceived(FileList *fileLis [all...] |
H A D | nstackx_dfile_frame.h | 242 void EncodeFileHeaderFrame(FileList *fileList, int32_t *fileId, uint8_t *buffer, size_t length, size_t *frameLength); 243 void EncodeFileHeaderConfirmFrame(FileList *fileList, uint16_t *fileId, uint8_t *buffer, size_t length, 245 int32_t EncodeFileDataFrame(FileList *fileList, uint16_t fileId, uint8_t *buffer, size_t length, size_t *frameLength); 253 int32_t DecodeFileHeaderFrame(FileList *fileList, FileHeaderFrame *headerFrame); 254 int32_t DecodeFileHeaderConfirmFrame(FileList *fileList, FileHeaderConfirmFrame *confirmFrame); 255 int32_t DecodeFileDataFrame(FileList *fileList, FileDataFrame *dataFrame); 256 int16_t GetFileIdFromFileDataFrame(const FileList *fileList, const FileDataFrame *fileDataFrame); 257 int32_t DecodeFileTransferDoneFrame(FileList *fileList, FileTransferDoneFrame *transferDoneFrame);
|
H A D | nstackx_dfile_transfer.h | 171 FileList *fileList;
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_file_list.c | 25 uint8_t FileListAllFileNameAcked(const FileList *fileList) in FileListAllFileNameAcked() 53 uint8_t FileListAllFileNameReceived(const FileList *fileList) in FileListAllFileNameReceived() 85 uint8_t FileListAllFileReceived(const FileList *fileList) in FileListAllFileReceived() 106 int32_t FileListSetSendFileList(FileList *fileList, FileListInfo *fileListInfo) in FileListSetSendFileList() 165 int32_t FileListSetNum(FileList *fileList, uint32_t fileNum) in FileListSetNum() 183 int32_t FileListAddFile(FileList *fileList, uint16_t fileId, const uint8_t *fileName, size_t fileNameLength, in FileListAddFile() 257 int32_t FileListAddUserData(FileList *fileList, const uint8_t *userData, size_t userDataLength, uint8_t flag) in FileListAddUserData() 288 void FileListGetNames(FileList *fileList, char *files[], uint32_t *fileNum, uint8_t fileNameType) in FileListGetNames() 311 void FileListGetReceivedFileIdList(FileList *fileList, uint16_t fileIdList[], uint32_t *fileNum) in FileListGetReceivedFileIdList() 325 static void FileListGetFilesByFlag(FileList *fileLis [all...] |
H A D | nstackx_dfile_frame.c | 51 uint64_t GetTarTotalBlockLength(FileList *fileList) in GetTarTotalBlockLength() 88 static int32_t EncodeFileInfo(FileList *fileList, uint16_t fileId, uint8_t *buffer, size_t length, in EncodeFileInfo() 138 void EncodeFileHeaderFrameSp(FileList *fileList, int32_t *fileId, uint8_t *buffer, size_t length, in EncodeFileHeaderFrameSp() 202 void EncodeFileHeaderFrame(FileList *fileList, int32_t *fileId, uint8_t *buffer, size_t length, in EncodeFileHeaderFrame() 209 void EncodeFileHeaderConfirmFrame(FileList *fileList, uint16_t *fileId, uint8_t *buffer, size_t length, in EncodeFileHeaderConfirmFrame() 380 static inline void SetDfileHeaderFrameUserDataFlag(FileList *fileList) in SetDfileHeaderFrameUserDataFlag() 400 int32_t DecodeFileHeaderFrameSp(FileList *fileList, FileHeaderFrame *headerFrame) in DecodeFileHeaderFrameSp() 460 int32_t DecodeFileHeaderFrame(FileList *fileList, FileHeaderFrame *headerFrame) in DecodeFileHeaderFrame() 465 int32_t DecodeFileHeaderConfirmFrame(FileList *fileList, FileHeaderConfirmFrame *confirmFrame) in DecodeFileHeaderConfirmFrame() 490 int16_t GetFileIdFromFileDataFrame(const FileList *fileLis [all...] |
H A D | nstackx_dfile_transfer.c | 428 FileList *fileList = dFileTrans->fileList; in StartFileManagerSenderTask() 750 FileList *fileList = dFileTrans->fileList; in StartFileManagerReceiverTask()
|
/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | trans_type.h | 181 } FileList; typedef 184 FileList completedList; /**< Completed file list */ 185 FileList notCompletedList; /**< Not completed file list */ 186 FileList notStartedList; /**< Not started file list */
|
/foundation/filemanagement/storage_service/test/fuzztest/fileutils_fuzzer/ |
H A D | fileutils_fuzzer.cpp | 29 struct StorageDaemon::FileList list = {ustate, metaData}; in FileUtilFuzzTest() 32 std::vector<StorageDaemon::FileList> metaData4; in FileUtilFuzzTest()
|
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | user_manager.cpp | 189 std::vector<FileList> list; in PrepareDirsFromIdAndLevel() 199 FileList temp; in PrepareDirsFromIdAndLevel() 211 FileList temp; in PrepareDirsFromIdAndLevel() 254 std::vector<FileList> list; in PrepareEl1BundleDir() 255 FileList temp; in PrepareEl1BundleDir() 278 const std::vector<FileList> &list) in SetElDirFscryptPolicy()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/utils/ |
H A D | file_utils.h | 28 struct FileList { struct 47 void ReadDigitDir(const std::string &path, std::vector<FileList> &dirInfo);
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | key_manager.h | 84 const std::vector<FileList> &vec); 130 int UpgradeKeys(const std::vector<FileList> &dirInfo); 137 void ProcUpgradeKey(const std::vector<FileList> &dirInfo);
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/user/ |
H A D | user_manager.h | 51 const std::vector<FileList> &list);
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 107 const std::vector<FileList> &vec) in SetDirectoryElPolicy()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/ |
H A D | key_manager_test.cpp | 465 std::vector<FileList> vec = {}; in HWTEST_F() 1289 FileList file = { 100, "/test/path" }; in HWTEST_F() 1290 std::vector<FileList> vec; in HWTEST_F() 1321 FileList file = { 100, "/test/path" }; in HWTEST_F() 1322 std::vector<FileList> vec; in HWTEST_F() 1346 FileList file = { 100, "/test/path" }; in HWTEST_F() 1347 std::vector<FileList> vec; in HWTEST_F() 1379 FileList file = { 100, "/test/path" }; in HWTEST_F() 1380 std::vector<FileList> vec; in HWTEST_F() 1549 FileList fil in HWTEST_F() [all...] |
H A D | key_manager_sup_test.cpp | 233 std::vector<FileList> dirInfo; in HWTEST_F() 234 FileList file1{800, "data/test"}; in HWTEST_F() 235 FileList file2{801, "data/test"}; in HWTEST_F()
|
/foundation/communication/ipc/dl_deps/ |
H A D | dsoftbus_interface.h | 1176 } FileList; typedef 1179 FileList completedList; /**< Completed file list */ 1180 FileList notCompletedList; /**< Not completed file list */ 1181 FileList notStartedList; /**< Not started file list */
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | file_utils.cpp | 302 void ReadDigitDir(const std::string &path, std::vector<FileList> &dirInfo) in ReadDigitDir() 329 FileList entry = { in ReadDigitDir()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | key_manager.cpp | 361 void KeyManager::ProcUpgradeKey(const std::vector<FileList> &dirInfo) in ProcUpgradeKey() 378 std::vector<FileList> dirInfo; in LoadAllUsersEl1Key() 1636 int KeyManager::SetDirectoryElPolicy(unsigned int user, KeyType type, const std::vector<FileList> &vec) in UpdateCeEceSeceUserAuth() 1794 int KeyManager::UpgradeKeys(const std::vector<FileList> &dirInfo) in UpdateCeEceSeceUserAuth()
|