Home
last modified time | relevance | path

Searched refs:success (Results 1 - 25 of 79) sorted by relevance

1234

/base/security/security_guard/services/config_manager/src/
H A Dconfig_operator.cpp26 bool success = config_.Load(INIT_MODE); in Init() local
27 if (!success) { in Init()
30 success = config_.Check(); in Init()
31 if (!success) { in Init()
39 bool success = config_.Load(UPDATE_MODE); in Update() local
40 if (!success) { in Update()
43 success = config_.Check(); in Update()
44 if (!success) { in Update()
H A Devent_config.cpp76 bool success = EventConfig::ParseEventConfig(configs, jsonObj); in Parse() local
77 if (!success) { in Parse()
83 SGLOGI("cache EventConfig success"); in Parse()
102 bool success = EventConfig::ParseEventConfig(configs, jsonObj); in Update() local
103 if (!success) { in Update()
115 SGLOGI("cache EventConfig success"); in Update()
121 bool success = JsonCfg::Unmarshal<EventCfg>(configs, jsonObj, EVENT_CFG_KEY); in ParseEventConfig() local
122 if (success) { in ParseEventConfig()
133 return success; in ParseEventConfig()
H A Dmodel_config.cpp70 bool success = ParseModelConfig(configs, jsonObj); in Parse() local
71 if (!success) { in Parse()
77 SGLOGI("cache ModelConfig success"); in Parse()
96 bool success = ParseModelConfig(configs, jsonObj); in Update() local
97 if (!success) { in Update()
109 SGLOGI("cache ModelConfig success"); in Update()
/base/powermgr/battery_lite/test/
H A Dbattery_test.js18 success: function(data) {
19 console.log('success get battery Soc:' + data.batterySoc);
27 success: function(data) {
28 console.log('success get ChargingStatus:' + data.chargingStatus);
36 success: function(data) {
37 console.log('success get battery HealthStatus:' + data.healthStatus);
45 success: function(data) {
46 console.log('success get battery PluggedType:' + data.pluggedType);
54 success: function(data) {
55 console.log('success ge
[all...]
/base/security/security_guard/test/unittest/config_manager/src/
H A Dsecurity_guard_config_manager_test.cpp110 bool success = configOptor->Init(); in HWTEST_F() local
111 EXPECT_FALSE(success); in HWTEST_F()
112 success = configOptor->Init(); in HWTEST_F()
113 EXPECT_FALSE(success); in HWTEST_F()
114 success = configOptor->Init(); in HWTEST_F()
115 EXPECT_FALSE(success); in HWTEST_F()
116 success = configOptor->Init(); in HWTEST_F()
117 EXPECT_TRUE(success); in HWTEST_F()
127 bool success = configOptor->Update(); in HWTEST_F() local
128 EXPECT_FALSE(success); in HWTEST_F()
141 bool success = config.Check(); HWTEST_F() local
161 bool success = ConfigDataManager::GetInstance().GetEventConfig(config.eventId, outConfig); HWTEST_F() local
181 bool success = ConfigDataManager::GetInstance().GetModelConfig(config.modelId, outConfig); HWTEST_F() local
217 bool success = config.Parse(); HWTEST_F() local
235 bool success = config.Parse(); HWTEST_F() local
251 bool success = config.Load(INIT_MODE); HWTEST_F() local
260 bool success = config.Load(INIT_MODE); HWTEST_F() local
271 bool success = config.Parse(); HWTEST_F() local
290 bool success = config.Parse(); HWTEST_F() local
325 bool success = config.Parse(); HWTEST_F() local
[all...]
/base/powermgr/powermgr_lite/interfaces/kits/battery/js/builtin/src/
H A Dbattery_module.cpp27 JSIValue success = JSI::GetNamedProperty(args, CB_SUCCESS); in SuccessCallBack() local
29 if (!JSI::ValueIsUndefined(success)) { in SuccessCallBack()
31 JSI::CallFunction(success, thisVal, nullptr, 0); in SuccessCallBack()
33 JSI::CallFunction(success, thisVal, &jsiValue, ARGC_ONE); in SuccessCallBack()
39 JSI::ReleaseValueList(success, complete, ARGS_END); in SuccessCallBack()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
H A Dparse_smaps_rollup_info.cpp39 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetValue() local
40 if (!success) { in GetValue()
49 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetValue() local
50 if (!success) { in GetValue()
63 bool success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetValue() local
64 if (!success) { in GetValue()
H A Dparse_smaps_info.cpp36 bool success = false; in GetHasPidValue() local
38 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue()
39 if (success) { in GetHasPidValue()
46 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue()
47 if (success) { in GetHasPidValue()
54 success = MemoryUtil::GetInstance().GetTypeAndValue(str, type, value); in GetHasPidValue()
55 if (success) { in GetHasPidValue()
97 * @return bool-true:parse success,false-parse fail
119 DUMPER_HILOGD(MODULE_SERVICE, "ParseSmapsInfo: GetInfo pid:(%{public}d) end,success!\n", pid); in GetInfo()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dget_kernel_info.cpp35 * @return {bool} - true:success,false-fail
48 bool success = parseVmallocinfo->GetVmallocinfo(vmallocValue); in GetKernel() local
49 if (success) { in GetKernel()
53 return success; in GetKernel()
H A Dget_hardware_info.cpp38 * @return {bool}-true:success,false:fail
43 bool success = MemoryUtil::GetInstance().RunCMD(cmd, result); in FindFilePaths() local
44 return success; in FindFilePaths()
111 bool success = MemoryUtil::GetInstance().RunCMD(cmd, valueStrs); in GetResverRegValue() local
112 if (success) { in GetResverRegValue()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_date_time_chooser_callback_impl.cpp29 void ArkWebDateTimeChooserCallbackImpl::Continue(bool success, const ArkWebDateTime& value) in Continue() argument
32 nweb_date_time_chooser_callback_->Continue(success, nweb_date_time); in Continue()
H A Dark_web_date_time_chooser_callback_impl.h33 void Continue(bool success, const ArkWebDateTime& value) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_date_time_chooser_callback_wrapper.cpp29 void ArkWebDateTimeChooserCallbackWrapper::Continue(bool success, const OHOS::NWeb::DateTime& value) in Continue() argument
32 ark_web_date_time_chooser_callback_->Continue(success, ark_web_date_time); in Continue()
H A Dark_web_date_time_chooser_callback_wrapper.h33 void Continue(bool success, const OHOS::NWeb::DateTime& value) override;
/base/security/permission_lite/services/js_api/src/
H A Dperm_module.cpp30 JSIValue success = JSI::GetNamedProperty(args[0], CB_SUCCESS); in CheckSelfPerm() local
44 JSI::CallFunction(success, thisVal, argv, ARGC_ONE); in CheckSelfPerm()
49 JSI::ReleaseValueList(success, fail, complete, code, ARGS_END); in CheckSelfPerm()
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_guard.cpp142 bool success = false; in RegisterListeningUeSwitch()
144 while (!success && retryCount > 0) { in RegisterListeningUeSwitch()
145 success = SettingObserverManager::GetInstance()->RegisterObserver(HIVIEW_UE_SWITCH, callback); in RegisterListeningUeSwitch()
146 if (success) { in RegisterListeningUeSwitch()
152 if (!success) { in RegisterListeningUeSwitch()
/base/security/security_guard/services/risk_classify/model_manager/src/
H A Dmodel_manager.cpp41 bool success = ConfigDataManager::GetInstance().GetModelConfig(modelId, cfg); in Init() local
42 if (!success) { in Init()
73 bool success = ConfigDataManager::GetInstance().GetModelConfig(modelId, cfg); in InitModel() local
74 if (!success) { in InitModel()
109 SGLOGI("init model success, modelId=%{public}u", modelId); in InitModel()
131 bool success = ConfigDataManager::GetInstance().GetModelConfig(modelId, config); in GetResult() local
132 if (success && config.startMode == START_ON_DEMAND) { in GetResult()
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dthread_sampler_api.cpp39 int success = (ThreadSampler::GetInstance().CollectStack(stk, enableTreeFormat) ? SUCCESS : FAIL); in ThreadSamplerCollect() local
44 return success; in ThreadSamplerCollect()
/base/security/security_guard/services/risk_classify/src/
H A Drisk_analysis_manager_service.cpp63 bool success = ConfigManager::InitConfig<EventConfig>(); in OnStart() local
64 if (!success) { in OnStart()
67 success = ConfigManager::InitConfig<ModelConfig>(); in OnStart()
68 if (!success) { in OnStart()
/base/telephony/core_service/services/network_search/src/
H A Dnetwork_type.cpp57 TELEPHONY_LOGI("NetworkType::ProcessGetPreferredNetwork callback success"); in ProcessGetPreferredNetwork()
82 bool success = responseInfo->error == ErrType::NONE; in ProcessSetPreferredNetwork() local
84 if (success) { in ProcessSetPreferredNetwork()
107 if (!data.WriteBool(success) || in ProcessSetPreferredNetwork()
108 !data.WriteInt32(success ? TELEPHONY_SUCCESS : (int32_t)responseInfo->error)) { in ProcessSetPreferredNetwork()
/base/powermgr/battery_lite/frameworks/js/builtin/src/
H A Dbattery_module.cpp28 JSIValue success = JSI::GetNamedProperty(args, CB_SUCCESS); in SuccessCallBack() local
30 if (!JSI::ValueIsUndefined(success)) { in SuccessCallBack()
32 JSI::CallFunction(success, thisVal, nullptr, 0); in SuccessCallBack()
34 JSI::CallFunction(success, thisVal, &jsiValue, ARGC_ONE); in SuccessCallBack()
40 JSI::ReleaseValueList(success, complete, ARGS_END); in SuccessCallBack()
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_date_time_chooser_callback.h30 virtual void Continue(bool success, const ArkWebDateTime& value) = 0;
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
H A Dcipher_module.cpp30 JSIValue success = JSI::GetNamedProperty(args[0], CB_SUCCESS); in Rsa() local
80 JSI::CallFunction(success, thisVal, argvSuccess, ARGC_ONE); in Rsa()
89 JSI::ReleaseValueList(success, fail, complete, result, code, data, ARGS_END); in Rsa()
103 JSIValue success = JSI::GetNamedProperty(args[0], CB_SUCCESS); in Aes() local
147 JSI::CallFunction(success, thisVal, argvSuccess, ARGC_ONE); in Aes()
158 JSI::ReleaseValueList(success, fail, complete, result, code, data, jsIvLen, ARGS_END); in Aes()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_call.c337 if (pResponse->success == 0) { in BuildCallInfoList()
372 if (ret || (pResponse != NULL && !pResponse->success)) { in ReqGetCallList()
430 if (pResponse == NULL || !pResponse->success) { in ReqDial()
461 if (ret != HRIL_ERR_SUCCESS || pResponse == NULL || !pResponse->success) { in ReqHangup()
478 if (ret != HRIL_ERR_SUCCESS || pResponse == NULL || !pResponse->success) { in ReqReject()
495 if (ret != HRIL_ERR_SUCCESS || pResponse == NULL || !pResponse->success) { in ReqAnswer()
513 if (pResponse == NULL || !pResponse->success) { in ReqGetClip()
551 if (pResponse == NULL || !pResponse->success) { in ReqSetClip()
573 if (pResponse == NULL || !pResponse->success) { in ReqGetClir()
610 if (err != HRIL_ERR_SUCCESS || pResponse == NULL || !pResponse->success) { in ReqSetClir()
[all...]
/base/hiviewdfx/hidumper/test/innerkits_test/
H A Dmain.cpp75 bool success = GetMemInfo(pid, info); in main() local
76 std::cout << "GetMemInfo success:" << success << ",rss:" << info.rss << ",pss:" << info.pss in main()

Completed in 11 milliseconds

1234