Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 33) sorted by relevance

12

/aosp14/system/core/trusty/storage/proxy/
H A Dstorage.c324 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 DObbFile_test.cpp46 int fd = ::open(mFileName.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
H A DBackupData_test.cpp60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
/aosp14/frameworks/base/tools/aapt/
H A DCacheUpdater.h87 mkdir(existsPath.string(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); in ensureDirectoriesExist()
/aosp14/system/core/libcutils/
H A Dashmem-dev.cpp293 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 DProtoFileReader_test.cpp62 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 Dmain.cpp84 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); in writeToPidFile()
/aosp14/frameworks/base/keystore/java/android/security/
H A DSystemKeyStore.java97 FileUtils.setPermissions(keyFile.getName(), (FileUtils.S_IRUSR | FileUtils.S_IWUSR), in generateNewKey()
/aosp14/system/core/bootstat/
H A Dboot_event_record_store.cpp71 int record_fd = creat(record_path.c_str(), S_IRUSR | S_IWUSR); in AddBootEventWithValue()
H A Dboot_event_record_store_test.cpp45 android::base::unique_fd record_fd(creat(record_path.c_str(), S_IRUSR | S_IWUSR)); in CreateEmptyBootEventRecord()
/aosp14/system/core/healthd/
H A Dcharger_test.cpp110 int fd = creat(filepath, S_IRUSR | S_IWUSR); in createHidlHandle()
/aosp14/frameworks/base/cmds/idmap2/self_targeting/
H A DSelfTargeting.cpp38 constexpr const mode_t kIdmapFilePermission = S_IRUSR | S_IWUSR; // u=rw-, g=---, o=---
/aosp14/system/core/gatekeeperd/
H A Dgatekeeperd.cpp96 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 Dloader.cpp110 chmod(relro_tmp, S_IRUSR | S_IRGRP | S_IROTH) != 0 || in DoCreateRelroFile()
/aosp14/system/core/init/
H A Dutil_test.cpp111 EXPECT_EQ((const unsigned int)(S_IRUSR | S_IWUSR), sb.st_mode & 0777); in TEST()
H A Dselinux.cpp565 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 DSQLiteOpenHelper.java444 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 DGameManagerSettings.java180 FileUtils.S_IRUSR | FileUtils.S_IWUSR in writePersistentDataLocked()
/aosp14/frameworks/base/tools/aapt2/util/
H A DFiles.cpp126 constexpr const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP; in mkdirs()
/aosp14/system/core/libprocessgroup/setup/
H A Dcgroup_map_write.cpp382 S_IRUSR | S_IRGRP | S_IROTH))); in WriteRcFile()
/aosp14/system/core/storaged/
H A Dstoraged.cpp302 S_IRUSR | S_IWUSR))); in flush_proto_data()
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp251 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 Dagent.cpp538 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 Drpmb_dev.c591 s.data_fd = open(data_file_name, open_flags, S_IWUSR | S_IRUSR); in main()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dfiemap_writer.cpp662 TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags, S_IRUSR | S_IWUSR))); in Open()

12