Lines Matching defs:version
258 * parts must be no more than VALUE_SIZE bytes. The first field is the version,
278 uint8_t version;
307 mBlob.version = CurrentBlobVersion;
334 return mBlob.version;
337 void setVersion(uint8_t version) {
338 mBlob.version = version;
400 // memory version has extra padding to tolerate rounding up to
598 const uint8_t version = keyBlob->getVersion();
599 if (version < CurrentBlobVersion) {
600 upgrade(filename, keyBlob, version, type);
772 * Upgrade code. This will upgrade the key from the current version
777 uint8_t version = oldVersion;
780 if (version == 0) {
781 ALOGV("upgrading to version 1 and setting type %d", type);
787 version = 1;
792 * If we've updated, set the key blob to the right version
797 blob->setVersion(version);