Home
last modified time | relevance | path

Searched refs:FileList (Results 1 - 18 of 18) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_file_list.h50 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 Dnstackx_dfile_frame.h242 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 Dnstackx_dfile_transfer.h171 FileList *fileList;
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_file_list.c25 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 Dnstackx_dfile_frame.c51 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 Dnstackx_dfile_transfer.c428 FileList *fileList = dFileTrans->fileList; in StartFileManagerSenderTask()
750 FileList *fileList = dFileTrans->fileList; in StartFileManagerReceiverTask()
/foundation/communication/dsoftbus/interfaces/kits/transport/
H A Dtrans_type.h181 } 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 Dfileutils_fuzzer.cpp29 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 Duser_manager.cpp189 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 Dfile_utils.h28 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 Dkey_manager.h84 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 Duser_manager.h51 const std::vector<FileList> &list);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp107 const std::vector<FileList> &vec) in SetDirectoryElPolicy()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp465 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 Dkey_manager_sup_test.cpp233 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 Ddsoftbus_interface.h1176 } 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 Dfile_utils.cpp302 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 Dkey_manager.cpp361 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()

Completed in 21 milliseconds