Home
last modified time | relevance | path

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

123

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageToProcess.java31 public final ImageProxy proxy; field in ImageToProcess
45 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess() argument
47 this.proxy = proxy; in ImageToProcess()
60 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess() argument
62 this(proxy, imageRotation, metadata, new Rect(0, 0, proxy.getWidth(), proxy.getHeight())); in ImageToProcess()
DTaskChainedCompressImageToJpeg.java52 Rect safeCrop = guaranteedSafeCrop(img.proxy, img.crop); in run()
53 final List<ImageProxy.Plane> planeList = img.proxy.getPlanes(); in run()
55 final TaskImage inputImage = new TaskImage(mImage.rotation, img.proxy.getWidth(), in run()
56 img.proxy.getHeight(), img.proxy.getFormat(), safeCrop); in run()
57 final TaskImage resultImage = new TaskImage(mImage.rotation, img.proxy.getWidth(), in run()
58 img.proxy.getHeight(), ImageFormat.JPEG , safeCrop); in run()
74 dataCopy = convertYUV420ImageToPackedNV21(img.proxy); in run()
DTaskCompressImageToJpeg.java123 switch (img.proxy.getFormat()) { in run()
132 ByteBuffer origBuffer = img.proxy.getPlanes().get(0).getBuffer(); in run()
188 safeCrop = guaranteedSafeCrop(img.proxy, in run()
204 img.proxy.getFormat(), safeCrop); in run()
206 if(requiresCropOperation(img.proxy, safeCrop)) { in run()
212 img.proxy.getFormat(), null); in run()
237 safeCrop = guaranteedSafeCrop(img.proxy, img.crop); in run()
239 inputImage = new TaskImage(img.rotation, img.proxy.getWidth(), in run()
240 img.proxy.getHeight(), in run()
241 img.proxy.getFormat(), safeCrop); in run()
[all …]
DTaskPreviewChainedJpeg.java64 Rect safeCrop = guaranteedSafeCrop(img.proxy, img.crop); in run()
76 logWrapper("TIMER_END Rendering preview YUV buffer available, w=" + img.proxy.getWidth() in run()
77 / subsample + " h=" + img.proxy.getHeight() / subsample + " of subsample " in run()
80 convertedImage = runSelectedConversion(img.proxy, safeCrop, subsample); in run()
DTaskConvertImageToRGBPreview.java807 return new TaskImage(img.rotation, img.proxy.getWidth(), img.proxy.getHeight(), in calculateInputImage()
808 img.proxy.getFormat(), cropApplied); in calculateInputImage()
820 final Rect safeCrop = guaranteedSafeCrop(img.proxy, img.crop); in calculateResultImage()
868 Rect safeCrop = guaranteedSafeCrop(img.proxy, img.crop); in run()
881 + img.proxy.getWidth() in run()
882 / subsample + " h=" + img.proxy.getHeight() / subsample + " of subsample " in run()
885 convertedImage = runSelectedConversion(img.proxy, safeCrop, subsample); in run()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java129 TaskProxy proxy = new TaskProxy(); in download() local
145 task.addProxy(proxy); in download()
148 return proxy.get(jc); in download()
269 public void removeProxy(TaskProxy proxy) { in removeProxy() argument
271 Utils.assertTrue(mProxySet.remove(proxy)); in removeProxy()
280 public void addProxy(TaskProxy proxy) { in addProxy() argument
281 proxy.mTask = this; in addProxy()
282 mProxySet.add(proxy); in addProxy()
306 for (TaskProxy proxy : mProxySet) { in onFutureDone()
307 proxy.setResult(entry); in onFutureDone()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java139 if (mProfile.proxy != null) { in onCreate()
140 mProxyHost.setText(mProfile.proxy.getHost()); in onCreate()
141 int port = mProfile.proxy.getPort(); in onCreate()
196 !mProfile.routes.isEmpty() || (mProfile.proxy != null && in onCreate()
197 (!mProfile.proxy.getHost().isEmpty() || mProfile.proxy.getPort() != 0))) { in onCreate()
324 if (mProfile.proxy != null && (!mProfile.proxy.getHost().isEmpty() || in updateUiControls()
325 mProfile.proxy.getPort() != 0)) { in updateUiControls()
498 profile.proxy = new ProxyInfo(proxyHost, port, null); in getProfile()
500 profile.proxy = null; in getProfile()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java399 for (AppBlockingPolicyProxy proxy : mProxies) { in release()
400 proxy.disconnect(); in release()
864 AppBlockingPolicyProxy proxy = new AppBlockingPolicyProxy(this, mContext, in startAppBlockingPolicies() local
866 proxy.connect(); in startAppBlockingPolicies()
867 proxies.add(proxy); in startAppBlockingPolicies()
875 public void onPolicyConnectionAndSet(AppBlockingPolicyProxy proxy, in onPolicyConnectionAndSet() argument
877 doHandlePolicyConnection(proxy, policy); in onPolicyConnectionAndSet()
880 public void onPolicyConnectionFailure(AppBlockingPolicyProxy proxy) { in onPolicyConnectionFailure() argument
881 doHandlePolicyConnection(proxy, null); in onPolicyConnectionFailure()
884 private void doHandlePolicyConnection(AppBlockingPolicyProxy proxy, in doHandlePolicyConnection() argument
[all …]
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java65 mView = inflater.inflate(R.layout.proxy, container, false); in onCreateView()
150 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() local
151 if (proxy != null) { in populateFields()
152 hostname = proxy.getHost(); in populateFields()
153 port = proxy.getPort(); in populateFields()
154 exclList = proxy.getExclusionListAsString(); in populateFields()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProxySelector.java65 mView = inflater.inflate(R.layout.proxy, container, false); in onCreateView()
150 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() local
151 if (proxy != null) { in populateFields()
152 hostname = proxy.getHost(); in populateFields()
153 port = proxy.getPort(); in populateFields()
154 exclList = proxy.getExclusionListAsString(); in populateFields()
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java153 public void onServiceConnected(int profile, BluetoothProfile proxy) {
162 mBluetoothA2dpSink = (BluetoothA2dpSink) proxy;
165 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy;
168 mBluetoothPbapClient = (BluetoothPbapClient) proxy;
171 mBluetoothMapClient = (BluetoothMapClient) proxy;
174 mBluetoothPan = (BluetoothPan) proxy;
DVmsPublisherService.java133 PublisherProxy proxy = mPublisherProxies.remove(publisherName); in onClientDisconnected() local
134 if (proxy != null) { in onClientDisconnected()
135 proxy.unregister(); in onClientDisconnected()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java146 if (mProfile.proxy != null) { in onCreate()
147 mProxyHost.setText(mProfile.proxy.getHost()); in onCreate()
148 int port = mProfile.proxy.getPort(); in onCreate()
327 if (mProfile.proxy != null && (!mProfile.proxy.getHost().isEmpty() || in updateUiControls()
328 mProfile.proxy.getPort() != 0)) { in updateUiControls()
589 profile.proxy = new ProxyInfo(proxyHost, port, null); in getProfile()
591 profile.proxy = null; in getProfile()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java512 ProjectionAccessPointCallbackProxy proxy = in startProjectionAccessPoint() local
515 mService.startProjectionAccessPoint(proxy.getMessenger(), mAccessPointProxyToken); in startProjectionAccessPoint()
516 mProjectionAccessPointCallbackProxy = proxy; in startProjectionAccessPoint()
548 ProjectionAccessPointCallbackProxy proxy; in stopProjectionAccessPoint() local
550 proxy = mProjectionAccessPointCallbackProxy; in stopProjectionAccessPoint()
553 if (proxy == null) { in stopProjectionAccessPoint()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2348 private CaptivePortalProbeResult sendDnsAndHttpProbes(ProxyInfo proxy, URL url, int probeType) { in sendDnsAndHttpProbes() argument
2352 final String host = (proxy != null) ? proxy.getHost() : url.getHost(); in sendDnsAndHttpProbes()
2361 && (proxy == null) && hasPrivateIpAddress(resolvedAddr)) { in sendDnsAndHttpProbes()
2615 ProbeThread(CountDownLatch latch, ValidationProperties properties, ProxyInfo proxy, URL url, in ProbeThread() argument
2619 ? new HttpsProbe(properties, proxy, url, captivePortalApiUrl) in ProbeThread()
2620 : new HttpProbe(properties, proxy, url, captivePortalApiUrl); in ProbeThread()
2650 protected Probe(ValidationProperties properties, ProxyInfo proxy, URL url, in Probe() argument
2653 mProxy = proxy; in Probe()
2662 HttpsProbe(ValidationProperties properties, ProxyInfo proxy, URL url, in HttpsProbe() argument
2664 super(properties, proxy, url, captivePortalApiUrl); in HttpsProbe()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java67 final Context context, final Listener proxy) { in newIncompleteSubtypePreference() argument
68 return new CustomInputStylePreference(context, null, proxy); in newIncompleteSubtypePreference()
72 final Listener proxy) { in CustomInputStylePreference() argument
76 mProxy = proxy; in CustomInputStylePreference()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataReleasingImageQueue.java36 public MetadataReleasingImageProxy(ImageProxy proxy) { in MetadataReleasingImageProxy() argument
37 super(proxy); in MetadataReleasingImageProxy()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java45 public void onServiceConnected(int profile, BluetoothProfile proxy) {
52 new BluetoothHeadsetProxy((BluetoothHeadset) proxy);
55 mBluetoothHearingAidService = (BluetoothHearingAid) proxy;
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java409 public void setSubscriptionManagerProxy(SubscriptionManagerProxy proxy) { in setSubscriptionManagerProxy() argument
410 mSubscriptionManagerProxy = proxy; in setSubscriptionManagerProxy()
417 public void setTelephonyManagerProxy(TelephonyManagerProxy proxy) { in setTelephonyManagerProxy() argument
418 mTelephonyManagerProxy = proxy; in setTelephonyManagerProxy()
425 public void setPhoneFactoryProxy(PhoneFactoryProxy proxy) { in setPhoneFactoryProxy() argument
426 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()
449 public void setPhoneSwitcherProxy(PhoneSwitcherProxy proxy) { in setPhoneSwitcherProxy() argument
450 mPhoneSwitcherProxy = proxy; in setPhoneSwitcherProxy()
457 public void setPhoneNumberUtilsProxy(PhoneNumberUtilsProxy proxy) { in setPhoneNumberUtilsProxy() argument
458 mPhoneNumberUtilsProxy = proxy; in setPhoneNumberUtilsProxy()
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DHfpDeviceListLiveData.java56 public void onServiceConnected(int profile, BluetoothProfile proxy) { in HfpDeviceListLiveData()
58 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy; in HfpDeviceListLiveData()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageProxy.java36 public ForwardingImageProxy(ImageProxy proxy) { in ForwardingImageProxy() argument
37 mImpl = proxy; in ForwardingImageProxy()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCloseWhenDoneImageReader.java42 public ImageDecorator(ImageProxy proxy) { in ImageDecorator() argument
43 super(proxy); in ImageDecorator()
DLoggingImageReader.java35 public LoggingImageProxy(ImageProxy proxy) { in LoggingImageProxy() argument
36 super(proxy); in LoggingImageProxy()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java101 public BaseApn(final String mmsc, final String proxy, final int port) { in BaseApn() argument
103 mMmsProxy = proxy; in BaseApn()
368 final String proxy = gservices.getString(BugleGservicesKeys.MMS_PROXY_ADDRESS, null); in loadFromGservices() local
370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); in loadFromGservices()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewInteractionState.java85 public void setSystemUiProxy(ISystemUiProxy proxy) { in setSystemUiProxy() argument
86 mBgHandler.obtainMessage(MSG_SET_PROXY, proxy).sendToTarget(); in setSystemUiProxy()

123