Home
last modified time | relevance | path

Searched refs:callRecord (Results 1 - 22 of 22) sorted by relevance

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dcall_container.cpp61 void CallContainer::InsertCallRecordMap(sptr<IRemoteObject> object, std::shared_ptr<CallRecord> callRecord) in InsertCallRecordMap() argument
64 callRecordMap_.emplace(object, callRecord); in InsertCallRecordMap()
80 const std::shared_ptr<CallRecord>& callRecord) in AddCallRecord()
82 CHECK_POINTER(callRecord); in AddCallRecord()
92 callRecord->SetConCallBack(connect); in AddCallRecord()
93 InsertCallRecordMap(connect->AsObject(), callRecord); in AddCallRecord()
96 callRecord->GetTargetServiceName().GetURI().c_str()); in AddCallRecord()
137 std::shared_ptr<CallRecord> callRecord = FindCallRecordMap(object); in OnConnectionDied() local
142 auto task = [abilityManagerService, callRecord]() { in OnConnectionDied()
143 abilityManagerService->OnCallConnectDied(callRecord); in OnConnectionDied()
79 AddCallRecord(const sptr<IAbilityConnection> & connect, const std::shared_ptr<CallRecord>& callRecord) AddCallRecord() argument
154 std::shared_ptr<CallRecord> callRecord = iter.second; CallRequestDone() local
169 auto callRecord = iter.second; Dump() local
180 auto callRecord = iter.second; IsNeedToCallRequest() local
[all...]
H A Dcall_record.cpp48 auto callRecord = std::make_shared<CallRecord>(callerUid, targetService, connCallback, callToken); in CreateCallRecord() local
49 CHECK_POINTER_AND_RETURN(callRecord, nullptr); in CreateCallRecord()
50 callRecord->SetCallState(CallState::INIT); in CreateCallRecord()
51 return callRecord; in CreateCallRecord()
66 std::weak_ptr<CallRecord> callRecord = shared_from_this(); in SetCallStub() local
67 auto callStubDied = [wptr = callRecord] (const wptr<IRemoteObject> &remote) { in SetCallStub()
174 auto task = [abilityManagerService, callRecord = shared_from_this()]() { in OnCallStubDied()
175 abilityManagerService->OnCallConnectDied(callRecord); in OnCallStubDied()
H A Dability_record.cpp3084 std::shared_ptr<CallRecord> callRecord = callContainer_->GetCallRecord(callback); in Resolve() local
3085 if (!callRecord) { in Resolve()
3086 callRecord = CallRecord::CreateCallRecord( in Resolve()
3088 if (!callRecord) { in Resolve()
3094 callContainer_->AddCallRecord(callback, callRecord); in Resolve()
3096 if (callRecord->IsCallState(CallState::REQUESTED) && callRecord->GetCallStub()) { in Resolve()
3098 if (!callRecord->SchedulerConnectDone()) { in Resolve()
3105 callRecord->SetCallState(CallState::REQUESTING); in Resolve()
H A Dability_manager_service.cpp6475 void AbilityManagerService::OnCallConnectDied(std::shared_ptr<CallRecord> callRecord) in OnCallConnectDied() argument
6477 CHECK_POINTER(callRecord); in OnCallConnectDied()
6481 uiAbilityManager->OnCallConnectDied(callRecord); in OnCallConnectDied()
6486 missionListManager->OnCallConnectDied(callRecord); in OnCallConnectDied()
/foundation/ability/ability_runtime/test/fuzztest/applicationanrlistener_fuzzer/
H A Dapplicationanrlistener_fuzzer.cpp159 auto callRecord = std::make_shared<CallRecord>(int32Param, targetService, connect, token); in DoSomethingInterestingWithMyAPI() local
160 callRecord->CreateCallRecord(int32Param, targetService, connect, token); in DoSomethingInterestingWithMyAPI()
161 callRecord->SetCallStub(token); in DoSomethingInterestingWithMyAPI()
162 callRecord->GetCallStub(); in DoSomethingInterestingWithMyAPI()
163 callRecord->SetConCallBack(connect); in DoSomethingInterestingWithMyAPI()
164 callRecord->GetConCallBack(); in DoSomethingInterestingWithMyAPI()
165 callRecord->GetTargetServiceName(); in DoSomethingInterestingWithMyAPI()
166 callRecord->GetCallerToken(); in DoSomethingInterestingWithMyAPI()
167 callRecord->SchedulerConnectDone(); in DoSomethingInterestingWithMyAPI()
168 callRecord in DoSomethingInterestingWithMyAPI()
[all...]
/foundation/ability/ability_runtime/test/unittest/call_container_test/
H A Dcall_container_test.cpp79 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
82 callContainer->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
85 EXPECT_EQ(callRecord, getCallRecord); in HWTEST_F()
135 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
138 callContainer->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
215 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
218 callContainer->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
254 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
257 callRecord->SetCallState(CallState::INIT); in HWTEST_F()
258 callContainer->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
277 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( HWTEST_F() local
300 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( HWTEST_F() local
358 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_ut_test/
H A Dmission_list_manager_ut_test.cpp117 std::shared_ptr<CallRecord> callRecord = in HWTEST_F() local
123 callContainer->AddCallRecord(connCallback, callRecord); in HWTEST_F()
130 missionListMgr->OnCallConnectDied(callRecord); in HWTEST_F()
157 std::shared_ptr<CallRecord> callRecord = in HWTEST_F() local
163 callContainer->AddCallRecord(connCallback, callRecord); in HWTEST_F()
197 std::shared_ptr<CallRecord> callRecord = in HWTEST_F() local
212 missionListMgr->OnCallConnectDied(callRecord); in HWTEST_F()
268 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); in HWTEST_F() local
270 callRecord->connCallback_ = connCallback; in HWTEST_F()
271 callRecord in HWTEST_F()
314 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); HWTEST_F() local
433 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); HWTEST_F() local
468 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); HWTEST_F() local
505 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); HWTEST_F() local
571 std::shared_ptr<CallRecord> callRecord = std::make_shared<CallRecord>(0, abilityRecord, connCallback, nullptr); HWTEST_F() local
720 std::shared_ptr<CallRecord> callRecord = HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/call_record_test/
H A Dcall_record_test.cpp80 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
84 callRecord->SetCallStub(call); in HWTEST_F()
85 callRecord->SetConCallBack(abilityRequest.connect); in HWTEST_F()
86 EXPECT_FALSE(callRecord->SchedulerConnectDone()); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/ability_record_test/
H A Dability_record_test_call.cpp177 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
180 callRecord->SetCallState(CallState::REQUESTING); in HWTEST_F()
182 abilityRecord_->callContainer_->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
195 callRecord->SetCallState(CallState::REQUESTED); in HWTEST_F()
245 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
249 abilityRecord_->callContainer_->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
416 std::shared_ptr<CallRecord> callRecord = CallRecord::CreateCallRecord( in HWTEST_F() local
419 callRecord->SetCallState(CallState::INIT); in HWTEST_F()
422 abilityRecord_->callContainer_->AddCallRecord(abilityRequest.connect, callRecord); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerserviceeighth_fuzzer/
H A Dabilitymanagerserviceeighth_fuzzer.cpp60 std::shared_ptr<CallRecord> callRecord; in DoSomethingInterestingWithMyAPI() local
61 abilityms->OnCallConnectDied(callRecord); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dcall_container.h44 void AddCallRecord(const sptr<IAbilityConnection> &connect, const std::shared_ptr<CallRecord> &callRecord);
49 void InsertCallRecordMap(sptr<IRemoteObject> object, std::shared_ptr<CallRecord> callRecord);
H A Dability_manager_service.h998 void OnCallConnectDied(std::shared_ptr<CallRecord> callRecord);
/foundation/ability/ability_runtime/test/fuzztest/uiabilitylifecyclemanagera_fuzzer/
H A Duiabilitylifecyclemanagera_fuzzer.cpp86 std::shared_ptr<CallRecord> callRecord; in DoSomethingInterestingWithMyAPI1() local
87 uIAbilityLifecycleManager->OnCallConnectDied(callRecord); in DoSomethingInterestingWithMyAPI1()
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagersecond_fuzzer/
H A Dmissionlistmanagersecond_fuzzer.cpp155 std::shared_ptr<CallRecord> callRecord; in DoSomethingInterestingWithMyAPI() local
156 missionListManager->OnCallConnectDied(callRecord); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/fuzztest/missionlistmanagerfirst_fuzzer/
H A Dmissionlistmanagerfirst_fuzzer.cpp265 auto callRecord = std::make_shared<CallRecord>(int32Param, abilityRecord, nullptr, abilityRecord->GetToken()); in DoSomethingTestWithMyAPI4() local
266 missionListMgr->OnCallConnectDied(callRecord); in DoSomethingTestWithMyAPI4()
/foundation/ability/ability_runtime/services/abilitymgr/include/mission/
H A Dmission_list_manager_interface.h71 virtual void OnCallConnectDied(const std::shared_ptr<CallRecord> &callRecord) = 0;
H A Dmission_list_manager.h234 * @param callRecord the died call connection
236 void OnCallConnectDied(const std::shared_ptr<CallRecord> &callRecord) override;
/foundation/ability/ability_runtime/services/abilitymgr/include/scene_board/
H A Dui_ability_lifecycle_manager.h261 * @param callRecord the died call connection
263 void OnCallConnectDied(const std::shared_ptr<CallRecord> &callRecord);
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/
H A Dui_ability_lifecycle_manager.cpp1975 void UIAbilityLifecycleManager::OnCallConnectDied(const std::shared_ptr<CallRecord> &callRecord) in OnCallConnectDied() argument
1979 CHECK_POINTER(callRecord); in OnCallConnectDied()
1982 AppExecFwk::ElementName element = callRecord->GetTargetServiceName(); in OnCallConnectDied()
1984 auto isExist = [callRecord] (const std::shared_ptr<AbilityRecord> &abilityRecord) { in OnCallConnectDied()
1985 return abilityRecord->IsExistConnection(callRecord->GetConCallBack()); in OnCallConnectDied()
1994 abilityRecord->ReleaseCall(callRecord->GetConCallBack()); in OnCallConnectDied()
/foundation/ability/ability_runtime/services/abilitymgr/src/mission/
H A Dmission_list_manager.cpp3542 void MissionListManager::OnCallConnectDied(const std::shared_ptr<CallRecord> &callRecord) in OnCallConnectDied() argument
3545 CHECK_POINTER(callRecord); in OnCallConnectDied()
3548 AppExecFwk::ElementName element = callRecord->GetTargetServiceName(); in OnCallConnectDied()
3550 auto isExist = [callRecord] (const std::shared_ptr<AbilityRecord> &abilityRecord) { in OnCallConnectDied()
3551 return abilityRecord->IsExistConnection(callRecord->GetConCallBack()); in OnCallConnectDied()
3560 abilityRecord->ReleaseCall(callRecord->GetConCallBack()); in OnCallConnectDied()
/foundation/ability/ability_runtime/test/unittest/ui_ability_lifecycle_manager_test/
H A Dui_ability_lifecycle_manager_test.cpp2819 std::shared_ptr<CallRecord> callRecord = nullptr; in HWTEST_F() local
2820 uiAbilityLifecycleManager->OnCallConnectDied(callRecord); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_inner.cpp2778 auto callRecord = GetAppRunningRecordByAbilityToken(callerToken); in AttachPidToParent() local
2779 if (callRecord == nullptr) { in AttachPidToParent()
2780 TAG_LOGE(AAFwkTag::APPMGR, "callRecord null"); in AttachPidToParent()
2787 appRecord->SetParentAppRecord(callRecord); in AttachPidToParent()
2788 callRecord->AddChildAppRecord(pid, appRecord); in AttachPidToParent()

Completed in 69 milliseconds