Home
last modified time | relevance | path

Searched refs:FilePermission (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/engine/flutter/fml/platform/posix/
Dfile_posix.cc30 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/
Dfile_win.cc66 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/
Dfile.h23 enum class FilePermission { enum
33 FilePermission permission);
38 FilePermission permission);
42 FilePermission permission);
47 FilePermission permission);
70 FilePermission permission);
Dfile_unittest.cc48 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()
Dmapping.cc19 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()
Dfile.cc13 FilePermission permission, in CreateDirectory()
34 FilePermission permission) { in CreateDirectory()
49 dir_fd_ = OpenDirectory(path_.c_str(), false, FilePermission::kRead); in ScopedTemporaryDirectory()
Dicu_util.cc35 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/
Dtesting.cc20 fml::FilePermission::kRead // permission in OpenFixturesDirectory()
41 fml::FilePermission::kRead // permission in OpenFixture()
/third_party/flutter/engine/flutter/shell/common/
Dpersistent_cache.cc61 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()
Drun_configuration.cc28 settings.assets_path.c_str(), false, fml::FilePermission::kRead))); in InferFromSettings()
Dshell_benchmarks.cc18 fml::FilePermission::kRead); in StartupAndShutdownShell()
Dshell_test.cc194 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in SetUp()
Dshell.cc1205 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/
Dsecurity.policy50 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/
Dpaths_android.cc25 return OpenDirectory(gCachesPath.c_str(), false, fml::FilePermission::kRead); in GetCachesDirectory()
/third_party/flutter/engine/flutter/assets/
Ddirectory_asset_bundle.cc39 descriptor_, asset_name.c_str(), false, fml::FilePermission::kRead)); in GetAsMapping()
/third_party/flutter/engine/flutter/shell/testing/
Dtester_main.cc132 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/
Dpaths_darwin.mm28 return OpenDirectory(items[0].fileSystemRepresentation, false, FilePermission::kRead);
/third_party/flutter/engine/flutter/runtime/
Druntime_test.cc73 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in SetUp()
Ddart_vm.cc148 fml::FilePermission::kRead); in GetVMServiceAssetsArchiveCallback()
Ddart_isolate_unittests.cc215 fml::FilePermission::kRead); in RunDartCodeInIsolate()
/third_party/flutter/engine/flutter/shell/platform/embedder/tests/
Dembedder_test_context.cc17 fml::FilePermission::kRead); in EmbedderTestContext()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder_unittests.cc78 fml::OpenDirectory(GetFixturesPath(), false, fml::FilePermission::kRead); in OpenFixtureAsSkData()