Lines Matching defs:version
267 const uint8_t version = keyBlob->getVersion();
268 if (version < CURRENT_BLOB_VERSION) {
273 if (upgradeBlob(filename, keyBlob, version, type, userId)) {
290 // The HAL allowed the import, reget the key to have the "fresh" version.
612 uint8_t version = oldVersion;
615 if (version == 0) {
616 ALOGV("upgrading to version 1 and setting type %d", type);
622 version = 1;
627 if (version == 1) {
628 ALOGV("upgrading to version 2");
631 version = 2;
636 * If we've updated, set the key blob to the right version
641 blob->setVersion(version);
721 if (mMetaData.version == 0) {
782 mMetaData.version = 1;