Home
last modified time | relevance | path

Searched refs:remoteName (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/c/
H A Dc_client_proxy_code_emitter.cpp214 std::string remoteName = "remote"; in EmitProxyCallMethodImpl() local
215 sb.Append(TAB).AppendFormat("struct HdfRemoteService *%s = self->AsObject(self);\n", remoteName.c_str()); in EmitProxyCallMethodImpl()
216 sb.Append(TAB).AppendFormat("if (%s == NULL ||\n", remoteName.c_str()); in EmitProxyCallMethodImpl()
217 sb.Append(TAB).Append(TAB).AppendFormat("%s->dispatcher == NULL ||\n", remoteName.c_str()); in EmitProxyCallMethodImpl()
218 sb.Append(TAB).Append(TAB).AppendFormat("%s->dispatcher->Dispatch == NULL ||\n", remoteName.c_str()); in EmitProxyCallMethodImpl()
219 sb.Append(TAB).Append(TAB).AppendFormat("%s->dispatcher->DispatchAsync == NULL) {\n", remoteName.c_str()); in EmitProxyCallMethodImpl()
226 "return %s->dispatcher->DispatchAsync(%s, id, data, reply);\n", remoteName.c_str(), remoteName.c_str()); in EmitProxyCallMethodImpl()
229 "return %s->dispatcher->Dispatch(%s, id, data, reply);\n", remoteName.c_str(), remoteName in EmitProxyCallMethodImpl()
241 std::string remoteName = "serv"; EmitProxyKernelCallMethodImpl() local
511 std::string remoteName = "serv"; EmitKernelProxyExternalMethodImpl() local
529 EmitKernelProxyGetInstanceMethodImpl(const std::string &remoteName, StringBuilder &sb) const EmitKernelProxyGetInstanceMethodImpl() argument
550 EmitKernelProxyReleaseMethodImpl( const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) const EmitKernelProxyReleaseMethodImpl() argument
569 std::string remoteName = "remote"; EmitSerialProxyExternalMethodImpl() local
581 EmitIfaceProxyGetMethodImpl(const std::string &serMajorName, const std::string &serMinorName, const std::string &remoteName, StringBuilder &sb) EmitIfaceProxyGetMethodImpl() argument
602 EmitIfaceProxyReleaseMethodImpl( const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) const EmitIfaceProxyReleaseMethodImpl() argument
629 EmitCbProxyReleaseMethodImpl(const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) const EmitCbProxyReleaseMethodImpl() argument
646 std::string remoteName = "remote"; EmitProxyExternalMethod() local
667 EmitProxyGetInstanceMethodImpl(const std::string &remoteName, const std::string &serviceName, StringBuilder &sb) const EmitProxyGetInstanceMethodImpl() argument
691 EmitProxyGetRemoteService(const std::string &remoteName, const std::string &serviceName, StringBuilder &sb, const std::string &prefix) const EmitProxyGetRemoteService() argument
717 EmitProxySetInterfaceDesc(const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb, const std::string &prefix) const EmitProxySetInterfaceDesc() argument
728 EmitProxyCreateProxyObject(const std::string &clientObjName, const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb, const std::string &prefix) const EmitProxyCreateProxyObject() argument
794 EmitProxyReleaseInstanceMethodImpl(const std::string &serviceName, const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) EmitProxyReleaseInstanceMethodImpl() argument
[all...]
H A Dc_client_proxy_code_emitter.h89 void EmitKernelProxyGetInstanceMethodImpl(const std::string &remoteName, StringBuilder &sb) const;
92 void EmitKernelProxyReleaseMethodImpl(const std::string &remoteName, const std::string &recycleFuncName,
99 const std::string &remoteName, StringBuilder &sb);
103 const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) const;
106 const std::string &remoteName, const std::string &recycleFuncName, StringBuilder &sb) const;
113 void EmitProxyGetInstanceMethodImpl(const std::string &remoteName, const std::string &serviceName,
116 void EmitProxyGetRemoteService(const std::string &remoteName,
119 void EmitProxySetInterfaceDesc(const std::string &remoteName, const std::string &recycleFuncName,
122 void EmitProxyCreateProxyObject(const std::string &clientObjName, const std::string &remoteName,
131 void EmitProxyReleaseInstanceMethodImpl(const std::string &serviceName, const std::string &remoteName,
[all...]
H A Dc_service_stub_code_emitter.cpp668 std::string remoteName = "remote"; in EmitStubOnRequestMethodImpl() local
672 remoteName.c_str()); in EmitStubOnRequestMethodImpl()
677 stubName_.c_str(), remoteName.c_str()); in EmitStubOnRequestMethodImpl()
684 remoteName.c_str()); in EmitStubOnRequestMethodImpl()
/foundation/ability/dmsfwk_lite/include/
H A Ddmslite_permission.h39 char* GetCallerSignature(const char *remoteName, BundleInfo *bundleInfo);
40 char* GetRemoteSignature(const char *remoteName, BundleInfo *bundleInfo);
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap_br_discover.c266 if (g_discoveryCallback.callback.remoteName) { in GapOnGetRemoteNameComplete()
267 g_discoveryCallback.callback.remoteName( in GapOnGetRemoteNameComplete()
268 eventParam->status, &addr, eventParam->remoteName, g_discoveryCallback.context); in GapOnGetRemoteNameComplete()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.cpp499 std::string remoteName = ""; in GetDeviceName() local
503 remoteName = ReadRemoteDeviceNameByGatt(device, appID); in GetDeviceName()
507 if (!remoteName.empty()) { in GetDeviceName()
508 return remoteName; in GetDeviceName()
512 remoteName = pimpl->bleCentralManager_->GetDeviceName(device.GetAddress()); in GetDeviceName()
515 if (remoteName.empty()) { in GetDeviceName()
519 remoteName = it->second.GetName(); in GetDeviceName()
522 return remoteName; in GetDeviceName()
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dgap_if.h221 void (*remoteName)(uint8_t status, const BtAddr *addr, const uint8_t name[GAP_NAME_SIZE_MAX], void *context); member
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.cpp275 discoveryCbs.remoteName = RemoteNameCallback; in RegisterCallback()
1340 std::string remoteName(value.begin(), value.end()); in ParserRemoteNameFromEir()
1341 HILOGI("remoteName is %{public}s", remoteName.c_str()); in ParserRemoteNameFromEir()
1342 if (remoteName != remote->GetRemoteName()) { in ParserRemoteNameFromEir()
1343 remote->SetRemoteName(remoteName); in ParserRemoteNameFromEir()
1344 SendRemoteNameChanged(RawAddress(remote->GetAddress()), remoteName); in ParserRemoteNameFromEir()
1638 std::string remoteName = ""; in GetDeviceName() local
1641 remoteName = it->second->GetRemoteName(); in GetDeviceName()
1644 return remoteName; in GetDeviceName()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/
H A Dhci_def_evt.h105 uint8_t remoteName[248]; member

Completed in 11 milliseconds