Home
last modified time | relevance | path

Searched refs:Errorf (Results 1 – 19 of 19) sorted by relevance

/system/tools/sysprop/
DCommon.cpp111 return Errorf("Invalid API name \"{}\"", prop.api_name()); in ValidateProp()
118 return Errorf("Enum values are empty for API \"{}\"", prop.api_name()); in ValidateProp()
123 return Errorf("Invalid enum value \"{}\" for API \"{}\"", name, in ValidateProp()
131 return Errorf("Duplicated enum value \"{}\" for API \"{}\"", name, in ValidateProp()
141 return Errorf("Invalid prop name \"{}\"", prop.prop_name()); in ValidateProp()
153 return Errorf( in ValidateProp()
161 return Errorf( in ValidateProp()
168 return Errorf("Prop \"{}\" owned by odm should have odm. namespace", in ValidateProp()
179 return Errorf("Prop \"{}\" is ReadWrite and also have prefix \"ro.\"", in ValidateProp()
199 return Errorf("Prop \"{}\" has integer_as_bool: true, but not a boolean", in ValidateProp()
[all …]
DJavaMain.cpp68 return Errorf("Invalid option {} for scope", optarg); in ParseArgs()
77 return Errorf("No input file specified"); in ParseArgs()
81 return Errorf("More than one input file"); in ParseArgs()
DCppMain.cpp82 return Errorf("No input file specified"); in ParseArgs()
86 return Errorf("More than one input file"); in ParseArgs()
DApiChecker.cpp90 return Errorf("{}", err); in CompareProps()
DJavaGen.cpp417 return Errorf("Creating directory to {} failed: {}", java_package_dir, in GenerateJavaLibrary()
DCppGen.cpp456 return Errorf("Creating directory to {} failed: {}", dir, ec.message()); in GenerateCppFiles()
/system/core/init/
Dkeyword_map.h57 return Errorf("Invalid keyword '{}'", keyword); in Find()
65 return Errorf("{} requires {} argument{}", keyword, min_args, in Find()
71 return Errorf("{} requires at least {} argument{}", keyword, min_args, in Find()
74 return Errorf("{} requires between {} and {} arguments", keyword, min_args, in Find()
Dservice_parser.cpp70 return Errorf("invalid capability '{}'", arg); in ParseCapabilities()
74 return Errorf("capability '{}' not supported by the kernel", arg); in ParseCapabilities()
142 return Errorf("process priority value must be range {} - {}", ANDROID_PRIORITY_HIGHEST, in ParsePriority()
/system/apex/apexd/
Dapex_file.cpp204 return Errorf("Unknown vmbeta_image_verify return value"); in verifyVbMetaSignature()
227 return Errorf("VbMeta size in footer exceeds kVbMetaMaxSize."); in verifyVbMeta()
261 return Errorf("Couldn't validate AvbDescriptor."); in findDescriptor()
272 return Errorf("Invalid length for AvbHashtreeDescriptor"); in findDescriptor()
277 return Errorf("Couldn't find any AVB hashtree descriptors."); in findDescriptor()
286 return Errorf("Couldn't validate AvbDescriptor."); in verifyDescriptor()
346 return Errorf( in VerifyManifestMatches()
Dapexd_checkpoint_vold.cpp40 return Errorf("Failed to retrieve vold service."); in Create()
102 return Errorf("Device does not support filesystem checkpointing"); in StartCheckpoint()
Dapex_shim.cpp117 return Errorf("Shim apex is not allowed to have pre or post install hooks"); in ValidateShimApex()
Dapexd.cpp283 return Errorf("Couldn't create verity device."); in createVerityDevice()
588 return Errorf("Empty set of inputs"); in PrePostinstallPackages()
692 return Errorf("Empty set of inputs"); in verifyPackages()
720 return Errorf( in verifySessionDir()
1552 return Errorf("Empty set of inputs"); in preinstallPackages()
1560 return Errorf("Empty set of inputs"); in postinstallPackages()
1577 return Errorf("Empty set of inputs"); in stagePackages()
1664 return Errorf("Empty set of inputs"); in unstagePackages()
Dapex_database.cpp221 return Errorf("Can't resolve {}", block.DevPath().string()); in resolveMountInfo()
Dapexservice_test.cpp1535 return Result<bool>(Errorf("GetAvailableDevices failed")); in TEST_F()
/system/core/base/
Dresult_test.cpp359 Result<int> result = Errorf("{} {}!", "hello", "world"); in TEST()
362 result = Errorf("{} {}!", std::string("hello"), std::string("world")); in TEST()
365 result = Errorf("{1} {0}!", "world", "hello"); in TEST()
368 result = Errorf("hello world!"); in TEST()
371 Result<int> result2 = Errorf("error occurred with {}", result.error()); in TEST()
389 Result<int> outer_result = Errorf("outer failure caused by {}", inner_result.error()); in TEST()
415 Result<int> outer = Errorf("two errors: {}, {}", inner1.error(), inner2.error()); in TEST()
/system/linkerconfig/modules/
Dsection.cc67 return Errorf("duplicate: {} is provided by {} and {} in [{}]", in Resolve()
112 return Errorf( in Resolve()
/system/tools/aidl/build/
Daidl_test.go198 …t.Errorf("expected modules(%v) not found. all modules: %v", missing, android.SortedStringKeys(allM…
408 t.Errorf("%s(%s): should be OutputFileProducer.", moduleName, variant)
412 t.Errorf("%s(%s): failed to get OutputFiles: %v", moduleName, variant, err)
415 t.Errorf("%s(%s): expected output %q, but got %v", moduleName, variant, outputFilename, paths)
576 t.Errorf("%q is not found in %q", libBar, libFlags)
/system/core/base/include/android-base/
Dresult.h205 #define Errorf(fmt, ...) android::base::ErrorfImpl(FMT_STRING(fmt), ##__VA_ARGS__) macro
/system/tools/hidl/build/
Dhidl_interface.go156 return nil, fmt.Errorf("unsupported tag %q", tag)