/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 53 auto wfd = openForSpecialOps(control_, fileId(id)); in writeTestRanges() 109 auto fd = openForSpecialOps(control_, fileId(1)); in writeBlock() 125 const auto id = fileId(1); in testWriteBlockAndPageRead() 159 const auto id = fileId(1); in testWaitForPendingReads() 179 auto fd = openForSpecialOps(control_, fileId(1)); in testWaitForPendingReads() 233 makeFile(control_, mountPath(test_file_name_), 0555, fileId(1), in TEST_F() 311 makeFile(control_, test_file, 0555, fileId(1), in TEST_F() 355 makeFile(control_, file_path, 0111, fileId(1), in TEST_F() 367 makeFile(control_, file_path, 0555, fileId(1), in TEST_F() 384 makeFile(control_, file_path, 0111, fileId(1), in TEST_F() [all …]
|
/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 83 inline bool isValidFileId(FileId fileId) { in isValidFileId() argument 84 return IncFs_IsValidFileId(fileId); in isValidFileId() 87 inline std::string toString(FileId fileId) { in toString() argument 89 auto err = IncFs_FileIdToString(fileId, res.data()); in toString() 175 inline ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, in makeFile() argument 177 return IncFs_MakeFile(control, details::c_str(path), mode, fileId, params); in makeFile() 190 inline RawMetadata getMetadata(const Control& control, FileId fileId) { in getMetadata() argument 193 if (IncFs_GetMetadataById(control, fileId, metadata.data(), &size) < 0) { in getMetadata() 210 inline RawSignature getSignature(const Control& control, FileId fileId) { in getSignature() argument 213 if (IncFs_GetSignatureById(control, fileId, signature.data(), &size) < 0) { in getSignature() [all …]
|
D | incfs.h | 206 bool isValidFileId(FileId fileId); 207 std::string toString(FileId fileId); 224 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, 231 RawMetadata getMetadata(const Control& control, FileId fileId); 235 RawSignature getSignature(const Control& control, FileId fileId); 252 UniqueFd openForSpecialOps(const Control& control, FileId fileId); 263 std::optional<BlockCounts> getBlockCount(const Control& control, FileId fileId); 278 LoadingState isFullyLoaded(const Control& control, FileId fileId);
|
D | incfs_ndk.h | 203 static inline bool IncFs_IsValidFileId(IncFsFileId fileId) { in IncFs_IsValidFileId() argument 204 return memcmp(&fileId, &kIncFsInvalidFileId, sizeof(fileId)) != 0; in IncFs_IsValidFileId() 290 typedef bool (*FileCallback)(void* context, const IncFsControl* control, IncFsFileId fileId); 313 IncFsErrorCode IncFs_IsFullyLoadedById(const IncFsControl* control, IncFsFileId fileId);
|
/system/vold/ |
D | AppFuseUtil.h | 31 int OpenAppFuseFile(uid_t uid, int mountId, int fileId, int flags);
|
D | AppFuseUtil.cpp | 152 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()
|
D | VolumeManager.h | 201 int openAppFuseFile(uid_t uid, int mountId, int fileId, int flags);
|
D | VoldNativeService.cpp | 559 binder::Status VoldNativeService::openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, in openAppFuseFile() argument 565 int fd = VolumeManager::Instance()->openAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile() 568 " mountId: " + std::to_string(mountId) + " fileId: " + std::to_string(fileId) + in openAppFuseFile()
|
D | VoldNativeService.h | 102 binder::Status openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, int32_t flags,
|
D | VolumeManager.cpp | 1240 int VolumeManager::openAppFuseFile(uid_t uid, int mountId, int fileId, int flags) { in openAppFuseFile() argument 1241 return android::vold::OpenAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile()
|
/system/incremental_delivery/incfs/tests/include/ |
D | IncFsTestBase.h | 73 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/ |
D | report_html.js | 169 return {fileId: func.s[0], startLine: func.s[1], endLine: func.s[2]}; 1480 constructor(fileId) { argument 1481 this.path = getSourceFilePath(fileId); 1482 this.code = getSourceCode(fileId); 1514 function getFile(fileId) { argument 1515 let file = sourceFiles[fileId]; 1517 file = sourceFiles[fileId] = new SourceFile(fileId); 1525 let file = getFile(funcRange.fileId); 1539 let file = getFile(funcRange.fileId); 1543 delete sourceFiles[funcRange.fileId]; [all …]
|
/system/incremental_delivery/incfs/tests/util/ |
D | map_ptr_test.cpp | 39 const auto id = fileId(1); in SetUp() 42 auto fd = openForSpecialOps(control_, fileId(1)); in SetUp()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 97 static std::string indexPath(std::string_view root, IncFsFileId fileId) { in indexPath() argument 98 return path::join(root, INCFS_INDEX_NAME, toString(fileId)); in indexPath() 973 IncFsErrorCode IncFs_GetMetadataById(const IncFsControl* control, IncFsFileId fileId, char buffer[], in IncFs_GetMetadataById() argument 983 auto name = indexPath(root, fileId); in IncFs_GetMetadataById() 1041 IncFsErrorCode IncFs_GetSignatureById(const IncFsControl* control, IncFsFileId fileId, in IncFs_GetSignatureById() argument 1051 auto file = indexPath(root, fileId); in IncFs_GetSignatureById() 1623 IncFsErrorCode IncFs_IsFullyLoadedById(const IncFsControl* control, IncFsFileId fileId) { in IncFs_IsFullyLoadedById() argument 1632 return isFullyLoadedV2(root, fileId); in IncFs_IsFullyLoadedById() 1636 makeCommandPath(root, indexPath(root, fileId)).c_str())); in IncFs_IsFullyLoadedById()
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 129 FileDescriptor openAppFuseFile(int uid, int mountId, int fileId, int flags); in openAppFuseFile() argument
|