Home
last modified time | relevance | path

Searched refs:fileId (Results 1 – 15 of 15) sorted by relevance

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp53 auto wfd = openForSpecialOps(control_, fileId(id)); in writeTestRanges()
110 const auto id = fileId(1); in testWriteBlockAndPageRead()
115 auto fd = openForSpecialOps(control_, fileId(1)); in testWriteBlockAndPageRead()
154 const auto id = fileId(1); in testWaitForPendingReads()
174 auto fd = openForSpecialOps(control_, fileId(1)); in testWaitForPendingReads()
228 makeFile(control_, mountPath(test_file_name_), 0555, fileId(1), in TEST_F()
306 makeFile(control_, test_file, 0555, fileId(1), in TEST_F()
350 makeFile(control_, file_path, 0111, fileId(1), in TEST_F()
362 makeFile(control_, file_path, 0555, fileId(1), in TEST_F()
370 auto id = fileId(1); in TEST_F()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs_inline.h81 inline bool isValidFileId(FileId fileId) { in isValidFileId() argument
82 return IncFs_IsValidFileId(fileId); in isValidFileId()
85 inline std::string toString(FileId fileId) { in toString() argument
87 auto err = IncFs_FileIdToString(fileId, res.data()); in toString()
173 inline ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, in makeFile() argument
175 return IncFs_MakeFile(control, details::c_str(path), mode, fileId, params); in makeFile()
188 inline RawMetadata getMetadata(const Control& control, FileId fileId) { in getMetadata() argument
191 if (IncFs_GetMetadataById(control, fileId, metadata.data(), &size) < 0) { in getMetadata()
208 inline RawSignature getSignature(const Control& control, FileId fileId) { in getSignature() argument
211 if (IncFs_GetSignatureById(control, fileId, signature.data(), &size) < 0) { in getSignature()
[all …]
Dincfs.h205 bool isValidFileId(FileId fileId);
206 std::string toString(FileId fileId);
223 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId,
230 RawMetadata getMetadata(const Control& control, FileId fileId);
234 RawSignature getSignature(const Control& control, FileId fileId);
251 UniqueFd openForSpecialOps(const Control& control, FileId fileId);
262 std::optional<BlockCounts> getBlockCount(const Control& control, FileId fileId);
277 LoadingState isFullyLoaded(const Control& control, FileId fileId);
Dincfs_ndk.h201 static inline bool IncFs_IsValidFileId(IncFsFileId fileId) { in IncFs_IsValidFileId() argument
202 return memcmp(&fileId, &kIncFsInvalidFileId, sizeof(fileId)) != 0; in IncFs_IsValidFileId()
288 typedef bool (*FileCallback)(void* context, const IncFsControl* control, IncFsFileId fileId);
311 IncFsErrorCode IncFs_IsFullyLoadedById(const IncFsControl* control, IncFsFileId fileId);
/system/vold/
DAppFuseUtil.h31 int OpenAppFuseFile(uid_t uid, int mountId, int fileId, int flags);
DAppFuseUtil.cpp152 int OpenAppFuseFile(uid_t uid, int mountId, int fileId, int flags) { in OpenAppFuseFile() argument
162 std::string path = StringPrintf("%s/%d", mountPoint.c_str(), fileId); in OpenAppFuseFile()
DVolumeManager.h200 int openAppFuseFile(uid_t uid, int mountId, int fileId, int flags);
DVoldNativeService.cpp510 binder::Status VoldNativeService::openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, in openAppFuseFile() argument
516 int fd = VolumeManager::Instance()->openAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile()
519 " mountId: " + std::to_string(mountId) + " fileId: " + std::to_string(fileId) + in openAppFuseFile()
DVoldNativeService.h94 binder::Status openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, int32_t flags,
DVolumeManager.cpp1170 int VolumeManager::openAppFuseFile(uid_t uid, int mountId, int fileId, int flags) { in openAppFuseFile() argument
1171 return android::vold::OpenAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile()
/system/incremental_delivery/incfs/tests/include/
DIncFsTestBase.h73 static IncFsFileId fileId(uint64_t i) { in fileId() function
108 int res = makeFile(control_, mountPath(test_file_name_), 0555, fileId(id), in makeFileWithHash()
/system/extras/simpleperf/scripts/
Dreport_html.js169 return {fileId: func.s[0], startLine: func.s[1], endLine: func.s[2]};
1467 constructor(fileId) { argument
1468 this.path = getSourceFilePath(fileId);
1469 this.code = getSourceCode(fileId);
1501 function getFile(fileId) { argument
1502 let file = sourceFiles[fileId];
1504 file = sourceFiles[fileId] = new SourceFile(fileId);
1512 let file = getFile(funcRange.fileId);
1526 let file = getFile(funcRange.fileId);
1530 delete sourceFiles[funcRange.fileId];
[all …]
/system/incremental_delivery/incfs/tests/util/
Dmap_ptr_test.cpp39 const auto id = fileId(1); in SetUp()
42 auto fd = openForSpecialOps(control_, fileId(1)); in SetUp()
/system/incremental_delivery/incfs/
Dincfs.cpp88 static std::string indexPath(std::string_view root, IncFsFileId fileId) { in indexPath() argument
89 return path::join(root, INCFS_INDEX_NAME, toString(fileId)); in indexPath()
929 IncFsErrorCode IncFs_GetMetadataById(const IncFsControl* control, IncFsFileId fileId, char buffer[], in IncFs_GetMetadataById() argument
939 auto name = indexPath(root, fileId); in IncFs_GetMetadataById()
997 IncFsErrorCode IncFs_GetSignatureById(const IncFsControl* control, IncFsFileId fileId, in IncFs_GetSignatureById() argument
1007 auto file = indexPath(root, fileId); in IncFs_GetSignatureById()
1564 IncFsErrorCode IncFs_IsFullyLoadedById(const IncFsControl* control, IncFsFileId fileId) { in IncFs_IsFullyLoadedById() argument
1573 return isFullyLoadedV2(root, fileId); in IncFs_IsFullyLoadedById()
1577 makeCommandPath(root, indexPath(root, fileId)).c_str())); in IncFs_IsFullyLoadedById()
/system/vold/binder/android/os/
DIVold.aidl140 FileDescriptor openAppFuseFile(int uid, int mountId, int fileId, int flags); in openAppFuseFile() argument