/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | native_xcomponent.cpp | 38 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 D | plugin_render.cpp | 55 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 D | plugin_render.cpp | 37 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 D | sample_xcomponent.cpp | 32 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 D | app_napi.cpp | 48 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 D | napi_manager.cpp | 94 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 D | sample_xcomponent.cpp | 29 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 D | app_napi.cpp | 65 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 D | napi_manager.cpp | 97 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 D | sample_bitmap.cpp | 32 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 D | plugin_manager.cpp | 113 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 D | cj_settings.cpp | 87 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 D | cj_settings.h | 39 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 D | plugin_manager.cpp | 31 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 D | plugin_render.cpp | 28 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 D | plugin_manager.cpp | 70 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 D | plugin_manager.cpp | 70 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 D | plugin_manager.cpp | 68 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 D | plugin_manager.cpp | 106 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 D | plugin_manager.cpp | 100 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 D | plugin_manager.cpp | 100 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 D | plugin_manager.cpp | 97 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 D | napi_settings.h | 180 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 D | pvrusb2-ctrl.c | 299 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 D | pvrusb2-ctrl.c | 299 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()
|