Home
last modified time | relevance | path

Searched refs:server (Results 1 - 25 of 170) sorted by relevance

1234567

/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_p2p.h19 #include "server.h"
27 * @param server - Pointer to the global structure of the communication server.
28 * @param context - Pointer to the global communication context structure of the server.
31 int RpcP2pStart(RpcServer *server, Context *context);
36 * @param server - Pointer to the global structure of the communication server.
37 * @param context - Pointer to the global communication context structure of the server.
40 int RpcP2pStop(RpcServer *server, Context *context);
45 * @param server
[all...]
H A Dwifi_hal_crpc_sta.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcStart(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcStop(RpcServer *server, Context *context);
49 * @param server
[all...]
H A Dwifi_hal_crpc_chip.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcGetWifiChip(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcGetWifiChipIds(RpcServer *server, Context *context);
49 * @param server
[all...]
H A Dwifi_hal_crpc_ap.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcStartSoftAp(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcStopSoftAp(RpcServer *server, Context *context);
49 * @param server
[all...]
H A Dwifi_hal_crpc_supplicant.c21 int RpcStartSupplicant(RpcServer *server, Context *context) in RpcStartSupplicant() argument
23 if (server == NULL || context == NULL) { in RpcStartSupplicant()
33 int RpcStopSupplicant(RpcServer *server, Context *context) in RpcStopSupplicant() argument
35 if (server == NULL || context == NULL) { in RpcStopSupplicant()
45 int RpcConnectSupplicant(RpcServer *server, Context *context) in RpcConnectSupplicant() argument
47 if (server == NULL || context == NULL) { in RpcConnectSupplicant()
57 int RpcDisconnectSupplicant(RpcServer *server, Context *context) in RpcDisconnectSupplicant() argument
59 if (server == NULL || context == NULL) { in RpcDisconnectSupplicant()
69 int RpcRequestToSupplicant(RpcServer *server, Context *context) in RpcRequestToSupplicant() argument
71 if (server in RpcRequestToSupplicant()
97 RpcSetPowerSave(RpcServer *server, Context *context) RpcSetPowerSave() argument
114 RpcWpaSetCountryCode(RpcServer *server, Context *context) RpcWpaSetCountryCode() argument
130 RpcWpaGetCountryCode(RpcServer *server, Context *context) RpcWpaGetCountryCode() argument
[all...]
H A Dwifi_hal_crpc_supplicant.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcStartSupplicant(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcStopSupplicant(RpcServer *server, Context *context);
49 * @param server
[all...]
H A Dwifi_hal_crpc_common.c29 int RpcRegisterEventCallback(RpcServer *server, Context *context) in RpcRegisterEventCallback() argument
31 if (server == NULL || context == NULL) { in RpcRegisterEventCallback()
46 RegisterCallback(server, events[i], context); in RpcRegisterEventCallback()
56 int RpcUnRegisterEventCallback(RpcServer *server, Context *context) in RpcUnRegisterEventCallback() argument
58 if (server == NULL || context == NULL) { in RpcUnRegisterEventCallback()
73 UnRegisterCallback(server, events[i], context); in RpcUnRegisterEventCallback()
83 int RpcNotifyClear(RpcServer *server, Context *context) in RpcNotifyClear() argument
85 if (server == NULL || context == NULL) { in RpcNotifyClear()
99 int RpcGetCommonCmd(RpcServer *server, Context *context) in RpcGetCommonCmd() argument
101 if (server in RpcGetCommonCmd()
115 RpcChbaStart(RpcServer *server, Context *context) RpcChbaStart() argument
127 RpcChbaStop(RpcServer *server, Context *context) RpcChbaStop() argument
[all...]
H A Dwifi_hal_crpc_p2p.c25 int RpcP2pStart(RpcServer *server, Context *context) in RpcP2pStart() argument
27 if (server == NULL || context == NULL) { in RpcP2pStart()
37 int RpcP2pStop(RpcServer *server, Context *context) in RpcP2pStop() argument
39 if (server == NULL || context == NULL) { in RpcP2pStop()
49 int RpcP2pSetRandomMac(RpcServer *server, Context *context) in RpcP2pSetRandomMac() argument
51 if (server == NULL || context == NULL) { in RpcP2pSetRandomMac()
65 int RpcP2pSetDeviceName(RpcServer *server, Context *context) in RpcP2pSetDeviceName() argument
67 if (server == NULL || context == NULL) { in RpcP2pSetDeviceName()
81 int RpcP2pSetSsidPostfixName(RpcServer *server, Context *context) in RpcP2pSetSsidPostfixName() argument
83 if (server in RpcP2pSetSsidPostfixName()
97 RpcP2pSetWpsDeviceType(RpcServer *server, Context *context) RpcP2pSetWpsDeviceType() argument
113 RpcP2pSetWpsSecondaryDeviceType(RpcServer *server, Context *context) RpcP2pSetWpsSecondaryDeviceType() argument
129 RpcP2pSetWpsConfigMethods(RpcServer *server, Context *context) RpcP2pSetWpsConfigMethods() argument
145 RpcP2pGetDeviceAddress(RpcServer *server, Context *context) RpcP2pGetDeviceAddress() argument
170 RpcP2pFlush(RpcServer *server, Context *context) RpcP2pFlush() argument
182 RpcP2pFlushService(RpcServer *server, Context *context) RpcP2pFlushService() argument
194 RpcP2pSaveConfig(RpcServer *server, Context *context) RpcP2pSaveConfig() argument
206 RpcP2pSetupWpsPbc(RpcServer *server, Context *context) RpcP2pSetupWpsPbc() argument
223 RpcP2pSetupWpsPin(RpcServer *server, Context *context) RpcP2pSetupWpsPin() argument
255 RpcP2pRemoveNetwork(RpcServer *server, Context *context) RpcP2pRemoveNetwork() argument
271 RpcP2pRemoveClient(RpcServer *server, Context *context) RpcP2pRemoveClient() argument
287 RpcP2pListNetworks(RpcServer *server, Context *context) RpcP2pListNetworks() argument
314 RpcP2pSetGroupMaxIdle(RpcServer *server, Context *context) RpcP2pSetGroupMaxIdle() argument
331 RpcP2pSetPowerSave(RpcServer *server, Context *context) RpcP2pSetPowerSave() argument
348 RpcP2pSetWfdEnable(RpcServer *server, Context *context) RpcP2pSetWfdEnable() argument
364 RpcP2pSetWfdDeviceConfig(RpcServer *server, Context *context) RpcP2pSetWfdDeviceConfig() argument
380 RpcP2pStartFind(RpcServer *server, Context *context) RpcP2pStartFind() argument
396 RpcP2pStopFind(RpcServer *server, Context *context) RpcP2pStopFind() argument
408 RpcP2pSetExtListen(RpcServer *server, Context *context) RpcP2pSetExtListen() argument
426 RpcP2pSetListenChannel(RpcServer *server, Context *context) RpcP2pSetListenChannel() argument
443 RpcP2pConnect(RpcServer *server, Context *context) RpcP2pConnect() argument
472 RpcP2pCancelConnect(RpcServer *server, Context *context) RpcP2pCancelConnect() argument
484 RpcP2pProvisionDiscovery(RpcServer *server, Context *context) RpcP2pProvisionDiscovery() argument
501 RpcP2pAddGroup(RpcServer *server, Context *context) RpcP2pAddGroup() argument
519 RpcP2pRemoveGroup(RpcServer *server, Context *context) RpcP2pRemoveGroup() argument
535 RpcP2pInvite(RpcServer *server, Context *context) RpcP2pInvite() argument
555 RpcP2pReinvoke(RpcServer *server, Context *context) RpcP2pReinvoke() argument
572 RpcP2pGetGroupCapability(RpcServer *server, Context *context) RpcP2pGetGroupCapability() argument
592 RpcP2pAddService(RpcServer *server, Context *context) RpcP2pAddService() argument
621 RpcP2pRemoveService(RpcServer *server, Context *context) RpcP2pRemoveService() argument
649 RpcP2pReqServiceDiscovery(RpcServer *server, Context *context) RpcP2pReqServiceDiscovery() argument
701 RpcP2pCancelServiceDiscovery(RpcServer *server, Context *context) RpcP2pCancelServiceDiscovery() argument
717 RpcP2pSetMiracastType(RpcServer *server, Context *context) RpcP2pSetMiracastType() argument
733 RpcP2pRespServerDiscovery(RpcServer *server, Context *context) RpcP2pRespServerDiscovery() argument
768 RpcP2pSetServDiscExternal(RpcServer *server, Context *context) RpcP2pSetServDiscExternal() argument
784 RpcP2pSetPersistentReconnect(RpcServer *server, Context *context) RpcP2pSetPersistentReconnect() argument
800 RpcP2pGetPeer(RpcServer *server, Context *context) RpcP2pGetPeer() argument
827 RpcP2pGetChba0Freq(RpcServer *server, Context *context) RpcP2pGetChba0Freq() argument
843 RpcP2pGetFrequencies(RpcServer *server, Context *context) RpcP2pGetFrequencies() argument
873 RpcP2pSetGroupConfig(RpcServer *server, Context *context) RpcP2pSetGroupConfig() argument
907 RpcP2pGetGroupConfig(RpcServer *server, Context *context) RpcP2pGetGroupConfig() argument
945 RpcP2pAddNetwork(RpcServer *server, Context *context) RpcP2pAddNetwork() argument
961 RpcP2pHid2dConnect(RpcServer *server, Context *context) RpcP2pHid2dConnect() argument
[all...]
H A Dwifi_hal_crpc_common.h19 #include "server.h"
29 * @param server - Pointer to the global structure of the communication server.
30 * @param context - Pointer to the global communication context structure of the server.
33 int RpcRegisterEventCallback(RpcServer *server, Context *context);
39 * @param server - Pointer to the global structure of the communication server.
40 * @param context - Pointer to the global communication context structure of the server.
43 int RpcUnRegisterEventCallback(RpcServer *server, Context *context);
49 * @param server
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/
H A Daudio_policy_service_second_unit_test.cpp120 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
122 server->AudioVolumeDump(dumpString); in HWTEST_F()
133 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
135 server->AudioStreamDump(dumpString); in HWTEST_F()
146 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
149 bool ret = server->CheckAudioSessionStrategy(sessionStrategy); in HWTEST_F()
153 ret = server->CheckAudioSessionStrategy(sessionStrategy); in HWTEST_F()
164 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); in HWTEST_F() local
167 int32_t ret = server->audioPolicyService_.LoadSplitModule(splitArgs, networkId); in HWTEST_F()
172 ret = server in HWTEST_F()
183 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
196 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
214 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
231 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
245 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
259 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
273 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
290 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
307 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
320 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
333 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
347 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
359 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
381 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
399 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
414 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
429 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
450 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
475 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
531 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
561 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
591 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
627 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
662 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
678 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
701 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
721 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
741 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
759 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
805 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
826 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
843 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
891 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
926 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
961 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1001 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1034 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1054 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1070 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1087 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1106 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1131 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1156 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1194 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1211 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
1246 auto server = AudioPolicyServiceUnitTest::GetServerPtr(); HWTEST_F() local
[all...]
H A Daudio_policy_service_third_unit_test.cpp206 auto server = GetServerPtr(); in HWTEST_F() local
209 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
219 auto server = GetServerPtr(); in HWTEST_F() local
222 server->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST_F()
223 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
233 auto server = GetServerPtr(); in HWTEST_F() local
236 server->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_USB_HEADSET; in HWTEST_F()
237 server->audioPolicyService_.GetOffloadStatusDump(dumpString); in HWTEST_F()
247 auto server = GetServerPtr(); in HWTEST_F() local
250 server in HWTEST_F()
280 auto server = GetServerPtr(); HWTEST_F() local
295 auto server = GetServerPtr(); HWTEST_F() local
309 auto server = GetServerPtr(); HWTEST_F() local
323 auto server = GetServerPtr(); HWTEST_F() local
347 auto server = GetServerPtr(); HWTEST_F() local
361 auto server = GetServerPtr(); HWTEST_F() local
375 auto server = GetServerPtr(); HWTEST_F() local
389 auto server = GetServerPtr(); HWTEST_F() local
403 auto server = GetServerPtr(); HWTEST_F() local
419 auto server = GetServerPtr(); HWTEST_F() local
432 auto server = GetServerPtr(); HWTEST_F() local
444 auto server = GetServerPtr(); HWTEST_F() local
457 auto server = GetServerPtr(); HWTEST_F() local
471 auto server = GetServerPtr(); HWTEST_F() local
486 auto server = GetServerPtr(); HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/base/cRPC/src/
H A Dserver.c16 #include "server.h"
36 static int BeforeLoop(RpcServer *server);
37 static int RemoveCallback(RpcServer *server, const Context *context);
39 static int OnAccept(RpcServer *server, unsigned int mask) in OnAccept() argument
41 if (server == NULL) { in OnAccept()
48 int fd = accept(server->listenFd, NULL, NULL); in OnAccept()
65 InsertHashTable(server->clients, context); in OnAccept()
66 AddFdEvent(server->loop, fd, READ_EVENT | WRIT_EVENT); in OnAccept()
80 RpcServer *server = (RpcServer *)calloc(1, sizeof(RpcServer)); in CreateRpcServer() local
81 if (server in CreateRpcServer()
113 DealReadMessage(RpcServer *server, Context *client) DealReadMessage() argument
151 DealFdReadEvent(RpcServer *server, Context *client, unsigned int mask) DealFdReadEvent() argument
173 DealFdWriteEvent(RpcServer *server, Context *client) DealFdWriteEvent() argument
192 DealFdEvents(RpcServer *server, int fd, unsigned int mask) DealFdEvents() argument
217 RunRpcLoop(RpcServer *server) RunRpcLoop() argument
243 ReleaseRpcServer(RpcServer *server) ReleaseRpcServer() argument
261 BeforeLoop(RpcServer *server) BeforeLoop() argument
285 EmitEvent(RpcServer *server, int event) EmitEvent() argument
306 RegisterCallback(RpcServer *server, int event, Context *context) RegisterCallback() argument
333 UnRegisterCallback(RpcServer *server, int event, const Context *context) UnRegisterCallback() argument
363 RemoveCallback(RpcServer *server, const Context *context) RemoveCallback() argument
[all...]
/foundation/communication/netstack/test/unittest/tls_test/server/
H A Dtls_socket_branch_test.cpp71 TLSSocket server; in HWTEST_F() local
72 auto testString = server.MakeAddressString(addr); in HWTEST_F()
77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
92 server.GetAddr(address, &addr4, &addr6, &addr, &len); in HWTEST_F()
97 TLSSocket server; in HWTEST_F() local
99 server.MakeIpSocket(family); in HWTEST_F()
102 server.MakeIpSocket(family); in HWTEST_F()
105 server in HWTEST_F()
153 TLSSocket server; HWTEST_F() local
203 TLSSocket server; HWTEST_F() local
[all...]
/foundation/communication/netstack/test/unittest/tlssocket/server/
H A Dtls_socket_branch_test.cpp71 TLSSocket server; in HWTEST_F() local
72 auto testString = server.MakeAddressString(addr); in HWTEST_F()
77 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
81 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
85 testString = server.MakeAddressString(&addrInfo); in HWTEST_F()
92 server.GetAddr(address, &addr4, &addr6, &addr, &len); in HWTEST_F()
97 TLSSocket server; in HWTEST_F() local
99 server.MakeIpSocket(family); in HWTEST_F()
102 server.MakeIpSocket(family); in HWTEST_F()
105 server in HWTEST_F()
153 TLSSocket server; HWTEST_F() local
203 TLSSocket server; HWTEST_F() local
[all...]
H A DTlsSocketServerTest.cpp89 TLSSocketServer server; in HWTEST_F() local
92 server.Listen(tlsListenOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in HWTEST_F()
101 TLSSocketServer server; in HWTEST_F() local
107 server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in HWTEST_F()
116 TLSSocketServer server; in HWTEST_F() local
123 server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in HWTEST_F()
126 (void)server.Close(socketFd, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in HWTEST_F()
135 TLSSocketServer server; in HWTEST_F() local
143 server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in HWTEST_F()
147 (void)server in HWTEST_F()
160 TLSSocketServer server; HWTEST_F() local
196 TLSSocketServer server; HWTEST_F() local
222 TLSSocketServer server; HWTEST_F() local
242 TLSSocketServer server; HWTEST_F() local
278 TLSSocketServer server; HWTEST_F() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/
H A Drfcomm_server.c21 * @brief Create server list when RFCOMM initialize.
32 * @brief Free server list when RFCOMM finalize.
40 RfcommServerInfo *server = NULL; in RfcommDestroyServerList() local
47 // Release server information. in RfcommDestroyServerList()
50 server = ListGetNodeData(node); in RfcommDestroyServerList()
51 free(server); in RfcommDestroyServerList()
55 // Free server list. in RfcommDestroyServerList()
61 * @brief The function is used to register the server.
63 * @param scn The server's number.
69 * @return The pointer of the new server i
81 RfcommServerInfo *server = malloc(sizeof(RfcommServerInfo)); RfcommCreateServer() local
103 RfcommRemoveServer(RfcommServerInfo *server) RfcommRemoveServer() argument
127 RfcommServerInfo *server = NULL; RfcommGetServerByScn() local
[all...]
/foundation/CastEngine/castengine_wifi_display/services/network/server/
H A Dbase_server.cpp47 auto server = server_.lock(); in OnReadable() local
48 if (server) { in OnReadable()
49 server->OnServerReadable(fd); in OnReadable()
56 auto server = server_.lock(); in OnWritable() local
57 if (server) { in OnWritable()
58 auto callback = server->GetCallback().lock(); in OnWritable()
68 auto server = server_.lock(); in OnShutdown() local
69 if (server) { in OnShutdown()
70 auto callback = server->GetCallback().lock(); in OnShutdown()
80 auto server in OnException() local
[all...]
/foundation/multimedia/av_codec/test/unittest/sa_avcodec_test/
H A Dsa_avcodec_unit_test.cpp50 void CreateCodecServiceStub(std::shared_ptr<AVCodecServer> &server);
92 void SaAVCodecUnitTest::CreateCodecServiceStub(std::shared_ptr<AVCodecServer> &server) in CreateCodecServiceStub() argument
103 server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); in CreateCodecServiceStub()
104 EXPECT_NE(server, nullptr); in CreateCodecServiceStub()
106 int32_t ret = server->GetSubSystemAbility(IStandardAVCodecService::AVCODEC_CODEC, listener, codecStub); in CreateCodecServiceStub()
123 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); in HWTEST_F() local
124 EXPECT_NE(server, nullptr); in HWTEST_F()
125 server = nullptr; in HWTEST_F()
139 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, false); in HWTEST_F() local
140 EXPECT_NE(server, nullpt in HWTEST_F()
155 auto server = std::make_shared<AVCodecServer>(1, false); HWTEST_F() local
172 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
192 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
211 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
229 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
256 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
292 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
329 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
361 auto server = std::make_shared<AVCodecServer>(AV_CODEC_SERVICE_ID, true); HWTEST_F() local
400 std::shared_ptr<AVCodecServer> server = nullptr; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_event_handler.cpp24 const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server) in AbilityEventHandler()
25 : EventHandlerWrap(taskHandler), server_(server) in AbilityEventHandler()
83 auto server = server_.lock(); in ProcessLoadTimeOut() local
84 CHECK_POINTER(server); in ProcessLoadTimeOut()
85 server->HandleLoadTimeOut(event.GetParam(), isHalf, event.IsExtension()); in ProcessLoadTimeOut()
91 auto server = server_.lock(); in ProcessActiveTimeOut() local
92 CHECK_POINTER(server); in ProcessActiveTimeOut()
93 server->HandleActiveTimeOut(abilityRecordId); in ProcessActiveTimeOut()
99 auto server = server_.lock(); in ProcessInactiveTimeOut() local
100 CHECK_POINTER(server); in ProcessInactiveTimeOut()
23 AbilityEventHandler( const std::shared_ptr<TaskHandlerWrap> &taskHandler, const std::weak_ptr<AbilityManagerService> &server) AbilityEventHandler() argument
107 auto server = server_.lock(); ProcessForegroundTimeOut() local
115 auto server = server_.lock(); ProcessShareDataTimeOut() local
[all...]
H A Datomic_service_status_callback.cpp24 const std::weak_ptr<FreeInstallManager> &server, bool isAsync, int32_t recordId) in AtomicServiceStatusCallback()
25 : server_(server), isAsync_(isAsync), recordId_(recordId) in AtomicServiceStatusCallback()
31 auto server = server_.lock(); in OnInstallFinished() local
32 CHECK_POINTER(server); in OnInstallFinished()
33 server->OnInstallFinished(recordId_, resultCode, want, userId, isAsync_); in OnInstallFinished()
38 auto server = server_.lock(); in OnRemoteInstallFinished() local
39 CHECK_POINTER(server); in OnRemoteInstallFinished()
40 server->OnRemoteInstallFinished(recordId_, resultCode, want, userId); in OnRemoteInstallFinished()
23 AtomicServiceStatusCallback( const std::weak_ptr<FreeInstallManager> &server, bool isAsync, int32_t recordId) AtomicServiceStatusCallback() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/
H A Dservice_center_status_callback.cpp21 ServiceCenterStatusCallback::ServiceCenterStatusCallback(const std::weak_ptr<BundleConnectAbilityMgr> &server) in ServiceCenterStatusCallback() argument
22 : server_(server) in ServiceCenterStatusCallback()
30 auto server = server_.lock(); in OnInstallFinished() local
31 if (server == nullptr) { in OnInstallFinished()
35 server->OnServiceCenterCall(installResult); in OnInstallFinished()
42 auto server = server_.lock(); in OnDelayedHeartbeat() local
43 if (server == nullptr) { in OnDelayedHeartbeat()
47 server->OnDelayedHeartbeat(installResult); in OnDelayedHeartbeat()
/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_server_test.cpp103 GattServer server(callback_); in HWTEST_F()
107 int ret = server.AddService(serviceOne); in HWTEST_F()
121 GattServer server(callback_); in HWTEST_F()
125 server.CancelConnection(deviceBle_); in HWTEST_F()
137 GattServer server(callback_); in HWTEST_F()
142 int result = server.AddService(serviceOne); in HWTEST_F()
145 std::list<GattService> &list = server.GetServices(); in HWTEST_F()
147 int ret = server.RemoveGattService(list.back()); in HWTEST_F()
160 GattServer server(callback_); in HWTEST_F()
162 std::list<GattService>& list = server in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_interrupt_service_test/src/
H A Daudio_policy_server_unit_test.cpp42 sptr<AudioPolicyServer> server = in GetPolicyServerUnitTest() local
44 return server; in GetPolicyServerUnitTest()
72 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); in HWTEST() local
75 EXPECT_TRUE(server->CheckAudioSessionStrategy(strategy)); in HWTEST()
77 EXPECT_TRUE(server->CheckAudioSessionStrategy(strategy)); in HWTEST()
79 EXPECT_TRUE(server->CheckAudioSessionStrategy(strategy)); in HWTEST()
81 EXPECT_TRUE(server->CheckAudioSessionStrategy(strategy)); in HWTEST()
95 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); in HWTEST() local
98 EXPECT_FALSE(server->CheckAudioSessionStrategy(strategy)); in HWTEST()
111 sptr<AudioPolicyServer> server in HWTEST() local
128 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
145 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
165 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
188 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
205 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
224 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
242 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
263 sptr<AudioPolicyServer> server = sptr<AudioPolicyServer>::MakeSptr(systemAbilityId, runOnCreate); HWTEST() local
[all...]
/foundation/communication/wifi/wifi/base/cRPC/include/
H A Dserver.h40 /* rpc server */
63 * @param server - RpcServer object's pointer
66 int RunRpcLoop(RpcServer *server);
71 * @param server - RpcServer object's pointer
73 void ReleaseRpcServer(RpcServer *server);
78 * @param server - RpcServer object's pointer
83 int RegisterCallback(RpcServer *server, int event, Context *context);
88 * @param server - RpcServer object's pointer
93 int UnRegisterCallback(RpcServer *server, int event, const Context *context);
98 * @param server
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_crpc_p2p_test.cpp38 RpcServer svr, *server = nullptr; in HWTEST_F() local
40 EXPECT_EQ(RpcP2pSetWpsSecondaryDeviceType(server, &cont), -1); in HWTEST_F()
49 RpcServer svr, *server = nullptr; in HWTEST_F() local
51 EXPECT_EQ(RpcP2pGetPeer(server, &cont), -1); in HWTEST_F()
59 RpcServer svr, *server = nullptr; in HWTEST_F() local
61 EXPECT_EQ(RpcP2pGetFrequencies(server, &cont), -1); in HWTEST_F()
69 RpcServer svr, *server = nullptr; in HWTEST_F() local
71 EXPECT_EQ(RpcP2pSetGroupConfig(server, &cont), -1); in HWTEST_F()
79 RpcServer svr, *server = nullptr; in HWTEST_F() local
81 EXPECT_EQ(RpcP2pGetGroupConfig(server, in HWTEST_F()
89 RpcServer svr, *server = nullptr; HWTEST_F() local
99 RpcServer svr, *server = nullptr; HWTEST_F() local
[all...]

Completed in 14 milliseconds

1234567