Home
last modified time | relevance | path

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

/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubGeneralTestExecutor.java339 protected void fail(String errorMessage) { in fail() argument
340 assertTrue(errorMessage, false /* condition */); in fail()
346 protected <T> void assertEquals(String errorMessage, T expected, T actual) { in assertEquals() argument
348 Assert.assertEquals(errorMessage, expected, actual); in assertEquals()
351 mErrorString.set(errorMessage + ": " + expected + " != " + actual); in assertEquals()
359 protected void assertTrue(String errorMessage, boolean condition) { in assertTrue() argument
361 Assert.assertTrue(errorMessage, condition); in assertTrue()
363 mErrorString.set(errorMessage); in assertTrue()
371 protected void assertFalse(String errorMessage, boolean condition) { in assertFalse() argument
372 assertTrue(errorMessage, !condition); in assertFalse()
DContextHubTestConstants.java357 public static MessageType fromInt(int value, String errorMessage) { in fromInt() argument
365 + 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/libfmq/include/fmq/
DMessageQueueBase.h98 std::string* errorMessage = nullptr) const;
110 std::string* errorMessage = nullptr) const;
485 size_t availableToWriteBytes(Error* errorDetected, std::string* errorMessage) const;
486 size_t availableToReadBytes(Error* errorDetected, std::string* errorMessage) const;
1140 Error* errorDetected, std::string* errorMessage) const { in availableToWriteBytes() argument
1143 size_t availableBytes = availableToReadBytes(&localErrorDetected, errorMessage); in availableToWriteBytes()
1159 if (errorMessage != nullptr) { in availableToWriteBytes()
1160 *errorMessage = std::move(errorMsg); in availableToWriteBytes()
1169 Error* errorDetected, std::string* errorMessage) const { in availableToWrite() argument
1170 return availableToWriteBytes(errorDetected, errorMessage) / quantum(); in availableToWrite()
[all …]
/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.proto74 optional bytes errorMessage = 2; field
/system/libcppbor/include/cppbor/
Dcppbor_parse.h192 virtual void error(const uint8_t* position, const std::string& errorMessage) = 0;
/system/chre/apps/test/pts/proto/
Dpts_chre.proto34 optional bytes errorMessage = 2; field
/system/chre/apps/test/common/shared/src/
Dsend_message.cc63 result.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in sendTestResultWithMsgToHost()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupFile.java196 String errorMessage = ("Wrong mapping order for %s: %s is replaced by %s," in addTimeZoneMapping() local
202 throw new IllegalArgumentException(errorMessage); in addTimeZoneMapping()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp203 std::string errorMessage; in ReadDescriptorsFromFile() local
204 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in ReadDescriptorsFromFile()
205 LOG(ERROR) << "Failed to parse cgroups description: " << errorMessage; in ReadDescriptorsFromFile()
/system/chre/apps/test/common/chre_stress_test/inc/
Dchre_stress_test_manager.h153 void sendFailure(const char *errorMessage);
/system/libcppbor/src/
Dcppbor_parse.cpp390 virtual void error(const uint8_t* position, const std::string& errorMessage) override { in error() argument
392 mErrorMessage = errorMessage; in error()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc316 testResult.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in makeTestResultProtoMessage()
/system/core/libprocessgroup/
Dtask_profiles.cpp845 std::string errorMessage; in Load() local
846 if (!reader->parse(&*json_doc.begin(), &*json_doc.end(), &root, &errorMessage)) { in Load()
847 LOG(ERROR) << "Failed to parse task profiles: " << errorMessage; in Load()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc941 void Manager::sendFailure(const char *errorMessage) { in sendFailure() argument
945 false /* success */, errorMessage, false /* abortOnFailure */); in sendFailure()
/system/apex/apexd/
Dapexservice.cpp324 session_info->errorMessage = session.GetErrorMessage(); in ConvertToApexSessionInfo()
/system/libcppbor/tests/
Dcppbor_test.cpp1308 MOCK_METHOD2(error, void(const uint8_t* position, const std::string& errorMessage));