Home
last modified time | relevance | path

Searched refs:proxy (Results 1 – 25 of 223) sorted by relevance

123456789

/frameworks/av/media/libaudiohal/tests/
DEffectProxy_test.cpp64 if (desc.common.id.proxy.has_value()) { in SetUp()
65 mProxyDescs[desc.common.id.proxy.value()].emplace_back(desc); in SetUp()
131 auto& proxy = std::get<TupleIndex::HANDLE>(itor.second); in TEST_F() local
132 EXPECT_TRUE(proxy->destroy().isOk()); in TEST_F()
142 auto& proxy = std::get<TupleIndex::HANDLE>(itor.second); in TEST_F() local
143 EXPECT_TRUE(proxy->open(common, std::nullopt, &ret).isOk()); in TEST_F()
144 EXPECT_TRUE(proxy->close().isOk()); in TEST_F()
145 EXPECT_TRUE(proxy->destroy().isOk()); in TEST_F()
157 auto& proxy = std::get<TupleIndex::HANDLE>(itor.second); in TEST_F() local
158 EXPECT_TRUE(proxy->open(common, std::nullopt, &ret).isOk()); in TEST_F()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp157 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_getRenderThreadTid() local
158 return proxy->getRenderThreadTid(); in android_view_ThreadedRenderer_getRenderThreadTid()
172 RenderProxy* proxy = new RenderProxy(translucent, rootRenderNode, &factory); in android_view_ThreadedRenderer_createProxy() local
173 return (jlong) proxy; in android_view_ThreadedRenderer_createProxy()
178 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_deleteProxy() local
179 delete proxy; in android_view_ThreadedRenderer_deleteProxy()
184 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_loadSystemProperties() local
185 return proxy->loadSystemProperties(); in android_view_ThreadedRenderer_loadSystemProperties()
190 RenderProxy* proxy = reinterpret_cast<RenderProxy*>(proxyPtr); in android_view_ThreadedRenderer_setName() local
192 proxy->setName(name); in android_view_ThreadedRenderer_setName()
[all …]
Dandroid_graphics_HardwareBufferRenderer.cpp75 auto* proxy = new RenderProxy(false, rootRenderNode, &factory); in android_graphics_HardwareBufferRenderer_create() local
76 proxy->setHardwareBuffer(hardwareBuffer); in android_graphics_HardwareBufferRenderer_create()
77 return (jlong)proxy; in android_graphics_HardwareBufferRenderer_create()
81 auto* proxy = reinterpret_cast<RenderProxy*>(renderProxy); in HardwareBufferRenderer_destroy() local
82 delete proxy; in HardwareBufferRenderer_destroy()
105 auto* proxy = reinterpret_cast<RenderProxy*>(renderProxy); in android_graphics_HardwareBufferRenderer_render() local
110 proxy->setHardwareBufferRenderParams(HardwareBufferRenderParams( in android_graphics_HardwareBufferRenderer_render()
113 UiFrameInfoBuilder(proxy->frameInfo()) in android_graphics_HardwareBufferRenderer_render()
118 return proxy->syncAndDrawFrame(); in android_graphics_HardwareBufferRenderer_render()
126 auto* proxy = reinterpret_cast<RenderProxy*>(renderProxyPtr); in android_graphics_HardwareBufferRenderer_setLightGeometry() local
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java259 final ProxyAccessibilityServiceConnection proxy = in clearConnections() local
261 if (proxy != null && proxy.getDeviceId() == deviceId) { in clearConnections()
262 displaysToClear.add(proxy.getDisplayId()); in clearConnections()
406 final ProxyAccessibilityServiceConnection proxy = in sendAccessibilityEventLocked() local
408 if (proxy != null) { in sendAccessibilityEventLocked()
413 proxy.notifyAccessibilityEvent(event); in sendAccessibilityEventLocked()
424 final ProxyAccessibilityServiceConnection proxy = in canRetrieveInteractiveWindowsLocked() local
426 if (proxy.mRetrieveInteractiveWindows) { in canRetrieveInteractiveWindowsLocked()
447 final ProxyAccessibilityServiceConnection proxy = in getStateLocked() local
449 if (proxy != null && proxy.getDeviceId() == deviceId) { in getStateLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2ProviderWatcher.java76 for (MediaRoute2ProviderServiceProxy proxy : mProxies) { in dump()
77 proxy.dump(pw, prefix); in dump()
142 MediaRoute2ProviderServiceProxy proxy = in scanPackages() local
152 + proxy.mComponentName); in scanPackages()
153 proxy.start(/* rebindIfDisconnected= */ false); in scanPackages()
154 mProxies.add(targetIndex++, proxy); in scanPackages()
155 mCallback.onAddProviderService(proxy); in scanPackages()
157 MediaRoute2ProviderServiceProxy proxy = mProxies.get(sourceIndex); in scanPackages() local
158 proxy.start( in scanPackages()
169 MediaRoute2ProviderServiceProxy proxy = mProxies.get(i); in scanPackages() local
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionListenerProxy.java39 private void proxy(Runnable runnable) { in proxy() method in SipSessionListenerProxy
49 proxy(new Runnable() { in onCalling()
65 proxy(new Runnable() { in onRinging()
80 proxy(new Runnable() { in onRingingBack()
96 proxy(new Runnable() { in onCallEstablished()
111 proxy(new Runnable() { in onCallEnded()
127 proxy(new Runnable() { in onCallTransferring()
142 proxy(new Runnable() { in onCallBusy()
158 proxy(new Runnable() { in onCallChangeFailed()
174 proxy(new Runnable() { in onError()
[all …]
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp126 std::unique_ptr<RenderProxy> proxy(new RenderProxy(false, rootNode.get(), &factory)); in doRun() local
127 proxy->loadSystemProperties(); in doRun()
128 proxy->setSurface(surface.get()); in doRun()
130 proxy->setLightAlpha(255 * 0.075, 255 * 0.15); in doRun()
131 proxy->setLightGeometry((Vector3){lightX, dp(-200.0f), dp(800.0f)}, dp(800.0f)); in doRun()
142 UiFrameInfoBuilder(proxy->frameInfo()) in doRun()
146 proxy->forceDrawNextFrame(); in doRun()
147 proxy->syncAndDrawFrame(); in doRun()
150 proxy->resetProfileInfo(); in doRun()
151 proxy->fence(); in doRun()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java436 RadioConfigProxy proxy = getRadioConfigProxy(result); in getSimSlotsStatus() local
437 if (proxy.isEmpty()) return; in getSimSlotsStatus()
444 proxy.getSimSlotStatus(rr.mSerial); in getSimSlotsStatus()
454 RadioConfigProxy proxy = getRadioConfigProxy(null); in setPreferredDataModem() local
455 if (proxy.isEmpty()) return; in setPreferredDataModem()
472 proxy.setPreferredDataModem(rr.mSerial, modemId); in setPreferredDataModem()
482 RadioConfigProxy proxy = getRadioConfigProxy(null); in updateSimultaneousCallingSupport() local
483 if (proxy.isEmpty()) return; in updateSimultaneousCallingSupport()
485 if (proxy.getVersion().less(RIL.RADIO_HAL_VERSION_2_2)) { in updateSimultaneousCallingSupport()
500 proxy.updateSimultaneousCallingSupport(rr.mSerial); in updateSimultaneousCallingSupport()
[all …]
/frameworks/base/core/java/android/service/autofill/augmented/
DPresentationParams.java65 public final AutofillProxy proxy; field in PresentationParams.Area
69 private Area(@NonNull AutofillProxy proxy, @NonNull Rect bounds) { in Area() argument
70 this.proxy = proxy; in Area()
99 public SystemPopupPresentationParams(@NonNull AutofillProxy proxy, @NonNull Rect rect) { in SystemPopupPresentationParams() argument
100 mSuggestionArea = new Area(proxy, rect) {}; in SystemPopupPresentationParams()
DAugmentedAutofillService.java186 final AutofillProxy proxy = mAutofillProxyForLastRequest; in requestAutofill() local
187 if (proxy == null || !proxy.mComponentName.equals(activityComponent) in requestAutofill()
188 || !proxy.mFocusedId.equals(autofillId)) { in requestAutofill()
192 return proxy.requestAutofill(); in requestAutofill()
266 AutofillProxy proxy = mAutofillProxies.get(sessionId); in handleOnFillRequest() local
267 if (proxy == null) { in handleOnFillRequest()
268 proxy = new AutofillProxy(sessionId, client, taskId, mServiceComponentName, in handleOnFillRequest()
271 mAutofillProxies.put(sessionId, proxy); in handleOnFillRequest()
275 proxy.update(focusedId, focusedValue, callback, cancellationSignal); in handleOnFillRequest()
283 mAutofillProxyForLastRequest = proxy; in handleOnFillRequest()
[all …]
/frameworks/libs/native_bridge_support/android_api/libvulkan/
DAndroid.bp51 "proxy/cpp_types.go",
54 "proxy/cpp_types_test.go",
62 "proxy/vulkan_types.go",
71 "proxy/vulkan_xml.go",
78 "proxy/vulkan_xml_test.go",
84 srcs: ["proxy/gen_vulkan.go"],
92 "proxy/vulkan_trampolines.cc",
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationProxyTest.kt35 import com.android.server.pm.verify.domain.proxy.DomainVerificationProxy in <lambda>()
36 import com.android.server.pm.verify.domain.proxy.DomainVerificationProxyV1 in <lambda>()
37 import com.android.server.pm.verify.domain.proxy.DomainVerificationProxyV2 in <lambda>()
214 val proxy = DomainVerificationProxy.makeProxy<Connection>( in <lambda>() constant
222 return ProxyV1Setup(messages, connection, proxy) in <lambda>()
227 val (messages, _, proxy) = prepareProxyV1() in <lambda>() constant
229 proxy.sendBroadcastForPackages(setOf(TEST_PKG_NAME_TARGET_ONE, TEST_PKG_NAME_TARGET_TWO)) in <lambda>()
230 messages.forEach { (code, value) -> proxy.runMessage(code, value) } in <lambda>()
265 val (messages, connection, proxy) = prepareProxyV1() in <lambda>() constant
267 proxy.sendBroadcastForPackages(setOf(TEST_PKG_NAME_TARGET_ONE, TEST_PKG_NAME_TARGET_TWO)) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DMainThreadUnfoldTransitionProgressProvider.kt49 val proxy = TransitionProgressListerProxy(listener) in addCallback() constant
50 rootProvider.addCallback(proxy) in addCallback()
51 listenerMap[listener] = proxy in addCallback()
55 val proxy = listenerMap.remove(listener) ?: return in removeCallback() constant
56 rootProvider.removeCallback(proxy) in removeCallback()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs21 use crate::proxy::{DeathRecipient, SpIBinder, WpIBinder};
770 proxy: $proxy:ident,
777 proxy: $proxy {},
787 proxy: $proxy:ident,
795 proxy: $proxy {},
805 proxy: $proxy:ident {
814 proxy: $proxy {
826 proxy: $proxy:ident {
838 proxy: $proxy {
853 proxy: $proxy:ident {
[all …]
Dlib.rs102 mod proxy; module
114 pub use proxy::{DeathRecipient, SpIBinder, WpIBinder};
143 pub use crate::proxy::{AssociateClass, Proxy};
151 pub use crate::proxy::unstable_api::new_spibinder;
/frameworks/libs/native_bridge_support/android_api/libc/
DAndroid.bp159 "proxy/cxa_trampolines.cc",
160 "proxy/libc_translation.cc",
161 "proxy/malloc_translation.cc",
162 "proxy/pthread_translation.cc",
163 "proxy/setjmp_thunks.cc",
164 "proxy/system_properties_trampolines.cc",
165 "proxy/unistd_thunks.cc",
180 // We need to access Bionic private headers in the libc proxy.
/frameworks/base/core/java/android/net/
DPacProxySelector.java104 Proxy proxy = proxyFromHostPort(Type.HTTP, trimmed.substring(PROXY.length())); in parseResponse() local
105 if (proxy != null) { in parseResponse()
106 ret.add(proxy); in parseResponse()
109 Proxy proxy = proxyFromHostPort(Type.SOCKS, trimmed.substring(SOCKS.length())); in parseResponse() local
110 if (proxy != null) { in parseResponse()
111 ret.add(proxy); in parseResponse()
DPacProxyManager.java103 public void setCurrentProxyScriptUrl(@Nullable ProxyInfo proxy) { in setCurrentProxyScriptUrl() argument
105 mService.setCurrentProxyScriptUrl(proxy); in setCurrentProxyScriptUrl()
125 void onPacProxyInstalled(@Nullable Network network, @NonNull ProxyInfo proxy); in onPacProxyInstalled() argument
142 public void onPacProxyInstalled(Network network, ProxyInfo proxy) { in onPacProxyInstalled() argument
145 mListener.onPacProxyInstalled(network, proxy); in onPacProxyInstalled()
DProxy.java111 java.net.Proxy proxy = getProxy(ctx, null); in getHost() local
112 if (proxy == java.net.Proxy.NO_PROXY) return null; in getHost()
114 return ((InetSocketAddress)(proxy.address())).getHostName(); in getHost()
129 java.net.Proxy proxy = getProxy(ctx, null); in getPort() local
130 if (proxy == java.net.Proxy.NO_PROXY) return -1; in getPort()
132 return ((InetSocketAddress)(proxy.address())).getPort(); in getPort()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsUtTest.java102 ImsUt.IImsUtListenerProxy proxy = captor.getValue(); in testClirConversionCompat() local
103 assertNotNull(proxy); in testClirConversionCompat()
112 proxy.utConfigurationQueried(null, 2 /*id*/, result); in testClirConversionCompat()
130 ImsUt.IImsUtListenerProxy proxy = captor.getValue(); in testClipConversionCompat() local
131 assertNotNull(proxy); in testClipConversionCompat()
141 proxy.utConfigurationQueried(null, 2 /*id*/, result); in testClipConversionCompat()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/
Ddevice_for_product_strategies.pfw30 proxy = 0
75 proxy = 0
122 proxy = 0
169 proxy = 0
214 proxy = 0
261 proxy = 0
307 proxy = 0
353 proxy = 0
400 proxy = 0
446 proxy = 0
[all …]
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/
DProxyGeocodeProvider.java17 package com.android.server.location.provider.proxy;
41 ProxyGeocodeProvider proxy = new ProxyGeocodeProvider(context); in createAndRegister() local
42 if (proxy.register()) { in createAndRegister()
43 return proxy; in createAndRegister()
/frameworks/libs/native_bridge_support/guest_state_accessor/
Daccessor_proxy.cc62 void *proxy = OpenSystemLibrary(library_name.c_str(), RTLD_NOW | RTLD_LOCAL); in LoadGuestStateRegisters() local
63 if (!proxy) { in LoadGuestStateRegisters()
72 dlsym(proxy, "LoadGuestStateRegisters")); in LoadGuestStateRegisters()
/frameworks/libs/binary_translation/proxy_loader/
Dproxy_loader.cc40 void* proxy = dlopen(proxy_name.c_str(), RTLD_NOW | RTLD_LOCAL); in LoadProxyLibrary() local
41 if (!proxy) { in LoadProxyLibrary()
48 reinterpret_cast<InitProxyLibraryFunc>(dlsym(proxy, "InitProxyLibrary")); in LoadProxyLibrary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationSectionsFeatureManager.kt43 constructor(val proxy: DeviceConfigProxy, val context: Context) { constant in com.android.systemui.statusbar.notification.NotificationSectionsFeatureManager
46 return usePeopleFiltering(proxy) in isFilteringEnabled()
98 private fun usePeopleFiltering(proxy: DeviceConfigProxy): Boolean { in usePeopleFiltering()
101 proxy.getBoolean( in usePeopleFiltering()

123456789