Home
last modified time | relevance | path

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

/system/security/keystore/
Duser_state.cpp85 return unlink(mMasterKeyEntry.getKeyBlobPath().c_str()) == 0 || errno == ENOENT; in deleteMasterKey()
125 int out = TEMP_FAILURE_RETRY(open(mMasterKeyEntry.getKeyBlobPath().c_str(), in copyMasterKeyFile()
136 unlink(mMasterKeyEntry.getKeyBlobPath().c_str()); in copyMasterKeyFile()
155 int in = TEMP_FAILURE_RETRY(open(mMasterKeyEntry.getKeyBlobPath().c_str(), O_RDONLY)); in readMasterKey()
Dblob.cpp372 rc = writeBlob(entry_->getKeyBlobPath(), std::move(keyBlob), rawBlob, aes_key, state); in writeBlobs()
483 rc = keyBlob.readBlob(entry_->getKeyBlobPath(), aes_key, state); in readBlobs()
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()
654 std::string KeyBlobEntry::getKeyBlobPath() const { in getKeyBlobPath() function in KeyBlobEntry
681 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.h193 std::string getKeyBlobPath() const;
Dkey_store_service.cpp566 std::string filename = lockedEntry->getKeyBlobPath(); in getmtime()