Home
last modified time | relevance | path

Searched refs:callerDeathRecipient_ (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dapp_file_access_ext_connection.cpp125 if (token != nullptr && callerDeathRecipient_ != nullptr) { in AddFileAccessDeathRecipient()
126 token->RemoveDeathRecipient(callerDeathRecipient_); in AddFileAccessDeathRecipient()
128 if (callerDeathRecipient_ == nullptr) { in AddFileAccessDeathRecipient()
129 callerDeathRecipient_ = in AddFileAccessDeathRecipient()
134 token->AddDeathRecipient(callerDeathRecipient_); in AddFileAccessDeathRecipient()
141 if (token != nullptr && callerDeathRecipient_ != nullptr) { in RemoveFileAccessDeathRecipient()
142 token->RemoveDeathRecipient(callerDeathRecipient_); in RemoveFileAccessDeathRecipient()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Ddata_ability_record.cpp204 if (client != nullptr && callerDeathRecipient_ != nullptr) { in AddClient()
205 client->RemoveDeathRecipient(callerDeathRecipient_); in AddClient()
207 if (callerDeathRecipient_ == nullptr) { in AddClient()
209callerDeathRecipient_ = new DataAbilityCallerRecipient([thisWeakPtr](const wptr<IRemoteObject> &re… in AddClient()
217 client->AddDeathRecipient(callerDeathRecipient_); in AddClient()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Ddata_ability_helper_impl.cpp78 if (token != nullptr && callerDeathRecipient_ != nullptr) { in AddDataAbilityDeathRecipient()
80 token->RemoveDeathRecipient(callerDeathRecipient_); in AddDataAbilityDeathRecipient()
82 if (callerDeathRecipient_ == nullptr) { in AddDataAbilityDeathRecipient()
84 callerDeathRecipient_ = in AddDataAbilityDeathRecipient()
93 if (token == nullptr || !token->AddDeathRecipient(callerDeathRecipient_)) { in AddDataAbilityDeathRecipient()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/
H A Dapp_file_access_ext_connection.h59 sptr<IRemoteObject::DeathRecipient> callerDeathRecipient_ = nullptr; variable
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Ddata_ability_record.h73 sptr<IRemoteObject::DeathRecipient> callerDeathRecipient_; // caller binderDied Recipient variable
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Ddata_ability_helper_impl.h323 …sptr<IRemoteObject::DeathRecipient> callerDeathRecipient_ = nullptr; // caller binderDied Recipie… variable
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Ddistributed_sched_service.h317 sptr<IRemoteObject::DeathRecipient> callerDeathRecipient_; variable
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Ddata_ability_helper_impl_test.cpp1469 dataAbilityHelperImpl->callerDeathRecipient_ = callerDeathRecipient;
1493 dataAbilityHelperImpl->callerDeathRecipient_ = callerDeathRecipient;
1516 dataAbilityHelperImpl->callerDeathRecipient_ = callerDeathRecipient;
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_service.cpp305 callerDeathRecipient_ = sptr<IRemoteObject::DeathRecipient>(new CallerDeathRecipient()); in Init()
1819 connect->AddDeathRecipient(callerDeathRecipient_); in StartAbilityByCallFromRemote()
1861 connect->RemoveDeathRecipient(callerDeathRecipient_); in ReleaseAbilityFromRemote()