Home
last modified time | relevance | path

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

/aosp12/build/soong/ui/build/
H A Dconfig_test.go369 errStr string
383 errStr: "Build file not found for 0/1/2/3 directory",
411 errStr: "0/1/2/3 not in proper directory:target1,target2,... format",
439 errStr: "Couldn't locate a build file from 0/1/2/3 directory",
446 errStr: "Couldn't locate a build file from 0/1/2/3 directory",
474 errStr: "couldn't find directory 0/3/4",
492 if tt.errStr == "" {
495 if tt.errStr != err.Error() {
496 t.Errorf("expected %s, got %s", tt.errStr, err.Error())
518 if tt.errStr != "" {
[all …]
/aosp12/system/extras/bootctl/
H A Dbootctl.cpp95 static int handle_return(const Return<void>& ret, CommandResult cr, const char* errStr) { in handle_return() argument
97 fprintf(stderr, errStr, ret.description().c_str()); in handle_return()
100 fprintf(stderr, errStr, cr.errMsg.c_str()); in handle_return()
130 static int handle_return(const Return<BoolResult>& ret, const char* errStr) { in handle_return() argument
132 fprintf(stderr, errStr, ret.description().c_str()); in handle_return()
135 fprintf(stderr, errStr, "Invalid slot"); in handle_return()
/aosp12/build/blueprint/
H A Dninja_strings_test.go146 var errStr string
148 errStr = err.Error()
154 t.Errorf(" got: %q", errStr)
/aosp12/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControlHdrLayerInfoListener.cpp97 auto errStr = statusToString(err); in nRegister() local
100 errStr.c_str()); in nRegister()
/aosp12/frameworks/native/cmds/lshal/
H A Dtest.cpp1010 std::string errStr = err.str(); in TEST_F() local
1011 EXPECT_THAT(errStr, ContainsRegex("(^|\n)commands:($|\n)")) in TEST_F()
1013 EXPECT_THAT(errStr, ContainsRegex("(^|\n)list:($|\n)")) in TEST_F()
1015 EXPECT_THAT(errStr, ContainsRegex("(^|\n)debug:($|\n)")) in TEST_F()
1017 EXPECT_THAT(errStr, ContainsRegex("(^|\n)help:($|\n)")) in TEST_F()
1022 EXPECT_EQ(errStr, err.str()) << "`lshal help` should have the same output as `lshal --help`"; in TEST_F()
1027 EXPECT_THAT(err.str(), EndsWith(errStr)) in TEST_F()
/aosp12/frameworks/av/drm/libmediadrm/
H A DDrmUtils.cpp337 auto errStr = StrCryptoError(err); in GetExceptionMessage() local
338 msg8 += errStr.c_str(); in GetExceptionMessage()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DUpstreamNetworkMonitorTest.java642 final String errStr = expectation ? "did not find" : "found"; in assertPrefixSet() local
644 String.format("Failed expectation: %s prefix: %s", errStr, expectedPrefix), in assertPrefixSet()