/base/sensors/miscdevice/interfaces/native/vibrator/test/fuzztest/startvibrator_fuzzer/ |
D | startvibrator_fuzzer.cpp | 30 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/ |
D | stopvibrator_fuzzer.cpp | 30 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/ |
D | memory_guard.cpp | 25 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/ |
D | memory_guard.cpp | 26 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/ |
D | memory_guard.cpp | 29 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/ |
D | ans_notification_unit_test.cpp | 175 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/ |
D | memory_guard.cpp | 35 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/ |
D | base_utility_unit_test.cpp | 264 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);
|
D | system_service_ohos_test.cpp | 71 auto ret2 = Parameter::GetBoolean("TEST_KEY2", true); variable 72 ASSERT_TRUE(ret2);
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/test/unittest/ |
D | ExampleJsunit.test.js | 72 …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/ |
D | log_store_unit_test.cpp | 126 auto ret2 = logStoreEx.Clear(); variable 127 ASSERT_EQ(false, ret2);
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | freeze_detector_plugin.cpp | 44 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/ |
D | ans_notification_annex_test.cpp | 226 ErrCode ret2 = ans_->RemoveGroupByBundle(bundleOption, groupName); variable 227 EXPECT_EQ(ret2, ERR_ANS_INVALID_PARAM);
|
/base/update/updater/test/unittest/script/ |
D | script_interpreter_unittest.cpp | 106 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/ |
D | resource_manager_napi_sync_impl.cpp | 401 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/ |
D | enroll_context_test.cpp | 469 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);
|
D | state_machine_test.cpp | 78 …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/ |
D | sandbox_unittest.cpp | 189 int ret2 = EnterSandbox(pname); variable 190 ASSERT_EQ(ret2, -1);
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
D | reminder_request_calendar_test.cpp | 656 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/ |
D | utility_common_utils_test.cpp | 158 auto ret2 = Tbox::IsCallStack(stackName); variable 159 ASSERT_TRUE(ret2);
|
/base/startup/init/test/unittest/lite/ |
D | cmd_func_test.cpp | 148 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/ |
D | state_machine_test.cpp | 87 …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/ |
D | ans_innerkits_module_publish_test.cpp | 546 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()
|