Home
last modified time | relevance | path

Searched refs:proxy (Results 1 - 25 of 481) sorted by relevance

12345678910>>...20

/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
H A Dnet_conn_client.cpp59 sptr<INetConnService> proxy = GetProxy(); in SystemReady() local
60 if (proxy == nullptr) { in SystemReady()
61 NETMGR_LOG_E("proxy is nullptr"); in SystemReady()
64 return proxy->SystemReady(); in SystemReady()
75 sptr<INetConnService> proxy = GetProxy(); in SetInternetPermission() local
76 if (proxy == nullptr) { in SetInternetPermission()
77 NETMGR_LOG_E("proxy is nullptr"); in SetInternetPermission()
80 int32_t result = proxy->SetInternetPermission(uid, allow); in SetInternetPermission()
90 sptr<INetConnService> proxy = GetProxy(); in EnableVnicNetwork() local
91 if (proxy in EnableVnicNetwork()
102 sptr<INetConnService> proxy = GetProxy(); DisableVnicNetwork() local
114 sptr<INetConnService> proxy = GetProxy(); EnableDistributedClientNet() local
127 sptr<INetConnService> proxy = GetProxy(); EnableDistributedServerNet() local
139 sptr<INetConnService> proxy = GetProxy(); DisableDistributedNet() local
152 sptr<INetConnService> proxy = GetProxy(); RegisterNetSupplier() local
164 sptr<INetConnService> proxy = GetProxy(); UnregisterNetSupplier() local
179 sptr<INetConnService> proxy = GetProxy(); RegisterNetSupplierCallback() local
196 sptr<INetConnService> proxy = GetProxy(); RegisterNetConnCallback() local
219 sptr<INetConnService> proxy = GetProxy(); RegisterNetConnCallback() local
242 sptr<INetConnService> proxy = GetProxy(); RequestNetConnection() local
260 sptr<INetConnService> proxy = GetProxy(); UnregisterNetConnCallback() local
283 sptr<INetConnService> proxy = GetProxy(); RegisterNetDetectionCallback() local
295 sptr<INetConnService> proxy = GetProxy(); UnRegisterNetDetectionCallback() local
307 sptr<INetConnService> proxy = GetProxy(); UpdateNetSupplierInfo() local
319 sptr<INetConnService> proxy = GetProxy(); UpdateNetLinkInfo() local
331 sptr<INetConnService> proxy = GetProxy(); GetDefaultNet() local
351 sptr<INetConnService> proxy = GetProxy(); HasDefaultNet() local
361 sptr<INetConnService> proxy = GetProxy(); GetAllNets() local
384 sptr<INetConnService> proxy = GetProxy(); GetConnectionProperties() local
395 sptr<INetConnService> proxy = GetProxy(); GetNetCapabilities() local
406 sptr<INetConnService> proxy = GetProxy(); GetAddressesByName() local
417 sptr<INetConnService> proxy = GetProxy(); GetAddressByName() local
429 sptr<INetConnService> proxy = GetProxy(); GetIfaceNameIdentMaps() local
455 sptr<INetConnService> proxy = GetProxy(); NetDetection() local
507 sptr<INetConnService> proxy = GetProxy(); SetAirplaneMode() local
523 auto proxy = GetProxy(); RecoverCallbackAndGlobalProxy() local
594 sptr<INetConnService> proxy = GetProxy(); DlCloseRemoveDeathRecipient() local
612 sptr<INetConnService> proxy = GetProxy(); IsDefaultNetMetered() local
622 sptr<INetConnService> proxy = GetProxy(); SetGlobalHttpProxy() local
671 sptr<INetConnService> proxy = GetProxy(); GetGlobalHttpProxy() local
688 sptr<INetConnService> proxy = GetProxy(); GetDefaultHttpProxy() local
700 sptr<INetConnService> proxy = GetProxy(); GetNetIdByIdentifier() local
713 sptr<INetConnService> proxy = GetProxy(); SetAppNet() local
735 sptr<INetConnService> proxy = GetProxy(); RegisterNetInterfaceCallback() local
745 sptr<INetConnService> proxy = GetProxy(); GetNetInterfaceConfiguration() local
757 sptr<INetConnService> proxy = GetProxy(); AddNetworkRoute() local
770 sptr<INetConnService> proxy = GetProxy(); RemoveNetworkRoute() local
783 sptr<INetConnService> proxy = GetProxy(); AddInterfaceAddress() local
796 sptr<INetConnService> proxy = GetProxy(); DelInterfaceAddress() local
808 sptr<INetConnService> proxy = GetProxy(); AddStaticArp() local
820 sptr<INetConnService> proxy = GetProxy(); DelStaticArp() local
832 sptr<INetConnService> proxy = GetProxy(); RegisterSlotType() local
843 sptr<INetConnService> proxy = GetProxy(); GetSlotType() local
869 sptr<INetConnService> proxy = GetProxy(); FactoryResetNetwork() local
880 sptr<INetConnService> proxy = GetProxy(); RegisterNetFactoryResetCallback() local
890 sptr<INetConnService> proxy = GetProxy(); IsPreferCellularUrl() local
901 sptr<INetConnService> proxy = GetProxy(); RegisterPreAirplaneCallback() local
919 sptr<INetConnService> proxy = GetProxy(); UnregisterPreAirplaneCallback() local
936 sptr<INetConnService> proxy = GetProxy(); UpdateSupplierScore() local
1009 sptr<INetConnService> proxy = GetProxy(); CloseSocketsUid() local
[all...]
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/
H A Dstoragemanagerproxy_fuzzer.cpp31 auto proxy = std::make_shared<StorageManagerProxy>(impl); in StorageManagerProxyFuzzTest() local
32 if (proxy == nullptr || impl == nullptr) { in StorageManagerProxyFuzzTest()
49 proxy->StopUser(metaData2); in StorageManagerProxyFuzzTest()
50 proxy->Mount(metaData); in StorageManagerProxyFuzzTest()
51 proxy->Unmount(metaData); in StorageManagerProxyFuzzTest()
52 proxy->DeleteUserKeys(metaData3); in StorageManagerProxyFuzzTest()
53 proxy->NotifyDiskCreated(disk); in StorageManagerProxyFuzzTest()
54 proxy->InactiveUserKey(metaData3); in StorageManagerProxyFuzzTest()
55 proxy->UpdateKeyContext(metaData3); in StorageManagerProxyFuzzTest()
56 proxy in StorageManagerProxyFuzzTest()
78 auto proxy = std::make_shared<StorageManagerProxy>(impl); StorageManagerProxyGetFuzzTest() local
[all...]
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_native_client.cpp203 auto proxy = GetProxy(); in SetInternetPermission() local
204 if (proxy == nullptr) { in SetInternetPermission()
205 NETMGR_LOG_E("proxy is nullptr"); in SetInternetPermission()
209 return proxy->SetInternetPermission(uid, allow, callingUid != UID_FOUNDATION); in SetInternetPermission()
215 auto proxy = GetProxy(); in NetworkCreatePhysical() local
216 if (proxy == nullptr) { in NetworkCreatePhysical()
217 NETMGR_LOG_E("proxy is nullptr"); in NetworkCreatePhysical()
220 return proxy->NetworkCreatePhysical(netId, permission); in NetworkCreatePhysical()
226 auto proxy = GetProxy(); in NetworkCreateVirtual() local
227 if (proxy in NetworkCreateVirtual()
237 auto proxy = GetProxy(); NetworkDestroy() local
249 auto proxy = GetProxy(); CreateVnic() local
260 auto proxy = GetProxy(); DestroyVnic() local
270 auto proxy = GetProxy(); EnableDistributedClientNet() local
281 auto proxy = GetProxy(); EnableDistributedServerNet() local
291 auto proxy = GetProxy(); DisableDistributedNet() local
302 auto proxy = GetProxy(); NetworkAddUids() local
313 auto proxy = GetProxy(); NetworkDelUids() local
325 auto proxy = GetProxy(); NetworkAddInterface() local
336 auto proxy = GetProxy(); NetworkRemoveInterface() local
349 auto proxy = GetProxy(); NetworkAddRoute() local
362 auto proxy = GetProxy(); NetworkRemoveRoute() local
373 auto proxy = GetProxy(); GetInterfaceConfig() local
384 auto proxy = GetProxy(); SetInterfaceConfig() local
395 auto proxy = GetProxy(); SetInterfaceDown() local
414 auto proxy = GetProxy(); SetInterfaceUp() local
433 auto proxy = GetProxy(); ClearInterfaceAddrs() local
443 auto proxy = GetProxy(); GetInterfaceMtu() local
454 auto proxy = GetProxy(); SetInterfaceMtu() local
465 auto proxy = GetProxy(); SetTcpBufferSizes() local
478 auto proxy = GetProxy(); AddInterfaceAddress() local
491 auto proxy = GetProxy(); DelInterfaceAddress() local
504 auto proxy = GetProxy(); DelInterfaceAddress() local
516 auto proxy = GetProxy(); InterfaceSetIpAddress() local
527 auto proxy = GetProxy(); InterfaceSetIffUp() local
540 auto proxy = GetProxy(); SetResolverConfig() local
553 auto proxy = GetProxy(); GetResolverConfig() local
564 auto proxy = GetProxy(); CreateNetworkCache() local
575 auto proxy = GetProxy(); DestroyNetworkCache() local
586 auto proxy = GetProxy(); GetAddrInfo() local
598 auto proxy = GetProxy(); GetNetworkSharingTraffic() local
609 auto proxy = GetProxy(); GetCellularRxBytes() local
620 auto proxy = GetProxy(); GetCellularTxBytes() local
631 auto proxy = GetProxy(); GetAllRxBytes() local
642 auto proxy = GetProxy(); GetAllTxBytes() local
653 auto proxy = GetProxy(); GetUidRxBytes() local
664 auto proxy = GetProxy(); GetUidTxBytes() local
676 auto proxy = GetProxy(); GetUidOnIfaceRxBytes() local
688 auto proxy = GetProxy(); GetUidOnIfaceTxBytes() local
699 auto proxy = GetProxy(); GetIfaceRxBytes() local
710 auto proxy = GetProxy(); GetIfaceTxBytes() local
722 auto proxy = GetProxy(); InterfaceGetList() local
734 auto proxy = GetProxy(); UidGetList() local
757 auto proxy = GetProxy(); SetDefaultNetWork() local
768 auto proxy = GetProxy(); ClearDefaultNetWorkNetId() local
779 auto proxy = GetProxy(); BindSocket() local
790 auto proxy = GetProxy(); IpEnableForwarding() local
801 auto proxy = GetProxy(); IpDisableForwarding() local
813 auto proxy = GetProxy(); EnableNat() local
825 auto proxy = GetProxy(); DisableNat() local
835 auto proxy = GetProxy(); IpfwdAddInterfaceForward() local
847 auto proxy = GetProxy(); IpfwdRemoveInterfaceForward() local
857 auto proxy = GetProxy(); ShareDnsSet() local
867 auto proxy = GetProxy(); StartDnsProxyListen() local
877 auto proxy = GetProxy(); StopDnsProxyListen() local
1106 auto proxy = GetProxy(); StartDhcpClient() local
1117 auto proxy = GetProxy(); StopDhcpClient() local
1163 auto proxy = GetProxy(); StartDhcpService() local
1174 auto proxy = GetProxy(); StopDhcpService() local
1199 auto proxy = GetProxy(); BandwidthEnableDataSaver() local
1209 auto proxy = GetProxy(); BandwidthSetIfaceQuota() local
1219 auto proxy = GetProxy(); BandwidthRemoveIfaceQuota() local
1229 auto proxy = GetProxy(); BandwidthAddDeniedList() local
1239 auto proxy = GetProxy(); BandwidthRemoveDeniedList() local
1249 auto proxy = GetProxy(); BandwidthAddAllowedList() local
1259 auto proxy = GetProxy(); BandwidthRemoveAllowedList() local
1269 auto proxy = GetProxy(); FirewallSetUidsAllowedListChain() local
1279 auto proxy = GetProxy(); FirewallSetUidsDeniedListChain() local
1289 auto proxy = GetProxy(); FirewallEnableChain() local
1299 auto proxy = GetProxy(); FirewallSetUidRule() local
1309 auto proxy = GetProxy(); GetTotalStats() local
1319 auto proxy = GetProxy(); GetUidStats() local
1329 auto proxy = GetProxy(); GetIfaceStats() local
1339 auto proxy = GetProxy(); GetAllSimStatsInfo() local
1349 auto proxy = GetProxy(); DeleteSimStatsInfo() local
1359 auto proxy = GetProxy(); GetAllStatsInfo() local
1369 auto proxy = GetProxy(); DeleteStatsInfo() local
1380 auto proxy = GetProxy(); SetIptablesCommandForRes() local
1391 auto proxy = GetProxy(); NetDiagPingHost() local
1401 auto proxy = GetProxy(); NetDiagGetRouteTable() local
1412 auto proxy = GetProxy(); NetDiagGetSocketsInfo() local
1423 auto proxy = GetProxy(); NetDiagGetInterfaceConfig() local
1434 auto proxy = GetProxy(); NetDiagUpdateInterfaceConfig() local
1444 auto proxy = GetProxy(); NetDiagSetInterfaceActiveState() local
1455 auto proxy = GetProxy(); AddStaticArp() local
1466 auto proxy = GetProxy(); DelStaticArp() local
1502 auto proxy = GetProxy(); RegisterDnsHealthCallback() local
1512 auto proxy = GetProxy(); UnregisterDnsHealthCallback() local
1522 auto proxy = GetProxy(); GetCookieStats() local
1532 auto proxy = GetProxy(); GetNetworkSharingType() local
1542 auto proxy = GetProxy(); UpdateNetworkSharingType() local
1555 auto proxy = GetProxy(); SetFirewallRules() local
1566 auto proxy = GetProxy(); SetFirewallDefaultAction() local
1577 auto proxy = GetProxy(); SetFirewallCurrentUserId() local
1588 auto proxy = GetProxy(); ClearFirewallRules() local
1599 auto proxy = GetProxy(); RegisterNetFirewallCallback() local
1610 auto proxy = GetProxy(); UnRegisterNetFirewallCallback() local
1623 auto proxy = GetProxy(); EnableWearableDistributedNetForward() local
1634 auto proxy = GetProxy(); DisableWearableDistributedNetForward() local
1645 auto proxy = GetProxy(); SetIpv6PrivacyExtensions() local
1655 auto proxy = GetProxy(); SetEnableIpv6() local
1666 auto proxy = GetProxy(); SetNetworkAccessPolicy() local
1677 auto proxy = GetProxy(); DeleteNetworkAccessPolicy() local
1688 auto proxy = GetProxy(); ClearFirewallAllRules() local
1699 auto proxy = GetProxy(); NotifyNetBearerTypeChange() local
1711 auto proxy = GetProxy(); StartClat() local
1721 auto proxy = GetProxy(); StopClat() local
1731 auto proxy = GetProxy(); SetNicTrafficAllowed() local
1742 auto proxy = GetProxy(); ProcessVpnStage() local
1753 auto proxy = GetProxy(); CloseSocketsUid() local
[all...]
/foundation/window/window_manager/test/fuzztest/window_scene/sessioninterface_fuzzer/
H A Dsessioninterface_fuzzer.cpp61 sptr<SessionProxy> proxy = new SessionProxy(session->AsObject()); in GetProxy() local
66 return {proxy, session->AsObject()}; in GetProxy()
81 auto [proxy, remoteObject] = GetProxy(); in IPCFuzzTest()
82 if (!proxy || !remoteObject) { in IPCFuzzTest()
102 void IPCSpecificInterfaceFuzzTest1(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest1() argument
105 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_CONNECT), in IPCSpecificInterfaceFuzzTest1()
107 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_FOREGROUND), in IPCSpecificInterfaceFuzzTest1()
109 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_BACKGROUND), in IPCSpecificInterfaceFuzzTest1()
111 proxy->SendRequest(static_cast<uint32_t>(SessionInterfaceCode::TRANS_ID_DISCONNECT), in IPCSpecificInterfaceFuzzTest1()
113 proxy in IPCSpecificInterfaceFuzzTest1()
131 IPCSpecificInterfaceFuzzTest2(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, MessageOption& option) IPCSpecificInterfaceFuzzTest2() argument
[all...]
/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Db_session_restore.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BSessionRestore() local
34 if (proxy == nullptr) { in ~BSessionRestore()
37 auto remoteObject = proxy->AsObject(); in ~BSessionRestore()
50 auto proxy = ServiceProxy::GetInstance(); in Init() local
51 if (proxy == nullptr) { in Init()
55 int32_t res = proxy->InitRestoreSession(new ServiceReverse(callbacks)); in Init()
75 auto proxy = ServiceProxy::GetInstance(); in PublishFile() local
76 if (proxy == nullptr) { in PublishFile()
79 return proxy->PublishFile(fileInfo); in PublishFile()
84 auto proxy in Start() local
94 auto proxy = ServiceProxy::GetInstance(); GetFileHandle() local
105 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
114 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
124 auto proxy = ServiceProxy::GetInstance(); Finish() local
134 auto proxy = ServiceProxy::GetInstance(); Release() local
144 auto proxy = ServiceProxy::GetInstance(); RegisterBackupServiceDied() local
[all...]
H A Db_incremental_restore_session.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BIncrementalRestoreSession() local
34 if (proxy == nullptr) { in ~BIncrementalRestoreSession()
37 auto remoteObject = proxy->AsObject(); in ~BIncrementalRestoreSession()
50 auto proxy = ServiceProxy::GetInstance(); in Init() local
51 if (proxy == nullptr) { in Init()
55 int32_t res = proxy->InitRestoreSession(sptr(new ServiceReverse(callbacks))); in Init()
75 auto proxy = ServiceProxy::GetInstance(); in PublishFile() local
76 if (proxy == nullptr) { in PublishFile()
79 return proxy->PublishIncrementalFile(fileInfo); in PublishFile()
84 auto proxy in PublishSAFile() local
93 auto proxy = ServiceProxy::GetInstance(); GetFileHandle() local
103 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
113 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
123 auto proxy = ServiceProxy::GetInstance(); Release() local
133 auto proxy = ServiceProxy::GetInstance(); RegisterBackupServiceDied() local
[all...]
H A Db_incremental_session_restore_async.cpp34 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BIncrementalSessionRestoreAsync() local
35 if (proxy == nullptr) { in ~BIncrementalSessionRestoreAsync()
38 auto remoteObject = proxy->AsObject(); in ~BIncrementalSessionRestoreAsync()
51 auto proxy = ServiceProxy::GetInstance(); in Init() local
52 if (proxy == nullptr) { in Init()
63 int32_t res = proxy->InitRestoreSession(sptr(new ServiceReverse(callbacksTmp))); in Init()
83 auto proxy = ServiceProxy::GetInstance(); in PublishFile() local
84 if (proxy == nullptr) { in PublishFile()
87 return proxy->PublishIncrementalFile(fileInfo); in PublishFile()
92 auto proxy in GetFileHandle() local
106 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
119 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
129 auto proxy = ServiceProxy::GetInstance(); Release() local
139 auto proxy = ServiceProxy::GetInstance(); RegisterBackupServiceDied() local
[all...]
H A Db_session_restore_async.cpp35 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BSessionRestoreAsync() local
36 if (proxy == nullptr) { in ~BSessionRestoreAsync()
39 auto remoteObject = proxy->AsObject(); in ~BSessionRestoreAsync()
52 auto proxy = ServiceProxy::GetInstance(); in Init() local
53 if (proxy == nullptr) { in Init()
64 int32_t res = proxy->InitRestoreSession(sptr(new ServiceReverse(callbacksTmp))); in Init()
84 auto proxy = ServiceProxy::GetInstance(); in PublishFile() local
85 if (proxy == nullptr) { in PublishFile()
88 return proxy->PublishFile(fileInfo); in PublishFile()
93 auto proxy in GetFileHandle() local
107 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
120 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
130 auto proxy = ServiceProxy::GetInstance(); Release() local
140 auto proxy = ServiceProxy::GetInstance(); RegisterBackupServiceDied() local
[all...]
H A Db_session_backup.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BSessionBackup() local
34 if (proxy == nullptr) { in ~BSessionBackup()
37 auto remoteObject = proxy->AsObject(); in ~BSessionBackup()
50 auto proxy = ServiceProxy::GetInstance(); in Init() local
51 if (proxy == nullptr) { in Init()
56 int32_t res = proxy->InitBackupSession(sptr(new ServiceReverse(callbacks))); in Init()
75 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied() local
76 if (proxy == nullptr || !functor) { in RegisterBackupServiceDied()
79 auto remoteObj = proxy->AsObject(); in RegisterBackupServiceDied()
95 auto proxy in Start() local
105 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
125 auto proxy = ServiceProxy::GetInstance(); AppendBundles() local
145 auto proxy = ServiceProxy::GetInstance(); Finish() local
155 auto proxy = ServiceProxy::GetInstance(); Release() local
[all...]
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp52 WLOGFE("Get screen session manager proxy failed, nullptr"); in GetProxy()
63 auto [proxy, remoteObject] = GetProxy(); in IPCFuzzTest()
64 if (!proxy || !remoteObject) { in IPCFuzzTest()
84 void IPCSpecificInterfaceFuzzTest1(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest1() argument
87 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_GET_DEFAULT_DISPLAY_INFO), in IPCSpecificInterfaceFuzzTest1()
89 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_REGISTER_DISPLAY_MANAGER_AGENT), in IPCSpecificInterfaceFuzzTest1()
91 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_UNREGISTER_DISPLAY_MANAGER_AGENT), in IPCSpecificInterfaceFuzzTest1()
93 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_WAKE_UP_BEGIN), in IPCSpecificInterfaceFuzzTest1()
95 proxy->SendRequest(static_cast<uint32_t>(DMMessage::TRANS_ID_WAKE_UP_END), in IPCSpecificInterfaceFuzzTest1()
97 proxy in IPCSpecificInterfaceFuzzTest1()
121 IPCSpecificInterfaceFuzzTest2(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, MessageOption& option) IPCSpecificInterfaceFuzzTest2() argument
158 IPCSpecificInterfaceFuzzTest3(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, MessageOption& option) IPCSpecificInterfaceFuzzTest3() argument
[all...]
/foundation/communication/netmanager_ext/frameworks/native/netvpnclient/src/
H A Dnetworkvpn_client.cpp49 sptr<INetworkVpnService> proxy = GetProxy(); in Prepare() local
50 if (proxy == nullptr) { in Prepare()
51 NETMGR_EXT_LOG_E("Prepare proxy is nullptr"); in Prepare()
54 return proxy->Prepare(isExistVpn, isRun, pkg); in Prepare()
64 sptr<INetworkVpnService> proxy = GetProxy(); in Protect() local
65 if (proxy == nullptr) { in Protect()
66 NETMGR_EXT_LOG_E("Protect proxy is nullptr"); in Protect()
69 int32_t result = proxy->Protect(isVpnExtCall); in Protect()
88 sptr<INetworkVpnService> proxy = GetProxy(); in SetUpVpn() local
89 if (proxy in SetUpVpn()
127 sptr<INetworkVpnService> proxy = GetProxy(); DestroyVpn() local
142 sptr<INetworkVpnService> proxy = GetProxy(); SetUpVpn() local
157 sptr<INetworkVpnService> proxy = GetProxy(); AddSysVpnConfig() local
171 sptr<INetworkVpnService> proxy = GetProxy(); DeleteSysVpnConfig() local
181 sptr<INetworkVpnService> proxy = GetProxy(); GetSysVpnConfigList() local
195 sptr<INetworkVpnService> proxy = GetProxy(); GetSysVpnConfig() local
205 sptr<INetworkVpnService> proxy = GetProxy(); GetConnectedSysVpnConfig() local
215 sptr<INetworkVpnService> proxy = GetProxy(); NotifyConnectStage() local
225 sptr<INetworkVpnService> proxy = GetProxy(); GetSysVpnCertUri() local
240 sptr<INetworkVpnService> proxy = GetProxy(); RegisterVpnEvent() local
254 sptr<INetworkVpnService> proxy = GetProxy(); UnregisterVpnEvent() local
264 sptr<INetworkVpnService> proxy = GetProxy(); CreateVpnConnection() local
275 sptr<INetworkVpnService> proxy = GetProxy(); RegisterBundleName() local
323 auto proxy = GetProxy(); RecoverCallback() local
377 auto proxy = GetProxy(); GetSelfAppName() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_render_service_connection_proxy_test.cpp41 static inline std::shared_ptr<RSRenderServiceConnectionProxy> proxy; member in OHOS::Rosen::RSRenderServiceConnectionProxyTest
49 proxy = std::make_shared<RSRenderServiceConnectionProxy>(remoteObject); in SetUpTestCase()
64 proxy->CommitTransaction(transactionData); in HWTEST_F()
70 proxy->CommitTransaction(transactionData); in HWTEST_F()
71 ASSERT_EQ(proxy->transactionDataIndex_, 0); in HWTEST_F()
83 proxy->ExecuteSynchronousTask(task); in HWTEST_F()
87 proxy->ExecuteSynchronousTask(task); in HWTEST_F()
88 ASSERT_EQ(proxy->transactionDataIndex_, 0); in HWTEST_F()
99 proxy->GetUniRenderEnabled(); in HWTEST_F()
100 ASSERT_EQ(proxy in HWTEST_F()
[all...]
/foundation/window/window_manager/test/fuzztest/dms/displaymanageripc_fuzzer/
H A Ddisplaymanageripc_fuzzer.cpp69 auto proxy = GetProxy(); in IPCFuzzTest() local
70 if (proxy.first == nullptr || proxy.second == nullptr) { in IPCFuzzTest()
82 proxy.second->SendRequest(code, sendData, reply, option); in IPCFuzzTest()
86 void IPCSpecificInterfaceFuzzTest1(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, in IPCSpecificInterfaceFuzzTest1() argument
89 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DEFAULT_DISPLAY_INFO), in IPCSpecificInterfaceFuzzTest1()
91 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_ID), in IPCSpecificInterfaceFuzzTest1()
93 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_BY_SCREEN), in IPCSpecificInterfaceFuzzTest1()
95 proxy->SendRequest(static_cast<uint32_t>(DisplayManagerMessage::TRANS_ID_GET_DISPLAY_SNAPSHOT), in IPCSpecificInterfaceFuzzTest1()
97 proxy in IPCSpecificInterfaceFuzzTest1()
139 IPCSpecificInterfaceFuzzTest2(sptr<IRemoteObject> proxy, MessageParcel& sendData, MessageParcel& reply, MessageOption& option, sptr<IDisplayManager> manager) IPCSpecificInterfaceFuzzTest2() argument
195 auto proxy = GetProxy(); IPCInterfaceFuzzTest() local
[all...]
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_policy_client.cpp34 sptr<INetPolicyService> proxy = GetProxy(); in SetPolicyByUid() local
35 if (proxy == nullptr) { in SetPolicyByUid()
36 NETMGR_LOG_E("proxy is nullptr"); in SetPolicyByUid()
40 return proxy->SetPolicyByUid(uid, policy); in SetPolicyByUid()
45 sptr<INetPolicyService> proxy = GetProxy(); in GetPolicyByUid() local
46 if (proxy == nullptr) { in GetPolicyByUid()
47 NETMGR_LOG_E("proxy is nullptr"); in GetPolicyByUid()
50 return proxy->GetPolicyByUid(uid, policy); in GetPolicyByUid()
55 sptr<INetPolicyService> proxy = GetProxy(); in GetUidsByPolicy() local
56 if (proxy in GetUidsByPolicy()
66 sptr<INetPolicyService> proxy = GetProxy(); IsUidNetAllowed() local
76 sptr<INetPolicyService> proxy = GetProxy(); IsUidNetAllowed() local
143 auto proxy = GetProxy(); RecoverCallback() local
189 sptr<INetPolicyService> proxy = GetProxy(); RegisterNetPolicyCallback() local
205 sptr<INetPolicyService> proxy = GetProxy(); UnregisterNetPolicyCallback() local
231 sptr<INetPolicyService> proxy = GetProxy(); SetNetQuotaPolicies() local
242 sptr<INetPolicyService> proxy = GetProxy(); GetNetQuotaPolicies() local
258 sptr<INetPolicyService> proxy = GetProxy(); ResetPolicies() local
269 sptr<INetPolicyService> proxy = GetProxy(); SetBackgroundPolicy() local
280 sptr<INetPolicyService> proxy = GetProxy(); GetBackgroundPolicy() local
291 sptr<INetPolicyService> proxy = GetProxy(); GetBackgroundPolicyByUid() local
306 sptr<INetPolicyService> proxy = GetProxy(); UpdateRemindPolicy() local
322 sptr<INetPolicyService> proxy = GetProxy(); SetDeviceIdleTrustlist() local
338 sptr<INetPolicyService> proxy = GetProxy(); GetDeviceIdleTrustlist() local
349 sptr<INetPolicyService> proxy = GetProxy(); SetDeviceIdlePolicy() local
360 sptr<INetPolicyService> proxy = GetProxy(); GetPowerSaveTrustlist() local
371 sptr<INetPolicyService> proxy = GetProxy(); SetPowerSaveTrustlist() local
382 sptr<INetPolicyService> proxy = GetProxy(); SetPowerSavePolicy() local
393 sptr<INetPolicyService> proxy = GetProxy(); CheckPermission() local
404 sptr<INetPolicyService> proxy = GetProxy(); SetNetworkAccessPolicy() local
415 sptr<INetPolicyService> proxy = GetProxy(); GetNetworkAccessPolicy() local
425 sptr<INetPolicyService> proxy = GetProxy(); NotifyNetAccessPolicyDiag() local
436 sptr<INetPolicyService> proxy = GetProxy(); SetNicTrafficAllowed() local
[all...]
/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
H A Dethernet_client.cpp45 sptr<IEthernetService> proxy = GetProxy(); in GetMacAddress() local
46 if (proxy == nullptr) { in GetMacAddress()
47 NETMGR_EXT_LOG_E("proxy is nullptr"); in GetMacAddress()
50 return proxy->GetMacAddress(macAddrList); in GetMacAddress()
55 sptr<IEthernetService> proxy = GetProxy(); in SetIfaceConfig() local
56 if (proxy == nullptr) { in SetIfaceConfig()
57 NETMGR_EXT_LOG_E("proxy is nullptr"); in SetIfaceConfig()
60 return proxy->SetIfaceConfig(iface, ic); in SetIfaceConfig()
65 sptr<IEthernetService> proxy = GetProxy(); in GetIfaceConfig() local
66 if (proxy in GetIfaceConfig()
75 sptr<IEthernetService> proxy = GetProxy(); IsIfaceActive() local
85 sptr<IEthernetService> proxy = GetProxy(); GetAllActiveIfaces() local
95 sptr<IEthernetService> proxy = GetProxy(); ResetFactory() local
143 auto proxy = GetProxy(); RecoverCallback() local
188 sptr<IEthernetService> proxy = GetProxy(); RegisterIfacesStateChanged() local
205 sptr<IEthernetService> proxy = GetProxy(); UnregisterIfacesStateChanged() local
221 sptr<IEthernetService> proxy = GetProxy(); SetInterfaceUp() local
231 sptr<IEthernetService> proxy = GetProxy(); SetInterfaceDown() local
241 sptr<IEthernetService> proxy = GetProxy(); GetInterfaceConfig() local
251 sptr<IEthernetService> proxy = GetProxy(); SetInterfaceConfig() local
[all...]
/foundation/distributeddatamgr/data_share/frameworks/native/consumer/controller/provider/src/
H A Dgeneral_controller_provider_impl.cpp30 auto proxy = connection->GetDataShareProxy(uri_, token_); in Insert() local
31 if (proxy == nullptr) { in Insert()
32 LOG_ERROR("proxy is nullptr"); in Insert()
35 return proxy->Insert(uri, value); in Insert()
46 auto proxy = connection->GetDataShareProxy(uri_, token_); in Update() local
47 if (proxy == nullptr) { in Update()
48 LOG_ERROR("proxy is nullptr"); in Update()
51 return proxy->Update(uri, predicates, value); in Update()
61 auto proxy = connection->GetDataShareProxy(uri_, token_); in Delete() local
62 if (proxy in Delete()
77 auto proxy = connection->GetDataShareProxy(uri_, token_); InsertEx() local
93 auto proxy = connection->GetDataShareProxy(uri_, token_); UpdateEx() local
109 auto proxy = connection->GetDataShareProxy(uri_, token_); DeleteEx() local
125 auto proxy = connection->GetDataShareProxy(uri_, token_); Query() local
141 auto proxy = connection->GetDataShareProxy(uri_, token_); RegisterObserver() local
159 auto proxy = connection->GetDataShareProxy(uri_, token_); UnregisterObserver() local
176 auto proxy = connection->GetDataShareProxy(uri_, token_); NotifyChange() local
[all...]
H A Dext_special_controller.cpp29 auto proxy = connection->GetDataShareProxy(uri_, token_); in OpenFile() local
30 if (proxy == nullptr) { in OpenFile()
31 LOG_ERROR("proxy is nullptr"); in OpenFile()
34 return proxy->OpenFile(uri, mode); in OpenFile()
44 auto proxy = connection->GetDataShareProxy(uri_, token_); in OpenRawFile() local
45 if (proxy == nullptr) { in OpenRawFile()
46 LOG_ERROR("proxy is nullptr"); in OpenRawFile()
49 return proxy->OpenRawFile(uri, mode); in OpenRawFile()
59 auto proxy = connection->GetDataShareProxy(uri_, token_); in GetType() local
60 if (proxy in GetType()
74 auto proxy = connection->GetDataShareProxy(uri_, token_); BatchInsert() local
90 auto proxy = connection->GetDataShareProxy(uri_, token_); BatchUpdate() local
105 auto proxy = connection->GetDataShareProxy(uri_, token_); InsertExt() local
120 auto proxy = connection->GetDataShareProxy(uri_, token_); ExecuteBatch() local
135 auto proxy = connection->GetDataShareProxy(uri_, token_); NormalizeUri() local
150 auto proxy = connection->GetDataShareProxy(uri_, token_); DenormalizeUri() local
165 auto proxy = connection->GetDataShareProxy(uri_, token_); GetFileTypes() local
[all...]
/foundation/ability/ability_runtime/test/unittest/cj_test_runner_object_test/
H A Dcj_test_runner_object_test.cpp80 std::shared_ptr<CJTestRunnerObject> proxy = CJTestRunnerObject::LoadModule("test_ability"); in HWTEST_F() local
81 EXPECT_NE(nullptr, proxy); in HWTEST_F()
82 proxy->OnPrepare(); in HWTEST_F()
83 proxy->OnRun(); in HWTEST_F()
85 proxy.reset(); in HWTEST_F()
95 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); in HWTEST_F() local
96 EXPECT_NE(nullptr, proxy); in HWTEST_F()
107 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); in HWTEST_F() local
108 EXPECT_NE(nullptr, proxy); in HWTEST_F()
119 auto proxy in HWTEST_F() local
132 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); HWTEST_F() local
145 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); HWTEST_F() local
157 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); HWTEST_F() local
170 auto proxy = CJTestRunnerObject::LoadModule("test_ability"); HWTEST_F() local
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_ag.cpp117 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetConnectedDevices() local
118 CHECK_AND_RETURN_LOG_RET(proxy != nullptr, BT_ERR_SERVICE_DISCONNECTED, "failed: no proxy"); in GetConnectedDevices()
120 int32_t ret = proxy->GetConnectDevices(ori); in GetConnectedDevices()
135 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetDevicesByStates() local
136 if (proxy != nullptr) { in GetDevicesByStates()
143 proxy->GetDevicesByStates(tmpstates, rawDevices); in GetDevicesByStates()
155 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); in GetDeviceState() local
156 if (proxy == nullptr || !device.IsValidBluetoothRemoteDevice()) { in GetDeviceState()
161 return proxy in GetDeviceState()
167 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); Connect() local
178 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); Disconnect() local
189 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetScoState() local
198 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ConnectSco() local
205 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); DisconnectSco() local
213 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ConnectSco() local
221 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); DisconnectSco() local
240 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); PhoneStateChanged() local
249 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ClccResponse() local
257 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); OpenVoiceRecognition() local
267 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); CloseVoiceRecognition() local
277 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); SetActiveDevice() local
287 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); IntoMock() local
297 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); SendNoCarrier() local
308 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetActiveDevice() local
320 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); SetConnectStrategy() local
328 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetConnectStrategy() local
336 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); IsInbandRingingEnabled() local
344 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); CallDetailsChanged() local
352 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); IsVgsSupported() local
360 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); EnableBtCallLog() local
402 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ~impl() local
437 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetConnectedDevices() local
451 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetConnectedDevices() local
463 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetDevicesByStates() local
477 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetDeviceState() local
491 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); Connect() local
504 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); Disconnect() local
517 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetScoState() local
528 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ConnectSco() local
540 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); DisconnectSco() local
562 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); PhoneStateChanged() local
583 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); ClccResponse() local
597 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); OpenVoiceRecognition() local
611 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); CloseVoiceRecognition() local
625 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); SetActiveDevice() local
639 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetActiveDevice() local
654 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); SetConnectStrategy() local
674 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetConnectStrategy() local
688 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); IsInbandRingingEnabled() local
697 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); CallDetailsChanged() local
713 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); IsVgsSupported() local
722 sptr<IBluetoothHfpAg> proxy = GetRemoteProxy<IBluetoothHfpAg>(PROFILE_HFP_AG); GetVirtualDeviceList() local
[all...]
H A Dbluetooth_avrcp_tg.cpp65 sptr<IBluetoothAvrcpTg> proxy = iface_cast<IBluetoothAvrcpTg>(remote); in impl()
66 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy"); in impl()
67 proxy->RegisterObserver(observer_); in impl()
75 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); in ~impl() local
76 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy"); in ~impl()
77 proxy->UnregisterObserver(observer_); in ~impl()
115 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); in SetDeviceAbsoluteVolume() local
116 CHECK_AND_RETURN_LOG_RET(proxy ! in SetDeviceAbsoluteVolume()
128 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); SetDeviceAbsVolumeAbility() local
141 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); GetDeviceAbsVolumeAbility() local
177 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); SetActiveDevice() local
191 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); GetConnectedDevices() local
209 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); GetDevicesByStates() local
235 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); GetDeviceState() local
252 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); Connect() local
269 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); Disconnect() local
288 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyPlaybackStatusChanged() local
302 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyTrackChanged() local
315 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyTrackReachedEnd() local
329 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyTrackReachedStart() local
343 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyPlaybackPosChanged() local
358 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyPlayerAppSettingChanged() local
381 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyNowPlayingContentChanged() local
395 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyAvailablePlayersChanged() local
409 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyAddressedPlayerChanged() local
423 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyUidChanged() local
437 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); NotifyVolumeChanged() local
453 sptr<IBluetoothAvrcpTg> proxy = GetRemoteProxy<IBluetoothAvrcpTg>(PROFILE_AVRCP_TG); ~AvrcpTarget() local
[all...]
H A Dbluetooth_hfp_hf.cpp161 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); in ConnectSco() local
162 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in ConnectSco()
163 return proxy->ConnectSco(BluetoothRawAddress(device.GetDeviceAddr())); in ConnectSco()
171 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); in DisconnectSco() local
172 if (proxy != nullptr && device.IsValidBluetoothRemoteDevice()) { in DisconnectSco()
173 return proxy->DisconnectSco(BluetoothRawAddress(device.GetDeviceAddr())); in DisconnectSco()
182 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); in GetDevicesByStates() local
183 if (proxy != nullptr) { in GetDevicesByStates()
190 proxy->GetDevicesByStates(tmpStates, rawDevices); in GetDevicesByStates()
202 sptr<IBluetoothHfpHf> proxy in GetDeviceState() local
212 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetScoState() local
222 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); SendDTMFTone() local
234 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); Connect() local
245 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); Disconnect() local
256 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); OpenVoiceRecognition() local
266 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); CloseVoiceRecognition() local
278 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetExistingCalls() local
301 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); AcceptIncomingCall() local
311 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HoldActiveCall() local
321 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); RejectIncomingCall() local
331 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); SendKeyPressed() local
341 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HandleIncomingCall() local
351 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HandleMultiCall() local
361 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); DialLastNumber() local
371 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); DialMemory() local
381 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); SendVoiceTag() local
391 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); FinishActiveCall() local
411 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); StartDial() local
465 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); ~impl() local
496 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); ConnectSco() local
509 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); DisconnectSco() local
521 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetDevicesByStates() local
534 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetDeviceState() local
547 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetScoState() local
560 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); SendDTMFTone() local
573 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); Connect() local
586 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); Disconnect() local
599 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); OpenVoiceRecognition() local
612 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); CloseVoiceRecognition() local
625 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); GetExistingCalls() local
637 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); AcceptIncomingCall() local
650 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HoldActiveCall() local
663 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); RejectIncomingCall() local
681 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HandleIncomingCall() local
694 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); HandleMultiCall() local
707 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); DialLastNumber() local
720 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); DialMemory() local
739 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); FinishActiveCall() local
752 sptr<IBluetoothHfpHf> proxy = GetRemoteProxy<IBluetoothHfpHf>(PROFILE_HFP_HF); StartDial() local
[all...]
/foundation/communication/netmanager_base/frameworks/native/netstatsclient/src/
H A Dnet_stats_client.cpp39 sptr<INetStatsService> proxy = GetProxy(); in RegisterNetStatsCallback() local
40 if (proxy == nullptr) { in RegisterNetStatsCallback()
41 NETMGR_LOG_E("proxy is nullptr"); in RegisterNetStatsCallback()
44 int32_t ret = proxy->RegisterNetStatsCallback(callback); in RegisterNetStatsCallback()
55 sptr<INetStatsService> proxy = GetProxy(); in UnregisterNetStatsCallback() local
56 if (proxy == nullptr) { in UnregisterNetStatsCallback()
57 NETMGR_LOG_E("proxy is nullptr"); in UnregisterNetStatsCallback()
60 int32_t ret = proxy->UnregisterNetStatsCallback(callback); in UnregisterNetStatsCallback()
74 NETMGR_LOG_D("get proxy is ok"); in GetProxy()
103 NETMGR_LOG_E("get Remote service proxy faile in GetProxy()
116 auto proxy = GetProxy(); RecoverCallback() local
162 sptr<INetStatsService> proxy = GetProxy(); GetIfaceRxBytes() local
172 sptr<INetStatsService> proxy = GetProxy(); GetIfaceTxBytes() local
182 sptr<INetStatsService> proxy = GetProxy(); GetCellularRxBytes() local
192 sptr<INetStatsService> proxy = GetProxy(); GetCellularTxBytes() local
202 sptr<INetStatsService> proxy = GetProxy(); GetAllRxBytes() local
212 sptr<INetStatsService> proxy = GetProxy(); GetAllTxBytes() local
222 sptr<INetStatsService> proxy = GetProxy(); GetUidRxBytes() local
232 sptr<INetStatsService> proxy = GetProxy(); GetUidTxBytes() local
243 sptr<INetStatsService> proxy = GetProxy(); GetIfaceStatsDetail() local
254 sptr<INetStatsService> proxy = GetProxy(); GetUidStatsDetail() local
265 sptr<INetStatsService> proxy = GetProxy(); UpdateIfacesStats() local
275 sptr<INetStatsService> proxy = GetProxy(); UpdateStatsData() local
285 sptr<INetStatsService> proxy = GetProxy(); ResetFactory() local
295 sptr<INetStatsService> proxy = GetProxy(); GetAllStatsInfo() local
305 sptr<INetStatsService> proxy = GetProxy(); GetAllContainerStatsInfo() local
316 sptr<INetStatsService> proxy = GetProxy(); GetTrafficStatsByNetwork() local
339 sptr<INetStatsService> proxy = GetProxy(); GetTrafficStatsByUidNetwork() local
361 sptr<INetStatsService> proxy = GetProxy(); SetAppStats() local
376 sptr<INetStatsService> proxy = GetProxy(); GetSockfdRxBytes() local
399 sptr<INetStatsService> proxy = GetProxy(); GetSockfdTxBytes() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_host_proxy_test/
H A Dfms_form_host_proxy_test.cpp68 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); in HWTEST_F() local
69 ASSERT_NE(nullptr, proxy); in HWTEST_F()
72 proxy->OnAcquired(formInfo, token); in HWTEST_F()
73 EXPECT_NE(proxy, nullptr); in HWTEST_F()
89 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); in HWTEST_F() local
90 ASSERT_NE(nullptr, proxy); in HWTEST_F()
93 proxy->OnAcquired(formInfo, token); in HWTEST_F()
94 EXPECT_NE(proxy, nullptr); in HWTEST_F()
110 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); in HWTEST_F() local
111 ASSERT_NE(nullptr, proxy); in HWTEST_F()
132 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
152 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
173 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
193 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
212 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
233 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
254 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
274 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
293 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
312 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
330 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
350 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
370 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
389 std::shared_ptr<FormHostProxy> proxy = std::make_shared<FormHostProxy>(iremoteObject); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
H A Dtrans_server_proxy.cpp40 constexpr uint32_t RETRY_COUNT = 10; // retry count of getting proxy object
74 TRANS_CHECK_AND_RETURN_RET_LOGE(g_serverProxy != nullptr, nullptr, TRANS_SDK, "Create trans server proxy failed"); in GetProxy()
82 sptr<TransServerProxy> proxy = nullptr; in RetryGetProxy() local
84 proxy = GetProxy(); in RetryGetProxy()
85 if (proxy != nullptr) { in RetryGetProxy()
86 return proxy; in RetryGetProxy()
99 GetProxy() != nullptr, SOFTBUS_NO_INIT, TRANS_SDK, "Failed to initialize the server proxy"); in TransServerProxyInit()
114 sptr<TransServerProxy> proxy = RetryGetProxy(); in ServerIpcCreateSessionServer() local
116 proxy != nullptr, SOFTBUS_NO_INIT, TRANS_SDK, "softbus server g_serverProxy is nullptr"); in ServerIpcCreateSessionServer()
123 return proxy in ServerIpcCreateSessionServer()
128 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcRemoveSessionServer() local
141 sptr<TransServerProxy> proxy = RetryGetProxy(); ServerIpcOpenSession() local
161 sptr<TransServerProxy> proxy = RetryGetProxy(); ServerIpcOpenAuthSession() local
180 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcNotifyAuthSuccess() local
189 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcCloseChannel() local
208 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcCloseChannelWithStatistics() local
222 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcReleaseResources() local
243 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcQosReport() local
252 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcStreamStats() local
261 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcRippleStats() local
270 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcGrantPermission() local
284 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcRemovePermission() local
298 sptr<TransServerProxy> proxy = GetProxy(); ServerIpcEvaluateQos() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_ipc_test.cpp165 * @tc.desc: 1. calling CreateBundleDir of proxy
170 auto proxy = GetInstallProxy(); in HWTEST_F() local
171 EXPECT_NE(proxy, nullptr); in HWTEST_F()
173 auto ret = proxy->CreateBundleDir(TEST_STRING); in HWTEST_F()
180 * @tc.desc: 1. calling ExtractModuleFiles of proxy
185 auto proxy = GetInstallProxy(); in HWTEST_F() local
186 EXPECT_NE(proxy, nullptr); in HWTEST_F()
188 auto ret = proxy->ExtractModuleFiles(TEST_STRING, TEST_STRING, TEST_STRING, TEST_STRING); in HWTEST_F()
195 * @tc.desc: 1. calling RenameModuleDir of proxy
200 auto proxy in HWTEST_F() local
215 auto proxy = GetInstallProxy(); HWTEST_F() local
237 auto proxy = GetInstallProxy(); HWTEST_F() local
252 auto proxy = GetInstallProxy(); HWTEST_F() local
267 auto proxy = GetInstallProxy(); HWTEST_F() local
282 auto proxy = GetInstallProxy(); HWTEST_F() local
297 auto proxy = GetInstallProxy(); HWTEST_F() local
313 auto proxy = GetInstallProxy(); HWTEST_F() local
328 auto proxy = GetInstallProxy(); HWTEST_F() local
344 auto proxy = GetInstallProxy(); HWTEST_F() local
360 auto proxy = GetInstallProxy(); HWTEST_F() local
375 auto proxy = GetInstallProxy(); HWTEST_F() local
390 auto proxy = GetInstallProxy(); HWTEST_F() local
405 auto proxy = GetInstallProxy(); HWTEST_F() local
421 auto proxy = GetInstallProxy(); HWTEST_F() local
436 auto proxy = GetInstallProxy(); HWTEST_F() local
451 auto proxy = GetInstallProxy(); HWTEST_F() local
467 auto proxy = GetInstallProxy(); HWTEST_F() local
483 auto proxy = GetInstallProxy(); HWTEST_F() local
499 auto proxy = GetInstallProxy(); HWTEST_F() local
546 auto proxy = GetInstallProxy(); HWTEST_F() local
636 auto proxy = GetInstallProxy(); HWTEST_F() local
820 auto proxy = GetInstallProxy(); HWTEST_F() local
838 auto proxy = GetInstallProxy(); HWTEST_F() local
854 auto proxy = GetInstallProxy(); HWTEST_F() local
871 auto proxy = GetInstallProxy(); HWTEST_F() local
885 auto proxy = GetInstallProxy(); HWTEST_F() local
901 auto proxy = GetInstallProxy(); HWTEST_F() local
918 auto proxy = GetInstallProxy(); HWTEST_F() local
939 auto proxy = GetInstallProxy(); HWTEST_F() local
961 auto proxy = GetInstallProxy(); HWTEST_F() local
975 auto proxy = GetInstallProxy(); HWTEST_F() local
992 auto proxy = GetInstallProxy(); HWTEST_F() local
1006 auto proxy = GetInstallProxy(); HWTEST_F() local
1022 auto proxy = GetInstallProxy(); HWTEST_F() local
1038 auto proxy = GetInstallProxy(); HWTEST_F() local
1053 auto proxy = GetInstallProxy(); HWTEST_F() local
1068 sptr<InstalldProxy> proxy = new (std::nothrow) InstalldProxy(nullptr); HWTEST_F() local
1083 auto proxy = GetInstallProxy(); HWTEST_F() local
1097 auto proxy = GetInstallProxy(); HWTEST_F() local
1113 auto proxy = GetInstallProxy(); HWTEST_F() local
1127 sptr<InstalldProxy> proxy = new (std::nothrow) InstalldProxy(nullptr); HWTEST_F() local
1145 sptr<InstalldProxy> proxy = new (std::nothrow) InstalldProxy(nullptr); HWTEST_F() local
1161 auto proxy = GetInstallProxy(); HWTEST_F() local
1180 auto proxy = GetInstallProxy(); HWTEST_F() local
1198 auto proxy = GetInstallProxy(); HWTEST_F() local
1215 auto proxy = GetInstallProxy(); HWTEST_F() local
1231 sptr<InstalldProxy> proxy = new (std::nothrow) InstalldProxy(nullptr); HWTEST_F() local
1246 auto proxy = GetInstallProxy(); HWTEST_F() local
1264 sptr<InstalldProxy> proxy = new (std::nothrow) InstalldProxy(nullptr); HWTEST_F() local
[all...]

Completed in 17 milliseconds

12345678910>>...20