Home
last modified time | relevance | path

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

/system/security/keystore/
Dblob.h245 const KeyBlobEntry* entry_; variable
247 LockedKeyBlobEntry(const KeyBlobEntry& entry) : entry_(&entry) {} in LockedKeyBlobEntry()
254 LockedKeyBlobEntry() : entry_(nullptr){}; in LockedKeyBlobEntry()
256 LockedKeyBlobEntry(LockedKeyBlobEntry&& rhs) : entry_(rhs.entry_) { rhs.entry_ = nullptr; } in LockedKeyBlobEntry()
260 entry_ = rhs.entry_;
261 rhs.entry_ = nullptr;
276 inline explicit operator bool() const { return entry_ != nullptr; }
277 inline const KeyBlobEntry& operator*() const { return *entry_; }
278 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.cpp370 if (entry_ == nullptr) { in writeBlobs()
376 rc = writeBlob(entry_->getKeyBlobPath(), std::move(keyBlob), rawBlob, aes_key, state); in writeBlobs()
384 rc = writeBlob(entry_->getCharacteristicsBlobPath(), std::move(characteristicsBlob), in writeBlobs()
499 if (entry_ == nullptr) return rc = ResponseCode::SYSTEM_ERROR, result; in readBlobs()
501 rc = keyBlob.readBlob(entry_->getKeyBlobPath(), aes_key, state); in readBlobs()
506 if (entry_->hasCharacteristicsBlob()) { in readBlobs()
507 characteristicsBlob.readBlob(entry_->getCharacteristicsBlobPath(), aes_key, state); in readBlobs()
513 if (entry_ == nullptr) return ResponseCode::NO_ERROR; in deleteBlobs()
516 ResponseCode rc1 = (unlink(entry_->getKeyBlobPath().c_str()) && errno != ENOENT) in deleteBlobs()
520 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/extras/memory_replay/
DThread.h42 void SetAllocEntry(const AllocEntry* entry) { entry_ = entry; } in SetAllocEntry()
43 const AllocEntry& GetAllocEntry() { return *entry_; } in GetAllocEntry()
56 const AllocEntry* entry_; variable
/system/core/libziparchive/
Dzip_archive.cc912 : Reader(), zip_file_(zip_file), entry_(entry) {} in EntryReader()
915 return zip_file_.ReadAtOffset(buf, len, entry_->offset + offset); in ReadAtOffset()
922 const ZipEntry* entry_; member in EntryReader