Home
last modified time | relevance | path

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

/system/extras/perfprofd/dropbox/
Ddropbox.cc65 android::base::unique_fd read_only; in WriteDropboxFile() local
69 read_only.reset(open(fdpath, O_RDONLY | O_CLOEXEC)); in WriteDropboxFile()
70 if (read_only.get() < 0) { in WriteDropboxFile()
90 read_only.release(), in WriteDropboxFile()
/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/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.cc804 tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max, in CE_T4tSetLocalNDEFMsg() argument
812 read_only, ndef_msg_max, ndef_msg_len); in CE_T4tSetLocalNDEFMsg()
821 if ((!read_only) && (!p_scratch_buf)) { in CE_T4tSetLocalNDEFMsg()
848 if (read_only) { in CE_T4tSetLocalNDEFMsg()
/system/update_engine/common/
Dutils.h175 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
Dutils.cc622 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { in SetBlockDeviceReadOnly() argument
631 int expected_flag = read_only ? 1 : 0; in SetBlockDeviceReadOnly()
/system/update_engine/payload_consumer/
Ddelta_performer.cc121 bool read_only = (mode & O_ACCMODE) == O_RDONLY; in OpenFile() local
122 utils::SetBlockDeviceReadOnly(path, read_only); in OpenFile()
125 if (cache_writes && !read_only) { in OpenFile()