Home
last modified time | relevance | path

Searched refs:success (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/install/
Dwipe_data.cpp99 bool success = EraseVolume("/cache", ui, false); in WipeCache() local
100 ui->Print("Cache wipe %s.\n", success ? "complete" : "failed"); in WipeCache()
101 return success; in WipeCache()
107 bool success = device->PreWipeData(); in WipeData() local
108 if (success) { in WipeData()
109 success &= EraseVolume(DATA_ROOT, ui, convert_fbe); in WipeData()
112 success &= EraseVolume(CACHE_ROOT, ui, false); in WipeData()
115 success &= EraseVolume(METADATA_ROOT, ui, false); in WipeData()
118 if (success) { in WipeData()
119 success &= device->PostWipeData(); in WipeData()
[all …]
/bootable/recovery/tests/component/
Duncrypt_test.cpp46 bool success = false; in StopService() local
54 success = true; in StopService()
60 ASSERT_TRUE(success) << "uncrypt service is not available."; in StopService()
97 bool success = false; in SetupOrClearBcb() local
100 success = true; in SetupOrClearBcb()
105 ASSERT_TRUE(success); in SetupOrClearBcb()
Dinstall_test.cpp250 static void VerifyAbUpdateCommands(const std::string& serialno, bool success = true) { in VerifyAbUpdateCommands() argument
279 if (success) { in VerifyAbUpdateCommands()
/bootable/recovery/uncrypt/
Duncrypt.cpp649 bool success = uncrypt_wrapper(input_path, map_file, -1); in main() local
650 if (success) { in main()
655 return success ? 0 : 1; in main()
681 bool success = false; in main() local
684 success = uncrypt_wrapper(input_path, map_file, socket_fd); in main()
687 success = setup_bcb(socket_fd); in main()
690 success = clear_bcb(socket_fd); in main()
706 return success ? 0 : 1; in main()
/bootable/recovery/applypatch/
Dapplypatch.cpp140 bool success = false; in WriteBufferToPartition() local
211 success = true; in WriteBufferToPartition()
221 if (!success) { in WriteBufferToPartition()
/bootable/recovery/updater/
Dinstall.cpp147 bool success = true; in PackageExtractFileFn() local
153 success = false; in PackageExtractFileFn()
157 success = false; in PackageExtractFileFn()
162 success = false; in PackageExtractFileFn()
165 return StringValue(success ? "t" : ""); in PackageExtractFileFn()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp369 if (!cr.success) { in update_verifier()