Searched refs:read_only (Results 1 – 11 of 11) sorted by relevance
/system/extras/perfprofd/dropbox/ |
D | dropbox.cc | 65 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/ |
D | ce_api.h | 88 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/ |
D | nfa_ce_api.cc | 122 uint16_t ndef_max_size, bool read_only, in NFA_CeConfigureLocalTag() argument 162 p_msg->local_tag.read_only = read_only; in NFA_CeConfigureLocalTag()
|
D | nfa_ce_act.cc | 1173 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/ |
D | nfa_ce_api.h | 82 bool read_only, uint8_t uid_len,
|
D | nfa_ce_int.h | 60 bool read_only; member
|
/system/nfc/src/nfc/tags/ |
D | ce_t3t.cc | 864 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()
|
D | ce_t4t.cc | 804 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/ |
D | utils.h | 175 bool SetBlockDeviceReadOnly(const std::string& device, bool read_only);
|
D | utils.cc | 622 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/ |
D | delta_performer.cc | 121 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()
|