Home
last modified time | relevance | path

Searched refs:Errorf (Results 1 – 21 of 21) 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()
147 return Errorf("Invalid legacy prop name \"{}\"", legacy_name); in ValidateProp()
150 return Errorf("Prop \"{}\" which has legacy_prop_name must be Readonly", in ValidateProp()
164 return Errorf( in ValidateProp()
172 return Errorf( in ValidateProp()
179 return Errorf("Prop \"{}\" owned by odm should have odm. namespace", 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()
DTypeCheckerMain.cpp72 return Errorf("Unknown arguments"); in ParseArgs()
76 return Errorf("both api files and context files must be specified"); in ParseArgs()
DTypeChecker.cpp123 return Errorf("{}", err); in CheckPropertyTypes()
DApiChecker.cpp113 return Errorf("{}", err); in CompareProps()
DJavaGen.cpp426 return Errorf("Creating directory to {} failed: {}", java_package_dir, in GenerateJavaLibrary()
/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/
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_file.cpp224 return Errorf("Unknown vmbeta_image_verify return value"); in verifyVbMetaSignature()
252 return Errorf("VbMeta size in footer exceeds kVbMetaMaxSize."); in verifyVbMeta()
286 return Errorf("Couldn't validate AvbDescriptor."); in findDescriptor()
297 return Errorf("Couldn't find any AVB hashtree descriptors."); in findDescriptor()
306 return Errorf("Couldn't validate AvbDescriptor."); in verifyDescriptor()
366 return Errorf( in VerifyManifestMatches()
Dapex_shim.cpp116 return Errorf("Shim apex is not allowed to have pre or post install hooks"); in ValidateShimApex()
Dapex_database.cpp221 return Errorf("Can't resolve {}", block.DevPath().string()); in resolveMountInfo()
Dapexd.cpp282 return Errorf("Couldn't create verity device."); in createVerityDevice()
594 return Errorf("Empty set of inputs"); in PrePostinstallPackages()
633 return Errorf("Empty set of inputs"); in OpenApexFiles()
728 return Errorf( in verifySessionDir()
1689 return Errorf("Empty set of inputs"); in stagePackages()
1775 return Errorf("Empty set of inputs"); in unstagePackages()
Dapexservice_test.cpp1526 return Result<bool>(Errorf("GetAvailableDevices failed")); in TEST_F()
/system/libbase/
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/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/linkerconfig/modules/
Dsection.cc78 return Errorf("duplicate: {} is provided by {} and {} in [{}]", in Resolve()
142 return Errorf( in Resolve()
/system/libbase/include/android-base/
Dresult.h205 #define Errorf(fmt, ...) android::base::ErrorfImpl(FMT_STRING(fmt), ##__VA_ARGS__) macro
/system/sepolicy/build/soong/
Dselinux_contexts.go379 panic(fmt.Errorf("unknown dependency %q for %q", ctx.OtherModuleName(c), ctx.ModuleName()))
/system/tools/hidl/build/
Dhidl_interface.go163 return nil, fmt.Errorf("unsupported tag %q", tag)