Home
last modified time | relevance | path

Searched refs:RESULT_OK (Results 1 - 25 of 29) sorted by relevance

12

/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/
H A Dapp_mgr_client.cpp45 return AppMgrResultCode::RESULT_OK; in LoadAbility()
50 return AppMgrResultCode::RESULT_OK; in TerminateAbility()
55 return AppMgrResultCode::RESULT_OK; in UpdateAbilityState()
60 return AppMgrResultCode::RESULT_OK; in RegisterAppStateCallback()
65 return AppMgrResultCode::RESULT_OK; in KillProcessByAbilityToken()
70 return AppMgrResultCode::RESULT_OK; in KillProcessesByUserId()
76 return AppMgrResultCode::RESULT_OK; in KillApplication()
81 return AppMgrResultCode::RESULT_OK; in ClearUpApplicationData()
86 return AppMgrResultCode::RESULT_OK; in GetAllRunningProcesses()
91 return AppMgrResultCode::RESULT_OK; in GetAllRenderProcesses()
[all...]
/foundation/ability/ability_runtime/test/moduletest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp72 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
76 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
97 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
101 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
120 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
124 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
133 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
152 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
156 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
160 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/app_mgr_client_test/
H A Dapp_mgr_client_test.cpp103 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
123 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
126 EXPECT_EQ(ret, AppMgrResultCode::RESULT_OK); in HWTEST_F()
179 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
198 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
217 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
245 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
262 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
284 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
301 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp87 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); in HWTEST_F()
93 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
100 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
116 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); in HWTEST_F()
134 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->LoadAbility(abilityInfo, appInfo, want, loadParam)); in HWTEST_F()
171 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); in HWTEST_F()
180 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->TerminateAbility(token_, false)); in HWTEST_F()
210 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->ConnectAppMgrService()); in HWTEST_F()
220 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client_->UpdateAbilityState(token_, state)); in HWTEST_F()
251 EXPECT_EQ(AppMgrResultCode::RESULT_OK, client in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/os_account_manager_wrapper_test/
H A Dos_account_manager_wrapper_test.cpp29 const int32_t RESULT_OK = 0; member
62 EXPECT_EQ(ret, RESULT_OK); in HWTEST_F()
74 EXPECT_EQ(ret, RESULT_OK); in HWTEST_F()
100 EXPECT_EQ(ret, RESULT_OK); in HWTEST_F()
113 EXPECT_EQ(ret, RESULT_OK); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/mock/src/
H A Dmock_app_mgr_client.cpp36 return AppMgrResultCode::RESULT_OK; in GetProcessRunningInfosByUserId()
41 return AppMgrResultCode::RESULT_OK; in ConnectAppMgrService()
46 return AppMgrResultCode::RESULT_OK; in RegisterAppStateCallback()
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp42 static const int RESULT_OK = 0; member
78 if (GetRootPath(rootDir) != RESULT_OK) { in ClearTempData()
88 if (self->GetObsoleteBundleTempPath(rootDir, temps) != RESULT_OK) { in ClearTempData()
138 if (instance->GetOsAccountLocalIdFromProcess(userId) != RESULT_OK) { in GetRootPath()
159 return RESULT_OK; in GetRootPath()
179 return RESULT_OK; in GetObsoleteBundleTempPath()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/connect_adapter/src/
H A Dconnect.cpp21 const int RESULT_OK = 0; variable
36 if (resultCode != RESULT_OK) { in OnAbilityConnectDone()
50 if (resultCode != RESULT_OK) { in OnAbilityDisconnectDone()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dexception_handler.cpp32 if (result != AppExecFwk::AppMgrResultCode::RESULT_OK) { in KillApplicationByUid()
37 if (ret != AppExecFwk::AppMgrResultCode::RESULT_OK) { in KillApplicationByUid()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_mgr_client.cpp82 return AppMgrResultCode::RESULT_OK; in ConnectAppMgrServiceInner()
101 return AppMgrResultCode::RESULT_OK; in ConnectAppMgrServiceInner()
150 return AppMgrResultCode::RESULT_OK; in LoadAbility()
163 return AppMgrResultCode::RESULT_OK; in TerminateAbility()
176 return AppMgrResultCode::RESULT_OK; in UpdateAbilityState()
189 return AppMgrResultCode::RESULT_OK; in UpdateExtensionState()
202 return AppMgrResultCode::RESULT_OK; in RegisterAppStateCallback()
215 return AppMgrResultCode::RESULT_OK; in KillProcessByAbilityToken()
228 return AppMgrResultCode::RESULT_OK; in KillProcessesByUserId()
241 return AppMgrResultCode::RESULT_OK; in KillProcessesByPids()
[all...]
/foundation/multimedia/av_session/services/session/adapter/
H A Dapp_manager_adapter.cpp56 if (appManager_.RegisterAppStateCallback(appStateCallback_) != AppMgrResultCode::RESULT_OK) { in Init()
69 if (appManager_.GetAllRunningProcesses(infos) != AppMgrResultCode::RESULT_OK) { in IsAppBackground()
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/include/
H A Dmock_app_mgr_client.h37 return AppMgrResultCode::RESULT_OK; in LoadAbility()
/foundation/ability/ability_runtime/test/fuzztest/killapplicationself_fuzzer/
H A Dkillapplicationself_fuzzer.cpp41 if (appMgrClient->KillApplicationSelf() != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/frameworks/js/napi/js_dialog_request/
H A Djs_dialog_request.cpp30 constexpr int32_t RESULT_OK = 0; member
49 napi_set_named_property(env, objValue, "RESULT_OK", CreateJsValue(env, RESULT_OK)); in ResultCodeInit()
/foundation/ability/ability_runtime/test/fuzztest/killapplication_fuzzer/
H A Dkillapplication_fuzzer.cpp44 if (appMgrClient->KillApplication(bundleName) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_constants.h70 RESULT_OK = 0, enumerator
/foundation/ability/ability_runtime/test/fuzztest/killprocessesbyuserid_fuzzer/
H A Dkillprocessesbyuserid_fuzzer.cpp48 if (appMgrClient->KillProcessesByUserId(userId) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_core.cpp57 while (connectResult != AppMgrResultCode::RESULT_OK && count <= MAX_RETRY_TIMES) { in Init()
62 if (count > MAX_RETRY_TIMES && connectResult != AppMgrResultCode::RESULT_OK) { in Init()
/foundation/ability/ability_runtime/test/fuzztest/updateabilitystate_fuzzer/
H A Dupdateabilitystate_fuzzer.cpp63 if (appMgrClient->UpdateAbilityState(token, state) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/updateextensionstate_fuzzer/
H A Dupdateextensionstate_fuzzer.cpp63 if (appMgrClient->UpdateExtensionState(token, state) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/killprocessbyabilitytoken_fuzzer/
H A Dkillprocessbyabilitytoken_fuzzer.cpp61 if (appMgrClient->KillProcessByAbilityToken(token) != AppMgrResultCode::RESULT_OK) { in DoSomethingInterestingWithMyAPI()
/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/
H A Ddm_adapter.h34 static constexpr size_t RESULT_OK = 0; member in OHOS::MiscServices::DMAdapter
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/
H A Dapp_scheduler_test.cpp533 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
619 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
656 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
823 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
865 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
905 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
941 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
977 .WillOnce(Return(AppMgrResultCode::RESULT_OK)); in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/ability_manager_service_dump_test/
H A Dability_manager_service_dump_test.cpp70 EXPECT_EQ(result, AppMgrResultCode::RESULT_OK); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_unmarshal_thread.cpp265 return res == AppExecFwk::RESULT_OK; in ReportTransactionDataStatistics()

Completed in 11 milliseconds

12