Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructInetDiagSockId.java60 byteBuffer.putShort((short) mLocSocketAddress.getPort()); in pack()
61 byteBuffer.putShort((short) mRemSocketAddress.getPort()); in pack()
78 + "idiag_sport{" + mLocSocketAddress.getPort() + "}, " in toString()
79 + "idiag_dport{" + mRemSocketAddress.getPort() + "}, " in toString()
/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/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java93 protected int getPort() { in getPort() method in AdbIpAddressPreferenceController
110 int port = getPort(); in updateConnectivity()
/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/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java112 int remotePort = ((InetSocketAddress) Os.getsockname(remoteFd)).getPort(); in TcpConnection()
157 final int localPort = udp.local.getPort(); in findLikelyFreeUdpPort()
/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/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java251 if (IPPS_SCHEME.equals(newUri.getScheme()) && newUri.getPort() > 0 && in deliver()
254 ":" + newUri.getPort()).build(); in deliver()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java880 return address.getPort(); in getDefaultDisplayPhysicalPort()
897 byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in initPhysicalPort()
1003 return ((DisplayAddress.Physical) address).getPort(); in getPhysicalPort()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java77 packetBuffer.mSrcPort = addr.getPort(); in readPacket()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java140 final byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in getInstrumentClusterDisplay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DProxyPortState.java111 title = Integer.toString(mAdvancedOptionsFlowInfo.getInitialProxyInfo().getPort()); in onCreateActions()
/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/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java165 return localAddr.getPort(); in getLocalPort()
DIkeUdpEncapSocket.java219 + mUdpEncapSocket.getPort()); in close()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java524 displayList.add((int) physical.getPort()); in setUpDisplayPlayer()
525 Log.d(TAG, "Found Display Port " + physical.getPort()); in setUpDisplayPlayer()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java148 int port = mProfile.proxy.getPort(); in onCreate()
328 mProfile.proxy.getPort() != 0)) { in updateUiControls()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java506 return getZoneIdForDisplayPortId(physicalAddress.getPort()); in getZoneIdForDisplay()
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java153 port = proxy.getPort(); in populateFields()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java209 .createSocket(socket, address.getHostName(), address.getPort(), true); in reopenTls()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProxySelector.java153 port = proxy.getPort(); in populateFields()

12