Home
last modified time | relevance | path

Searched refs:sharedFd (Results 1 - 25 of 27) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_stream_installer_proxy.cpp61 int32_t sharedFd = reply.ReadFileDescriptor(); in CreateStream() local
62 if (sharedFd < 0) { in CreateStream()
67 fd = dup(sharedFd); in CreateStream()
68 close(sharedFd); in CreateStream()
102 int32_t sharedFd = reply.ReadFileDescriptor(); in CreateSignatureFileStream() local
103 if (sharedFd < 0) { in CreateSignatureFileStream()
108 fd = dup(sharedFd); in CreateSignatureFileStream()
109 close(sharedFd); in CreateSignatureFileStream()
143 int32_t sharedFd = reply.ReadFileDescriptor(); in CreateSharedBundleStream() local
144 if (sharedFd < in CreateSharedBundleStream()
184 int32_t sharedFd = reply.ReadFileDescriptor(); CreatePgoFileStream() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Drender_scheduler_proxy.cpp37 void RenderSchedulerProxy::NotifyBrowserFd(int32_t ipcFd, int32_t sharedFd, in NotifyBrowserFd() argument
48 if (!data.WriteFileDescriptor(ipcFd) || !data.WriteFileDescriptor(sharedFd) || in NotifyBrowserFd()
50 TAG_LOGE(AAFwkTag::APPMGR, "want fd failed, ipcFd:%{public}d, sharedFd:%{public}d, " in NotifyBrowserFd()
51 "crashFd:%{public}d", ipcFd, sharedFd, crashFd); in NotifyBrowserFd()
H A Drender_scheduler_host.cpp50 int32_t sharedFd = data.ReadFileDescriptor(); in HandleNotifyBrowserFd() local
53 NotifyBrowserFd(ipcFd, sharedFd, crashFd, browser); in HandleNotifyBrowserFd()
H A Dapp_mgr_proxy.cpp772 int32_t ipcFd, int32_t sharedFd, in StartRenderProcess()
775 if (renderParam.empty() || ipcFd <= 0 || sharedFd <= 0 || crashFd <= 0) { in StartRenderProcess()
777 "sharedFd:%{public}d, crashFd:%{public}d", renderParam.c_str(), ipcFd, sharedFd, crashFd); in StartRenderProcess()
794 if (!data.WriteFileDescriptor(ipcFd) || !data.WriteFileDescriptor(sharedFd) || in StartRenderProcess()
796 TAG_LOGE(AAFwkTag::APPMGR, "want fd failed, ipcFd:%{public}d, sharedFd:%{public}d, " in StartRenderProcess()
797 "crashFd:%{public}d", ipcFd, sharedFd, crashFd); in StartRenderProcess()
771 StartRenderProcess(const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, int32_t crashFd, pid_t &renderPid, bool isGPU) StartRenderProcess() argument
H A Dapp_mgr_stub.cpp876 int32_t sharedFd = data.ReadFileDescriptor(); in HandleStartRenderProcess() local
881 StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid, isGPU); in HandleStartRenderProcess()
H A Dapp_mgr_client.cpp842 int32_t ipcFd, int32_t sharedFd, in StartRenderProcess()
847 return service->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, in StartRenderProcess()
841 StartRenderProcess(const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, int32_t crashFd, pid_t &renderPid, bool isGPU) StartRenderProcess() argument
/foundation/ability/ability_runtime/test/fuzztest/startrenderprocess_fuzzer/
H A Dstartrenderprocess_fuzzer.cpp45 int32_t sharedFd = 100; in DoSomethingInterestingWithMyAPI() local
49 if (appMgrClient->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dirender_scheduler.h35 * @param sharedFd, shared memory file descriptor.
38 virtual void NotifyBrowserFd(int32_t ipcFd, int32_t sharedFd,
H A Drender_scheduler_proxy.h39 * @param sharedFd, shared memory file descriptor.
42 virtual void NotifyBrowserFd(int32_t ipcFd, int32_t sharedFd,
H A Dapp_mgr_interface.h378 * @param sharedFd, shared memory file descriptor.
385 int32_t ipcFd, int32_t sharedFd,
H A Dapp_mgr_client.h484 * @param sharedFd, shared memory file descriptor.
490 int32_t ipcFd, int32_t sharedFd,
H A Dapp_mgr_proxy.h356 * @param sharedFd, shared memory file descriptor.
363 int32_t ipcFd, int32_t sharedFd,
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_render_scheduler.h30 void(int32_t ipcFd, int32_t sharedFd, int32_t crashFd, sptr<IRemoteObject> browser));
/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/
H A Dappmgrservicefirst_fuzzer.cpp91 int32_t sharedFd = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
94 appMgrService->StartRenderProcess(renderParam, ipcFd, sharedFd, crashFd, renderPid); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/unittest/app_mgr_event_test/
H A Dapp_mgr_event_test.cpp292 int32_t sharedFd = 1; in HWTEST_F() local
295 RenderRecord::CreateRenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, hostRecord); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_running_record.h75 int32_t sharedFd, int32_t crashFd,
82 int32_t ipcFd, int32_t sharedFd, int32_t crashFd,
H A Dapp_mgr_service.h376 * @param sharedFd, shared memory file descriptor.
383 int32_t ipcFd, int32_t sharedFd,
H A Dapp_mgr_service_inner.h822 int32_t ipcFd, int32_t sharedFd,
/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/
H A Dams_app_running_record_test.cpp449 int32_t sharedFd = 1; in HWTEST_F() local
453 RenderRecord::CreateRenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, host); in HWTEST_F()
1926 int32_t sharedFd = 0; in HWTEST_F() local
1930 new RenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, host); in HWTEST_F()
1951 int32_t sharedFd = 0; in HWTEST_F() local
1964 RenderRecord::CreateRenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, host); in HWTEST_F()
1967 renderRecord = RenderRecord::CreateRenderRecord(hostPid1, renderParam, ipcFd, sharedFd, crashFd, host); in HWTEST_F()
1969 renderRecord = RenderRecord::CreateRenderRecord(hostPid1, renderParam1, ipcFd, sharedFd, crashFd, host); in HWTEST_F()
1971 renderRecord = RenderRecord::CreateRenderRecord(hostPid1, renderParam1, ipcFd1, sharedFd, crashFd, host); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_running_record.cpp50 int32_t ipcFd, int32_t sharedFd, int32_t crashFd, in RenderRecord()
53 sharedFd_(sharedFd), crashFd_(crashFd), host_(host) {} in RenderRecord()
64 int32_t sharedFd, int32_t crashFd, in CreateRenderRecord()
67 if (hostPid <= 0 || renderParam.empty() || ipcFd <= 0 || sharedFd <= 0 || in CreateRenderRecord()
73 hostPid, renderParam, ipcFd, sharedFd, crashFd, host); in CreateRenderRecord()
49 RenderRecord(pid_t hostPid, const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, int32_t crashFd, const std::shared_ptr<AppRunningRecord> &host) RenderRecord() argument
62 CreateRenderRecord( pid_t hostPid, const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, int32_t crashFd, const std::shared_ptr<AppRunningRecord> &host) CreateRenderRecord() argument
H A Dapp_mgr_service.cpp970 int32_t sharedFd, int32_t crashFd, pid_t &renderPid, bool isGPU) in StartRenderProcess()
978 renderParam, ipcFd, sharedFd, crashFd, renderPid, isGPU); in StartRenderProcess()
969 StartRenderProcess(const std::string &renderParam, int32_t ipcFd, int32_t sharedFd, int32_t crashFd, pid_t &renderPid, bool isGPU) StartRenderProcess() argument
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/
H A Dapp_mgr_service_test.cpp752 int32_t sharedFd = 1; in HWTEST_F() local
757 renderParam, ipcFd, sharedFd, crashFd, renderPid); in HWTEST_F()
774 int32_t sharedFd = 1; in HWTEST_F() local
781 renderParam, ipcFd, sharedFd, crashFd, renderPid); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h56 int32_t sharedFd, int32_t crashFd, pid_t &renderPid, bool isGPU));
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_tdd_test/
H A Dapp_mgr_service_inner_tdd_test.cpp538 int32_t sharedFd = 1; in HWTEST_F() local
541 RenderRecord::CreateRenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, appRecord); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/
H A Dapp_mgr_service_inner_second_test.cpp2441 int32_t sharedFd = 1; in HWTEST_F() local
2448 RenderRecord::CreateRenderRecord(hostPid, renderParam, ipcFd, sharedFd, crashFd, hostRecord); in HWTEST_F()

Completed in 38 milliseconds

12