Home
last modified time | relevance | path

Searched refs:idStr (Results 1 - 25 of 27) sorted by relevance

12

/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
H A Dnative_xcomponent.cpp38 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceCreatedCB() local
40 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
46 std::string id(idStr); in OnSurfaceCreatedCB()
67 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceChangedCB() local
69 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceChangedCB()
75 std::string id(idStr); in OnSurfaceChangedCB()
91 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceDestroyedCB() local
93 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB()
99 std::string id(idStr); in OnSurfaceDestroyedCB()
112 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
131 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local
149 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchHoverEventCB() local
167 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnFocusEventCB() local
184 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnKeyEventCB() local
200 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnFrameEventCB() local
217 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; UnOnFrameEventCB() local
301 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; NapiDrawPattern() local
333 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnSurfaceChanged() local
357 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnTouchEvent() local
[all...]
H A Dplugin_render.cpp55 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceCreatedCB() local
57 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB()
62 std::string id(idStr); in OnSurfaceCreatedCB()
72 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceChangedCB() local
74 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB()
79 std::string id(idStr); in OnSurfaceChangedCB()
87 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceDestroyedCB() local
89 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB()
94 std::string id(idStr); in OnSurfaceDestroyedCB()
103 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
118 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local
707 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiChangeShape() local
744 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiDrawTriangle() local
781 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; NapiChangeColor() local
817 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; TestGetXComponentId() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/XComponent/entry/src/main/cpp/render/
H A Dplugin_render.cpp37 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceCreatedCB() local
39 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
45 std::string id(idStr); in OnSurfaceCreatedCB()
66 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceChangedCB() local
68 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceChangedCB()
74 std::string id(idStr); in OnSurfaceChangedCB()
91 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in OnSurfaceDestroyedCB() local
93 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB()
99 std::string id(idStr); in OnSurfaceDestroyedCB()
112 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
131 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local
149 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchHoverEventCB() local
167 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnFocusEventCB() local
185 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnBlurEventCB() local
203 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnKeyEventCB() local
283 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; NapiDrawPattern() local
313 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnSurfaceChanged() local
337 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\\0' }; OnTouchEvent() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/cpp/samples/
H A Dsample_xcomponent.cpp32 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceCreatedCB() local
34 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
38 std::string id(idStr); in OnSurfaceCreatedCB()
60 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceDestroyedCB() local
62 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB()
66 std::string id(idStr); in OnSurfaceDestroyedCB()
81 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in TestCallback() local
83 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in TestCallback()
88 std::string id(idStr); in TestCallback()
291 char idStr[OH_XCOMPONENT_ID_LEN_MA in NapiRegister() local
349 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiUnregister() local
393 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiDestroy() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/XComponent3D/entry/src/main/cpp/
H A Dapp_napi.cpp48 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceCreatedCB() local
50 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB()
55 std::string id(idStr); in OnSurfaceCreatedCB()
63 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceChangedCB() local
65 retChange = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB()
69 std::string id(idStr); in OnSurfaceChangedCB()
77 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceDestroyedCB() local
79 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB()
83 std::string id(idStr); in OnSurfaceDestroyedCB()
93 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
108 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local
274 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; Quit() local
307 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; GetXComponentId() local
[all...]
H A Dnapi_manager.cpp94 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in Export() local
107 ret = OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize); in Export()
112 std::string id(idStr); in Export()
/applications/standard/app_samples/code/BasicFeature/Graphics/DisplaySync/entry/src/main/cpp/samples/
H A Dsample_xcomponent.cpp29 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceCreatedCB() local
31 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
35 std::string id(idStr); in OnSurfaceCreatedCB()
57 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceDestroyedCB() local
59 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB()
63 std::string id(idStr); in OnSurfaceDestroyedCB()
75 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in TestCallback() local
77 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in TestCallback()
82 std::string id(idStr); in TestCallback()
291 char idStr[OH_XCOMPONENT_ID_LEN_MA in NapiRegister() local
343 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiUnregister() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkOpenGL/entry/src/main/cpp/
H A Dapp_napi.cpp65 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceCreatedCB() local
67 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB()
72 std::string id(idStr); in OnSurfaceCreatedCB()
80 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceChangedCB() local
82 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB()
87 std::string id(idStr); in OnSurfaceChangedCB()
95 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceDestroyedCB() local
97 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB()
102 std::string id(idStr); in OnSurfaceDestroyedCB()
112 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
127 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; DispatchMouseEventCB() local
342 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; Quit() local
375 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; GetXComponentId() local
[all...]
H A Dnapi_manager.cpp97 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { }; in Export() local
110 ret = OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize); in Export()
115 std::string id(idStr); in Export()
/applications/standard/app_samples/code/BasicFeature/Native/NdkDrawing/entry/src/main/cpp/samples/
H A Dsample_bitmap.cpp32 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceCreatedCB() local
34 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
38 std::string id(idStr); in OnSurfaceCreatedCB()
60 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in OnSurfaceDestroyedCB() local
62 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceDestroyedCB()
66 std::string id(idStr); in OnSurfaceDestroyedCB()
280 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in NapiDrawPattern() local
282 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in NapiDrawPattern()
286 DRAWING_LOGI("ID = %{public}s", idStr); in NapiDrawPattern()
287 std::string id(idStr); in NapiDrawPattern()
330 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\\0'}; NapiDrawText() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkXComponent/entry/src/main/cpp/manager/
H A Dplugin_manager.cpp113 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceCreatedCB() local
115 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB()
120 std::string id(idStr); in OnSurfaceCreatedCB()
130 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceChangedCB() local
132 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB()
136 std::string id(idStr); in OnSurfaceChangedCB()
144 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in OnSurfaceDestroyedCB() local
146 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB()
150 std::string id(idStr); in OnSurfaceDestroyedCB()
158 char idStr[OH_XCOMPONENT_ID_LEN_MA in DispatchTouchEventCB() local
293 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; OnSurfaceCreated() local
[all...]
/applications/standard/settings/cj/settings/src/
H A Dcj_settings.cpp87 std::string GetStageUriStr(std::string tableName, std::string idStr, std::string keyStr) in GetStageUriStr() argument
89 if (std::stoi(idStr) < USERID_HELPER_NUMBER) { in GetStageUriStr()
90 idStr = "100"; in GetStageUriStr()
98 idStr + "?Proxy=true&key=" + keyStr; in GetStageUriStr()
102 idStr + "?Proxy=true&key=" + keyStr; in GetStageUriStr()
112 std::string GetProxyUriStr(std::string tableName, std::string idStr) in GetProxyUriStr() argument
114 if (std::stoi(idStr) < USERID_HELPER_NUMBER) { in GetProxyUriStr()
115 idStr = "100"; in GetProxyUriStr()
122 "datashare:///com.ohos.settingsdata/entry/settingsdata/USER_SETTINGSDATA_" + idStr + "?Proxy=true"; in GetProxyUriStr()
126 "datashare:///com.ohos.settingsdata/entry/settingsdata/USER_SETTINGSDATA_SECURE_" + idStr in GetProxyUriStr()
[all...]
H A Dcj_settings.h39 std::string GetStageUriStr(std::string tableName, std::string idStr, std::string keyStr);
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/
H A Dplugin_manager.cpp31 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in Init() local
34 int32_t ret = OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize); in Init()
36 std::string id(idStr); in Init()
49 LOGE("Failed to get PluginManager instance! XComponentId:%{public}s", idStr); in Init()
H A Dplugin_render.cpp28 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {}; in GetXComponentId() local
30 int32_t ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in GetXComponentId()
34 return std::string(idStr); in GetXComponentId()
/applications/standard/app_samples/code/BasicFeature/Graphics/DisplaySoloist/entry/src/main/cpp/plugin/
H A Dplugin_manager.cpp70 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in Export() local
72 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
77 std::string id(idStr); in Export()
/applications/standard/app_samples/code/BasicFeature/Graphics/DisplaySync/entry/src/main/cpp/plugin/
H A Dplugin_manager.cpp70 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in Export() local
72 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
77 std::string id(idStr); in Export()
/applications/standard/app_samples/code/BasicFeature/Native/NdkDrawing/entry/src/main/cpp/plugin/
H A Dplugin_manager.cpp68 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = {'\0'}; in Export() local
70 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
75 std::string id(idStr); in Export()
/applications/standard/app_samples/code/BasicFeature/Native/XComponent/entry/src/main/cpp/manager/
H A Dplugin_manager.cpp106 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { '\0' }; in Export() local
108 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
114 std::string id(idStr); in Export()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/manager/
H A Dplugin_manager.cpp100 char idStr[OH_XCOMPONENT_ID_LEN_MAX + PARAM_1] = {'\0'}; in Export() local
102 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
108 std::string id(idStr); in Export()
/test/xts/acts/arkui/ace_c_arkui_test_api13/entry/src/main/cpp/manager/
H A Dplugin_manager.cpp100 char idStr[OH_XCOMPONENT_ID_LEN_MAX + PARAM_1] = {'\0'}; in Export() local
102 if (OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in Export()
108 std::string id(idStr); in Export()
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/
H A Dplugin_manager.cpp97 char idStr[OH_XCOMPONENT_ID_LEN_MAX + 1] = { }; in Export() local
110 ret = OH_NativeXComponent_GetXComponentId(nativeXComponent, idStr, &idSize); in Export()
115 std::string id(idStr); in Export()
/applications/standard/settings/napi/settings/
H A Dnapi_settings.h180 std::string GetStageUriStr(std::string tableName, std::string idStr, std::string keyStr);
181 std::string GetProxyUriStr(std::string tableName, std::string idStr);
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c299 const char *idStr; in gen_bitmask_string() local
307 idStr = names[idx]; in gen_bitmask_string()
308 if (idStr) { in gen_bitmask_string()
313 idStr); in gen_bitmask_string()
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c299 const char *idStr; in gen_bitmask_string() local
307 idStr = names[idx]; in gen_bitmask_string()
308 if (idStr) { in gen_bitmask_string()
313 idStr); in gen_bitmask_string()

Completed in 18 milliseconds

12