Home
last modified time | relevance | path

Searched refs:Fail (Results 1 – 16 of 16) sorted by relevance

/system/apex/apexd/
Dapex_shim.cpp98 return Status::Fail(StringLog() in IsRegularFile()
102 return Status::Fail(StringLog() << path << " is not a file"); in IsRegularFile()
105 return Status::Fail(StringLog() << path << " has illegal permissions"); in IsRegularFile()
118 return Status::Fail(StringLog() << "Illegal file " << entry.path()); in IsHashTxt()
130 return Status::Fail(StringLog() in IsWhitelistedTopLevelEntry()
136 return Status::Fail(StringLog() << path << " is not empty"); in IsWhitelistedTopLevelEntry()
141 return Status::Fail(StringLog() in IsWhitelistedTopLevelEntry()
146 return Status::Fail(StringLog() in IsWhitelistedTopLevelEntry()
150 return Status::Fail(StringLog() in IsWhitelistedTopLevelEntry()
161 return Status::Fail(StringLog() in IsWhitelistedTopLevelEntry()
[all …]
Dapexd_utils.h96 return Status::Fail(StringLog() << "Can't open " << path in WalkDir()
115 return Status::Fail(status.ErrorMessage()); in ReadDir()
131 return Status::Fail(PStringLog() << "Could not mkdir " << path); in createDirIfNeeded()
134 return Status::Fail(PStringLog() << "Could not stat " << path); in createDirIfNeeded()
138 return Status::Fail(path + " exists and is not a directory."); in createDirIfNeeded()
145 return Status::Fail(PStringLog() << "Could not chmod " << path); in createDirIfNeeded()
154 return Status::Fail(StringLog() << "Failed to delete " << path << " : " in DeleteDirContent()
159 return Status::Fail(PStringLog() << "Failed to delete " << file); in DeleteDirContent()
172 return Status::Fail(StringLog() << "Failed to access " << path << " : " in PathExists()
203 return Status::Fail(PStringLog() in WaitForFile()
Dapexd_checkpoint_vold.cpp38 return StatusOr<VoldCheckpointInterface>::Fail( in Create()
73 return StatusOr<bool>::Fail(status.toString8().c_str()); in NeedsCheckpoint()
86 return StatusOr<bool>::Fail(status.toString8().c_str()); in NeedsRollback()
97 return Status::Fail(status.toString8().c_str()); in StartCheckpoint()
101 return Status::Fail("Device does not support filesystem checkpointing"); in StartCheckpoint()
Dapexd.cpp217 return Status::Fail(StringLog() in waitForDevice()
227 return Status::Fail(StringLog() << "Failed to delete device " << name in DeleteVerityDevice()
240 return Status::Fail(StringLog() in DeleteVerityDevice()
351 return Status::Fail(PStringLog() in RemovePreviouslyActiveApexFiles()
368 return Status::Fail(PStringLog() << "Can't open " << verity_device); in readVerityDevice()
375 return Status::Fail(PStringLog() << "Can't verify " << verity_device in readVerityDevice()
404 return StatusM::Fail(StringLog() in mountNonFlattened()
418 return StatusM::Fail(StringLog() in mountNonFlattened()
427 return StatusM::Fail(StringLog() in mountNonFlattened()
449 return StatusM::Fail(StringLog() in mountNonFlattened()
[all …]
Dapexd_loop.cpp70 return Status::Fail(StringLog() in configureReadAhead()
80 return Status::Fail(PStringLog() << "Failed to open " << sysfs_device); in configureReadAhead()
86 return Status::Fail(PStringLog() << "Failed to write to " << sysfs_device); in configureReadAhead()
100 return Status::Fail(PStringLog() << "Failed to open loop-control"); in preAllocateLoopDevices()
112 return Status::Fail(PStringLog() << "Failed LOOP_CTL_ADD"); in preAllocateLoopDevices()
Dapexd_private.cpp70 return Status::Fail(PStringLog() in BindMount()
88 return Status::Fail(PStringLog() in BindMount()
Dapex_file.cpp247 return Status::Fail("Failed to compare the bundled public key with key"); in verifyPublicKey()
285 return Status::Fail(StringLog() in verifyVbMetaSignature()
289 return Status::Fail(StringLog() in verifyVbMetaSignature()
293 return Status::Fail(StringLog() in verifyVbMetaSignature()
297 return Status::Fail("Unknown vmbeta_image_verify return value"); in verifyVbMetaSignature()
327 return Status::Fail(StringLog() in verifyVbMetaSignature()
454 return Status::Fail(err); in VerifyManifestMatches()
459 return Status::Fail(verifiedManifest.ErrorMessage()); in VerifyManifestMatches()
463 return Status::Fail( in VerifyManifestMatches()
Dapexd_prepostinstall.cpp63 return Status::Fail(StringLog() << "Missing support for multiple " in StageFnInstall()
111 return Status::Fail(StringLog() in StageFnInstall()
131 return res == 0 ? Status::Success() : Status::Fail(error_msg); in StageFnInstall()
Dstatus.h35 static Status Fail(const std::string& error_msg) { return Status(error_msg); } in Fail() function
Dapex_key.cpp81 return Status::Fail(StringLog() in updateScannedApexKeys()
97 return Status::Fail(StringLog() << "Failed to collect keys from " << dir in collectApexKeys()
Dapexd_session.cpp73 return Status::Fail(StringLog() << "Failed to delete " << session_dir in deleteSessionDir()
206 return Status::Fail("Failed to write state file " + stateFilePath); in UpdateStateAndCommit()
Dstatus_or.h79 static StatusOr Fail(const std::string& msg) { in Fail() function
Dapexservice_test.cpp919 return StatusOr<bool>::Fail("GetAvailableDevices failed"); in TEST_F()
/system/bt/stack/test/
Dstack_btu_test.cc99 helper.wait(5, base::Bind(&BtuMessageLoopTest::Fail, base::Unretained(this), in SetUp()
109 void Fail(std::string message) { FAIL() << message; } in Fail() function in BtuMessageLoopTest
125 helper.wait(5, base::Bind(&BtuMessageLoopTest::Fail, base::Unretained(this), in TEST_F()
/system/core/demangle/
DDemangler.h107 const char* Fail(const char*) { return nullptr; } in Fail() function
DDemangler.cpp882 parse_funcs_.push_back(&Demangler::Fail); in Parse()