Home
last modified time | relevance | path

Searched refs:makeFile (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/mtp/tests/MtpFuzzer/
Dmtp_request_packet_fuzzer.cpp40 void makeFile(std::string s);
53 makeFile(kMtpDevPath); in process()
75 void MtpRequestPacketFuzzer::makeFile(std::string s) { in makeFile() function in MtpRequestPacketFuzzer
/frameworks/base/core/java/android/os/incremental/
DIncrementalFileStorages.java156 mDefaultStorage.makeFile(apkName, apk.size, 0777, null, apk.metadata, in addApkFile()
180 public void makeFile(@NonNull String name, @NonNull byte[] content, in makeFile() method in IncrementalFileStorages
182 mDefaultStorage.makeFile(name, content.length, mode, UUID.randomUUID(), in makeFile()
DIncrementalStorage.java181 public void makeFile(@NonNull String path, long size, int mode, @Nullable UUID id, in makeFile() method in IncrementalStorage
194 int res = mService.makeFile(mId, path, mode, params, content); in makeFile()
DIIncrementalService.aidl86 …int makeFile(int storageId, in @utf8InCpp String path, int mode, in IncrementalNewFileParams param… in makeFile() method
/frameworks/base/services/incremental/
DBinderIncrementalService.cpp225 binder::Status BinderIncrementalService::makeFile( in makeFile() function in android::os::incremental::BinderIncrementalService
235 *_aidl_return = mImpl.makeFile(storageId, path, mode, fileId, nfp, toSpan(content)); in makeFile()
DBinderIncrementalService.h66 binder::Status makeFile(int32_t storageId, const std::string& path, int32_t mode,
DServiceWrappers.cpp160 ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id, in makeFile() function in android::incremental::RealIncFs
162 return incfs::makeFile(control, path, mode, id, params); in makeFile()
DServiceWrappers.h100 virtual ErrorCode makeFile(const Control& control, std::string_view path, int mode, FileId id,
DIncrementalService.cpp717 mIncFs->makeFile(ifs->control, in createStorage()
908 if (auto err = mIncFs->makeFile(ifs->control, in disallowReadLogs()
1178 int IncrementalService::makeFile(StorageId storage, std::string_view path, int mode, FileId id, in makeFile() function in android::incremental::IncrementalService
1201 if (auto err = mIncFs->makeFile(ifs->control, normPath, mode, id, params); err) { in makeFile()
1309 auto node = mIncFs->makeFile(ifs.control, metadataFullPath, 0444, idFromMetadata(metadata), in addBindMount()
2007 if (auto res = mIncFs->makeFile(ifs->control, targetLibPathAbsolute, 0755, libFileId, in configureNativeBinaries()
DIncrementalService.h175 int makeFile(StorageId storage, std::string_view path, int mode, FileId id,
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1130 makeFile(mService.getUserBitmapFilePath(USER_0), "a.b.c").mkdir(); in testCleanupDanglingBitmaps()
1131 makeFile(mService.getUserBitmapFilePath(USER_0), "d.e.f").mkdir(); in testCleanupDanglingBitmaps()
1132 makeFile(mService.getUserBitmapFilePath(USER_0), "d.e.f", "123").createNewFile(); in testCleanupDanglingBitmaps()
1133 makeFile(mService.getUserBitmapFilePath(USER_0), "d.e.f", "456").createNewFile(); in testCleanupDanglingBitmaps()
1135 makeFile(mService.getUserBitmapFilePath(USER_0), CALLING_PACKAGE_3).mkdir(); in testCleanupDanglingBitmaps()
1137 makeFile(mService.getUserBitmapFilePath(USER_0), CALLING_PACKAGE_1, "1").createNewFile(); in testCleanupDanglingBitmaps()
1138 makeFile(mService.getUserBitmapFilePath(USER_0), CALLING_PACKAGE_1, "2").createNewFile(); in testCleanupDanglingBitmaps()
1139 makeFile(mService.getUserBitmapFilePath(USER_0), CALLING_PACKAGE_1, "3").createNewFile(); in testCleanupDanglingBitmaps()
1140 makeFile(mService.getUserBitmapFilePath(USER_0), CALLING_PACKAGE_1, "4").createNewFile(); in testCleanupDanglingBitmaps()
1142 makeFile(mService.getUserBitmapFilePath(USER_10), "10a.b.c").mkdir(); in testCleanupDanglingBitmaps()
[all …]
DBaseShortcutManagerTest.java2155 protected File makeFile(File baseDirectory, String... paths) {
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp385 MOCK_CONST_METHOD5(makeFile,
427 void makeFileFails() { ON_CALL(*this, makeFile(_, _, _, _, _)).WillByDefault(Return(-1)); } in makeFileFails()
428 void makeFileSuccess() { ON_CALL(*this, makeFile(_, _, _, _, _)).WillByDefault(Return(0)); } in makeFileSuccess()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java3615 incrementalFileStorages.makeFile(APP_METADATA_FILE_NAME,
3907 incrementalFileStorages.makeFile(localPath, bytes, 0777);