Home
last modified time | relevance | path

Searched refs:getPort (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Email/provider_src/com/android/email/mail/transport/
DMailTransport.java86 public int getPort() { in getPort() method in MailTransport
109 getHost() + ":" + String.valueOf(getPort())); in open()
113 SocketAddress socketAddress = new InetSocketAddress(getHost(), getPort()); in open()
168 .createSocket(mSocket, getHost(), getPort(), true); in reopenTls()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DGetCapabilitiesTask.java58 InetSocketAddress a = new InetSocketAddress(uri.getHost(), uri.getPort()); in isDeviceOnline()
116 mUri.getPort(), mUri.getPath(), mUri.getScheme(), mTimeout, printerCaps); in doInBackground()
DStartJobTask.java171 + " port=" + mDestination.getPort() + " mime=" + MIME_TYPE_PDF in doInBackground()
175 result = mBackend.nativeStartJob(Backend.getIp(address), mDestination.getPort(), in doInBackground()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java99 int givenPort = printerUri.getPort(); in addManualPrinter()
112 String authority = hostname + ":" + (givenPort == -1 ? uri.getPort() : givenPort); in addManualPrinter()
DMdnsDiscovery.java115 Uri path = Uri.parse(scheme + "://" + info.getHost().getHostAddress() + ":" + info.getPort() in toNetworkPrinter()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java182 assertEquals(1, (long) primaryPhysicals.get(0).getPort()); in loadAudioZones_parsesPhysicalDisplayAddresses()
183 assertEquals(2, (long) primaryPhysicals.get(1).getPort()); in loadAudioZones_parsesPhysicalDisplayAddresses()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java141 int port = mProfile.proxy.getPort(); in onCreate()
197 (!mProfile.proxy.getHost().isEmpty() || mProfile.proxy.getPort() != 0))) { in onCreate()
325 mProfile.proxy.getPort() != 0)) { in updateUiControls()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java141 int port = mProfile.proxy.getPort(); in onCreate()
197 (!mProfile.proxy.getHost().isEmpty() || mProfile.proxy.getPort() != 0))) { in onCreate()
325 mProfile.proxy.getPort() != 0)) { in updateUiControls()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java771 return address.getPort(); in getDefaultDisplayPhysicalPort()
788 byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in initPhysicalPort()
894 return ((DisplayAddress.Physical) address).getPort(); in getPhysicalPort()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java73 packetBuffer.mSrcPort = addr.getPort(); in readPacket()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DProxyPortState.java111 title = Integer.toString(mAdvancedOptionsFlowInfo.getInitialProxyInfo().getPort()); in onCreateActions()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java140 final byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in getInstrumentClusterDisplay()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZone.java176 long port = (long) physical.getPort(); in dump()
DCarAudioDeviceInfo.java97 return mAudioDeviceInfo.getPort(); in getAudioDevicePort()
DCarAudioService.java653 AudioPortConfig sourceConfig = sourcePortInfo.getPort().buildConfig(0, in createAudioPatchLocked()
951 displayAddress.getPort() == displayPortId)) { in getZoneIdForDisplayPortId()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java520 displayList.add((int) physical.getPort()); in setUpDisplayPlayer()
521 Log.d(TAG, "Found Display Port " + physical.getPort()); in setUpDisplayPlayer()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DPacketReaderTest.java167 assertTrue(0 < mLocalSockName.getPort()); in testBasicWorking()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java507 return getZoneIdForDisplayPortId(physicalAddress.getPort()); in getZoneIdForDisplay()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java209 .createSocket(socket, address.getHostName(), address.getPort(), true); in reopenTls()
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java153 port = proxy.getPort(); in populateFields()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProxySelector.java153 port = proxy.getPort(); in populateFields()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java226 socket.getInetAddress().getHostName(), socket.getPort(), in chooseClientAlias()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java266 int port = a.getPort(); in buildIntentFilterForResolveInfo()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java541 setConnection(scheme, uri.getHost(), uri.getPort()); in setHostAuthFromString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java1301 mProxyPortView.setText(Integer.toString(proxyProperties.getPort())); in showProxyFields()

12