Home
last modified time | relevance | path

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

/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubGeneralTestExecutor.java286 protected void fail(String errorMessage) { in fail() argument
287 assertTrue(errorMessage, false /* condition */); in fail()
293 protected <T> void assertEquals(String errorMessage, T expected, T actual) { in assertEquals() argument
295 Assert.assertEquals(errorMessage, expected, actual); in assertEquals()
298 mErrorString.set(errorMessage + ": " + expected + " != " + actual); in assertEquals()
306 protected void assertTrue(String errorMessage, boolean condition) { in assertTrue() argument
308 Assert.assertTrue(errorMessage, condition); in assertTrue()
310 mErrorString.set(errorMessage); in assertTrue()
318 protected void assertFalse(String errorMessage, boolean condition) { in assertFalse() argument
319 assertTrue(errorMessage, !condition); in assertFalse()
DContextHubTestConstants.java352 public static MessageType fromInt(int value, String errorMessage) { in fromInt() argument
360 + errorMessage); in fromInt()
/system/tools/hidl/metadata/
Dparser.cpp33 std::string errorMessage; in main() local
34 if (!Json::parseFromStream(builder, stream, &root, &errorMessage)) { in main()
36 << errorMessage << std::endl; in main()
/system/tools/aidl/metadata/
Dparser.cpp33 std::string errorMessage; in main() local
34 if (!Json::parseFromStream(builder, stream, &root, &errorMessage)) { in main()
36 << errorMessage << std::endl; in main()
/system/extras/libjsonpb/verify/
Dtest.cpp215 std::string errorMessage; in IsJsonEq() local
216 if (!reader->parse(&*l.begin(), &*l.end(), &lvalue, &errorMessage)) in IsJsonEq()
217 return ::testing::AssertionFailure() << errorMessage; in IsJsonEq()
219 if (!reader->parse(&*r.begin(), &*r.end(), &rvalue, &errorMessage)) in IsJsonEq()
220 return ::testing::AssertionFailure() << errorMessage; in IsJsonEq()
/system/apex/apexd/aidl/android/apex/
DApexSessionInfo.aidl32 @utf8InCpp String errorMessage;
/system/chre/apps/test/common/proto/
Dchre_test_common.proto16 optional bytes errorMessage = 2; field
Dchre_settings_test.proto73 optional bytes errorMessage = 2; field
/system/chre/apps/test/common/shared/src/
Dsend_message.cc59 result.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in sendTestResultWithMsgToHost()
/system/chre/apps/test/pts/proto/
Dpts_chre.proto34 optional bytes errorMessage = 2; field
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp193 std::string errorMessage; in ReadDescriptorsFromFile() local
194 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ReadDescriptorsFromFile()
195 LOG(ERROR) << "Failed to parse cgroups description: " << errorMessage; in ReadDescriptorsFromFile()
/system/chre/apps/test/common/chre_stress_test/inc/
Dchre_stress_test_manager.h116 void sendFailure(const char *errorMessage);
/system/core/libprocessgroup/
Dtask_profiles.cpp429 std::string errorMessage; in Load() local
430 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in Load()
431 LOG(ERROR) << "Failed to parse task profiles: " << errorMessage; in Load()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc544 void Manager::sendFailure(const char *errorMessage) { in sendFailure() argument
548 false /* success */, errorMessage); in sendFailure()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc262 testResult.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in makeTestResultProtoMessage()
/system/apex/apexd/
Dapexservice.cpp283 session_info->errorMessage = session.GetErrorMessage(); in ConvertToApexSessionInfo()