/aosp14/system/core/trusty/storage/proxy/ |
H A D | storage.c | 324 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open() 327 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open() 331 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open() 337 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); in storage_file_open()
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | ObbFile_test.cpp | 46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
H A D | BackupData_test.cpp | 60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | CacheUpdater.h | 87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
|
/aosp14/system/core/libcutils/ |
H A D | ashmem-dev.cpp | 293 S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IRGRP, in __ashmem_is_ashmem() 298 S_IFCHR | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IRGRP); in __ashmem_is_ashmem()
|
/aosp14/frameworks/base/cmds/incidentd/tests/ |
H A D | ProtoFileReader_test.cpp | 62 unique_fd fd(open(testFile.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in TEST()
|
/aosp14/frameworks/base/cmds/gpu_counter_producer/ |
H A D | main.cpp | 84 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in writeToPidFile()
|
/aosp14/frameworks/base/keystore/java/android/security/ |
H A D | SystemKeyStore.java | 97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
|
/aosp14/system/core/bootstat/ |
H A D | boot_event_record_store.cpp | 71 int record_fd = creat(record_path.c_str(), S_IRUSR | S_IWUSR); in AddBootEventWithValue()
|
H A D | boot_event_record_store_test.cpp | 45 android::base::unique_fd record_fd(creat(record_path.c_str(), S_IRUSR | S_IWUSR)); in CreateEmptyBootEventRecord()
|
/aosp14/system/core/healthd/ |
H A D | charger_test.cpp | 110 int fd = creat(filepath, S_IRUSR | S_IWUSR); in createHidlHandle()
|
/aosp14/frameworks/base/cmds/idmap2/self_targeting/ |
H A D | SelfTargeting.cpp | 38 constexpr const mode_t kIdmapFilePermission = S_IRUSR | S_IWUSR; // u=rw-, g=---, o=---
|
/aosp14/system/core/gatekeeperd/ |
H A D | gatekeeperd.cpp | 96 int fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR); in store_sid() 125 int fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR); in mark_cold_boot()
|
/aosp14/frameworks/base/native/webview/loader/ |
H A D | loader.cpp | 110 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
|
/aosp14/system/core/init/ |
H A D | util_test.cpp | 111 EXPECT_EQ((const unsigned int)(S_IRUSR | S_IWUSR), sb.st_mode & 0777); in TEST()
|
H A D | selinux.cpp | 565 open(dstPath.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, S_IRUSR | S_IWUSR))); in PutFileInTmpfs()
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteOpenHelper.java | 444 int perms = FileUtils.S_IRUSR | FileUtils.S_IWUSR | FileUtils.S_IRGRP | FileUtils.S_IWGRP; in setFilePermissionsForDb()
|
/aosp14/frameworks/base/services/core/java/com/android/server/app/ |
H A D | GameManagerSettings.java | 180 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
|
/aosp14/frameworks/base/tools/aapt2/util/ |
H A D | Files.cpp | 126 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; in mkdirs()
|
/aosp14/system/core/libprocessgroup/setup/ |
H A D | cgroup_map_write.cpp | 382 S_IRUSR | S_IRGRP | S_IROTH))); in WriteRcFile()
|
/aosp14/system/core/storaged/ |
H A D | storaged.cpp | 302 S_IRUSR | S_IWUSR))); in flush_proto_data()
|
/aosp14/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 251 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; in copyFileIfChanged()
|
/aosp14/frameworks/base/tools/lock_agent/ |
H A D | agent.cpp | 538 open(newName.c_str(), O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR)); in locktest_main()
|
/aosp14/system/core/trusty/utils/rpmb_dev/ |
H A D | rpmb_dev.c | 591 s.data_fd = open(data_file_name, open_flags, S_IWUSR | S_IRUSR); in main()
|
/aosp14/system/core/fs_mgr/libfiemap/ |
H A D | fiemap_writer.cpp | 662 TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags, S_IRUSR | S_IWUSR))); in Open()
|