Home
last modified time | relevance | path

Searched refs:ret2 (Results 1 – 23 of 23) sorted by relevance

/base/sensors/miscdevice/interfaces/native/vibrator/test/fuzztest/startvibrator_fuzzer/
Dstartvibrator_fuzzer.cpp30 int32_t ret2 = std::strcmp(argv.c_str(), "haptic.clock.timer"); in StartVibratorFuzzTest() local
31 if ((ret2 != 0 && ret == 0) || (ret2 == 0 && ret != 0)) { in StartVibratorFuzzTest()
/base/sensors/miscdevice/interfaces/native/vibrator/test/fuzztest/stopvibrator_fuzzer/
Dstopvibrator_fuzzer.cpp30 int32_t ret2 = strcmp(argv.c_str(), "time") != 0 && strcmp(argv.c_str(), "preset"); in StopVibratorFuzzTest() local
31 if ((ret2 != 0 && ret == 0) || (ret2 == 0 && ret != 0)) { in StopVibratorFuzzTest()
/base/theme/wallpaper_mgr/utils/src/
Dmemory_guard.cpp25 int ret2 = mallopt(M_DELAYED_FREE, M_DELAYED_FREE_DISABLE); in MemoryGuard() local
26 HILOG_DEBUG("disable tcache and delay free, result[%{public}d, %{public}d]", ret1, ret2); in MemoryGuard()
/base/account/os_account/frameworks/common/utils/src/
Dmemory_guard.cpp26 int32_t ret2 = mallopt(M_DELAYED_FREE, M_DELAYED_FREE_DISABLE); in MemoryGuard() local
27 ACCOUNT_LOGE("disable tcache and delay free, result[%{public}d, %{public}d]", ret1, ret2); in MemoryGuard()
/base/useriam/fingerprint_auth/services/src/
Dmemory_guard.cpp29 int32_t ret2 = mallopt(M_DELAYED_FREE, M_DELAYED_FREE_DISABLE); in MemoryGuard() local
30 IAM_LOGI("disable thread cache and delay free, result[%{public}d, %{public}d]", ret1, ret2); in MemoryGuard()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp175 ErrCode ret2 = ans_->GetNotificationSlots(slots); variable
176 EXPECT_EQ(ret2, ERR_ANS_SERVICE_NOT_CONNECTED);
256 ErrCode ret2 = ans_->GetActiveNotifications(request); variable
257 EXPECT_EQ(ret2, ERR_ANS_SERVICE_NOT_CONNECTED);
284 ErrCode ret2 = ans_->CanPublishNotificationAsBundle(representativeBundle0, canPublish); variable
285 EXPECT_EQ(ret2, ERR_ANS_INVALID_PARAM);
313 ErrCode ret2 = ans_->SetNotificationBadgeNum(num); variable
314 EXPECT_EQ(ret2, ERR_ANS_SERVICE_NOT_CONNECTED);
334 ErrCode ret2 = ans_->IsAllowedNotifySelf(allowed); variable
335 EXPECT_EQ(ret2, ERR_ANS_SERVICE_NOT_CONNECTED);
[all …]
/base/security/access_token/services/common/database/src/
Dmemory_guard.cpp35 int32_t ret2 = mallopt(M_DELAYED_FREE, M_DELAYED_FREE_DISABLE); in MemoryGuard() local
36 …OKEN_LOG_DEBUG(LABEL, "disable tcache and delay free, result[%{public}d, %{public}d]", ret1, ret2); in MemoryGuard()
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
Dbase_utility_unit_test.cpp264 auto ret2 = StringUtil::StringToDouble(""); variable
265 ASSERT_TRUE(fabs(ret2 - standard) < std::numeric_limits<double>::epsilon());
266 ret2 = StringUtil::StringToDouble("abc");
267 ASSERT_TRUE(fabs(ret2 - standard) < std::numeric_limits<double>::epsilon());
269 ret2 = StringUtil::StringToDouble(std::to_string(origin));
270 ASSERT_TRUE(fabs(ret2 - origin) < std::numeric_limits<double>::epsilon());
344 std::vector<std::string> ret2; variable
345 StringUtil::SplitStr(origin, ":", ret2);
346 ASSERT_TRUE(ret2.size() == expectSize);
Dsystem_service_ohos_test.cpp71 auto ret2 = Parameter::GetBoolean("TEST_KEY2", true); variable
72 ASSERT_TRUE(ret2);
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/test/unittest/
DExampleJsunit.test.js72 …let ret2 = faultlogger.querySelfFaultLog(faultlogger.FaultType.JS_CRASH, "faultloggertestsummary01…
73 console.info("FaultlogJsException_001 ret2 == " + ret2);
74 expect(ret2).assertEqual(undefined);
/base/hiviewdfx/hiview/base/logstore/test/unittest/common/
Dlog_store_unit_test.cpp126 auto ret2 = logStoreEx.Clear(); variable
127 ASSERT_EQ(false, ret2);
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dfreeze_detector_plugin.cpp44 bool ret2 = freezeResolver_->Init(); in ReadyToLoad() local
45 return ret1 && ret2; in ReadyToLoad()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
Dans_notification_annex_test.cpp226 ErrCode ret2 = ans_->RemoveGroupByBundle(bundleOption, groupName); variable
227 EXPECT_EQ(ret2, ERR_ANS_INVALID_PARAM);
/base/update/updater/test/unittest/script/
Dscript_interpreter_unittest.cpp106 int ret2 = funcContext->PushParam(floatValue); in TestScriptInstructionContext() local
109 EXPECT_EQ(0, ret1 || ret2 || ret3); in TestScriptInstructionContext()
/base/global/resource_management/interfaces/js/innerkits/core/src/
Dresource_manager_napi_sync_impl.cpp401 bool ret2 = ResourceManagerNapiUtils::GetHapResourceManager(dataContext.get(), resMgr, resId); in ProcessBoolResource() local
402 if (!ret2) { in ProcessBoolResource()
442 bool ret2 = ResourceManagerNapiUtils::GetHapResourceManager(dataContext.get(), resMgr, resId); in ProcesstMediaContentBase64Resource() local
443 if (!ret2) { in ProcesstMediaContentBase64Resource()
487 bool ret2 = ResourceManagerNapiUtils::GetHapResourceManager(dataContext.get(), resMgr, resId); in ProcessMediaContentResource() local
488 if (!ret2) { in ProcessMediaContentResource()
533 bool ret2 = ResourceManagerNapiUtils::GetHapResourceManager(dataContext.get(), resMgr, resId); in ProcessPluralStringValueResource() local
534 if (!ret2) { in ProcessPluralStringValueResource()
582 bool ret2 = ResourceManagerNapiUtils::GetHapResourceManager(dataContext.get(), resMgr, resId); in ProcessStringArrayValueResource() local
583 if (!ret2) { in ProcessStringArrayValueResource()
/base/useriam/user_auth_framework/test/unittest/services/src/
Denroll_context_test.cpp469 bool ret2 = result->SetUint8ArrayValue(Attributes::ATTR_RESULT, testScheduleResult); variable
470 ASSERT_EQ(ret2, true);
514 bool ret2 = result->SetUint8ArrayValue(Attributes::ATTR_RESULT, testScheduleResult); variable
515 ASSERT_EQ(ret2, true);
555 bool ret2 = result->SetUint8ArrayValue(Attributes::ATTR_RESULT, testScheduleResult); variable
556 ASSERT_EQ(ret2, true);
Dstate_machine_test.cpp78 …auto ret2 = ret1->MakeTransition(STATE_VERIFY_STARING, EVENT_VERIFY_STARTED, STATE_COLLECT_STARING… variable
79 EXPECT_EQ(ret2, ret1);
/base/startup/init/test/unittest/init/
Dsandbox_unittest.cpp189 int ret2 = EnterSandbox(pname); variable
190 ASSERT_EQ(ret2, -1);
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_calendar_test.cpp656 uint16_t ret2 = calendar->GetRepeatMonth(); variable
658 EXPECT_EQ(ret2, 0);
734 uint16_t ret2 = calendar->GetRepeatMonth(); variable
737 EXPECT_EQ(ret2, ret3);
/base/hiviewdfx/hiview/utility/common_utils/test/unittest/common/
Dutility_common_utils_test.cpp158 auto ret2 = Tbox::IsCallStack(stackName); variable
159 ASSERT_TRUE(ret2);
/base/startup/init/test/unittest/lite/
Dcmd_func_test.cpp148 int ret2 = strcpy_s(resCmd->cmdContent, MAX_CMD_CONTENT_LEN, content + strlen(cmd->name)); in ParseCmdLine() local
149 if (ret1 || ret2) { in ParseCmdLine()
243 errno_t ret2 = memcpy_s(curCmd + curCmdLen, MAX_CMD_CONTENT_LEN + 10, \ variable
245 if (ret != EOK || ret2 != EOK) {
/base/useriam/face_auth/test/unittest/
Dstate_machine_test.cpp87 …auto ret2 = ret1->MakeTransition(STATE_VERIFY_STARING, EVENT_VERIFY_STARTED, STATE_COLLECT_STARING… variable
88 EXPECT_EQ(ret2, ret1);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_publish_test.cpp546 auto ret2 = NotificationJsonConverter::ConvertToJson(pRequest1, jsonObject2); in CheckJsonConverter() local
547 …GTEST_LOG_(INFO) << "ANS_Interface_MT_Publish_08000::ConvertToJson ret2 ==========>" << (ret2 ? "t… in CheckJsonConverter()
548 EXPECT_EQ(ret2, true); in CheckJsonConverter()