/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | child_process_record.cpp | 42 const std::shared_ptr<AppRunningRecord> hostRecord, const sptr<IRemoteObject> &mainProcessCb, in ChildProcessRecord() 45 srcEntry_(libName), hostRecord_(hostRecord), mainProcessCb_(mainProcessCb), isStartWithDebug_(isStartWithDebug) in ChildProcessRecord() 71 const sptr<IRemoteObject> &mainProcessCb, int32_t childProcessCount, bool isStartWithDebug) in CreateNativeChildProcessRecord() 74 if (hostPid <= 0 || libName.empty() || !hostRecord || !mainProcessCb) { in CreateNativeChildProcessRecord() 78 return std::make_shared<ChildProcessRecord>(hostPid, libName, hostRecord, mainProcessCb, in CreateNativeChildProcessRecord() 41 ChildProcessRecord(pid_t hostPid, const std::string &libName, const std::shared_ptr<AppRunningRecord> hostRecord, const sptr<IRemoteObject> &mainProcessCb, int32_t childProcessCount, bool isStartWithDebug) ChildProcessRecord() argument 69 CreateNativeChildProcessRecord( pid_t hostPid, const std::string &libName, const std::shared_ptr<AppRunningRecord> hostRecord, const sptr<IRemoteObject> &mainProcessCb, int32_t childProcessCount, bool isStartWithDebug) CreateNativeChildProcessRecord() argument
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/ |
H A D | child_main_thread.h | 45 bool ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) override; 58 void HandleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb);
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | child_scheduler_interface.h | 39 * @param mainProcessCb Main process callback ipc object 41 virtual bool ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) = 0;
|
H A D | child_scheduler_proxy.h | 32 bool ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) override;
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | child_process_record.h | 38 const sptr<IRemoteObject> &mainProcessCb, int32_t childProcessCount, bool isStartWithDebug); 44 const std::shared_ptr<AppRunningRecord> hostRecord, const sptr<IRemoteObject> &mainProcessCb,
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | child_scheduler_proxy.cpp | 87 bool ChildSchedulerProxy::ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) in ScheduleRunNativeProc() argument 98 if (!data.WriteRemoteObject(mainProcessCb)) { in ScheduleRunNativeProc()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityinterfacesappmgrchildschedulerproxy_fuzzer/ |
H A D | abilityinterfacesappmgrchildschedulerproxy_fuzzer.cpp | 74 sptr<IRemoteObject> mainProcessCb; in DoSomethingInterestingWithMyAPI() local 75 infosProxy->ScheduleRunNativeProc(mainProcessCb); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | child_main_thread.cpp | 348 bool ChildMainThread::ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) in ScheduleRunNativeProc() argument 351 if (mainProcessCb == nullptr) { in ScheduleRunNativeProc() 361 auto task = [weak = wptr<ChildMainThread>(this), callback = sptr<IRemoteObject>(mainProcessCb)]() { in ScheduleRunNativeProc() 376 void ChildMainThread::HandleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) in HandleRunNativeProc() argument 385 childProcessMgr.LoadNativeLib(nativeLibModuleName_, processInfo_->srcEntry, mainProcessCb); in HandleRunNativeProc()
|
/foundation/ability/ability_runtime/test/unittest/appkit/child_main_thread_first_test/ |
H A D | child_main_thread_first_test.cpp | 187 sptr<IRemoteObject> mainProcessCb = nullptr; in HWTEST_F() local 189 childMainThread.HandleRunNativeProc(mainProcessCb); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/abilityinterfacesappmgrchildschedulerstub_fuzzer/ |
H A D | abilityinterfacesappmgrchildschedulerstub_fuzzer.cpp | 62 bool ScheduleRunNativeProc(const sptr<IRemoteObject> &mainProcessCb) override{ return true; };
|
/foundation/ability/ability_runtime/interfaces/inner_api/child_process_manager/include/ |
H A D | child_process_manager.h | 60 const sptr<IRemoteObject> &mainProcessCb);
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/child_process_manager/ |
H A D | child_process_manager.cpp | 295 const std::string &libPath, const sptr<IRemoteObject> &mainProcessCb) in LoadNativeLib() 307 processStartInfo->ipcObj = mainProcessCb; in LoadNativeLib() 294 LoadNativeLib(const std::string &moduleName, const std::string &libPath, const sptr<IRemoteObject> &mainProcessCb) LoadNativeLib() argument
|