/third_party/flutter/engine/flutter/fml/platform/posix/ |
D | file_posix.cc | 30 static int ToPosixAccessFlags(FilePermission permission) { in ToPosixAccessFlags() 33 case FilePermission::kRead: in ToPosixAccessFlags() 36 case FilePermission::kWrite: in ToPosixAccessFlags() 39 case FilePermission::kReadWrite: in ToPosixAccessFlags() 46 static int ToPosixCreateModeFlags(FilePermission permission) { in ToPosixCreateModeFlags() 49 case FilePermission::kRead: in ToPosixCreateModeFlags() 52 case FilePermission::kWrite: in ToPosixCreateModeFlags() 55 case FilePermission::kReadWrite: in ToPosixCreateModeFlags() 64 FilePermission permission) { in OpenFile() 72 FilePermission permission) { in OpenFile() [all …]
|
/third_party/flutter/engine/flutter/fml/platform/win/ |
D | file_win.cc | 66 static DWORD GetDesiredAccessFlags(FilePermission permission) { in GetDesiredAccessFlags() 68 case FilePermission::kRead: in GetDesiredAccessFlags() 70 case FilePermission::kWrite: in GetDesiredAccessFlags() 72 case FilePermission::kReadWrite: in GetDesiredAccessFlags() 78 static DWORD GetShareFlags(FilePermission permission) { in GetShareFlags() 80 case FilePermission::kRead: in GetShareFlags() 82 case FilePermission::kWrite: in GetShareFlags() 84 case FilePermission::kReadWrite: in GetShareFlags() 123 FilePermission::kReadWrite); in CreateTemporaryDirectory() 136 FilePermission permission) { in OpenFile() [all …]
|
/third_party/flutter/engine/flutter/fml/ |
D | file.h | 23 enum class FilePermission { enum 33 FilePermission permission); 38 FilePermission permission); 42 FilePermission permission); 47 FilePermission permission); 70 FilePermission permission);
|
D | file_unittest.cc | 48 fml::OpenDirectory(dir_name.c_str(), false, fml::FilePermission::kRead); in TEST() 64 fml::OpenFile(dir.fd(), "some.txt", true, fml::FilePermission::kWrite); in TEST() 78 fml::FilePermission::kReadWrite); in TEST() 92 fml::OpenFile(dir.fd(), "some.txt", false, fml::FilePermission::kRead); in TEST() 111 fml::FilePermission::kReadWrite); in TEST() 114 fml::FilePermission::kReadWrite); in TEST() 123 fml::OpenFile(dir.fd(), file_path, false, fml::FilePermission::kRead); in TEST() 153 fml::FilePermission::kRead))); in TEST() 163 fml::FilePermission::kReadWrite); in TEST()
|
D | mapping.cc | 19 return CreateReadOnly(OpenFile(path.c_str(), false, FilePermission::kRead), in CreateReadOnly() 28 OpenFile(base_fd, sub_path.c_str(), false, FilePermission::kRead), ""); in CreateReadOnly() 44 OpenFile(path.c_str(), false, FilePermission::kRead)); in CreateReadExecute() 52 OpenFile(base_fd, sub_path.c_str(), false, FilePermission::kRead), ""); in CreateReadExecute()
|
D | file.cc | 13 FilePermission permission, in CreateDirectory() 34 FilePermission permission) { in CreateDirectory() 49 dir_fd_ = OpenDirectory(path_.c_str(), false, FilePermission::kRead); in ScopedTemporaryDirectory()
|
D | icu_util.cc | 35 fml::OpenFile(icu_data_path.c_str(), false, fml::FilePermission::kRead); in SetupMapping() 49 fml::FilePermission::kRead); in SetupMapping()
|
/third_party/flutter/engine/flutter/testing/ |
D | testing.cc | 20 fml::FilePermission::kRead // permission in OpenFixturesDirectory() 41 fml::FilePermission::kRead // permission in OpenFixture()
|
/third_party/flutter/engine/flutter/shell/common/ |
D | persistent_cache.cc | 61 fml::FilePermission::kRead); in MakeCacheDirectory() 70 read_only ? fml::FilePermission::kRead in MakeCacheDirectory() 71 : fml::FilePermission::kReadWrite)); in MakeCacheDirectory() 104 fml::FilePermission::kRead); in load()
|
D | run_configuration.cc | 28 settings.assets_path.c_str(), false, fml::FilePermission::kRead))); in InferFromSettings()
|
D | shell_benchmarks.cc | 18 fml::FilePermission::kRead); in StartupAndShutdownShell()
|
D | shell_test.cc | 194 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in SetUp()
|
D | shell.cc | 1205 main_script_path.c_str(), false, fml::FilePermission::kRead)); in OnServiceProtocolRunInView() 1214 asset_directory_path.c_str(), false, fml::FilePermission::kRead))); in OnServiceProtocolRunInView() 1281 fml::FilePermission::kRead))); in OnServiceProtocolSetAssetBundlePath()
|
/third_party/icu/icu4j/main/shared/data/ |
D | security.policy | 50 permission java.io.FilePermission "${/}${user.dir}${/}icu4jtests.jar", "read"; 51 permission java.io.FilePermission "${/}${user.dir}${/}icu4j-charset.jar", "read"; 59 permission java.io.FilePermission "${/}${user.dir}${/}icu4j.jar", "read";
|
/third_party/flutter/engine/flutter/fml/platform/android/ |
D | paths_android.cc | 25 return OpenDirectory(gCachesPath.c_str(), false, fml::FilePermission::kRead); in GetCachesDirectory()
|
/third_party/flutter/engine/flutter/assets/ |
D | directory_asset_bundle.cc | 39 descriptor_, asset_name.c_str(), false, fml::FilePermission::kRead)); in GetAsMapping()
|
/third_party/flutter/engine/flutter/shell/testing/ |
D | tester_main.cc | 132 false, fml::FilePermission::kRead), in RunTester() 148 settings.assets_path.c_str(), false, fml::FilePermission::kRead))); in RunTester()
|
/third_party/flutter/engine/flutter/fml/platform/darwin/ |
D | paths_darwin.mm | 28 return OpenDirectory(items[0].fileSystemRepresentation, false, FilePermission::kRead);
|
/third_party/flutter/engine/flutter/runtime/ |
D | runtime_test.cc | 73 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in SetUp()
|
D | dart_vm.cc | 148 fml::FilePermission::kRead); in GetVMServiceAssetsArchiveCallback()
|
D | dart_isolate_unittests.cc | 215 fml::FilePermission::kRead); in RunDartCodeInIsolate()
|
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/ |
D | embedder_test_context.cc | 17 fml::FilePermission::kRead); in EmbedderTestContext()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | image_decoder_unittests.cc | 78 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in OpenFixtureAsSkData()
|