Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 6 of 6) sorted by relevance

/test/xts/hats/hdf/hdf_lite/manager/common/
Dhdf_ioservice_test.cpp107 static int SendEvent(struct HdfIoService *serv, const char *eventData, bool broadcast) in SendEvent() argument
134 ret = serv->dispatcher->Dispatch(&serv->object, cmdId, data, reply); in SendEvent()
177 struct HdfIoService *serv = HdfIoServiceBind(testSvcName); variable
178 ASSERT_NE(serv, nullptr);
179 serv->priv = const_cast<void *>(static_cast<const void *>("serv0"));
184 int ret = HdfIoServiceGroupAddService(group, serv);
190 ret = SendEvent(serv, testSvcName, false);
196 ret = HdfDeviceUnregisterEventListener(serv, &listener0.listener);
203 ret = HdfIoServiceGroupAddService(group, serv);
209 ret = SendEvent(serv, testSvcName, false);
[all …]
/test/testfwk/developer_test/localCoverage/resident_service/
Dinit_gcov.py118 def modify_foundation_xml(serv, config_path, origin_xml) -> str: argument
126 lib_list = FoundationServer.lib_dict.get(serv)
144 def modify_foundation_json(serv, config_path, origin_json) -> str: argument
152 lib_list = FoundationServer.lib_dict.get(serv)
172 def create_service_json(serv, config_path, origin_json) -> str: argument
180 lib_list = FoundationServer.lib_dict.get(serv)
190 f_dict["process"] = "{}".format(serv)
192 new_json = os.path.join(config_path, '{}.json'.format(serv))
201 def create_service_xml(serv, config_path, origin_xml) -> str: argument
209 lib_list = FoundationServer.lib_dict.get(serv)
[all …]
Dpull_service_gcda.py45 for serv in serv_list:
46 rm_xml_cmd = "shell rm /system/profile/{}.json".format(serv)
48 rm_cfg_cmd = "shell rm /etc/init/{}.cfg".format(serv)
/test/xts/acts/telephony/telephonyjstest/netmanager_base/dnsndk/entry/src/main/cpp/
DdnsNdkTest.cpp53 char serv[DEFAULT_SERV_LEN] = {0}; in GetAddrInfo() local
54 napi_get_value_string_utf8(env, args[SERV_POS], serv, DEFAULT_SERV_LEN, &result); in GetAddrInfo()
70 int DnsResolver(const char *host, const char *serv, const struct addrinfo *hint, struct addrinfo **… in DnsResolver() argument
/test/xts/acts/telephony/telephonyjstest/netmanager_base/dnsndk/entry/src/main/ets/test/
DNetworkManagerDnsGetAddrInfo1.test.ets32 let serv = ''
50 let status = testNapi.getaddrinfo(hostaddr_valid, serv, netid_default);
72 let status = testNapi.getaddrinfo(hostaddr_invalid, serv, netid_default);
94 let status = testNapi.getaddrinfo(hostaddr_valid, serv, netid_invalid);
116 let status = testNapi.getaddrinfo(hostaddr_valid, serv, netid_unreachable);
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dnetdbndk.cpp377 struct servent *serv = nullptr; in Setservent() local
380 while ((serv = getservent()) != nullptr) { in Setservent()
381 for (p = serv->s_aliases; *p != nullptr; p++) in Setservent()