Home
last modified time | relevance | path

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

123

/packages/services/Car/car-support-lib/src/android/support/car/
DCarAppFocusManagerEmbedded.java48 OnAppFocusChangedListenerProxy proxy; in addFocusListener() local
50 proxy = mChangeListeners.get(listener); in addFocusListener()
51 if (proxy == null) { in addFocusListener()
52 proxy = new OnAppFocusChangedListenerProxy(this, listener); in addFocusListener()
53 mChangeListeners.put(listener, proxy); in addFocusListener()
57 mManager.addFocusListener(proxy, appType); in addFocusListener()
65 OnAppFocusChangedListenerProxy proxy; in removeFocusListener() local
67 proxy = mChangeListeners.get(listener); in removeFocusListener()
68 if (proxy == null) { in removeFocusListener()
72 mManager.removeFocusListener(proxy, appType); in removeFocusListener()
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorManagerEmbedded.java97 OnSensorChangedListenerProxy proxy = null; in addListener() local
99 proxy = findListenerLocked(listener); in addListener()
100 if (proxy == null) { in addListener()
101 proxy = new OnSensorChangedListenerProxy(listener, sensorType, this); in addListener()
102 mListeners.add(proxy); in addListener()
104 proxy.sensors.add(sensorType); in addListener()
108 return mManager.registerListener(proxy, sensorType, rate); in addListener()
117 OnSensorChangedListenerProxy proxy = null; in removeListener() local
119 proxy = findListenerLocked(listener); in removeListener()
120 if (proxy == null) { in removeListener()
[all …]
/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()
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 …]
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()
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()
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()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java287 for (AppBlockingPolicyProxy proxy : mProxies) { in release()
288 proxy.disconnect(); in release()
549 AppBlockingPolicyProxy proxy = new AppBlockingPolicyProxy(this, mContext, in startAppBlockingPolicies() local
551 proxy.connect(); in startAppBlockingPolicies()
552 proxies.add(proxy); in startAppBlockingPolicies()
560 public void onPolicyConnectionAndSet(AppBlockingPolicyProxy proxy, in onPolicyConnectionAndSet() argument
562 doHandlePolicyConnection(proxy, policy); in onPolicyConnectionAndSet()
565 public void onPolicyConnectionFailure(AppBlockingPolicyProxy proxy) { in onPolicyConnectionFailure() argument
566 doHandlePolicyConnection(proxy, null); in onPolicyConnectionFailure()
569 private void doHandlePolicyConnection(AppBlockingPolicyProxy proxy, in doHandlePolicyConnection() argument
[all …]
/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/apps/Settings/src/com/android/settings/
DProxySelector.java69 mView = inflater.inflate(R.layout.proxy, container, false); in onCreateView()
154 ProxyInfo proxy = cm.getGlobalProxy(); in populateFields() local
155 if (proxy != null) { in populateFields()
156 hostname = proxy.getHost(); in populateFields()
157 port = proxy.getPort(); in populateFields()
158 exclList = proxy.getExclusionListAsString(); in populateFields()
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java201 public void onServiceConnected(int profile, BluetoothProfile proxy) {
207 mBluetoothA2dpSink = (BluetoothA2dpSink) proxy;
211 mBluetoothHeadsetClient = (BluetoothHeadsetClient) proxy;
215 mBluetoothPbapClient = (BluetoothPbapClient) proxy;
219 mBluetoothMapClient = (BluetoothMapClient) proxy;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java110 ProxyInfo proxy = new ProxyInfo(proxyHost, proxyPort, proxyBypassHosts); in updateForProxy() local
111 wifiConf.setProxy(ProxySettings.STATIC, proxy); in updateForProxy()
113 ProxyInfo proxy = new ProxyInfo(pacUrl); in updateForProxy() local
114 wifiConf.setProxy(ProxySettings.PAC, proxy); in updateForProxy()
/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/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/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java619 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument
623 mHeadset = (BluetoothHeadset) proxy; in onServiceConnected()
629 mA2dp = (BluetoothA2dp) proxy; in onServiceConnected()
635 mInput = (BluetoothInputDevice) proxy; in onServiceConnected()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DMapMceTestFragment.java207 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument
209 mMapProfile = (BluetoothMapClient) proxy; in onServiceConnected()
210 List<BluetoothDevice> connectedDevices = proxy.getConnectedDevices(); in onServiceConnected()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java216 public void setSubscriptionManagerProxy(SubscriptionManagerProxy proxy) { in setSubscriptionManagerProxy() argument
217 mSubscriptionManagerProxy = proxy; in setSubscriptionManagerProxy()
221 public void setTelephonyManagerProxy(TelephonyManagerProxy proxy) { in setTelephonyManagerProxy() argument
222 mTelephonyManagerProxy = proxy; in setTelephonyManagerProxy()
226 public void setPhoneFactoryProxy(PhoneFactoryProxy proxy) { in setPhoneFactoryProxy() argument
227 mPhoneFactoryProxy = proxy; in setPhoneFactoryProxy()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DProxyOutputStream.java39 public ProxyOutputStream(OutputStream proxy) { in ProxyOutputStream() argument
40 super(proxy); in ProxyOutputStream()
DProxyWriter.java41 public ProxyWriter(Writer proxy) { in ProxyWriter() argument
42 super(proxy); in ProxyWriter()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DProxyInputStream.java42 public ProxyInputStream(InputStream proxy) { in ProxyInputStream() argument
43 super(proxy); in ProxyInputStream()
DProxyReader.java42 public ProxyReader(Reader proxy) { in ProxyReader() argument
43 super(proxy); in ProxyReader()
/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/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageProxy.java35 public ForwardingImageProxy(ImageProxy proxy) { in ForwardingImageProxy() argument
36 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()

123