/foundation/distributeddatamgr/pasteboard/interfaces/ndk/unittest/ |
H A D | pasteboard_capi_test.cpp | 249 int res = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F() local 301 int res = OH_Pasteboard_Unsubscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F() local 346 bool res = OH_Pasteboard_IsRemoteData(pasteboard); in HWTEST_F() local 373 int res = OH_Pasteboard_GetDataSource(pasteboard, source, len); in HWTEST_F() local 398 bool res = OH_Pasteboard_HasType(pasteboard, type); in HWTEST_F() local 414 bool res = OH_Pasteboard_HasData(pasteboard); HWTEST_F() local 442 bool res = OH_Pasteboard_ClearData(pasteboard); HWTEST_F() local 465 bool res = OH_Pasteboard_SetData(pasteboard, setData); HWTEST_F() local 491 int res = OH_Pasteboard_SetData(pasteboard, setData); HWTEST_F() local 534 int res = OH_Pasteboard_SetData(pasteboard, setData); HWTEST_F() local 580 int res = OH_Pasteboard_SetData(pasteboard, setData); HWTEST_F() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 194 std::string res = ""; in GetAnonymousName() local
|
/foundation/distributedhardware/distributed_camera/common/src/utils/ |
H A D | dcamera_utils_tools.cpp | 294 auto res = GetParameter(key, "-1", paraValue, sizeof(paraValue)); in GetSysPara() local 321 bool res = GetSysPara(para.c_str(), dumpPara); in OpenDumpFileInner() local 362 bool res = GetSysPara(para.c_str(), dumpPara); in ChangeDumpFileState() local
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | dh_utils_tool.cpp | 283 auto res = GetParameter(key, "false", paraValue, sizeof(paraValue)); in GetSysPara() local
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_impl.cpp | 95 int res = OpenFileByDatashare(uri.ToString(), mode); in OpenByFileDataUri() local
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_val.cpp | 55 bool res = false; in TypeIsError() local 120 void *res = nullptr; in ToPointer() local 142 int32_t res = 0; in ToInt32() local 157 int64_t res in ToInt64() local 172 double res = 0; ToDouble() local 179 uint64_t res = 0; ToUint64() local 222 bool res = false; HasProp() local 279 napi_value res = nullptr; CreateUndefined() local 286 napi_value res = nullptr; CreateBigInt64() local 293 napi_value res = nullptr; CreateInt64() local 300 napi_value res = nullptr; CreateInt32() local 307 napi_value res = nullptr; CreateObject() local 314 napi_value res = nullptr; CreateBool() local 321 napi_value res = nullptr; CreateUTF8String() local 328 napi_value res = nullptr; CreateUTF8String() local 350 napi_value res = nullptr; CreateArrayString() local [all...] |
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | service_incremental.cpp | 414 ErrCode res = proxy->PublishIncrementalFile(fileInfo.fileName); in PublishIncrementalFile() local 563 int res = proxy->GetIncrementalFileHandle(fileName); in GetIncrementalFileHandle() local
|
H A D | service_stub.cpp | 144 int32_t res = InitRestoreSession(iremote); in CmdInitRestoreSession() local 147 ss << "Failed to send the result " << res; in CmdInitRestoreSession() local 164 int res = InitBackupSession(iremote); in CmdInitBackupSession() local 167 ss << "Failed to send the result " << res; in CmdInitBackupSession() local 175 int res = Start(); in CmdStart() local 178 ss << "Failed to send the result " << res; in CmdStart() local 199 int res in CmdPublishFile() local 202 ss << "Failed to send the result " << res; CmdPublishFile() local 224 int res = AppFileReady(fileName, move(fd), errCode); CmdAppFileReady() local 227 ss << "Failed to send the result " << res; CmdAppFileReady() local 239 int res = AppDone(errCode); CmdAppDone() local 242 ss << "Failed to send the result " << res; CmdAppDone() local 263 int res = ServiceResultReport(restoreRetInfo, secenrioInfo, errCode); CmdResultReport() local 266 ss << "Failed to send the result " << res; CmdResultReport() local 307 int res = AppendBundlesRestoreSession(move(fd), bundleNames, restoreType, userId); CmdAppendBundlesRestoreSession() local 340 int res = AppendBundlesRestoreSession(move(fd), bundleNames, detailInfos, restoreType, userId); CmdAppendBundlesDetailsRestoreSession() local 354 int32_t res = AppendBundlesBackupSession(bundleNames); CmdAppendBundlesBackupSession() local 373 int32_t res = AppendBundlesDetailsBackupSession(bundleNames, detailInfos); CmdAppendBundlesDetailsBackupSession() local 382 int res = Finish(); CmdFinish() local 491 int res = Release(); CmdRelease() local 514 int32_t res = GetAppLocalListAndDoIncrementalBackup(); CmdGetAppLocalListAndDoIncrementalBackup() local 517 ss << "Failed to send the result " << res; CmdGetAppLocalListAndDoIncrementalBackup() local 534 int32_t res = InitIncrementalBackupSession(iremote); CmdInitIncrementalBackupSession() local 537 ss << "Failed to send the result " << res; CmdInitIncrementalBackupSession() local 550 int32_t res = AppendBundlesIncrementalBackupSession(bundlesToBackup); CmdAppendBundlesIncrementalBackupSession() local 567 int32_t res = AppendBundlesIncrementalBackupSession(bundlesToBackup, infos); CmdAppendBundlesDetailsIncrementalBackupSession() local 580 int res = PublishIncrementalFile(*fileInfo); CmdPublishIncrementalFile() local 583 ss << "Failed to send the result " << res; CmdPublishIncrementalFile() local 596 int res = PublishSAIncrementalFile(*fileInfo, move(fd)); CmdPublishSAIncrementalFile() local 599 ss << "Failed to send the result " << res; CmdPublishSAIncrementalFile() local 627 int res = AppIncrementalFileReady(fileName, move(fd), move(manifestFd), errCode); CmdAppIncrementalFileReady() local 630 ss << "Failed to send the result " << res; CmdAppIncrementalFileReady() local 642 int res = AppIncrementalDone(ret); CmdAppIncrementalDone() local 645 ss << "Failed to send the result " << res; CmdAppIncrementalDone() local [all...] |
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/ |
H A D | bms_adapter.cpp | 99 bool res = bms->GetBundleStats(bundleDetailInfo.bundleName, userId, bundleStats, bundleDetailInfo.bundleIndex); in GetBundleStats() local
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/ |
H A D | n_val.cpp | 56 bool res = false; in TypeIsError() local 137 void *res = nullptr; in ToPointer() local 159 int32_t res = 0; in ToInt32() local 174 int64_t res in ToInt64() local 189 double res = 0; ToDouble() local 196 uint32_t res = 0; ToUint32() local 203 uint64_t res = 0; ToUint64() local 246 bool res = false; HasProp() local 306 napi_value res = nullptr; CreateUndefined() local 313 napi_value res = nullptr; CreateBigInt64() local 320 napi_value res = nullptr; CreateInt64() local 327 napi_value res = nullptr; CreateInt32() local 334 napi_value res = nullptr; CreateUint32() local 341 napi_value res = nullptr; CreateObject() local 348 napi_value res = nullptr; CreateBool() local 355 napi_value res = nullptr; CreateUTF8String() local 362 napi_value res = nullptr; CreateUTF8String() local 380 napi_value res = nullptr; CreateArrayString() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_font.cpp | 140 scalar res = skFont_.getMetrics(&skFontMetrics); in GetMetrics() local
|
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/ |
H A D | picker_n_exporter.cpp | 346 int res = GetCustomShowingWindow(env, asyncContext, info, window_); in AsyncContextSetStaticObjectInfo() local
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_proxy_test.cpp | 169 sptr<DisplayInfo> res = nullptr; in HWTEST_F() local 197 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; in HWTEST_F() local 225 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; in HWTEST_F() local 253 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 283 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 311 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 339 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 367 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 395 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 423 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 450 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 478 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 506 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 534 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 562 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 590 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 1030 sptr<ScreenGroupInfo> res = nullptr; HWTEST_F() local 1076 std::shared_ptr<Media::PixelMap> res = nullptr; HWTEST_F() local 1104 sptr<DisplayInfo> res = nullptr; HWTEST_F() local 1131 sptr<DisplayInfo> res = nullptr; HWTEST_F() local 1180 sptr<ScreenInfo> res = nullptr; HWTEST_F() local 1316 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 1345 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 1373 DMError res = DMError::DM_ERROR_NOT_SYSTEM_APP; HWTEST_F() local 1420 sptr<CutoutInfo> res = nullptr; HWTEST_F() local [all...] |
H A D | screen_session_manager_client_test.cpp | 453 std::shared_ptr<Media::PixelMap> res = screenSessionManagerClient_->GetScreenSnapshot(screenId, scaleX, scaleY); in HWTEST_F() local
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_test2.cpp | 518 bool res = session->AddSubSession(subSession); in HWTEST_F() local 545 bool res = session->RemoveSubSession(0); in HWTEST_F() local 1134 bool res = scensession->AddSubSession(scensession); HWTEST_F() local 1168 WSError res = sceneSession->SetPipActionEvent("close", 0); HWTEST_F() local 1195 WSError res = sceneSession->SetPiPControlEvent(controlType, status); HWTEST_F() local [all...] |
H A D | session_test.cpp | 266 auto res = session_->ConnectInner(mockSessionStage_, mockEventChannel_, in HWTEST_F() local
|
/foundation/window/window_manager/wm/test/unittest/ui_extension/ |
H A D | window_extension_session_impl_test.cpp | 1474 auto res = window_->Hide(0, false, false); in HWTEST_F() local [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_manager_test.cpp | 763 WMError res = WindowManager::GetInstance().GetUIContentRemoteObj(1, remoteObj);
in HWTEST_F() local 875 WMError res = WindowManager::GetInstance().DumpSessionAll(infos);
in HWTEST_F() local 889 WMError res = WindowManager::GetInstance().DumpSessionWithId(persistentId, infos);
in HWTEST_F() local 995 WMError res = WindowManager::GetInstance().RegisterWMSConnectionChangedListener(listener);
in HWTEST_F() local
|
H A D | window_scene_session_impl_test2.cpp | 1776 WMError res = window->SetTitleButtonVisible(false, false, false, true); in HWTEST_F() local 1803 WMError res = window->SetTitleButtonVisible(false, false, false, true); in HWTEST_F() local
|
H A D | window_scene_session_impl_test4.cpp | 1205 auto res = window->GetParentSessionAndVerify(false, parentSession); in HWTEST_F() local 1566 int32_t res = 0; in HWTEST_F() local [all...] |
H A D | window_session_impl_test4.cpp | 162 WMError res = window->SetTopmost(true); in HWTEST_F() local 189 bool res = window->IsTopmost(); in HWTEST_F() local 212 WMError res = window->SetMainWindowTopmost(true); in HWTEST_F() local 228 bool res = window->IsMainWindowTopmost(); HWTEST_F() local 253 WMError res = window->SetDecorVisible(isVisible); HWTEST_F() local 282 WMError res = mainWindow->SetSubWindowModal(true); // main window is invalid HWTEST_F() local 323 WMError res = window->SetSubWindowModal(true, ModalityType::WINDOW_MODALITY); HWTEST_F() local 376 WMError res = window->GetDecorHeight(height); HWTEST_F() local 401 WMError res = window->GetTitleButtonArea(titleButtonRect); HWTEST_F() local 419 WSError res = window->GetUIContentRemoteObj(remoteObj); HWTEST_F() local 441 WMError res = window->RegisterExtensionAvoidAreaChangeListener(listener); HWTEST_F() local 473 WMError res = window->UnregisterExtensionAvoidAreaChangeListener(listener); HWTEST_F() local 532 WSError res = window->SetPiPControlEvent(controlType, status); HWTEST_F() local 666 const int32_t res = window->GetParentId(); HWTEST_F() local 708 bool res = false; HWTEST_F() local 763 auto res = window->UpdateRect(rect, reason); HWTEST_F() local 800 auto res = window->SetTitleButtonVisible(isMaximizeVisible, isMinimizeVisible, HWTEST_F() local 824 bool res = window->IsFocused(); HWTEST_F() local 886 std::shared_ptr<std::vector<uint8_t>> res = window->GetAbcContent(abcPath); HWTEST_F() local 982 WSError res = window->NotifyCloseExistPipWindow(); HWTEST_F() local 1051 WMError res = window->SetTitleButtonVisible(false, false, false, true); HWTEST_F() local 1071 WMError res = window->SetTitleButtonVisible(false, false, false, true); HWTEST_F() local 1096 WMError res = window->SetTitleButtonVisible(false, false, false, true); HWTEST_F() local 1160 WSError res = window->UpdateRect(rect, reason); HWTEST_F() local 1255 WMError res = window->GetAppForceLandscapeConfig(config); HWTEST_F() local 1352 WMError res = window->NotifyMainWindowClose(terminateCloseProcess); HWTEST_F() local 1379 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); HWTEST_F() local 1400 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); HWTEST_F() local 1425 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); HWTEST_F() local 1450 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); HWTEST_F() local [all...] |
/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_controller_test.cpp | 600 WMError res = windowController_->GetFocusWindowInfo(focusInfo); in HWTEST_F() local 715 WMError res = windowController_->RemoveWindowNode(windowId, false); in HWTEST_F() local 739 WMError res = windowController_->RemoveWindowNode(windowId, true); in HWTEST_F() local 763 WMError res = windowController_->RemoveWindowNode(windowId, true); in HWTEST_F() local 787 WMError res = windowController_->DestroyWindow(100, true); in HWTEST_F() local 814 WMError res = windowController_->DestroyWindow(100, false); HWTEST_F() local 843 WMError res = windowController_->RequestFocus(10); HWTEST_F() local 991 WMError res = windowController_->ChangeMouseStyle(windowId, moveDragProperty); HWTEST_F() local 1024 WMError res = windowController_->ChangeMouseStyle(windowId, moveDragProperty); HWTEST_F() local 1058 WMError res = windowController_->ChangeMouseStyle(windowId, moveDragProperty); HWTEST_F() local 1091 WMError res = windowController_->NotifyServerReadyToMoveOrDrag(10, moveDragProperty); HWTEST_F() local 1130 WMError res = windowController_->NotifyServerReadyToMoveOrDrag(windowId, moveDragProperty); HWTEST_F() local 1174 WMError res = windowController_->NotifyServerReadyToMoveOrDrag(windowId, moveDragProperty); HWTEST_F() local 1215 WMError res = windowController_->ProcessPointDown(10, isPointDown); HWTEST_F() local 1252 WMError res = windowController_->ProcessPointDown(windowId, isPointDown); HWTEST_F() local 1283 WMError res = windowController_->ProcessPointUp(10); HWTEST_F() local 1313 WMError res = windowController_->ProcessPointUp(windowId); HWTEST_F() local 1340 WMError res = windowController_->ProcessPointUp(windowId); HWTEST_F() local 1367 WMError res = windowController_->InterceptInputEventToServer(10); HWTEST_F() local 1399 WMError res = windowController_->RecoverInputEventToClient(10); HWTEST_F() local 1431 WMError res = windowController_->RecoverInputEventToClient(windowId); HWTEST_F() local 1544 WMError res = windowController_->NotifyWindowClientPointUp(10, pointerEvent); HWTEST_F() local 1599 WMError res = windowController_->ToggleShownStateForAllAppWindows(); HWTEST_F() local 1698 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1722 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1751 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1799 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1829 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1859 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1889 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1919 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1949 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 1979 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2009 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2039 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2070 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2100 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2130 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2160 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2190 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2220 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local 2249 WMError res = windowController_->UpdateProperty(property, action); HWTEST_F() local [all...] |
/test/xts/acts/distributeddatamgr/preferencesNdktestHvigor/entry/src/main/cpp/ |
H A D | napi_init.cpp | 97 int res;
in SetAllValuesWithCheck() local 102 char *res = nullptr;
in SetAllValuesWithCheck() local 109 bool res;
in SetAllValuesWithCheck() local
|
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 131 int32_t res = OH_PixelMap_CreatePixelMapWithStride(env, createOps, buffer, bufferSize, rowStride, &pixelmap); in TestCreatePixelMapWithStrideAbnormal() local
|
/test/xts/acts/hiviewdfx/hidebugtest/hidebugtestcoltest/entry/src/main/cpp/ |
H A D | hidebugndk.cpp | 139 napi_value res; in GetAppThreadCpuUsage() local
|