Home
last modified time | relevance | path

Searched refs:api (Results 1 - 13 of 13) sorted by relevance

/test/testfwk/arkxtest/jsunit/src/
H A Dcore.js105 for (let api in apis) {
106 globalThis[api] = apis[api];
109 for (const api in apis) {
110 this[api] = apis[api];
/test/testfwk/arkxtest/uitest/test/
H A Dextension_test.cpp276 static constexpr auto CALL_NORMAL = R"({"api":"BackendObjectsCleaner","this":null,"args":[]})";
279 static constexpr auto CALL_NO_THIS = R"({"api":"BackendObjectsCleaner","args":[]})";
280 static constexpr auto CALL_NO_ARGS = R"({"api":"BackendObjectsCleaner","this":null})";
281 static constexpr auto CALL_ILL_API = R"({"api":0,"this":null,"args":[]})";
282 static constexpr auto CALL_ILL_THIS = R"({"api":"BackendObjectsCleaner","this":false,"args":[]})";
283 static constexpr auto CALL_ILL_ARGS = R"({"api":"BackendObjectsCleaner","this":null,"args":""})";
296 {CALL_NO_API, ReceiveBuffer {g_rBuf, BUF_SIZE, &g_rSize}, &g_rFatal, "api/this/args property missing", false},
297 {CALL_NO_THIS, ReceiveBuffer {g_rBuf, BUF_SIZE, &g_rSize}, &g_rFatal, "api/this/args property missing", false},
298 {CALL_NO_ARGS, ReceiveBuffer {g_rBuf, BUF_SIZE, &g_rSize}, &g_rFatal, "api/this/args property missing", false},
299 {CALL_ILL_API, ReceiveBuffer {g_rBuf, BUF_SIZE, &g_rSize}, &g_rFatal, "Illegal api valu
[all...]
/test/testfwk/arkxtest/uitest/addon/
H A Dextension_executor.cpp103 // input-errors of call-through api should also be passed through
136 auto hasProps = message.contains("api") && message.contains("this") && message.contains("args"); in CallThroughMessage()
137 CALL_THROUGH_CHECK(hasProps, "Illegal messsage, api/this/args property missing", ERR_BAD_ARG, true, ptr); in CallThroughMessage()
138 auto api = message["api"]; in CallThroughMessage() local
142 CALL_THROUGH_CHECK(api.type() == VT::string, "Illegal api value type", ERR_BAD_ARG, true, ptr); in CallThroughMessage()
144 CALL_THROUGH_CHECK(params.type() == VT::array, "Illegal api args type", ERR_BAD_ARG, true, ptr); in CallThroughMessage()
146 .apiId_ = api.get<string>(), in CallThroughMessage()
165 msgJson["api"] in SetCallbackMessageHandler()
[all...]
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance/entry/src/main/cpp/
H A Dhello.cpp138 ArkWeb_AnyNativeAPI* api = OH_ArkWeb_GetNativeAPI(ARKWEB_NATIVE_COMPONENT); in GetNativeAPI() local
139 size_t api_size = api->size; in GetNativeAPI()
291 ArkWeb_AnyNativeAPI* api = OH_ArkWeb_GetNativeAPI(ArkWeb_NativeAPIVariantKind(5)); in GetNativeApiFalse() local
292 if (!api) { in GetNativeApiFalse()
/test/xts/tools/sample/ServerSampleD/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
H A DVideoController.java24 import org.jeecg.common.api.vo.Result;
/test/xts/tools/sample/ServerSampleE/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
H A DBusinessGoodsController.java25 import org.jeecg.common.api.vo.Result;
H A DBusinessCommentController.java25 import org.jeecg.common.api.vo.Result;
H A DGroupSiteController.java24 import org.jeecg.common.api.vo.Result;
H A DBusinessController.java24 import org.jeecg.common.api.vo.Result;
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/
H A Dhello.cpp246 ArkWeb_AnyNativeAPI* api = OH_ArkWeb_GetNativeAPI(ARKWEB_NATIVE_CONTROLLER); in GetNativeAPI() local
247 size_t api_size = api->size; in GetNativeAPI()
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
H A Dnative_xcomponent.cpp460 "componentId2=%{public}ld, api=%{public}ld", action, code, sourceType, deviceId, timeStamp, points, in OnKeyEvent()
461 frameRateRange, componentId1, componentId2, api); in OnKeyEvent()
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/
H A Dnapi_test.cpp1704 napi_status (* api)(napi_env, napi_value, uint32_t, bool*)) in TestBoolValuedElementApi()
1712 api(nullptr, object, 0, &result)); in TestBoolValuedElementApi()
1714 api(env, nullptr, 0, &result); in TestBoolValuedElementApi()
1716 api(env, object, 0, nullptr); in TestBoolValuedElementApi()
1703 TestBoolValuedElementApi(napi_env env, napi_status (* api)(napi_env, napi_value, uint32_t, bool*)) TestBoolValuedElementApi() argument
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/
H A Dnapi_test.cpp1837 napi_status (* api)(napi_env, napi_value, uint32_t, bool*)) in TestBoolValuedElementApi()
1850 api(nullptr, object, 0, &result)); in TestBoolValuedElementApi()
1852 api(env, nullptr, 0, &result); in TestBoolValuedElementApi()
1855 api(env, object, 0, nullptr); in TestBoolValuedElementApi()
1836 TestBoolValuedElementApi(napi_env env, napi_status (* api)(napi_env, napi_value, uint32_t, bool*)) TestBoolValuedElementApi() argument

Completed in 46 milliseconds