• Home
  • Raw
  • Download

Lines Matching refs:prefs

791     PrefsInterface* prefs,  in PreparePartitionsForUpdate()  argument
799 prefs->GetString(kPrefsDynamicPartitionMetadataUpdated, &last_hash)); in PreparePartitionsForUpdate()
810 ResetUpdateProgress(prefs, false); in PreparePartitionsForUpdate()
824 TEST_AND_RETURN_FALSE(prefs->SetString(kPrefsDynamicPartitionMetadataUpdated, in PreparePartitionsForUpdate()
1325 bool DeltaPerformer::CanResumeUpdate(PrefsInterface* prefs, in CanResumeUpdate() argument
1328 if (!(prefs->GetInt64(kPrefsUpdateStateNextOperation, &next_operation) && in CanResumeUpdate()
1333 if (!(prefs->GetString(kPrefsUpdateCheckResponseHash, &interrupted_hash) && in CanResumeUpdate()
1341 if (prefs->GetInt64(kPrefsResumedUpdateFailures, &resumed_update_failures) && in CanResumeUpdate()
1347 if (!(prefs->GetInt64(kPrefsUpdateStateNextDataOffset, &next_data_offset) && in CanResumeUpdate()
1352 if (!(prefs->GetString(kPrefsUpdateStateSHA256Context, &sha256_context) && in CanResumeUpdate()
1357 if (!(prefs->GetInt64(kPrefsManifestMetadataSize, &manifest_metadata_size) && in CanResumeUpdate()
1362 if (!(prefs->GetInt64(kPrefsManifestSignatureSize, in CanResumeUpdate()
1371 PrefsInterface* prefs, in ResetUpdateProgress() argument
1374 TEST_AND_RETURN_FALSE(prefs->SetInt64(kPrefsUpdateStateNextOperation, in ResetUpdateProgress()
1377 prefs->SetInt64(kPrefsUpdateStateNextDataOffset, -1); in ResetUpdateProgress()
1378 prefs->SetInt64(kPrefsUpdateStateNextDataLength, 0); in ResetUpdateProgress()
1379 prefs->SetString(kPrefsUpdateStateSHA256Context, ""); in ResetUpdateProgress()
1380 prefs->SetString(kPrefsUpdateStateSignedSHA256Context, ""); in ResetUpdateProgress()
1381 prefs->SetString(kPrefsUpdateStateSignatureBlob, ""); in ResetUpdateProgress()
1382 prefs->SetInt64(kPrefsManifestMetadataSize, -1); in ResetUpdateProgress()
1383 prefs->SetInt64(kPrefsManifestSignatureSize, -1); in ResetUpdateProgress()
1384 prefs->SetInt64(kPrefsResumedUpdateFailures, 0); in ResetUpdateProgress()
1385 prefs->Delete(kPrefsPostInstallSucceeded); in ResetUpdateProgress()
1386 prefs->Delete(kPrefsVerityWritten); in ResetUpdateProgress()
1390 prefs->Delete(kPrefsDynamicPartitionMetadataUpdated); in ResetUpdateProgress()