Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dwipe_data.cpp78 bool success = EraseVolume("/cache", ui, new_fstype); in WipeCache() local
79 ui->Print("Cache wipe %s.\n", success ? "complete" : "failed"); in WipeCache()
80 return success; in WipeCache()
94 bool success = device->PreWipeData(); in WipeData() local
95 if (success) { in WipeData()
96 success &= EraseVolume(DATA_ROOT, ui, data_fstype); in WipeData()
99 success &= EraseVolume(CACHE_ROOT, ui, data_fstype); in WipeData()
102 success &= EraseVolume(METADATA_ROOT, ui, data_fstype); in WipeData()
112 success = false; in WipeData()
115 if (success) { in WipeData()
[all …]
/bootable/recovery/tests/unit/
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.cpp170 static void VerifyAbUpdateCommands(const std::string& serialno, bool success = true) { in VerifyAbUpdateCommands() argument
198 if (success) { in VerifyAbUpdateCommands()
/bootable/recovery/bootloader_message/
Dmisctrl_main.cpp67 bool success = CheckReservedSystemSpaceEmpty(&empty, &err); in check_reserved_space() local
68 if (!success) { in check_reserved_space()
/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/deprecated-ota/applypatch/
Dapplypatch.cpp140 bool success = false; in WriteBufferToPartition() local
211 success = true; in WriteBufferToPartition()
221 if (!success) { in WriteBufferToPartition()
/bootable/deprecated-ota/updater/
Dinstall.cpp139 bool success = true; in PackageExtractFileFn() local
145 success = false; in PackageExtractFileFn()
149 success = false; in PackageExtractFileFn()
154 success = false; in PackageExtractFileFn()
157 return StringValue(success ? "t" : ""); in PackageExtractFileFn()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp385 if (!cr.success) { in update_verifier()