Home
last modified time | relevance | path

Searched refs:svcIdentity_ (Results 1 - 24 of 24) sorted by relevance

/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_self_callback.cpp29 if (svcIdentity_ != nullptr) { in ~AbilitySelfCallback()
30 AdapterFree(svcIdentity_); in ~AbilitySelfCallback()
70 svcIdentity_ = reinterpret_cast<SvcIdentity *>(AdapterMalloc(sizeof(SvcIdentity))); in GenerateLocalServiceId()
71 if (svcIdentity_ == nullptr) { in GenerateLocalServiceId()
78 svcIdentity_->handle = IPC_INVALID_HANDLE; in GenerateLocalServiceId()
79 svcIdentity_->token = SERVICE_TYPE_ANONYMOUS; in GenerateLocalServiceId()
80 svcIdentity_->cookie = reinterpret_cast<uintptr_t>(&objectStub_); in GenerateLocalServiceId()
90 if (svcIdentity_ == nullptr) { in RegisterAbilitySelfCallback()
97 return svcIdentity_; in RegisterAbilitySelfCallback()
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_self_callback.cpp29 if (svcIdentity_ != nullptr) { in ~BundleSelfCallback()
30 AdapterFree(svcIdentity_); in ~BundleSelfCallback()
72 svcIdentity_ = reinterpret_cast<SvcIdentity *>(AdapterMalloc(sizeof(SvcIdentity))); in GenerateLocalServiceId()
73 if (svcIdentity_ == nullptr) { in GenerateLocalServiceId()
81 svcIdentity_->handle = IPC_INVALID_HANDLE; in GenerateLocalServiceId()
82 svcIdentity_->token = SERVICE_TYPE_ANONYMOUS; in GenerateLocalServiceId()
83 svcIdentity_->cookie = (uintptr_t)&objectStub_; in GenerateLocalServiceId()
92 if (svcIdentity_ == nullptr) { in RegisterBundleSelfCallback()
99 return svcIdentity_; in RegisterBundleSelfCallback()
H A Dbundle_callback.cpp31 if (svcIdentity_ != nullptr) { in ~BundleCallback()
32 TransmitServiceId(*svcIdentity_, false); in ~BundleCallback()
33 AdapterFree(svcIdentity_); in ~BundleCallback()
135 if (svcIdentity_ != nullptr) { in GenerateLocalServiceId()
138 svcIdentity_ = reinterpret_cast<SvcIdentity *>(AdapterMalloc(sizeof(SvcIdentity))); in GenerateLocalServiceId()
139 if (svcIdentity_ == nullptr) { in GenerateLocalServiceId()
147 svcIdentity_->handle = IPC_INVALID_HANDLE; in GenerateLocalServiceId()
148 svcIdentity_->token = SERVICE_TYPE_ANONYMOUS; in GenerateLocalServiceId()
149 svcIdentity_->cookie = (uintptr_t)&objectStub_; in GenerateLocalServiceId()
151 int32_t ret = TransmitServiceId(*svcIdentity_, tru in GenerateLocalServiceId()
[all...]
/foundation/distributedhardware/device_manager/common/include/ipc/model/
H A Dipc_register_listener_req.h36 return svcIdentity_; in GetSvcIdentity()
41 svcIdentity_ = svcIdentity; in SetSvcIdentity()
62 SvcIdentity svcIdentity_; member in OHOS::DistributedHardware::IpcRegisterListenerReq
/foundation/ability/ability_lite/services/abilitymgr_lite/src/client/
H A Dability_thread_client.cpp37 OnRemoteDead handler) : token_(token), pid_(pid), svcIdentity_(svcIdentity), deathHandler_(handler) in AbilityThreadClient()
42 : token_(client.token_), pid_(client.pid_), svcIdentity_(client.svcIdentity_), deathHandler_(client.deathHandler_) in AbilityThreadClient()
61 appInfo->svcIdentity = svcIdentity_; in Initialize()
62 if (AddDeathRecipient(svcIdentity_, deathHandler_, appInfo, &cbid_) != 0) { in Initialize()
84 return svcIdentity_; in GetSvcIdentity()
103 int32_t ret = SendRequest(svcIdentity_, SCHEDULER_ABILITY_LIFECYCLE, &req, in AbilityTransaction()
136 if (SendRequest(svcIdentity_, SCHEDULER_APP_INIT, &req, in AppInitTransaction()
150 if (SendRequest(svcIdentity_, SCHEDULER_APP_EXIT, nullptr, in AppExitTransaction()
170 if (SendRequest(svcIdentity_, SCHEDULER_ABILITY_CONNEC in ConnectAbility()
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundlems_client.cpp22 : svcIdentity_(svcIdentity) in BundleMsClient()
35 return SendRequest(svcIdentity_, BDS_CALLBACK, &request, nullptr, option, nullptr); in SendReply()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundlems_client.h30 SvcIdentity svcIdentity_ {};
/foundation/ai/ai_engine/services/server/communication_adapter/source/
H A Dsa_server_adapter.cpp91 svcIdentity_ = *svcIdentity; in SaveEngineListener()
96 ReleaseSvc(svcIdentity_); in ClearEngineListener()
101 return &svcIdentity_; in GetEngineListener()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_daemon_client.cpp125 svcIdentity_.handle = IPC_INVALID_HANDLE; in Initialize()
126 svcIdentity_.token = SERVICE_TYPE_ANONYMOUS; in Initialize()
127 svcIdentity_.cookie = (uintptr_t)&objectStub_; in Initialize()
192 bool writeRemote = WriteRemoteObject(&request, &svcIdentity_); in RegisterCallback()
H A Dbundle_manager_service.cpp115 return svcIdentity_; in GetServiceId()
270 for (auto it = svcIdentity_.begin(); it != svcIdentity_.end(); ++it) { in AddCallbackServiceId()
275 svcIdentity_.emplace_back(svc); in AddCallbackServiceId()
281 for (auto it = svcIdentity_.begin(); it != svcIdentity_.end(); ++it) { in RemoveCallbackServiceId()
283 svcIdentity_.erase(it); in RemoveCallbackServiceId()
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/include/
H A Dability_self_callback.h42 SvcIdentity *svcIdentity_ { nullptr };
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/
H A Dbundle_callback.h49 SvcIdentity *svcIdentity_ { nullptr };
H A Dbundle_self_callback.h43 SvcIdentity *svcIdentity_ { nullptr };
/foundation/ai/ai_engine/services/server/communication_adapter/include/
H A Dsa_server_adapter.h152 SvcIdentity svcIdentity_ = {}; member in OHOS::AI::SaServerAdapter
/foundation/ability/ability_lite/services/abilitymgr_lite/include/client/
H A Dability_thread_client.h59 const SvcIdentity svcIdentity_; member in OHOS::AbilityThreadClient
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_daemon_client.h54 SvcIdentity svcIdentity_ {};
H A Dbundle_manager_service.h88 std::vector<SvcIdentity> svcIdentity_; member in OHOS::ManagerService
/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_client_proxy.h59 SvcIdentity svcIdentity_ = { 0 }; member in OHOS::DHCP::DhcpClientProxy
H A Ddhcp_server_proxy.h65 SvcIdentity svcIdentity_ = { 0 }; member in OHOS::DHCP::DhcpServerProxy
H A Ddhcp_server_proxy_lite.cpp137 svcIdentity_ = SAMGR_GetRemoteIdentity(DHCP_SERVICE_LITE, DHCP_FEATRUE_SERVER); in Init()
138 result = AddDeathRecipient(svcIdentity_, OnRemoteSrvDied, nullptr, &deadId); in Init()
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_scan_proxy.h141 SvcIdentity svcIdentity_ = { 0 }; member in OHOS::Wifi::WifiScanProxy
H A Dwifi_scan_proxy_lite.cpp191 svcIdentity_ = SAMGR_GetRemoteIdentity(WIFI_SERVICE_LITE, WIFI_FEATRUE_SCAN); in Init()
192 result = AddDeathRecipient(svcIdentity_, OnRemoteSrvDied, nullptr, &deadId); in Init()
H A Dwifi_device_proxy.h571 SvcIdentity svcIdentity_ = { 0 }; member in OHOS::Wifi::WifiDeviceProxy
H A Dwifi_device_proxy_lite.cpp349 svcIdentity_ = SAMGR_GetRemoteIdentity(WIFI_SERVICE_LITE, WIFI_FEATURE_DEVICE); in Init()
350 result = AddDeathRecipient(svcIdentity_, OnRemoteSrvDied, nullptr, &deadId); in Init()

Completed in 11 milliseconds