Home
last modified time | relevance | path

Searched refs:service_name (Results 1 – 25 of 27) sorted by relevance

12

/system/core/libbinderwrapper/
Dstub_binder_wrapper.cc31 void StubBinderWrapper::SetBinderForService(const std::string& service_name, in SetBinderForService() argument
33 services_to_return_[service_name] = binder; in SetBinderForService()
37 const std::string& service_name) const { in GetRegisteredService()
38 const auto it = registered_services_.find(service_name); in GetRegisteredService()
48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService() argument
49 const auto it = services_to_return_.find(service_name); in GetService()
53 bool StubBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument
55 registered_services_[service_name] = binder; in RegisterService()
Dreal_binder_wrapper.cc52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService() argument
59 service_manager->checkService(String16(service_name.c_str())); in GetService()
61 LOG(ERROR) << "Unable to get \"" << service_name << "\" service"; in GetService()
65 bool RealBinderWrapper::RegisterService(const std::string& service_name, in RegisterService() argument
73 String16(service_name.c_str()), binder); in RegisterService()
75 LOG(ERROR) << "Failed to register \"" << service_name << "\" with service " in RegisterService()
Dreal_binder_wrapper.h34 sp<IBinder> GetService(const std::string& service_name) override;
35 bool RegisterService(const std::string& service_name,
/system/connectivity/shill/test-scripts/
Dconnect-disconnect42 def GetService(service_name): argument
44 service = flim.FindElementByNameSubstring('Service', service_name)
46 logging.error('Could not find service %s' % service_name)
51 def Cycle(service_name, iteration): argument
53 (flim, service) = GetService(service_name)
102 (service_name, ) = remaining
104 (flim, service) = GetService(service_name)
110 rc = Cycle(service_name, total)
/system/core/include/binderwrapper/
Dstub_binder_wrapper.h85 void SetBinderForService(const std::string& service_name,
90 sp<IBinder> GetRegisteredService(const std::string& service_name) const;
96 sp<IBinder> GetService(const std::string& service_name) override;
97 bool RegisterService(const std::string& service_name,
Dbinder_wrapper.h60 virtual sp<IBinder> GetService(const std::string& service_name) = 0;
63 virtual bool RegisterService(const std::string& service_name,
/system/webservd/webservd/
Ddbus_protocol_handler.cc117 std::string service_name = p->second; in RemoveRequestHandler() local
119 DBusServiceData& dbus_service_data = dbus_service_data_[service_name]; in RemoveRequestHandler()
123 service_name, dbus_service_data.on_client_disconnected_callback); in RemoveRequestHandler()
124 dbus_service_data_.erase(service_name); in RemoveRequestHandler()
130 const std::string& service_name, in OnClientDisconnected() argument
141 auto p = dbus_service_data_.find(service_name); in OnClientDisconnected()
150 service_name, p->second.on_client_disconnected_callback); in OnClientDisconnected()
Ddbus_protocol_handler.h110 void OnClientDisconnected(const std::string& service_name,
/system/connectivity/shill/dbus/
Dchromeos_dhcpcd_proxy.cc30 const std::string& service_name) in ChromeosDHCPCDProxy() argument
32 new org::chromium::dhcpcdProxy(bus, service_name)) { in ChromeosDHCPCDProxy()
33 SLOG(this, 2) << "DHCPCDProxy(service=" << service_name << ")."; in ChromeosDHCPCDProxy()
Dchromeos_dhcpcd_proxy.h33 const std::string& service_name);
/system/bt/btif/src/
Dbtif_sdp_server.c155 if(in_record->hdr.service_name == NULL || in_record->hdr.service_name_length == 0) { in copy_sdp_records()
156 out_record->hdr.service_name = NULL; in copy_sdp_records()
159 out_record->hdr.service_name = free_ptr; // Update service_name pointer in copy_sdp_records()
161 memcpy(free_ptr, in_record->hdr.service_name, in_record->hdr.service_name_length); in copy_sdp_records()
385 rec->hdr.l2cap_psm, rec->hdr.service_name); in add_maps_sdp()
415 (UINT8 *)rec->hdr.service_name); in add_maps_sdp()
473 rec->hdr.rfcomm_channel_number, rec->hdr.l2cap_psm, rec->hdr.service_name); in add_mapc_sdp()
502 (UINT8 *)rec->hdr.service_name); in add_mapc_sdp()
552 rec->hdr.rfcomm_channel_number, rec->hdr.l2cap_psm, rec->hdr.service_name); in add_pbaps_sdp()
582 (UINT8 *)rec->hdr.service_name); in add_pbaps_sdp()
[all …]
Dbtif_sock.c37 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *uuid,…
120 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *servi… in btsock_listen() argument
131 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags, app_uid); in btsock_listen()
134 status = btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
Dbtif_sock_rfc.c81 char service_name[256]; member
221 strlcpy(slot->service_name, name, sizeof(slot->service_name)); in alloc_rfc_slot()
223 memset(slot->service_name, 0, sizeof(slot->service_name)); in alloc_rfc_slot()
235 …rfc_slot_t *accept_rs = alloc_rfc_slot(addr, srv_rs->service_name, srv_rs->service_uuid, srv_rs->s… in create_srv_accept_rfc_slot()
263 bt_status_t btsock_rfc_listen(const char *service_name, const uint8_t *service_uuid, int channel, i… in btsock_rfc_listen() argument
293 rfc_slot_t *slot = alloc_rfc_slot(NULL, service_name, service_uuid, channel, flags, true); in btsock_rfc_listen()
298 APPL_TRACE_DEBUG("BTA_JvGetChannelId: service_name: %s - channel: %d", service_name, channel); in btsock_rfc_listen()
382 slot->sdp_handle = add_rfc_sdp_rec(slot->service_name, slot->service_uuid, slot->scn); in create_server_sdp_record()
/system/bt/bta/sdp/
Dbta_sdp_act.c100 record->mns.hdr.service_name = NULL; in bta_create_mns_sdp_record()
114 record->mns.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_mns_sdp_record()
141 record->mas.hdr.service_name = NULL; in bta_create_mas_sdp_record()
167 record->mas.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_mas_sdp_record()
194 record->pse.hdr.service_name = NULL; in bta_create_pse_sdp_record()
213 record->pse.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_pse_sdp_record()
240 record->ops.hdr.service_name = NULL; in bta_create_ops_sdp_record()
249 record->ops.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_ops_sdp_record()
321 record->sap.hdr.service_name = NULL; in bta_create_sap_sdp_record()
329 record->sap.hdr.service_name = (char *)p_attr->attr_value.v.array; in bta_create_sap_sdp_record()
[all …]
/system/webservd/libwebserv/
Dserver.cc32 const std::string& service_name, in ConnectToServerViaDBus() argument
38 server->Connect(bus, service_name, cb, on_server_online, on_server_offline); in ConnectToServerViaDBus()
Dserver.h68 const std::string& service_name,
Ddbus_server.h63 const std::string& service_name,
Ddbus_server.cc113 const std::string& service_name, in Connect() argument
117 service_name_ = service_name; in Connect()
/system/connectivity/shill/
Ddevice_claimer.cc27 const std::string& service_name, in DeviceClaimer() argument
30 : service_name_(service_name), in DeviceClaimer()
Ddevice_claimer.h37 DeviceClaimer(const std::string& service_name,
/system/bt/bta/ar/
Dbta_ar.c245 void bta_ar_reg_avrc(UINT16 service_uuid, char *service_name, char *provider_name, in bta_ar_reg_avrc() argument
261 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
276 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
/system/connectivity/shill/cellular/
Dcellular.cc911 bool Cellular::IsDefaultFriendlyServiceName(const string& service_name) const { in IsDefaultFriendlyServiceName()
912 return base::StartsWith(service_name, kGenericServiceNamePrefix, in IsDefaultFriendlyServiceName()
1543 string service_name; in UpdateServingOperator() local
1550 service_name += home_provider_info->operator_name() + " | "; in UpdateServingOperator()
1552 service_name += operator_info->operator_name(); in UpdateServingOperator()
1555 service_name = "cellular_" + operator_info->mccmnc(); in UpdateServingOperator()
1560 service_name = service()->friendly_name(); in UpdateServingOperator()
1561 if (!IsDefaultFriendlyServiceName(service_name)) { in UpdateServingOperator()
1562 service_name = CreateDefaultFriendlyServiceName(); in UpdateServingOperator()
1565 service()->SetFriendlyName(service_name); in UpdateServingOperator()
Dcellular.h143 bool IsDefaultFriendlyServiceName(const std::string& service_name) const;
/system/bt/bta/hh/
Dbta_hh_int.h123 UINT8 service_name[BTA_SERVICE_NAME_LEN+1]; member
/system/bt/bta/dm/
Dbta_dm_act.c59 …_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_…
2578 UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator) in bta_dm_authorize_cback() argument
2582 UNUSED(service_name); in bta_dm_authorize_cback()

12