Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
Dfillp_stack_config_in.c327 static FILLP_INT32 FtValidateConfigParamsInner(IN FILLP_CONST FillpGlobalConfigsSt *resource) in FtValidateConfigParamsInner() argument
329 if ((resource->flowControl.oppositeSetPercentage == 0) || in FtValidateConfigParamsInner()
330 (resource->flowControl.oppositeSetPercentage > FILLP_MAX_STACK_OPPOSITE_SET_PERCENTAGE)) { in FtValidateConfigParamsInner()
332 resource->flowControl.oppositeSetPercentage); in FtValidateConfigParamsInner()
336 if ((resource->flowControl.nackRepeatTimes == 0) || in FtValidateConfigParamsInner()
337 (resource->flowControl.nackRepeatTimes > FILLP_MAX_STACK_NACK_REPEAT_TIMES)) { in FtValidateConfigParamsInner()
338 … FILLP_LOGERR("nackRepeatTimes %u is invalid parameter!!!", resource->flowControl.nackRepeatTimes); in FtValidateConfigParamsInner()
342 if ((resource->flowControl.pktLossAllow == 0) || in FtValidateConfigParamsInner()
343 (resource->flowControl.pktLossAllow >= FILLP_MAX_STACK_PACKET_LOSS_ALLOWED)) { in FtValidateConfigParamsInner()
344 FILLP_LOGERR("pktLossAllow %u is invalid parameter!!!", resource->flowControl.pktLossAllow); in FtValidateConfigParamsInner()
[all …]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
Dfillp_stack_app_config.c33 static FILLP_INT FtGetRightAppResourceByIndex(struct GlobalAppResource **resource, FILLP_INT sockIn… in FtGetRightAppResourceByIndex() argument
54 *resource = &sock->resConf; in FtGetRightAppResourceByIndex()
56 *resource = &g_appResource; in FtGetRightAppResourceByIndex()
62 static FILLP_INT32 FtCheckCofigPar(FILLP_CONST FillpAppGlobalConfigsSt *resource, FILLP_INT sockInd… in FtCheckCofigPar() argument
70 FILLP_INT32 ret = FtAppValidateConfigParams(resource); in FtCheckCofigPar()
77 …GlobalConfig(FILLP_CONST FillpAppGlobalConfigsSt *globalConfig, struct GlobalAppResource *resource) in CopyGlobalConfig() argument
79 if (globalConfig == FILLP_NULL_PTR || resource == FILLP_NULL_PTR) { in CopyGlobalConfig()
82 resource->udp.txBurst = globalConfig->udp.txBurst; in CopyGlobalConfig()
85 resource->common.maxServerAllowSendCache = globalConfig->common.maxServerAllowSendCache; in CopyGlobalConfig()
86 resource->common.maxServerAllowRecvCache = globalConfig->common.maxServerAllowRecvCache; in CopyGlobalConfig()
[all …]
Dfillp_stack_app_config_in.c205 struct GlobalAppResource *resource, in FtAppTimerConfigSet() argument
216 resource->common.connectTimeout = timerValue; in FtAppTimerConfigSet()
226 struct GlobalAppResource *resource, in FtAppSetKeepAliveTime() argument
245 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime()
260 resource->common.keepAliveTime = timerValue; in FtAppSetKeepAliveTime()
269 struct GlobalAppResource *resource, in FtAppSetConnRetryTimeout() argument
280 resource->common.connRetryTimeout = usTempTimerValue; in FtAppSetConnRetryTimeout()
287 struct GlobalAppResource *resource, in FtAppSetDisconnectRetryTimeout() argument
298 resource->common.disconnectRetryTimeout = timerValue; in FtAppSetDisconnectRetryTimeout()
318 struct GlobalAppResource *resource, in FtAppConfigSetTxBurst() argument
[all …]
Dapi.c745 void FillpDebugSocketConfigRes(FILLP_CONST struct GlobalAppResource *resource) in FillpDebugSocketConfigRes() argument
747 …FILLP_SHOWDATABUTT("\r FillP max UDP TX burst number is (FT_CONF_TX_BURST) = %u", resource->udp.tx… in FillpDebugSocketConfigRes()
749 …FILLP_SHOWDATABUTT("FillP keep alive timeout is (FT_CONF_TIMER_KEEP_ALIVE) = %u", resource->common… in FillpDebugSocketConfigRes()
752 resource->common.maxServerAllowSendCache); in FillpDebugSocketConfigRes()
755 resource->common.maxServerAllowRecvCache); in FillpDebugSocketConfigRes()
757 …FILLP_SHOWDATABUTT("FillP max send cache is (FT_CONF_SEND_CACHE) = %u", resource->common.sendCache… in FillpDebugSocketConfigRes()
759 …FILLP_SHOWDATABUTT("FillP max receive cache is (FT_CONF_RECV_CACHE) = %u", resource->common.recvCa… in FillpDebugSocketConfigRes()
762 resource->common.udpSendBufSize); in FillpDebugSocketConfigRes()
765 resource->common.enableNackDelay); in FillpDebugSocketConfigRes()
768 resource->common.nackDelayTimeout); in FillpDebugSocketConfigRes()
[all …]
/foundation/ability/ability_runtime/tools/test/systemtest/aa/
DBUILD.gn42 …"${ability_runtime_path}/tools/test/resource/aa/pageAbilityBundleForStart:pageAbilityBundleForStar…
43 …"${ability_runtime_path}/tools/test/resource/aa/serviceAbilityBundleForStart:serviceAbilityBundleF…
44 "${ability_runtime_path}/tools/test/resource/ohos_test:copy_ohos_test",
75 …"${ability_runtime_path}/tools/test/resource/aa/serviceAbilityBundleForStop:serviceAbilityBundleFo…
76 "${ability_runtime_path}/tools/test/resource/ohos_test:copy_ohos_test",
109 …"${ability_runtime_path}/tools/test/resource/aa/dataAbilityBundleForDump:dataAbilityBundleForDump",
110 …"${ability_runtime_path}/tools/test/resource/aa/pageAbilityBundleForDump:pageAbilityBundleForDump",
111 …"${ability_runtime_path}/tools/test/resource/aa/serviceAbilityBundleForStart:serviceAbilityBundleF…
112 "${ability_runtime_path}/tools/test/resource/ohos_test:copy_ohos_test",
/foundation/arkui/ace_engine/frameworks/core/components/video/
DBUILD.gn21 "resource/ext_surface.cpp",
22 "resource/player.cpp",
23 "resource/resource.cpp",
24 "resource/texture.cpp",
/foundation/resourceschedule/device_standby/
DREADME.md3 …ers a standby idle state. Developers can apply for inclusion in standby resource control for their…
52 …rough this module interface, developers can apply for or cancel standby resource control for appli…
60 |NETWORK |1 |The resource for non-standby network access.|
61 |RUNNING_LOCK |2 |The resource for non-standby cpu running-lock.|
62 |TIMER |4 |The resource for non-standby timer.|
63 |WORK_SCHEDULER |8 |The resource for non-standby workscheduler.|
64 |AUTO_SYNC |16 |The resource for non-standby automatic synchronization.|
65 |PUSH |32 |The resource for non-standby push-kit.|
66 |FREEZE |64 |The resource for non-standby freezing application.|
74 |[resourceTypes](#resourcetype) | number | Yes |The set of resource types that an application …
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/web/
DBUILD.gn35 "resource/web_client_impl.cpp",
36 "resource/web_configuration_observer.cpp",
37 "resource/web_delegate.cpp",
38 "resource/web_resource.cpp",
47 sources += [ "resource/web_javascript_result_callback.cpp" ]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/views/
DFlashingLightPage.ets46 resource: $r('app.media.ic_camera_public_flash_off')
50 resource: $r('app.media.ic_camera_public_flash_on')
54 resource: $r('app.media.ic_camera_public_flash_auto')
58 resource: $r('app.media.flash_always_on')
81 ForEach(this.flashLightInfo, (item: {num: number, resource: Resource}) => {
82 Image(item.resource)
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/
Dfillp_stack_app_config_in.h38 IN FILLP_CONST struct GlobalAppResource *resource);
40 IN struct GlobalAppResource *resource, IN FILLP_INT sockIndex, IN struct FtSocket *sock);
41 FILLP_INT FtAppConfigInitNackDelayCfg(FILLP_INT sockIndex, struct GlobalAppResource *resource);
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
Dsoundpool_napi.cpp154 napi_value resource = nullptr; in JsCreateSoundPool() local
155 napi_create_string_utf8(env, "JsCreateSoundPool", NAPI_AUTO_LENGTH, &resource); in JsCreateSoundPool()
156 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in JsCreateSoundPool()
183 napi_value resource = nullptr; in JsLoad() local
184 napi_create_string_utf8(env, "JsLoad", NAPI_AUTO_LENGTH, &resource); in JsLoad()
186 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in JsLoad()
204 … NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in JsLoad()
233 napi_value resource = nullptr; in JsPlay() local
234 napi_create_string_utf8(env, "JsPlay", NAPI_AUTO_LENGTH, &resource); in JsPlay()
236 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in JsPlay()
[all …]
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_client_system_test/
Dbundle_mgr_client_system_test.cpp289 data.resource = "$profile:form_config";
314 data.resource = "$profile:form_config";
339 data.resource = "$profile:form_config";
388 data.resource = "$profile:form_config";
416 data.resource = "$profile:form_config";
446 data.resource = "$profile:form_config";
450 data1.resource = "$profile:shortcuts_config";
481 data.resource = "$profile:form_config";
485 data1.resource = "$profile:shortcuts_config";
519 data.resource = "$profile:form_config";
[all …]
/foundation/communication/ipc/ipc/native/test/unittest/common/
DBUILD.gn70 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
104 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
131 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
163 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
192 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
218 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
255 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
291 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
328 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
361 resource_config_file = "$SUBSYSTEM_DIR/test/resource/ipc/ohos_test.xml"
[all …]
/foundation/multimedia/player_framework/frameworks/js/recorder/
Drecorder_capability_napi.cpp46 napi_value resource = nullptr; in GetAudioRecorderCaps() local
48 napi_create_string_utf8(env, "GetAudioRecorderCaps", NAPI_AUTO_LENGTH, &resource); in GetAudioRecorderCaps()
49 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in GetAudioRecorderCaps()
97 napi_value resource = nullptr; in IsAudioRecorderConfigSupported() local
98 napi_create_string_utf8(env, "IsAudioRecorderConfigSupported", NAPI_AUTO_LENGTH, &resource); in IsAudioRecorderConfigSupported()
99 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in IsAudioRecorderConfigSupported()
141 napi_value resource = nullptr; in GetVideoRecorderCaps() local
142 napi_create_string_utf8(env, "GetVideoRecorderCaps", NAPI_AUTO_LENGTH, &resource); in GetVideoRecorderCaps()
143 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, in GetVideoRecorderCaps()
193 napi_value resource = nullptr; in GetVideoRecorderProfile() local
[all …]
Dvideo_recorder_napi.cpp175 napi_value resource = nullptr; in CreateVideoRecorder() local
176 napi_create_string_utf8(env, "createVideoRecorder", NAPI_AUTO_LENGTH, &resource); in CreateVideoRecorder()
177 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) {}, in CreateVideoRecorder()
235 napi_value resource = nullptr; in Prepare() local
236 napi_create_string_utf8(env, "Prepare", NAPI_AUTO_LENGTH, &resource); in Prepare()
237 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in Prepare()
278 napi_value resource = nullptr; in GetInputSurface() local
279 napi_create_string_utf8(env, "GetInputSurface", NAPI_AUTO_LENGTH, &resource); in GetInputSurface()
280 NAPI_CALL(env, napi_create_async_work(env, nullptr, resource, [](napi_env env, void* data) { in GetInputSurface()
332 napi_value resource = nullptr; in Start() local
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
Drich_text_resource.cpp46 auto resource = weak.Upgrade(); in Release() local
47 if (!resource || resource->id_ == INVALID_ID) { in Release()
54 bool ret = resRegister->ReleaseResource(resource->GetHashCode()); in Release()
56 resource->Reset(); in Release()
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
Dintell_voice_napi_queue.cpp88 napi_value resource = nullptr; in AsyncWork() local
90 napi_create_string_utf8(context->env_, name.c_str(), NAPI_AUTO_LENGTH, &resource); in AsyncWork()
93 resource, in AsyncWork()
116 napi_value resource = nullptr; in AsyncWork() local
117 napi_create_string_utf8(context->env_, name.c_str(), NAPI_AUTO_LENGTH, &resource); in AsyncWork()
119 …context->env_, nullptr, resource, execute, complete, static_cast<void *>(context.get()), &context-… in AsyncWork()
/foundation/multimedia/audio_framework/frameworks/js/napi/audio_manager/src/
Daudio_manager_napi.cpp810 napi_value resource = nullptr; in RequestIndependentInterrupt() local
811 napi_create_string_utf8(env, "RequestIndependentInterrupt", NAPI_AUTO_LENGTH, &resource); in RequestIndependentInterrupt()
814 env, nullptr, resource, in RequestIndependentInterrupt()
874 napi_value resource = nullptr; in AbandonIndependentInterrupt() local
875 napi_create_string_utf8(env, "AbandonIndependentInterrupt", NAPI_AUTO_LENGTH, &resource); in AbandonIndependentInterrupt()
878 env, nullptr, resource, in AbandonIndependentInterrupt()
940 napi_value resource = nullptr; in SetMicrophoneMute() local
941 napi_create_string_utf8(env, "SetMicrophoneMute", NAPI_AUTO_LENGTH, &resource); in SetMicrophoneMute()
944 env, nullptr, resource, in SetMicrophoneMute()
994 napi_value resource = nullptr; in IsMicrophoneMute() local
[all …]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/
DBUILD.gn175 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
201 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
222 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
244 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
279 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
297 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
325 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
343 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
365 "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
387 "//foundation/ability/dmsfwk/services/dtbschedmgr/test/resource:coverage_flags",
[all …]
/foundation/multimedia/audio_framework/frameworks/js/napi/toneplayer/src/
Dtoneplayer_napi.cpp263 napi_value resource = nullptr; in CreateTonePlayer() local
264 napi_create_string_utf8(env, "CreateTonePlayer", NAPI_AUTO_LENGTH, &resource); in CreateTonePlayer()
268 env, nullptr, resource, in CreateTonePlayer()
277 env, nullptr, resource, in CreateTonePlayer()
448 napi_value resource = nullptr; in Load() local
449 napi_create_string_utf8(env, "Load", NAPI_AUTO_LENGTH, &resource); in Load()
453 env, nullptr, resource, in Load()
462 env, nullptr, resource, in Load()
518 napi_value resource = nullptr; in Start() local
519 napi_create_string_utf8(env, "Start", NAPI_AUTO_LENGTH, &resource); in Start()
[all …]
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
Dform_manager_resource.cpp45 auto resource = weak.Upgrade(); in Release() local
46 if (!resource || resource->id_ == INVALID_ID) { in Release()
53 bool ret = resRegister->ReleaseResource(resource->GetHashCode()); in Release()
55 resource->Reset(); in Release()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/resource/
Dplugin_manager_resource.cpp43 auto resource = weak.Upgrade(); in Release() local
44 if (!resource || resource->id_ == INVALID_ID) { in Release()
51 bool ret = resRegister->ReleaseResource(resource->GetHashCode()); in Release()
53 resource->Reset(); in Release()
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/
Dresource.cpp49 auto resource = weak.Upgrade(); in Release() local
51 if (resource == nullptr || resRegister == nullptr) { in Release()
55 bool ret = resRegister->ReleaseResource(resource->hash_); in Release()
57 resource->id_ = INVALID_ID; in Release()
58 resource->hash_.clear(); in Release()
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
Dresource_application_record.cpp74 nlohmann::json resource; in ParseToJson() local
81 resource.push_back(info); in ParseToJson()
83 root["resourceUnitList"] = resource; in ParseToJson()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
DBUILD.gn23 "resource/native_texture.cpp",
24 "resource/xcomponent_delegate.cpp",
25 "resource/xcomponent_resource.cpp",

12345678910>>...21