Searched defs:read_only (Results 1 - 7 of 7) sorted by relevance

/system/extras/perfprofd/dropbox/
H A Ddropbox.cc65 android::base::unique_fd read_only; local
69 read_only.reset(open(fdpath, O_RDONLY | O_CLOEXEC));
70 if (read_only.get() < 0) {
90 read_only.release(),
/system/nfc/src/nfa/ce/
H A Dnfa_ce_api.cc122 uint16_t ndef_max_size, bool read_only,
162 p_msg->local_tag.read_only = read_only;
119 NFA_CeConfigureLocalTag(tNFA_PROTOCOL_MASK protocol_mask, uint8_t* p_ndef_data, uint16_t ndef_cur_size, uint16_t ndef_max_size, bool read_only, uint8_t uid_len, uint8_t* p_uid) argument
/system/nfc/src/nfc/tags/
H A Dce_t4t.cc751 ** read_only: TRUE if read only
760 tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max, argument
767 << StringPrintf("read_only=%d, ndef_msg_max=%d, ndef_msg_len=%d",
768 read_only, ndef_msg_max, ndef_msg_len);
777 if ((!read_only) && (!p_scratch_buf)) {
804 if (read_only) {
H A Dce_t3t.cc847 tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max, argument
854 read_only, size_max, size_current);
857 if ((!read_only) && (!p_scratch_buf)) {
875 (read_only) ? T3T_MSG_NDEF_RWFLAG_RO : T3T_MSG_NDEF_RWFLAG_RW;
/system/nfc/src/nfa/include/
H A Dnfa_ce_int.h60 bool read_only; member in struct:__anon2194
/system/update_engine/common/
H A Dutils.cc633 bool SetBlockDeviceReadOnly(const string& device, bool read_only) { argument
642 int expected_flag = read_only ? 1 : 0;
650 PLOG(ERROR) << "Marking block device " << device << " as read_only="
/system/update_engine/payload_consumer/
H A Ddelta_performer.cc120 bool read_only = (mode & O_ACCMODE) == O_RDONLY; local
121 utils::SetBlockDeviceReadOnly(path, read_only);
124 if (cache_writes && !read_only) {

Completed in 435 milliseconds