Home
last modified time | relevance | path

Searched refs:OnAcquireState (Results 1 - 23 of 23) sorted by relevance

/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_host_interface.h62 virtual void OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want) = 0;
H A Dform_host_proxy.h61 virtual void OnAcquireState(FormState state, const AAFwk::Want &want) override;
/foundation/ability/form_fwk/test/mock/src/
H A Dmock_form_host_client.cpp63 void MockFormHostClient::OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want) in OnAcquireState() function in OHOS::AppExecFwk::MockFormHostClient
65 HILOG_DEBUG("MockFormHostClient OnAcquireState"); in OnAcquireState()
/foundation/ability/form_fwk/services/include/
H A Dform_host_callback.h70 void OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want, const sptr<IRemoteObject> &callerToken);
H A Dform_host_record.h129 void OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_host_client.h83 void OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want) override;
/foundation/ability/form_fwk/test/unittest/fms_form_host_callback_test/
H A Dfms_form_host_callback_test.cpp135 * @tc.desc: test OnAcquireState function callerToken is nullptr
145 formHostCallback.OnAcquireState(state, want, callerToken); in HWTEST_F()
151 * @tc.desc: test OnAcquireState function callerToken is not nullptr
161 formHostCallback.OnAcquireState(state, want, callerToken); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_host_record.cpp193 void FormHostRecord::OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want) in OnAcquireState() function in OHOS::AppExecFwk::FormHostRecord
200 formHostCallback_->OnAcquireState(state, want, formHostClient_); in OnAcquireState()
H A Dform_host_callback.cpp103 void FormHostCallback::OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want, in OnAcquireState() function in OHOS::AppExecFwk::FormHostCallback
H A Dform_task_mgr.cpp735 remoteFormHost->OnAcquireState(state, want); in AcquireStateBack()
H A Dform_data_mgr.cpp1498 iter->second.OnAcquireState(state, want); in AcquireFormStateBack()
/foundation/ability/form_fwk/test/fuzztest/formhoststub_fuzzer/
H A Dformhoststub_fuzzer.cpp41 void OnAcquireState(AppExecFwk::FormState state, const AAFwk::Want &want) override
/foundation/ability/form_fwk/test/unittest/fms_form_host_proxy_test/
H A Dfms_form_host_proxy_test.cpp202 * @tc.desc: test OnAcquireState function
216 proxy->OnAcquireState(state, want); in HWTEST_F()
222 * @tc.desc: test OnAcquireState function
237 proxy->OnAcquireState(state, want); in HWTEST_F()
243 * @tc.desc: test OnAcquireState function
258 proxy->OnAcquireState(state, want); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_host_client.h127 void OnAcquireState(FormState state, const AAFwk::Want &want) override;
/foundation/ability/form_fwk/test/fuzztest/formfreeinstalloperator_fuzzer/
H A Dformfreeinstalloperator_fuzzer.cpp58 formHostCallback.OnAcquireState(state, wants, callerToken); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formhostrecord_fuzzer/
H A Dformhostrecord_fuzzer.cpp60 formHostRecord.OnAcquireState(state, want); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_host_stub.cpp134 * @brief handle OnAcquireState message.
150 OnAcquireState(state, *want); in HandleOnAcquireState()
H A Dform_host_proxy.cpp122 void FormHostProxy::OnAcquireState(FormState state, const AAFwk::Want &want) in OnAcquireState() function in OHOS::AppExecFwk::FormHostProxy
/foundation/ability/form_fwk/test/unittest/fms_form_host_client_test/
H A Dfms_form_host_client_test.cpp132 formHostClient->OnAcquireState(FormState::DEFAULT, want); in HWTEST_F()
155 // FormStateCallbackTest will not be called while OnAcquireState, and state does not change. in HWTEST_F()
156 formHostClient->OnAcquireState(FormState::DEFAULT, want); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_host_client.cpp253 void FormHostClient::OnAcquireState(FormState state, const AAFwk::Want &want) in OnAcquireState() function in OHOS::AppExecFwk::FormHostClient
/foundation/ability/form_fwk/frameworks/js/napi/formHost/
H A Dnapi_form_host.cpp405 // asyncCallbackInfo will be freed in OnAcquireState, so save the member variable asyncWork. in AcquireFormStateCallback()
407 // When the result is not ERR_OK, OnAcquireState will be called here, in AcquireFormStateCallback()
408 // else OnAcquireState will be called after the form state is acquired. in AcquireFormStateCallback()
410 FormHostClient::GetInstance()->OnAcquireState(FormState::UNKNOWN, asyncCallbackInfo->want); in AcquireFormStateCallback()
442 // asyncCallbackInfo will be freed in OnAcquireState, so save the member variable asyncWork. in AcquireFormStatePromise()
444 // When the result is not ERR_OK, OnAcquireState will be called here, in AcquireFormStatePromise()
445 // else OnAcquireState will be called after the form state is acquired. in AcquireFormStatePromise()
447 FormHostClient::GetInstance()->OnAcquireState(FormState::UNKNOWN, asyncCallbackInfo->want); in AcquireFormStatePromise()
/foundation/ability/form_fwk/test/unittest/fms_form_refresh_connection_test/
H A Dfms_form_refresh_connection_test.cpp413 * @tc.desc: test OnAcquireState function.
424 formHostRecord->OnAcquireState(state, want); in HWTEST_F()
/foundation/ability/form_fwk/test/unittest/fms_form_share_mgr_test/
H A Dfms_form_share_mgr_test.cpp114 MOCK_METHOD2(OnAcquireState, void(AppExecFwk::FormState state, const AAFwk::Want &want));

Completed in 34 milliseconds