Home
last modified time | relevance | path

Searched refs:proxy (Results 26 - 50 of 597) sorted by relevance

12345678910>>...24

/third_party/jerryscript/tests/jerry/es2015/
H A Dproxy_get.js24 var proxy = new Proxy(target, handler);
28 proxy.a
36 proxy[2];
44 proxy + "foo";
57 var proxy = new Proxy(target, handler);
59 assert(proxy.prop === "value");
60 assert(proxy.nothing === undefined);
61 assert(proxy.handler === undefined);
65 assert(proxy.prop === "value 2");
66 assert(proxy
[all...]
H A Dproxy_get_prototoype_of.js24 var proxy = new Proxy(target, handler);
28 Object.getPrototypeOf(proxy);
36 Object.prototype.isPrototypeOf(proxy);
47 Object.setPrototypeOf(g, proxy);
68 Function.prototype.bind.call(proxy);
81 var proxy = new Proxy(target, handler);
83 assert(Object.getPrototypeOf(proxy) === Array.prototype);
84 assert(Reflect.getPrototypeOf(proxy) === Array.prototype);
85 assert(Array.prototype.isPrototypeOf(proxy));
86 assert(proxy instanceo
[all...]
H A Dproxy_is_extensible.js25 var proxy = new Proxy(target, handler);
29 Object.isFrozen(proxy)
37 Object.isSealed(proxy)
45 Object.isExtensible(proxy)
54 var proxy = new Proxy(target, handler);
56 assert(Object.isExtensible(proxy) === true);
59 assert(Object.isExtensible(proxy) === false);
64 var proxy = new Proxy(target, handler);
66 assert(Object.isExtensible(proxy) === true);
69 assert(Object.isExtensible(proxy)
125 var proxy = revocable.proxy; global() variable
[all...]
H A Dproxy_define_own_property.js26 var proxy = new Proxy(target, handler);
29 Array.of.call(proxy, 5)
43 var proxy = new Proxy(target, handler);
46 Object.defineProperty(proxy, "foo", desc);
57 var proxy = new Proxy(target, handler);
59 Object.defineProperty(proxy, "bar", desc);
61 assert(proxy.bar === 1);
64 proxy.bar = 2;
65 assert(proxy.bar === 2);
68 delete proxy
[all...]
H A Dproxy_delete.js28 var proxy = new Proxy(target, handler);
33 with (proxy) {
39 Array.prototype.pop.call(proxy);
53 var proxy = new Proxy(target, handler);
56 assert(proxy.foo === "bar");
58 assert(delete proxy.foo === false);
61 assert(proxy.foo === undefined);
64 assert(delete proxy.bar == false);
74 var proxy = new Proxy(target, handler2);
77 assert(delete proxy
112 var proxy = revocable.proxy; global() variable
[all...]
H A Dproxy_prevent_extensions.js24 var proxy = new Proxy(target, handler);
28 Object.freeze(proxy)
36 Object.seal(proxy)
45 var proxy = new Proxy(target, handler);
48 assert(Object.isExtensible(proxy) === true);
49 Object.preventExtensions(proxy);
51 assert(Object.isExtensible(proxy) === false);
56 var proxy = new Proxy(target, handler);
59 assert(Object.isExtensible(proxy) === true);
60 Object.preventExtensions(proxy);
[all...]
H A Dproxy_set.js35 var proxy = new Proxy(monster, handler);
37 proxy.eyeCount = 1;
38 proxy.foo = "bar";
49 var proxy = new Proxy(target, handler);
51 proxy.foo = 12;
58 var proxy = new Proxy(target, handler);
63 proxy.p = 42;
74 proxy.p = 42;
78 // test when target is a proxy
86 var proxy
102 var proxy = revocable.proxy; global() variable
[all...]
/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Duser_auth_client_impl.cpp85 auto proxy = GetProxy(); in GetAvailableStatus() local
86 if (!proxy) { in GetAvailableStatus()
87 IAM_LOGE("proxy is nullptr"); in GetAvailableStatus()
90 return proxy->GetAvailableStatus(INNER_API_VERSION_10000, authType, authTrustLevel); in GetAvailableStatus()
98 auto proxy = GetProxy(); in GetNorthAvailableStatus() local
99 if (!proxy) { in GetNorthAvailableStatus()
100 IAM_LOGE("proxy is nullptr"); in GetNorthAvailableStatus()
103 return proxy->GetAvailableStatus(apiVersion, authType, authTrustLevel); in GetNorthAvailableStatus()
110 auto proxy = GetProxy(); in GetAvailableStatus() local
111 if (!proxy) { in GetAvailableStatus()
127 auto proxy = GetProxy(); GetProperty() local
149 auto proxy = GetProxy(); SetPropertyInner() local
215 auto proxy = GetProxy(); BeginAuthentication() local
258 auto proxy = GetProxy(); BeginNorthAuthentication() local
279 auto proxy = GetProxy(); CancelAuthentication() local
297 auto proxy = GetProxy(); BeginIdentification() local
318 auto proxy = GetProxy(); CancelIdentification() local
330 auto proxy = GetProxy(); GetVersion() local
342 auto proxy = GetProxy(); SetGlobalConfigParam() local
452 auto proxy = GetProxy(); BeginWidgetAuthInner() local
477 auto proxy = GetProxy(); SetWidgetCallback() local
494 auto proxy = GetProxy(); Notice() local
507 auto proxy = GetProxy(); GetEnrolledState() local
529 auto proxy = GetProxy(); RegistUserAuthSuccessEventListener() local
552 auto proxy = GetProxy(); UnRegistUserAuthSuccessEventListener() local
576 auto proxy = GetProxy(); PrepareRemoteAuth() local
[all...]
H A Duser_idm_client_impl.cpp33 auto proxy = GetProxy(); in OpenSession() local
34 if (!proxy) { in OpenSession()
35 IAM_LOGE("proxy is nullptr"); in OpenSession()
40 auto success = proxy->OpenSession(userId, challenge); in OpenSession()
51 auto proxy = GetProxy(); in CloseSession() local
52 if (!proxy) { in CloseSession()
53 IAM_LOGE("proxy is nullptr"); in CloseSession()
57 proxy->CloseSession(userId); in CloseSession()
68 auto proxy = GetProxy(); in AddCredential() local
69 if (!proxy) { in AddCredential()
98 auto proxy = GetProxy(); UpdateCredential() local
123 auto proxy = GetProxy(); Cancel() local
140 auto proxy = GetProxy(); DeleteCredential() local
166 auto proxy = GetProxy(); DeleteUser() local
191 auto proxy = GetProxy(); EraseUser() local
217 auto proxy = GetProxy(); GetCredentialInfo() local
243 auto proxy = GetProxy(); GetSecUserInfo() local
310 auto proxy = GetProxy(); ClearRedundancyCredential() local
[all...]
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dmhd2spdy_spdy.c27 * @brief SPDY part of the proxy. libspdylay is used for the client side.
76 struct Proxy *proxy = (struct Proxy *)(source->ptr); in spdy_cb_data_source_read() local
86 if(!proxy->received_body_size)//nothing to write now in spdy_cb_data_source_read()
88 if(proxy->receiving_done) in spdy_cb_data_source_read()
97 if(length >= proxy->received_body_size) in spdy_cb_data_source_read()
99 ret = proxy->received_body_size; in spdy_cb_data_source_read()
105 if(NULL == (newbody = malloc(proxy->received_body_size - length))) in spdy_cb_data_source_read()
110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length); in spdy_cb_data_source_read()
112 memcpy(buf, proxy in spdy_cb_data_source_read()
294 struct Proxy *proxy; spdy_cb_before_ctrl_send() local
330 struct Proxy * proxy; spdy_cb_on_ctrl_recv() local
394 struct Proxy * proxy = spdylay_session_get_stream_user_data(session, stream_id); spdy_cb_on_stream_close() local
429 struct Proxy *proxy; spdy_cb_on_data_chunk_recv() local
475 struct Proxy *proxy; spdy_cb_on_data_recv() local
815 struct Proxy *proxy; spdy_free_connection() local
842 spdy_request(const char **nv, struct Proxy *proxy, bool with_body) spdy_request() argument
[all...]
/third_party/skia/src/gpu/
H A DGrResourceAllocator.cpp46 void GrResourceAllocator::addInterval(GrSurfaceProxy* proxy, unsigned int start, unsigned int end, in addInterval() argument
52 if (proxy->canSkipResourceAllocator()) { in addInterval()
56 // If a proxy is read only it must refer to a texture with specific content that cannot be in addInterval()
57 // recycled. We don't need to assign a texture to it and no other proxy can be instantiated in addInterval()
59 if (proxy->readOnly()) { in addInterval()
61 if (proxy->isLazy() && !proxy->priv().doLazyInstantiation(resourceProvider)) { in addInterval()
64 // Since we aren't going to add an interval we won't revisit this proxy in assign(). So in addInterval()
65 // must already be instantiated or it must be a lazy proxy that we instantiated above. in addInterval()
66 SkASSERT(proxy in addInterval()
104 can_proxy_use_scratch(const GrCaps& caps, GrSurfaceProxy* proxy) can_proxy_use_scratch() argument
108 user_cache_proxy(GrSurfaceProxy* proxy) user_cache_proxy() argument
136 isRecyclable(const GrCaps& caps, GrSurfaceProxy* proxy, int knownUseCount) const isRecyclable() argument
154 instantiateSurface(GrSurfaceProxy* proxy, GrResourceProvider* resourceProvider) instantiateSurface() argument
281 findOrCreateRegisterFor(GrSurfaceProxy* proxy) findOrCreateRegisterFor() argument
379 GrSurfaceProxy* proxy = cur->proxy(); makeBudgetHeadroom() local
[all...]
/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_impl.cpp82 sptr<LocatorProxy> proxy = GetProxy(); in IsLocationEnabled() local
83 if (proxy == nullptr) { in IsLocationEnabled()
84 LBSLOGE(LOCATOR_STANDARD, "%{public}s get proxy failed.", __func__); in IsLocationEnabled()
87 state = proxy->GetSwitchState(); in IsLocationEnabled()
115 sptr<LocatorProxy> proxy = GetProxy(); in EnableAbility() local
116 if (proxy == nullptr) { in EnableAbility()
117 LBSLOGE(LOCATOR_STANDARD, "%{public}s get proxy failed.", __func__); in EnableAbility()
120 LocationErrCode errCode = proxy->EnableAbilityV9(enable); in EnableAbility()
132 sptr<LocatorProxy> proxy = GetProxy(); in StartLocating() local
133 if (proxy in StartLocating()
153 sptr<LocatorProxy> proxy = GetProxy(); StopLocating() local
171 sptr<LocatorProxy> proxy = GetProxy(); GetCachedLocation() local
215 sptr<LocatorProxy> proxy = GetProxy(); RegisterGnssStatusCallback() local
234 sptr<LocatorProxy> proxy = GetProxy(); UnregisterGnssStatusCallback() local
249 sptr<LocatorProxy> proxy = GetProxy(); RegisterNmeaMessageCallback() local
268 sptr<LocatorProxy> proxy = GetProxy(); UnregisterNmeaMessageCallback() local
317 sptr<LocatorProxy> proxy = GetProxy(); RegisterCachedLocationCallback() local
330 sptr<LocatorProxy> proxy = GetProxy(); UnregisterCachedLocationCallback() local
345 sptr<LocatorProxy> proxy = GetProxy(); IsGeoServiceAvailable() local
367 sptr<LocatorProxy> proxy = GetProxy(); GetAddressByCoordinate() local
404 sptr<LocatorProxy> proxy = GetProxy(); GetAddressByLocationName() local
443 sptr<LocatorProxy> proxy = GetProxy(); IsLocationPrivacyConfirmed() local
458 sptr<LocatorProxy> proxy = GetProxy(); SetLocationPrivacyConfirmStatus() local
473 sptr<LocatorProxy> proxy = GetProxy(); GetCachedGnssLocationsSize() local
488 sptr<LocatorProxy> proxy = GetProxy(); FlushCachedGnssLocations() local
503 sptr<LocatorProxy> proxy = GetProxy(); SendCommand() local
529 sptr<LocatorProxy> proxy = GetProxy(); EnableLocationMock() local
544 sptr<LocatorProxy> proxy = GetProxy(); DisableLocationMock() local
560 sptr<LocatorProxy> proxy = GetProxy(); SetMockedLocations() local
575 sptr<LocatorProxy> proxy = GetProxy(); EnableReverseGeocodingMock() local
590 sptr<LocatorProxy> proxy = GetProxy(); DisableReverseGeocodingMock() local
605 sptr<LocatorProxy> proxy = GetProxy(); SetReverseGeocodingMockInfo() local
626 sptr<LocatorProxy> proxy = GetProxy(); IsLocationEnabledV9() local
682 sptr<LocatorProxy> proxy = GetProxy(); EnableAbilityV9() local
700 sptr<LocatorProxy> proxy = GetProxy(); EnableAbilityForUser() local
716 sptr<LocatorProxy> proxy = GetProxy(); StartLocatingV9() local
739 sptr<LocatorProxy> proxy = GetProxy(); StopLocatingV9() local
755 sptr<LocatorProxy> proxy = GetProxy(); GetCachedLocationV9() local
790 sptr<LocatorProxy> proxy = GetProxy(); RegisterGnssStatusCallbackV9() local
813 sptr<LocatorProxy> proxy = GetProxy(); UnregisterGnssStatusCallbackV9() local
829 sptr<LocatorProxy> proxy = GetProxy(); RegisterNmeaMessageCallbackV9() local
852 sptr<LocatorProxy> proxy = GetProxy(); UnregisterNmeaMessageCallbackV9() local
904 sptr<LocatorProxy> proxy = GetProxy(); RegisterCachedLocationCallbackV9() local
919 sptr<LocatorProxy> proxy = GetProxy(); UnregisterCachedLocationCallbackV9() local
934 sptr<LocatorProxy> proxy = GetProxy(); IsGeoServiceAvailableV9() local
950 sptr<LocatorProxy> proxy = GetProxy(); GetAddressByCoordinateV9() local
986 sptr<LocatorProxy> proxy = GetProxy(); GetAddressByLocationNameV9() local
1023 sptr<LocatorProxy> proxy = GetProxy(); IsLocationPrivacyConfirmedV9() local
1038 sptr<LocatorProxy> proxy = GetProxy(); SetLocationPrivacyConfirmStatusV9() local
1053 sptr<LocatorProxy> proxy = GetProxy(); GetCachedGnssLocationsSizeV9() local
1068 sptr<LocatorProxy> proxy = GetProxy(); FlushCachedGnssLocationsV9() local
1083 sptr<LocatorProxy> proxy = GetProxy(); SendCommandV9() local
1110 sptr<LocatorProxy> proxy = GetProxy(); EnableLocationMockV9() local
1125 sptr<LocatorProxy> proxy = GetProxy(); DisableLocationMockV9() local
1141 sptr<LocatorProxy> proxy = GetProxy(); SetMockedLocationsV9() local
1156 sptr<LocatorProxy> proxy = GetProxy(); EnableReverseGeocodingMockV9() local
1171 sptr<LocatorProxy> proxy = GetProxy(); DisableReverseGeocodingMockV9() local
1186 sptr<LocatorProxy> proxy = GetProxy(); SetReverseGeocodingMockInfoV9() local
1208 sptr<LocatorProxy> proxy = GetProxy(); ProxyForFreeze() local
1229 sptr<LocatorProxy> proxy = GetProxy(); ResetAllProxy() local
1245 sptr<LocatorProxy> proxy = GetProxy(); RegisterLocatingRequiredDataCallback() local
1259 sptr<LocatorProxy> proxy = GetProxy(); UnRegisterLocatingRequiredDataCallback() local
1273 sptr<LocatorProxy> proxy = GetProxy(); SubscribeLocationError() local
1291 sptr<LocatorProxy> proxy = GetProxy(); UnSubscribeLocationError() local
1521 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); ResumeGnssStatusCallback() local
1537 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); ResumeNmeaMessageCallback() local
1553 sptr<LocatorProxy> proxy = g_locatorImpl->GetProxy(); ResumeLocating() local
[all...]
/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_manager.cpp53 auto proxy = GetProxy(); in IsLocked() local
54 if (proxy == nullptr) { in IsLocked()
58 return proxy->IsLocked(isLocked); in IsLocked()
63 auto proxy = GetProxy(); in IsScreenLocked() local
64 if (proxy == nullptr) { in IsScreenLocked()
68 return proxy->IsScreenLocked(); in IsScreenLocked()
73 auto proxy = GetProxy(); in GetSecure() local
74 if (proxy == nullptr) { in GetSecure()
78 return proxy->GetSecure(); in GetSecure()
83 auto proxy in Unlock() local
106 auto proxy = GetProxy(); Lock() local
121 auto proxy = GetProxy(); Lock() local
131 auto proxy = GetProxy(); RequestStrongAuth() local
[all...]
H A Dscreenlock_app_manager.cpp55 auto proxy = GetProxy(); in SendScreenLockEvent() local
56 if (proxy == nullptr) { in SendScreenLockEvent()
60 int ret = proxy->SendScreenLockEvent(event, param); in SendScreenLockEvent()
68 auto proxy = GetProxy(); in IsScreenLockDisabled() local
69 if (proxy == nullptr) { in IsScreenLockDisabled()
73 int32_t status = proxy->IsScreenLockDisabled(userId, isDisabled); in IsScreenLockDisabled()
81 auto proxy = GetProxy(); in SetScreenLockDisabled() local
82 if (proxy == nullptr) { in SetScreenLockDisabled()
86 int32_t status = proxy->SetScreenLockDisabled(disable, userId); in SetScreenLockDisabled()
94 auto proxy in SetScreenLockAuthState() local
107 auto proxy = GetProxy(); GetScreenLockAuthState() local
120 auto proxy = GetProxy(); RequestStrongAuth() local
134 auto proxy = GetProxy(); GetStrongAuth() local
147 auto proxy = GetProxy(); OnSystemEvent() local
[all...]
/base/request/request/frameworks/native/src/
H A Drequest_manager_impl.cpp50 auto proxy = GetRequestServiceProxy(); in Create() local
51 if (proxy == nullptr) { in Create()
57 int32_t ret = proxy->Create(config, tid); in Create()
68 ret = proxy->Subscribe(tid); in Create()
71 ret = proxy->Start(tid); in Create()
99 auto proxy = GetRequestServiceProxy(); in Retry() local
100 if (proxy == nullptr) { in Retry()
101 REQUEST_HILOGE("proxy is nullptr!"); in Retry()
104 errorCode = proxy->Create(config, taskId); in Retry()
115 void RequestManagerImpl::SetRequestServiceProxy(sptr<RequestServiceInterface> proxy) in SetRequestServiceProxy() argument
124 auto proxy = GetRequestServiceProxy(); GetTask() local
153 auto proxy = GetRequestServiceProxy(); Start() local
171 auto proxy = GetRequestServiceProxy(); Stop() local
182 auto proxy = GetRequestServiceProxy(); Query() local
193 auto proxy = GetRequestServiceProxy(); Touch() local
204 auto proxy = GetRequestServiceProxy(); Search() local
215 auto proxy = GetRequestServiceProxy(); Show() local
226 auto proxy = GetRequestServiceProxy(); Pause() local
237 auto proxy = GetRequestServiceProxy(); QueryMimeType() local
248 auto proxy = GetRequestServiceProxy(); Remove() local
259 auto proxy = GetRequestServiceProxy(); Resume() local
330 auto proxy = GetRequestServiceProxy(); Subscribe() local
349 auto proxy = GetRequestServiceProxy(); Unsubscribe() local
360 auto proxy = GetRequestServiceProxy(); SubRunCount() local
373 auto proxy = GetRequestServiceProxy(); UnsubRunCount() local
389 auto proxy = GetRequestServiceProxy(); EnsureChannelOpen() local
529 auto proxy = GetRequestServiceProxy(); RestoreSubRunCount() local
[all...]
/base/security/access_token/frameworks/inner_api/privacy/src/
H A Dprivacy_manager_client.cpp63 auto proxy = GetProxy(); in AddPermissionUsedRecord() local
64 if (proxy == nullptr) { in AddPermissionUsedRecord()
70 return proxy->AddPermissionUsedRecord(infoParcel, asyncMode); in AddPermissionUsedRecord()
76 auto proxy = GetProxy(); in StartUsingPermission() local
77 if (proxy == nullptr) { in StartUsingPermission()
81 return proxy->StartUsingPermission(tokenID, pid, permissionName); in StartUsingPermission()
118 auto proxy = GetProxy(); in StartUsingPermission() local
119 if (proxy == nullptr) { in StartUsingPermission()
124 result = proxy->StartUsingPermission(tokenId, pid, permissionName, callbackWrap->AsObject()); in StartUsingPermission()
136 auto proxy in StopUsingPermission() local
155 auto proxy = GetProxy(); RemovePermissionUsedRecords() local
166 auto proxy = GetProxy(); GetPermissionUsedRecords() local
183 auto proxy = GetProxy(); GetPermissionUsedRecords() local
231 auto proxy = GetProxy(); RegisterPermActiveStatusCallback() local
254 auto proxy = GetProxy(); UnRegisterPermActiveStatusCallback() local
276 auto proxy = GetProxy(); IsAllowedUsingPermission() local
287 auto proxy = GetProxy(); RegisterSecCompEnhance() local
299 auto proxy = GetProxy(); UpdateSecCompEnhance() local
309 auto proxy = GetProxy(); GetSecCompEnhance() local
326 auto proxy = GetProxy(); GetSpecialSecCompEnhance() local
346 auto proxy = GetProxy(); GetPermissionUsedTypeInfos() local
365 auto proxy = GetProxy(); SetMutePolicy() local
375 auto proxy = GetProxy(); SetHapWithFGReminder() local
[all...]
/third_party/node/deps/npm/node_modules/socks/build/common/
H A Dhelpers.js27 // Check SOCKS proxy to use
28 if (!isValidSocksProxy(options.proxy)) {
32 validateCustomProxyAuth(options.proxy, options);
64 options.proxies.forEach((proxy) => {
65 if (!isValidSocksProxy(proxy)) {
69 validateCustomProxyAuth(proxy, options);
77 function validateCustomProxyAuth(proxy, options) {
78 if (proxy.custom_auth_method !== undefined) {
80 if (proxy.custom_auth_method < constants_1.SOCKS5_CUSTOM_AUTH_START ||
81 proxy
[all...]
/base/hiviewdfx/hiview/adapter/service/client/src/
H A Dhiview_service_trace_delegate.cpp27 auto proxyHandler = [&tagGroups] (HiviewServiceAbilityProxy& proxy) { in OpenSnapshot()
28 return proxy.OpenSnapshotTrace(tagGroups); in OpenSnapshot()
35 auto proxyHandler = [caller] (HiviewServiceAbilityProxy& proxy) { in DumpSnapshot()
36 return proxy.DumpSnapshotTrace(caller); in DumpSnapshot()
43 auto proxyHandler = [&tags] (HiviewServiceAbilityProxy& proxy) { in OpenRecording()
44 return proxy.OpenRecordingTrace(tags); in OpenRecording()
51 auto proxyHandler = [] (HiviewServiceAbilityProxy& proxy) { in RecordingOn()
52 return proxy.RecordingTraceOn(); in RecordingOn()
59 auto proxyHandler = [] (HiviewServiceAbilityProxy& proxy) { in RecordingOff()
60 return proxy in RecordingOff()
[all...]
/base/powermgr/power_manager/frameworks/native/
H A Drunning_lock.cpp35 RunningLock::RunningLock(const wptr<IPowerMgr>& proxy, const std::string& name, RunningLockType type) in RunningLock() argument
36 : proxy_(proxy) in RunningLock()
61 sptr<IPowerMgr> proxy = proxy_.promote(); in Create() local
62 if (proxy == nullptr) { in Create()
66 return proxy->CreateRunningLock(token_, runningLockInfo_); in Create()
69 PowerErrors RunningLock::Recover(const wptr<IPowerMgr>& proxy) in Recover() argument
73 proxy_ = proxy; in Recover()
79 sptr<IPowerMgr> proxy = proxy_.promote(); in UpdateWorkSource() local
80 if (proxy == nullptr) { in UpdateWorkSource()
89 if (!proxy in UpdateWorkSource()
97 sptr<IPowerMgr> proxy = proxy_.promote(); Lock() local
120 sptr<IPowerMgr> proxy = proxy_.promote(); UnLock() local
135 sptr<IPowerMgr> proxy = proxy_.promote(); IsUsed() local
147 sptr<IPowerMgr> proxy = proxy_.promote(); Release() local
[all...]
/base/telephony/core_service/test/unittest/esim_gtest/
H A Desim_core_service_proxy_test.cpp113 CoreServiceProxy proxy(remote); in HWTEST_F()
115 EXPECT_EQ(proxy.GetEid(SLOT_ID, eId), TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL); in HWTEST_F()
121 CoreServiceProxy proxy(remote); in HWTEST_F()
124 EXPECT_EQ(proxy.GetEid(SLOT_ID, eId), TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL); in HWTEST_F()
130 CoreServiceProxy proxy(remote); in HWTEST_F()
133 EXPECT_EQ(proxy.GetEid(SLOT_ID, eId), 0); in HWTEST_F()
139 CoreServiceProxy proxy(remote); in HWTEST_F()
142 proxy.ReadEuiccProfileFromReply(reply, euiccProfile); in HWTEST_F()
150 CoreServiceProxy proxy(remote); in HWTEST_F()
152 int32_t ret = proxy in HWTEST_F()
[all...]
/base/notification/common_event_service/frameworks/core/src/
H A Dcommon_event.cpp62 sptr<ICommonEvent> proxy = GetCommonEventProxy(); in PublishCommonEvent() local
63 if (!proxy) { in PublishCommonEvent()
67 return proxy->PublishCommonEvent( in PublishCommonEvent()
81 sptr<ICommonEvent> proxy = GetCommonEventProxy(); in PublishCommonEventAsUser() local
82 if (!proxy) { in PublishCommonEventAsUser()
86 return proxy->PublishCommonEvent(data, publishInfo, commonEventListener, userId); in PublishCommonEventAsUser()
99 sptr<ICommonEvent> proxy = GetCommonEventProxy(); in PublishCommonEvent() local
100 if (!proxy) { in PublishCommonEvent()
104 return proxy->PublishCommonEvent(data, publishInfo, commonEventListener, uid, callerToken, UNDEFINED_USER); in PublishCommonEvent()
118 sptr<ICommonEvent> proxy in PublishCommonEventAsUser() local
166 sptr<ICommonEvent> proxy = GetCommonEventProxy(); SubscribeCommonEvent() local
203 sptr<ICommonEvent> proxy = GetCommonEventProxy(); UnSubscribeCommonEvent() local
233 sptr<ICommonEvent> proxy = GetCommonEventProxy(); GetStickyCommonEvent() local
241 FinishReceiver( const sptr<IRemoteObject> &proxy, const int32_t &code, const std::string &data, const bool &abortEvent) FinishReceiver() argument
263 sptr<ICommonEvent> proxy = GetCommonEventProxy(); DumpState() local
275 sptr<ICommonEvent> proxy = GetCommonEventProxy(); Freeze() local
287 sptr<ICommonEvent> proxy = GetCommonEventProxy(); Unfreeze() local
299 sptr<ICommonEvent> proxy = GetCommonEventProxy(); UnfreezeAll() local
311 sptr<ICommonEvent> proxy = GetCommonEventProxy(); RemoveStickyCommonEvent() local
368 auto proxy = iface_cast<ICommonEvent>(remoteObject); GetCommonEventProxy() local
429 sptr<ICommonEvent> proxy = GetCommonEventProxy(); Resubscribe() local
[all...]
/base/security/security_guard/frameworks/js/napi/
H A Dsecurity_guard_sdk_adaptor.cpp48 auto proxy = LoadDataCollectManageService(); in RequestSecurityEventInfo() local
49 if (proxy == nullptr) { in RequestSecurityEventInfo()
50 SGLOGE("proxy is null"); in RequestSecurityEventInfo()
59 int32_t ret = proxy->RequestRiskData(devId, eventList, obj); in RequestSecurityEventInfo()
78 auto proxy = iface_cast<RiskAnalysisManagerProxy>(object); in RequestSecurityModelResult() local
79 if (proxy == nullptr) { in RequestSecurityModelResult()
80 SGLOGE("proxy is null"); in RequestSecurityModelResult()
89 int32_t ret = proxy->RequestSecurityModelResult(devId, modelId, param, stub); in RequestSecurityModelResult()
106 auto proxy = iface_cast<IDataCollectManager>(object); in ReportSecurityInfo() local
107 if (proxy in ReportSecurityInfo()
132 auto proxy = iface_cast<RiskAnalysisManagerProxy>(object); SetModelState() local
151 auto proxy = iface_cast<SecurityCollector::ISecurityCollectorManager>(object); NotifyCollector() local
173 auto proxy = LoadDataCollectManageService(); StartCollector() local
195 auto proxy = LoadDataCollectManageService(); StopCollector() local
218 auto proxy = LoadDataCollectManageService(); QuerySecurityEvent() local
249 auto proxy = LoadDataCollectManageService(); Subscribe() local
285 auto proxy = LoadDataCollectManageService(); Unsubscribe() local
323 auto proxy = LoadDataCollectManageService(); ConfigUpdate() local
[all...]
/base/telephony/cellular_call/test/fuzztest/imsclient_fuzzer/
H A Dimsclient_fuzzer.cpp239 void TestImsCallProxyWithCallInfo(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) in TestImsCallProxyWithCallInfo() argument
260 proxy->Dial(callInfo, static_cast<CLIRMode>(mode)); in TestImsCallProxyWithCallInfo()
261 proxy->HangUp(callInfo); in TestImsCallProxyWithCallInfo()
262 proxy->Answer(callInfo); in TestImsCallProxyWithCallInfo()
263 proxy->RejectWithReason(callInfo, ImsRejectReason::USER_DECLINE); in TestImsCallProxyWithCallInfo()
264 proxy->InviteToConference(slotId, numberList); in TestImsCallProxyWithCallInfo()
265 proxy->KickOutFromConference(slotId, index); in TestImsCallProxyWithCallInfo()
266 proxy->StartDtmf(slotId, *cDtmfCode, index); in TestImsCallProxyWithCallInfo()
267 proxy->SendDtmf(slotId, *cDtmfCode, index); in TestImsCallProxyWithCallInfo()
268 proxy in TestImsCallProxyWithCallInfo()
279 TestImsCallProxyWithSlotAndType(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithSlotAndType() argument
320 TestImsCallProxyWithSettingFunction(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithSettingFunction() argument
360 TestImsCallProxyWithCallMediaModeRequest(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithCallMediaModeRequest() argument
378 TestImsCallProxyWithCallMediaModeResponse(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithCallMediaModeResponse() argument
396 TestImsCallProxyWithCancelCallUpgrade(const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithCancelCallUpgrade() argument
403 TestImsCallProxyWithRequestCameraCapabilities( const uint8_t *data, size_t size, const sptr<ImsCallInterface> &proxy) TestImsCallProxyWithRequestCameraCapabilities() argument
439 sptr<ImsCallInterface> proxy = iface_cast<ImsCallInterface>(remoteObjectPtr); DoSomethingInterestingWithMyAPI() local
[all...]
/third_party/libwebsockets/lib/core-net/client/
H A Dclient.c30 lws_set_proxy(struct lws_vhost *vhost, const char *proxy) in lws_set_proxy() argument
36 if (!proxy) in lws_set_proxy()
40 if (!strncmp(proxy, "http://", 7)) in lws_set_proxy()
41 proxy += 7; in lws_set_proxy()
43 p = strrchr(proxy, '@'); in lws_set_proxy()
46 if (lws_ptr_diff_size_t(p, proxy) > sizeof(authstring) - 1) in lws_set_proxy()
49 lws_strncpy(authstring, proxy, lws_ptr_diff_size_t(p, proxy) + 1); in lws_set_proxy()
51 if (lws_b64_encode_string(authstring, lws_ptr_diff(p, proxy), in lws_set_proxy()
59 proxy in lws_set_proxy()
[all...]
/base/security/security_component_manager/frameworks/inner_api/security_component/src/
H A Dsec_comp_client.cpp61 auto proxy = GetProxy(true); in RegisterSecurityComponent() local
62 if (proxy == nullptr) { in RegisterSecurityComponent()
67 return proxy->RegisterSecurityComponent(type, componentInfo, scId); in RegisterSecurityComponent()
72 auto proxy = GetProxy(true); in UpdateSecurityComponent() local
73 if (proxy == nullptr) { in UpdateSecurityComponent()
78 return proxy->UpdateSecurityComponent(scId, componentInfo); in UpdateSecurityComponent()
83 auto proxy = GetProxy(true); in UnregisterSecurityComponent() local
84 if (proxy == nullptr) { in UnregisterSecurityComponent()
89 return proxy->UnregisterSecurityComponent(scId); in UnregisterSecurityComponent()
96 auto proxy in ReportSecurityComponentClickEvent() local
107 auto proxy = GetProxy(false); VerifySavePermission() local
124 auto proxy = GetProxy(doLoadSa); GetEnhanceRemoteObject() local
134 auto proxy = GetProxy(true); PreRegisterSecCompProcess() local
266 auto proxy = iface_cast<ISecCompService>(remoteObject); GetProxyFromRemoteObject() local
[all...]

Completed in 15 milliseconds

12345678910>>...24