Home
last modified time | relevance | path

Searched refs:entry_ (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore/
Dblob.h244 const KeyBlobEntry* entry_; variable
246 LockedKeyBlobEntry(const KeyBlobEntry& entry) : entry_(&entry) {} in LockedKeyBlobEntry()
253 LockedKeyBlobEntry() : entry_(nullptr){}; in LockedKeyBlobEntry()
255 LockedKeyBlobEntry(LockedKeyBlobEntry&& rhs) : entry_(rhs.entry_) { rhs.entry_ = nullptr; } in LockedKeyBlobEntry()
259 entry_ = rhs.entry_;
260 rhs.entry_ = nullptr;
275 inline explicit operator bool() const { return entry_ != nullptr; }
276 inline const KeyBlobEntry& operator*() const { return *entry_; }
277 inline const KeyBlobEntry* operator->() const { return entry_; }
Dgrant_store.cpp30 : entry_(entry), grant_no_(grant_no) {} in Grant()
54 [&](const Grant& entry) { return success = entry.entry_ == blobEntry; }); in put()
73 if (grant->entry_.alias() != wrappedAlias) return {}; in get()
81 if (i->entry_ == *lockedEntry) { in removeByFileAlias()
93 if (i->entry_.alias() == alias && i->entry_.uid() == granterUid) { in removeAllGrantsToKey()
Dblob.cpp366 if (entry_ == nullptr) { in writeBlobs()
372 rc = writeBlob(entry_->getKeyBlobPath(), std::move(keyBlob), rawBlob, aes_key, state); in writeBlobs()
380 rc = writeBlob(entry_->getCharacteristicsBlobPath(), std::move(characteristicsBlob), in writeBlobs()
481 if (entry_ == nullptr) return rc = ResponseCode::SYSTEM_ERROR, result; in readBlobs()
483 rc = keyBlob.readBlob(entry_->getKeyBlobPath(), aes_key, state); in readBlobs()
488 if (entry_->hasCharacteristicsBlob()) { in readBlobs()
489 characteristicsBlob.readBlob(entry_->getCharacteristicsBlobPath(), aes_key, state); in readBlobs()
495 if (entry_ == nullptr) return ResponseCode::NO_ERROR; in deleteBlobs()
498 ResponseCode rc1 = (unlink(entry_->getKeyBlobPath().c_str()) && errno != ENOENT) in deleteBlobs()
502 ALOGW("Failed to delete key blob file \"%s\"", entry_->getKeyBlobPath().c_str()); in deleteBlobs()
[all …]
Dgrant_store.h47 KeyBlobEntry entry_; variable
DKeyStore.cpp123 kbe = grant->entry_; in getBlobEntryIfExists()
/system/core/libziparchive/
Dzip_archive.cc931 : Reader(), zip_file_(zip_file), entry_(entry) {} in EntryReader()
934 return zip_file_.ReadAtOffset(buf, len, entry_->offset + offset); in ReadAtOffset()
941 const ZipEntry* entry_; member in EntryReader