/system/core/adb/client/ |
D | incremental_server.cpp | 239 SendResult SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush = false); 241 bool SendTreeBlock(FileId fileId, int32_t fileBlockIdx, BlockIdx blockIdx); 242 bool SendTreeBlocksForDataBlock(FileId fileId, BlockIdx blockIdx); 352 bool IncrementalServer::SendTreeBlocksForDataBlock(const FileId fileId, const BlockIdx blockIdx) { in SendTreeBlocksForDataBlock() argument 353 auto& file = files_[fileId]; in SendTreeBlocksForDataBlock() 369 if (!SendTreeBlock(fileId, blockIdx, leaf_idx)) { in SendTreeBlocksForDataBlock() 380 if (!SendTreeBlock(fileId, blockIdx, i)) { in SendTreeBlocksForDataBlock() 388 bool IncrementalServer::SendTreeBlock(FileId fileId, int32_t fileBlockIdx, BlockIdx blockIdx) { in SendTreeBlock() argument 389 const auto& file = files_[fileId]; in SendTreeBlock() 401 buffer.header.file_id = toBigEndian(fileId); in SendTreeBlock() [all …]
|
/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 77 inline bool isValidFileId(FileId fileId) { in isValidFileId() argument 78 return IncFs_IsValidFileId(fileId); in isValidFileId() 81 inline std::string toString(FileId fileId) { in toString() argument 83 auto err = IncFs_FileIdToString(fileId, res.data()); in toString() 164 inline ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, in makeFile() argument 166 return IncFs_MakeFile(control, details::c_str(path), mode, fileId, params); in makeFile() 175 inline RawMetadata getMetadata(const Control& control, FileId fileId) { in getMetadata() argument 178 if (IncFs_GetMetadataById(control, fileId, metadata.data(), &size) < 0) { in getMetadata() 195 inline RawSignature getSignature(const Control& control, FileId fileId) { in getSignature() argument 198 if (IncFs_GetSignatureById(control, fileId, signature.data(), &size) < 0) { in getSignature() [all …]
|
D | incfs.h | 191 bool isValidFileId(FileId fileId); 192 std::string toString(FileId fileId); 208 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId fileId, 213 RawMetadata getMetadata(const Control& control, FileId fileId); 217 RawSignature getSignature(const Control& control, FileId fileId); 230 UniqueFd openForSpecialOps(const Control& control, FileId fileId);
|
D | incfs_ndk.h | 145 static inline bool IncFs_IsValidFileId(IncFsFileId fileId) { in IncFs_IsValidFileId() argument 146 return memcmp(&fileId, &kIncFsInvalidFileId, sizeof(fileId)) != 0; in IncFs_IsValidFileId()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 92 static IncFsFileId fileId(uint64_t i) { in fileId() function in IncFsTest 122 int res = makeFile(control_, mountPath(test_file_name_), 0555, fileId(id), in makeFileWithHash() 134 auto wfd = openForSpecialOps(control_, fileId(id)); in writeTestRanges() 286 makeFile(control_, test_file, 0555, fileId(1), in TEST_F() 330 makeFile(control_, file_path, 0111, fileId(1), in TEST_F() 342 makeFile(control_, file_path, 0555, fileId(1), in TEST_F() 350 auto id = fileId(1); in TEST_F() 363 makeFile(control_, mountPath(test_file_name_), 0555, fileId(1), in TEST_F() 372 const auto raw_metadata = getMetadata(control_, fileId(1)); in TEST_F() 380 ASSERT_EQ(0, makeFile(control_, mountPath(test_file_name_), 0555, fileId(1), {.size = 0})); in TEST_F() [all …]
|
/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 | 132 int openAppFuseFile(uid_t uid, int mountId, int fileId, int flags);
|
D | VoldNativeService.cpp | 462 binder::Status VoldNativeService::openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, in openAppFuseFile() argument 468 int fd = VolumeManager::Instance()->openAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile() 471 " mountId: " + std::to_string(mountId) + " fileId: " + std::to_string(fileId) + in openAppFuseFile()
|
D | VolumeManager.cpp | 750 int VolumeManager::openAppFuseFile(uid_t uid, int mountId, int fileId, int flags) { in openAppFuseFile() argument 751 return android::vold::OpenAppFuseFile(uid, mountId, fileId, flags); in openAppFuseFile()
|
D | VoldNativeService.h | 85 binder::Status openAppFuseFile(int32_t uid, int32_t mountId, int32_t fileId, int32_t flags,
|
/system/extras/simpleperf/scripts/ |
D | report_html.js | 169 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/vold/binder/android/os/ |
D | IVold.aidl | 129 FileDescriptor openAppFuseFile(int uid, int mountId, int fileId, int flags); in openAppFuseFile() argument
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 789 IncFsErrorCode IncFs_GetMetadataById(const IncFsControl* control, IncFsFileId fileId, char buffer[], in IncFs_GetMetadataById() argument 799 auto name = android::incfs::path::join(root, android::incfs::kIndexDir, toStringImpl(fileId)); in IncFs_GetMetadataById() 852 IncFsErrorCode IncFs_GetSignatureById(const IncFsControl* control, IncFsFileId fileId, in IncFs_GetSignatureById() argument 862 auto file = android::incfs::path::join(root, android::incfs::kIndexDir, toStringImpl(fileId)); in IncFs_GetSignatureById()
|