Home
last modified time | relevance | path

Searched refs:getKeyBlobPath (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore/
Duser_state.cpp82 return unlink(mMasterKeyEntry.getKeyBlobPath().c_str()) == 0 || errno == ENOENT; in deleteMasterKey()
122 int out = TEMP_FAILURE_RETRY(open(mMasterKeyEntry.getKeyBlobPath().c_str(), in copyMasterKeyFile()
133 unlink(mMasterKeyEntry.getKeyBlobPath().c_str()); in copyMasterKeyFile()
155 int in = TEMP_FAILURE_RETRY(open(mMasterKeyEntry.getKeyBlobPath().c_str(), O_RDONLY)); in readMasterKey()
Dblob.cpp376 rc = writeBlob(entry_->getKeyBlobPath(), std::move(keyBlob), rawBlob, aes_key, state); in writeBlobs()
501 rc = keyBlob.readBlob(entry_->getKeyBlobPath(), aes_key, state); in readBlobs()
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()
672 std::string KeyBlobEntry::getKeyBlobPath() const { in getKeyBlobPath() function in KeyBlobEntry
699 if (!access(getKeyBlobPath().c_str(), R_OK | W_OK)) return true; in hasKeyBlob()
Duser_state.h53 std::string getMasterKeyFileName() const { return mMasterKeyEntry.getKeyBlobPath(); } in getMasterKeyFileName()
Dblob.h194 std::string getKeyBlobPath() const;
Dkey_store_service.cpp536 std::string filename = lockedEntry->getKeyBlobPath(); in getmtime()