/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/ |
H A D | bms_bundle_resource_test.cpp | 369 bool ans = BundleSystemState::GetInstance().FromString("{"); in HWTEST_F() local 370 EXPECT_FALSE(ans); in HWTEST_F() 371 ans = BundleSystemState::GetInstance().FromString(key); in HWTEST_F() 372 EXPECT_TRUE(ans); in HWTEST_F() 386 bool ans = resourceRdb.AddResourceInfo(resourceInfo); in HWTEST_F() local 387 EXPECT_FALSE(ans); in HWTEST_F() 388 ans = resourceRdb.DeleteResourceInfo(resourceInfo.GetKey()); in HWTEST_F() 389 EXPECT_FALSE(ans); in HWTEST_F() 392 ans = resourceRdb.AddResourceInfo(resourceInfo); in HWTEST_F() 393 EXPECT_TRUE(ans); in HWTEST_F() 409 bool ans = resourceRdb.AddResourceInfos(resourceInfos); HWTEST_F() local 445 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 469 bool ans = manager->AddAllResourceInfo(200, HWTEST_F() local 486 bool ans = manager->AddResourceInfoByBundleName(BUNDLE_NAME, USERID); HWTEST_F() local 505 bool ans = manager->AddResourceInfoByBundleName(BUNDLE_NAME, 200); HWTEST_F() local 532 bool ans = manager->AddResourceInfoByAbility(BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, USERID); HWTEST_F() local 573 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 602 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 654 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 696 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 740 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 775 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 810 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 856 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 904 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 933 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 962 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 991 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 1021 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 1049 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 1075 bool ans = BundleResourceProcess::GetLauncherAbilityResourceInfos(bundleInfo, USERID, resourceInfos); HWTEST_F() local 1126 bool ans = BundleResourceProcess::GetBundleResourceInfo(bundleInfo, USERID, resourceInfo); HWTEST_F() local 1159 bool ans = BundleResourceProcess::GetBundleResourceInfo(bundleInfo, USERID, resourceInfo); HWTEST_F() local 1191 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME, USERID, resourceInfos); HWTEST_F() local 1222 bool ans = BundleResourceProcess::GetLauncherResourceInfoByAbilityName(BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, HWTEST_F() local 1269 bool ans = BundleResourceProcess::GetAllResourceInfo(200, resourceInfos); HWTEST_F() local 1338 bool ans = BundleResourceConfiguration::InitResourceGlobalConfig(nullptr); HWTEST_F() local 1379 bool ans = parser.ParseResourceInfo(USERID, resourceInfo); HWTEST_F() local 1399 bool ans = parser.ParseResourceInfos(USERID, resourceInfos); HWTEST_F() local 1424 bool ans = parser.ParseLabelResourceByPath("", 0, label); HWTEST_F() local 1448 bool ans = parser.ParseLabelResourceByResourceManager(nullptr, 0, label); HWTEST_F() local 1470 bool ans = parser.ParseIconResourceByPath("", 0, info); HWTEST_F() local 1496 bool ans = parser.ParseIconResourceByResourceManager(nullptr, info); HWTEST_F() local 1522 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME, USERID, resourceInfos); HWTEST_F() local 1556 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME, USERID, resourceInfos); HWTEST_F() local 1593 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME_NO_ICON, USERID, resourceInfos); HWTEST_F() local 1625 bool ans = OnReceiveEvent(commonData); HWTEST_F() local 1686 bool ans = callback.OnUserIdSwitched(100, 200); HWTEST_F() local 1705 bool ans = callback.OnSystemColorModeChanged(oldColorMode); HWTEST_F() local 1727 bool ans = callback.OnSystemLanguageChange(oldLanguage); HWTEST_F() local 1750 bool ans = BundleResourceProcess::GetAbilityResourceInfos(bundleInfo, USERID, resourceInfos); HWTEST_F() local 1781 bool ans = GetBundleDataMgr()->FetchInnerBundleInfo(BUNDLE_NAME, bundleInfo); HWTEST_F() local 1816 bool ans = BundleResourceProcess::GetResourceInfoByColorModeChanged(resourceNames, USERID, resourceInfos); HWTEST_F() local 1835 bool ans = BundleResourceProcess::GetResourceInfoByColorModeChanged(resourceNames, USERID, resourceInfos); HWTEST_F() local 2303 bool ans = manager->GetBundleResourceInfo(BUNDLE_NAME, 0, info); HWTEST_F() local 2311 bool ans = manager->GetBundleResourceInfo(BUNDLE_NAME, 0, info2); HWTEST_F() local 2365 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME_NO_ICON, USERID, resourceInfos); HWTEST_F() local 2401 bool ans = BundleResourceProcess::GetBundleResourceInfo(bundleInfo, USERID, resourceInfo); HWTEST_F() local 2419 bool ans = GetBundleDataMgr()->FetchInnerBundleInfo(BUNDLE_NAME, bundleInfo); HWTEST_F() local 2442 bool ans = BundleResourceProcess::CheckIsNeedProcessAbilityResource(bundleInfo); HWTEST_F() local 2480 bool ans = BundleResourceProcess::GetOverlayModuleHapPaths(info, MODULE_NAME, USERID, overlayHapPaths); HWTEST_F() local 2494 bool ans = callback.OnOverlayStatusChanged(BUNDLE_NAME_NOT_EXIST, true, 0); HWTEST_F() local 2508 bool ans = callback.OnOverlayStatusChanged(BUNDLE_NAME_NOT_EXIST, true, USERID); HWTEST_F() local 2525 bool ans = callback.OnOverlayStatusChanged(BUNDLE_NAME, true, USERID); HWTEST_F() local 2542 bool ans = callback.OnApplicationThemeChanged(""); HWTEST_F() local 2556 bool ans = callback.OnApplicationThemeChanged("xxxxx"); HWTEST_F() local 2577 bool ans = callback.OnApplicationThemeChanged(theme.dump()); HWTEST_F() local 2598 bool ans = callback.OnApplicationThemeChanged(theme.dump()); HWTEST_F() local 2619 bool ans = callback.OnApplicationThemeChanged(theme.dump()); HWTEST_F() local 2650 bool ans = BundleResourceProcess::GetOverlayModuleHapPaths(info, MODULE_NAME, USERID, overlayHapPaths); HWTEST_F() local 2698 bool ans = BundleResourceProcess::GetOverlayModuleHapPaths(info, MODULE_NAME, USERID, overlayHapPaths); HWTEST_F() local 2730 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 2768 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 2810 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 2856 bool ans = resourceRdb.AddResourceInfo(resourceInfo); HWTEST_F() local 2907 bool ans = parser.ParseIconIdFromJson(jsonBuff, foregroundId, backgroundId); HWTEST_F() local 2931 bool ans = parser.ParseIconIdFromJson(jsonBuff, foregroundId, backgroundId); HWTEST_F() local 2958 bool ans = parser.ParseIconIdFromJson(jsonBuff, foregroundId, backgroundId); HWTEST_F() local 2985 bool ans = parser.ParseIconIdFromJson(jsonBuff, foregroundId, backgroundId); HWTEST_F() local 3011 bool ans = parser.ParseIconIdFromJson(jsonBuff, foregroundId, backgroundId); HWTEST_F() local 3038 bool ans = parser.ParseForegroundAndBackgroundResource(nullptr, jsonBuff, 0, resourceInfo); HWTEST_F() local 3430 bool ans = BundleResourceProcess::GetAllResourceInfo(USERID, resourceInfos); HWTEST_F() local 3446 bool ans = BundleResourceProcess::GetLauncherResourceInfoByAbilityName(BUNDLE_NAME, MODULE_NAME, ABILITY_NAME, HWTEST_F() local 3464 bool ans = BundleResourceProcess::GetResourceInfoByColorModeChanged(resourceNames, USERID, resourceInfos); HWTEST_F() local 3495 bool ans = BundleResourceProcess::GetResourceInfoByBundleName(BUNDLE_NAME, USERID, resourceInfos); HWTEST_F() local 3515 bool ans = parser.ParseResourceInfoWithSameHap(USERID, resourceInfo); HWTEST_F() local 3536 bool ans = parser.ParseResourceInfoWithSameHap(USERID, resourceInfo); HWTEST_F() local 3555 bool ans = parser.ParseResourceInfoByResourceManager(resourceManager, resourceInfo); HWTEST_F() local 3576 bool ans = parser.ParseResourceInfoByResourceManager(resourceManager, resourceInfo); HWTEST_F() local 3594 bool ans = parser.GetMediaDataById(resourceManager, iconId, density, data); HWTEST_F() local 3611 bool ans = parser.ParseForegroundAndBackgroundResource(resourceManager, jsonBuff, 0, resourceInfo); HWTEST_F() local [all...] |
/foundation/multimedia/media_lite/frameworks/player_lite/binder/ |
H A D | player_client.cpp | 230 int32_t ans = -10; in SetSource() local 233 para.ret = &ans; in SetSource() 240 return ans; in SetSource() 248 int32_t ans = -1; in Prepare() local 251 para.ret = &ans; in Prepare() 256 return ans; in Prepare() 264 int32_t ans = -1; in Play() local 267 para.ret = &ans; in Play() 272 return ans; in Play() 280 bool ans in IsPlaying() local 296 int32_t ans = -1; Pause() local 312 int32_t ans = -1; Stop() local 329 int32_t ans = -1; Rewind() local 347 int32_t ans = -1; SetVolume() local 375 int32_t ans = -1; SetSurface() local 392 int32_t ans = -1; SetLoop() local 408 bool ans = false; IsSingleLooping() local 424 int32_t ans = -1; GetCurrentPosition() local 442 int32_t ans = -1; GetDuration() local 458 int32_t ans = -1; GetVideoWidth() local 475 int32_t ans = -1; GetVideoHeight() local 492 int32_t ans = -1; Reset() local 512 int32_t ans = -1; Release() local 593 uint32_t ans = proxy_->Invoke(proxy_, PLAYER_SERVER_SET_PLAYER_CALLBACK, &io, ¶, Callback); SetPlayerCallback() local 604 int32_t ans = -1; GetPlayerState() local 622 int32_t ans = -1; SetPlaybackSpeed() local 638 int32_t ans = -1; GetPlaybackSpeed() local 693 int32_t ans = -1; SetParameter() local 710 int32_t ans = -1; SetAudioStreamType() local 726 int32_t ans = -1; GetAudioStreamType() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | transition_property.h | 273 std::string ans = "{type: translate";
variable 274 ans += ", effect: " + effect_.ToString();
275 ans += ", animation: " + AnimationOptionToString();
276 ans += ", successor: " + (next_ ? next_->ToString() : std::string("null")) + "}";
277 return ans;
304 std::string ans = "{type: rotate";
variable 305 ans += ", effect: " + effect_.ToString();
306 ans += ", animation: " + AnimationOptionToString();
307 ans += ", successor: " + (next_ ? next_->ToString() : std::string("null")) + "}";
308 return ans;
333 std::string ans = "{type: scale"; global() variable 364 std::string ans = "{type: opacity"; global() variable 390 std::string ans = "{type: move"; global() variable 408 std::string ans = "{type: slideSwitch"; global() variable 422 std::string ans = "{type: identity"; global() variable 449 std::string ans = "{type: asymmetric"; global() variable [all...] |
H A D | measure_property.h | 357 MeasureProperty ans; in FromJson() local 361 ans.selfIdealSize = in FromJson() 365 return ans; in FromJson()
|
/foundation/communication/dsoftbus/sdk/bus_center/ipc/small/ |
H A D | bus_center_server_proxy.c | 234 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_GET_ALL_ONLINE_NODE_INFO, &request, &reply, in ServerIpcGetAllOnlineNodeInfo() local 236 if (ans != SOFTBUS_OK) { in ServerIpcGetAllOnlineNodeInfo() 237 LNN_LOGE(LNN_EVENT, "invoke failed=%{public}d", ans); in ServerIpcGetAllOnlineNodeInfo() 287 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_GET_LOCAL_DEVICE_INFO, &request, &reply, in ServerIpcGetLocalDeviceInfo() local 289 if (ans != SOFTBUS_OK) { in ServerIpcGetLocalDeviceInfo() 290 LNN_LOGE(LNN_EVENT, "invoke failed=%{public}d", ans); in ServerIpcGetLocalDeviceInfo() 326 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_GET_NODE_KEY_INFO, &request, &reply, in ServerIpcGetNodeKeyInfo() local 328 if (ans != SOFTBUS_OK) { in ServerIpcGetNodeKeyInfo() 329 LNN_LOGE(LNN_EVENT, "GetNodeKeyInfo invoke failed=%{public}d", ans); in ServerIpcGetNodeKeyInfo() 361 int32_t ans in ServerIpcSetNodeDataChangeFlag() local 429 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_JOIN_LNN, &request, NULL, NULL); ServerIpcJoinLNN() local 454 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_LEAVE_LNN, &request, NULL, NULL); ServerIpcLeaveLNN() local 482 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_START_TIME_SYNC, &request, NULL, NULL); ServerIpcStartTimeSync() local 508 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_STOP_TIME_SYNC, &request, NULL, NULL); ServerIpcStopTimeSync() local 544 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_PUBLISH_LNN, &request, &reply, ClientBusCenterResultCb); ServerIpcPublishLNN() local 570 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_STOP_PUBLISH_LNN, &request, NULL, NULL); ServerIpcStopPublishLNN() local 607 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_REFRESH_LNN, &request, &reply, ClientBusCenterResultCb); ServerIpcRefreshLNN() local 633 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_STOP_REFRESH_LNN, &request, NULL, NULL); ServerIpcStopRefreshLNN() local 659 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_ACTIVE_META_NODE, &request, &reply, ServerIpcActiveMetaNode() local 691 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_DEACTIVE_META_NODE, &request, ServerIpcDeactiveMetaNode() local 715 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_GET_ALL_META_NODE_INFO, &request, &reply, ServerIpcGetAllMetaNodeInfo() local 761 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_SHIFT_LNN_GEAR, &request, &reply, ServerIpcShiftLNNGear() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | source_map.cpp | 219 std::vector<int32_t> ans; in Init() local 220 if (!VlqRevCode(mapping, ans)) { in Init() 223 if (ans.size() == 0) { in Init() 227 if (ans.size() == 1) { in Init() 228 nowPos_.afterColumn += ans[AFTER_COLUMN]; in Init() 232 nowPos_.afterColumn += ans[AFTER_COLUMN]; in Init() 233 nowPos_.sourcesVal += ans[SOURCES_VAL]; in Init() 234 nowPos_.beforeRow += ans[BEFORE_ROW]; in Init() 235 nowPos_.beforeColumn += ans[BEFORE_COLUMN]; in Init() 236 if (ans in Init() 292 std::vector<int32_t> ans; MergeInit() local 373 VlqRevCode(const std::string& vStr, std::vector<int32_t>& ans) VlqRevCode() argument [all...] |
H A D | source_map.h | 65 static bool VlqRevCode(const std::string& vStr, std::vector<int32_t>& ans);
|
/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/ |
H A D | bus_center_client_proxy.c | 93 int32_t ans = SendRequest(svc, CLIENT_ON_JOIN_RESULT, &io, NULL, option, NULL); in ClientOnJoinLNNResult() local 94 if (ans != SOFTBUS_OK) { in ClientOnJoinLNNResult() 95 LNN_LOGE(LNN_EVENT, "SendRequest failed, ans=%{public}d", ans); in ClientOnJoinLNNResult() 121 int32_t ans = SendRequest(svc, CLIENT_ON_LEAVE_RESULT, &io, NULL, option, NULL); in ClientOnLeaveLNNResult() local 122 if (ans != SOFTBUS_OK) { in ClientOnLeaveLNNResult() 123 LNN_LOGE(LNN_EVENT, "SendRequest failed, ans=%{public}d", ans); in ClientOnLeaveLNNResult() 166 int32_t ans = SendRequest(svc[i], CLIENT_ON_NODE_ONLINE_STATE_CHANGED, &io, NULL, option, NULL); in ClinetOnNodeOnlineStateChanged() local 167 if (ans ! in ClinetOnNodeOnlineStateChanged() 214 int32_t ans = SendRequest(svc[i], CLIENT_ON_NODE_BASIC_INFO_CHANGED, &io, NULL, option, NULL); ClinetOnNodeBasicInfoChanged() local 248 int32_t ans = SendRequest(svc, CLIENT_ON_TIME_SYNC_RESULT, &io, NULL, option, NULL); ClientOnTimeSyncResult() local 278 int32_t ans = SendRequest(svc, CLIENT_ON_PUBLISH_LNN_RESULT, &io, NULL, option, NULL); ClientOnPublishLNNResult() local 308 int32_t ans = SendRequest(svc, CLIENT_ON_REFRESH_LNN_RESULT, &io, NULL, option, NULL); ClientOnRefreshLNNResult() local 338 int32_t ans = SendRequest(svc, CLIENT_ON_REFRESH_DEVICE_FOUND, &io, NULL, option, NULL); ClientOnRefreshDeviceFound() local [all...] |
/foundation/communication/dsoftbus/core/transmission/ipc/small/ |
H A D | trans_client_proxy.c | 50 int32_t ans = SendRequest(*svc, CLIENT_ON_CHANNEL_OPENED, io, &reply, option, &ptr); in OnUdpChannelOpenedAsServer() local 51 if (ans != SOFTBUS_OK) { in OnUdpChannelOpenedAsServer() 54 return ans; in OnUdpChannelOpenedAsServer() 104 int32_t ans = SendRequest(svc, CLIENT_ON_CHANNEL_OPENED, &io, NULL, option, NULL); in ClientIpcOnChannelOpened() local 105 if (ans != SOFTBUS_OK) { in ClientIpcOnChannelOpened() 108 return ans; in ClientIpcOnChannelOpened() 161 int32_t ans = SendRequest(svc, CLIENT_ON_CHANNEL_OPENFAILED, &io, NULL, option, NULL); in ClientIpcOnChannelOpenFailed() local 162 if (ans != SOFTBUS_OK) { in ClientIpcOnChannelOpenFailed() 165 return ans; in ClientIpcOnChannelOpenFailed() 191 int32_t ans in ClientIpcOnChannelLinkDown() local 221 int32_t ans = SendRequest(svc, CLIENT_ON_CHANNEL_CLOSED, &io, NULL, option, NULL); ClientIpcOnChannelClosed() local 257 int32_t ans = SendRequest(svc, CLIENT_ON_CHANNEL_MSGRECEIVED, &io, NULL, option, NULL); ClientIpcOnChannelMsgReceived() local [all...] |
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | form_render_dispatcher_impl_test.cpp | 377 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 378 EXPECT_EQ(ans, ERR_OK); in HWTEST_F() 396 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 397 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 416 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 417 EXPECT_EQ(ans, ERR_OK); in HWTEST_F() 441 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 442 EXPECT_EQ(ans, ERR_OK); in HWTEST_F() 461 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 462 EXPECT_EQ(ans, ERR_O in HWTEST_F() 487 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local 507 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local 528 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local 548 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local 578 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local 598 auto ans = renderDispatcher->OnRemoteRequest(code, data, reply, option); HWTEST_F() local [all...] |
H A D | form_render_delegate_impl_test.cpp | 245 auto ans = renderDelegate->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 246 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 267 auto ans = renderDelegate->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 268 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 291 auto ans = renderDelegate->OnRemoteRequest(code, data, reply, option); in HWTEST_F() local 292 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F()
|
/foundation/communication/ipc/ipc/test/ipc/client/ |
H A D | ipc_test_client.c | 76 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_ADD, &data, &ret, ServerAddCallback); in CallServerAdd() local 77 RPC_LOG_INFO("SERVER_OP_ADD callback ret=[%d] ans=[%d]", ret, ans); in CallServerAdd() 78 if (ans != 0) { in CallServerAdd() 108 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_MULTI, &data, &ret, ServerMultiCallback); in CallServerMulti() local 109 if (ans != 0) { in CallServerMulti() 139 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OP_SUB, &data, &ret, ServerSubCallback); in CallServerSub() local 140 if (ans != 0) { in CallServerSub()
|
/foundation/communication/dsoftbus/sdk/transmission/ipc/small/ |
H A D | trans_server_proxy.c | 144 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_CREATE_SESSION_SERVER, &request, &ret, ProxyCallback); in ServerIpcCreateSessionServer() local 145 if (ans != EC_SUCCESS) { in ServerIpcCreateSessionServer() 172 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_REMOVE_SESSION_SERVER, &request, &ret, ProxyCallback); in ServerIpcRemoveSessionServer() local 173 if (ans != EC_SUCCESS) { in ServerIpcRemoveSessionServer() 257 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OPEN_SESSION, &request, in ServerIpcOpenSession() local 259 if (ans != EC_SUCCESS) { in ServerIpcOpenSession() 288 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_OPEN_AUTH_SESSION, &request, &ret, ProxyCallback); in ServerIpcOpenAuthSession() local 289 if (ans != EC_SUCCESS) { in ServerIpcOpenAuthSession() 309 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_NOTIFY_AUTH_SUCCESS, &request, &ret, ProxyCallback); in ServerIpcNotifyAuthSuccess() local 310 if (ans ! in ServerIpcNotifyAuthSuccess() 330 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_RELEASE_RESOURCES, &request, &ret, ProxyCallback); ServerIpcReleaseResources() local 355 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_CLOSE_CHANNEL, &request, &ret, ProxyCallback); ServerIpcCloseChannel() local 399 int32_t ans = g_serverProxy->Invoke(g_serverProxy, SERVER_SESSION_SENDMSG, &request, &ret, ProxyCallback); ServerIpcSendMessage() local [all...] |
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 112 std::string ans = ""; in TranslateBySourceMap() local 162 ans = ans + temp + "\n"; in TranslateBySourceMap() 180 ans = ans + temp + "\n"; in TranslateBySourceMap() 182 if (ans.empty()) { in TranslateBySourceMap() 185 return ans; in TranslateBySourceMap() 266 std::vector<int32_t> ans; in ExtractSourceMapData() local 268 if (!VlqRevCode(mapping, ans)) { in ExtractSourceMapData() 271 if (ans in ExtractSourceMapData() 430 VlqRevCode(const std::string& vStr, std::vector<int32_t>& ans) VlqRevCode() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/ |
H A D | ams_app_mgr_client_test.cpp | 440 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); in HWTEST_F() local 441 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 455 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); in HWTEST_F() local 456 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 470 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE); in HWTEST_F() local 471 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 485 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_CRITICAL); in HWTEST_F() local 486 EXPECT_EQ(ans, ERR_INVALID_VALUE); in HWTEST_F() 500 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_LOW); in HWTEST_F() local 501 EXPECT_EQ(ans, ERR_INVALID_VALU in HWTEST_F() 515 auto ans = ret->NotifyMemoryLevel(MemoryLevel::MEMORY_LEVEL_MODERATE); HWTEST_F() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_parser.cpp | 290 bool ans = true; in ParseResourceInfoByResourceManager() local 294 ans = false; in ParseResourceInfoByResourceManager() 299 ans = false; in ParseResourceInfoByResourceManager() 302 return ans; in ParseResourceInfoByResourceManager() 458 bool ans = true; in ParseForegroundAndBackgroundResource() local 461 ans = false; in ParseForegroundAndBackgroundResource() 466 ans = false; in ParseForegroundAndBackgroundResource() 470 return ans; in ParseForegroundAndBackgroundResource() 485 bool ans = true; in ParserCloneResourceInfo() local 501 ans in ParserCloneResourceInfo() [all...] |
/foundation/ability/ability_runtime/test/unittest/deeplink_reserve_config_test/ |
H A D | deeplink_reserve_config_test.cpp | 99 auto ans = deepLinkReserveConfig.isLinkReserved(linkString, bundleName); in HWTEST_F() local 100 EXPECT_EQ(ans, true); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/video_processor/video_job_repository/ |
H A D | video_job_queue.cpp | 54 DeferredVideoJobPtr ans = heap_.front(); in Pop() local 56 indexMap_.erase(ans); in Pop() 60 return ans; in Pop()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_cloud_interfaces_relational_ext_test.cpp | 1075 std::map<int, int> ans; in HWTEST_F() local 1083 TaskHandle h1 = ConcurrentAdapter::ScheduleTaskH([this, &ans, &mutex, num]() { in HWTEST_F() 1087 ans.insert_or_assign(i, i); in HWTEST_F() 1090 }, nullptr, &ans); in HWTEST_F() 1096 TaskHandle h2 = ConcurrentAdapter::ScheduleTaskH([this, &ans, &mutex, num]() { in HWTEST_F() 1099 for (auto it = ans.begin(); it != ans.end();) { in HWTEST_F() 1100 it = ans.erase(it); in HWTEST_F() 1103 }, nullptr, &ans); in HWTEST_F() 1109 TaskHandle h3 = ConcurrentAdapter::ScheduleTaskH([this, &ans, in HWTEST_F() 1133 std::map<int, int> ans; HWTEST_F() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_unit_test.cpp | 430 // ans in HWTEST_F() 466 FieldPath ans; in HWTEST_F() local 467 EXPECT_EQ(SchemaUtils::ParseAndCheckFieldPath(iter.first, ans), E_OK); in HWTEST_F() 468 EXPECT_EQ(ans, iter.second); in HWTEST_F() 510 FieldPath ans; in HWTEST_F() local 511 EXPECT_EQ(SchemaUtils::ParseAndCheckFieldPath(iter, ans), -E_SCHEMA_PARSE_FAIL); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.cpp | 355 std::string ans; in TranslateRawStack() local 365 ans = ans + sourceInfo + "\n"; in TranslateRawStack() 367 if (ans.empty()) { in TranslateRawStack() 370 return ans; in TranslateRawStack() 378 std::string ans; in TranslateStack() local 423 ans = ans + temp + "\n"; in TranslateStack() 425 if (ans.empty()) { in TranslateStack() 428 return ans; in TranslateStack() 437 std::string ans; TranslateBySourceMap() local [all...] |
/foundation/arkui/ace_engine/test/unittest/bridge/common/sourcemap/ |
H A D | source_map_test.cpp | 359 std::vector<int32_t> ans; in HWTEST_F() local 360 bool ret = revSourceMap.VlqRevCode(vStr, ans); in HWTEST_F() 367 bool ret2 = revSourceMap.VlqRevCode(vStr2, ans); in HWTEST_F()
|
/foundation/multimedia/camera_lite/frameworks/binder/src/ |
H A D | camera_service_client.cpp | 326 uint32_t ans = proxy_->Invoke(proxy_, CAMERA_SERVER_CREATE_CAMERA, &io, para_, Callback); in CreateCamera() local 327 if (ans != 0) { in CreateCamera() 328 MEDIA_ERR_LOG("Create camera ipc transmission failed. (ret=%d)", ans); in CreateCamera()
|
H A D | camera_device_client.cpp | 282 uint32_t ans = proxy_->Invoke(proxy_, CAMERA_SERVER_SET_CAMERA_CALLBACK, &io, ¶, Callback); in SetCameraCallback() local 283 if (ans != 0) { in SetCameraCallback() 284 MEDIA_ERR_LOG("Stop Looping capture ipc transmission failed. (ret=%d)", ans); in SetCameraCallback()
|
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | source_map.h | 91 bool VlqRevCode(const std::string& vStr, std::vector<int32_t>& ans);
|