Home
last modified time | relevance | path

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

/system/core/libutils/
DFileMap_fuzz.cpp41 bool read_only = dataProvider.ConsumeBool(); in LLVMFuzzerTestOneInput() local
42 m.create(orig_name.c_str(), tf.fd, offset, length, read_only); in LLVMFuzzerTestOneInput()
/system/nfc/src/nfc/include/
Dce_api.h88 extern tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max,
149 extern tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max,
/system/nfc/src/nfa/ce/
Dnfa_ce_api.cc122 uint16_t ndef_max_size, bool read_only, in NFA_CeConfigureLocalTag() argument
162 p_msg->local_tag.read_only = read_only; in NFA_CeConfigureLocalTag()
Dnfa_ce_act.cc1173 p_ce_msg->local_tag.ndef_max_size, p_ce_msg->local_tag.read_only, in nfa_ce_api_cfg_local_tag()
1209 if (p_ce_msg->local_tag.read_only) in nfa_ce_api_cfg_local_tag()
/system/nfc/src/nfa/include/
Dnfa_ce_api.h82 bool read_only, uint8_t uid_len,
Dnfa_ce_int.h60 bool read_only; member
/system/gsid/
Dpartition_installer.h42 const std::string& active_dsu, int64_t size, bool read_only);
Dpartition_installer.cpp44 int64_t size, bool read_only) in PartitionInstaller() argument
50 readOnly_(read_only) { in PartitionInstaller()
/system/libbase/
Dproperties.cpp45 bool read_only = !strncmp(key, "ro.", 3); in __system_property_set() local
46 if (read_only) { in __system_property_set()
/system/nfc/src/nfc/tags/
Dce_t3t.cc864 tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max, in CE_T3tSetLocalNDEFMsg() argument
871 read_only, size_max, size_current); in CE_T3tSetLocalNDEFMsg()
874 if ((!read_only) && (!p_scratch_buf)) { in CE_T3tSetLocalNDEFMsg()
892 (read_only) ? T3T_MSG_NDEF_RWFLAG_RO : T3T_MSG_NDEF_RWFLAG_RW; in CE_T3tSetLocalNDEFMsg()
Dce_t4t.cc818 tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max, in CE_T4tSetLocalNDEFMsg() argument
826 read_only, ndef_msg_max, ndef_msg_len); in CE_T4tSetLocalNDEFMsg()
835 if ((!read_only) && (!p_scratch_buf)) { in CE_T4tSetLocalNDEFMsg()
862 if (read_only) { in CE_T4tSetLocalNDEFMsg()
/system/update_engine/payload_consumer/
Dpartition_writer.cc94 bool read_only = (mode & O_ACCMODE) == O_RDONLY; in OpenFile() local
95 utils::SetBlockDeviceReadOnly(path, read_only); in OpenFile()
98 if (cache_writes && !read_only) { in OpenFile()
/system/update_engine/common/
Dutils.h182 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
Dutils.cc527 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { in SetBlockDeviceReadOnly() argument
536 int expected_flag = read_only ? 1 : 0; in SetBlockDeviceReadOnly()