Searched refs:shareOptionValue (Results 1 - 2 of 2) sorted by relevance
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | unified_data_channel_napi.cpp | 298 int32_t shareOptionValue = ShareOptions::CROSS_APP; in SetAppShareOptions() local 300 auto input = [env, ctxt, &intention, &shareOptionValue](size_t argc, napi_value* argv) { in SetAppShareOptions() 308 ctxt->status = NapiDataUtils::GetValue(env, argv[1], shareOptionValue); in SetAppShareOptions() 317 ASSERT_ERR(ctxt->env, (shareOptionValue >= IN_APP && shareOptionValue < SHARE_OPTIONS_BUTT), in SetAppShareOptions() 320 status = UdmfClient::GetInstance().SetAppShareOption(intention, static_cast<ShareOptions>(shareOptionValue)); in SetAppShareOptions()
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_pastedata.cpp | 858 int32_t shareOptionValue = ShareOption::CrossDevice; in SetProperty() local 873 NAPI_CALL_RETURN_VOID(env, napi_get_value_int32(env, propertyNameValueNapi, &shareOptionValue)); in SetProperty() 874 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_CLIENT, "shareOptionValue = %{public}d", shareOptionValue); in SetProperty() 892 localOnlyValue = shareOptionValue == ShareOption::CrossDevice ? false : true; in SetProperty() 895 obj->value_->SetShareOption(static_cast<ShareOption>(shareOptionValue)); in SetProperty()
|
Completed in 4 milliseconds