Home
last modified time | relevance | path

Searched refs:port (Results 1 – 25 of 71) sorted by relevance

123

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java156 for (byte port : mPhysicalPorts) { in init()
157 mCurrentUxRestrictions.put(port, createUnrestrictedRestrictions()); in init()
218 for (byte port : mPhysicalPorts) { in loadConfig()
219 configs.add(createDefaultConfig(port)); in loadConfig()
600 for (byte port : mCurrentUxRestrictions.keySet()) { in dump()
601 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(port); in dump()
602 writer.printf("Port: 0x%02X UXR: %s\n", port, restrictions.toString()); in dump()
708 for (byte port : mPhysicalPorts) { in handleDispatchUxRestrictions()
709 CarUxRestrictionsConfiguration config = mCarUxRestrictionsConfigurations.get(port); in handleDispatchUxRestrictions()
717 port, in handleDispatchUxRestrictions()
[all …]
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java124 mPortField = (EditText)view.findViewById(R.id.port); in initView()
144 int port = -1; in populateFields() local
153 port = proxy.getPort(); in populateFields()
163 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
187 public static int validate(String hostname, String port, String exclList) { in validate() argument
188 switch (Proxy.validate(hostname, port, exclList)) { in validate()
216 int port = 0; in saveToDb() local
226 port = Integer.parseInt(portStr); in saveToDb()
232 ProxyInfo p = new ProxyInfo(hostname, port, exclList); in saveToDb()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DProxySelector.java124 mPortField = (EditText)view.findViewById(R.id.port); in initView()
144 int port = -1; in populateFields() local
153 port = proxy.getPort(); in populateFields()
163 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
187 public static int validate(String hostname, String port, String exclList) { in validate() argument
188 switch (Proxy.validate(hostname, port, exclList)) { in validate()
216 int port = 0; in saveToDb() local
226 port = Integer.parseInt(portStr); in saveToDb()
232 ProxyInfo p = new ProxyInfo(hostname, port, exclList); in saveToDb()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java59 private final int port; field in MailTransport
72 int port, in MailTransport() argument
78 this.port = port; in MailTransport()
88 return new MailTransport(context, imapHelper, network, host, port, flags); in clone()
104 LogUtils.d(TAG, "*** IMAP open " + host + ":" + String.valueOf(port)); in open()
109 socketAddresses.add(new InetSocketAddress(host, port)); in open()
119 socketAddresses.add(new InetSocketAddress(inetAddresses[i], port)); in open()
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java89 for (AudioPort port : ports) { in dumpAudioPorts()
90 Log.i(TAG, "port:" + port.toString() + " name:" + port.name()); in dumpAudioPorts()
117 for (AudioPort port : portList) { in onAudioPortListUpdate()
118 Log.i(TAG, "port:" + port.toString() + " name:" + port.name()); in onAudioPortListUpdate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java117 String port = "80"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local
121 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
132 String port = "80"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local
136 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
147 String port = "80"; in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme() local
150 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioPatchHandle.java48 && patch.sources()[0].port() instanceof AudioDevicePort, in CarAudioPatchHandle()
51 && patch.sinks()[0].port() instanceof AudioDevicePort, in CarAudioPatchHandle()
55 mSourceAddress = ((AudioDevicePort) patch.sources()[0].port()).address(); in CarAudioPatchHandle()
56 mSinkAddress = ((AudioDevicePort) patch.sinks()[0].port()).address(); in CarAudioPatchHandle()
/packages/apps/Bluetooth/jni/
Dbluetooth_socket_manager.cc33 const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, in connectSocket() argument
47 &device.address, (btsock_type_t)type, uuid ? &uuid->uuid : nullptr, port, in connectSocket()
66 const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, in createSocketChannel() argument
86 uuid ? &uuid->uuid : nullptr, port, &socket_fd, flag, in createSocketChannel()
Dbluetooth_socket_manager.h39 const std::unique_ptr<::android::os::ParcelUuid>& uuid, int32_t port,
45 const std::unique_ptr<::android::os::ParcelUuid>& uuid, int32_t port,
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLSocketFactory.java286 final int port, in connectSocket() argument
318 remoteAddress = new InetSocketAddress(nameResolver.resolve(host), port); in connectSocket()
320 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
380 final int port, in createSocket() argument
386 port, in createSocket()
DEmailClientConnectionManager.java67 int port = hostAuth.mPort; in newInstance() local
72 ssl ? STANDARD_PORT : port)); in newInstance()
76 ssl ? port : STANDARD_SSL_PORT)); in newInstance()
80 ssl ? port : STANDARD_SSL_PORT)); in newInstance()
DSSLSocketFactoryWrapper.java115 public Socket createSocket(final Socket socket, final String host, final int port, in createSocket() argument
117 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(socket, host, port, autoClose); in createSocket()
127 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() argument
128 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, port); in createSocket()
DCertificateRequestor.java46 int port = i.getIntExtra(EXTRA_PORT, -1); in onCreate() local
52 host, port, in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java105 public static int validate(String hostname, String port, String exclList) { in validate() argument
116 if (hostname.length() > 0 && port.length() == 0) { in validate()
120 if (port.length() > 0) { in validate()
126 portVal = Integer.parseInt(port); in validate()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java354 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() argument
355 setConnection(protocol, address, port, flags, null); in setConnection()
369 int port, int flags, String clientCertAlias) { in setConnection() argument
382 mPort = port; in setConnection()
547 public void setConnection(String scheme, String host, int port) { in setConnection() argument
562 setConnection(protocol, host, port, flags, clientCertAlias); in setConnection()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java141 int port = mProfile.proxy.getPort(); in onCreate() local
142 mProxyPort.setText(port == 0 ? "" : Integer.toString(port)); in onCreate()
497 int port = proxyPort.isEmpty() ? 0 : Integer.parseInt(proxyPort); in getProfile() local
498 profile.proxy = new ProxyInfo(proxyHost, port, null); in getProfile()
545 final String port = mProxyPort.getText().toString().trim(); in validateProxy() local
546 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DConfigDialog.java141 int port = mProfile.proxy.getPort(); in onCreate() local
142 mProxyPort.setText(port == 0 ? "" : Integer.toString(port)); in onCreate()
497 int port = proxyPort.isEmpty() ? 0 : Integer.parseInt(proxyPort); in getProfile() local
498 profile.proxy = new ProxyInfo(proxyHost, port, null); in getProfile()
545 final String port = mProxyPort.getText().toString().trim(); in validateProxy() local
546 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java125 String port = ""; in toString() local
128 port = ":" + Integer.toString(mPort); in toString()
135 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOutgoingFragment.java258 final int port = sendAuth.mPort; in loadSettings() local
259 if (port != -1) { in loadSettings()
260 mPortView.setText(Integer.toString(port)); in loadSettings()
311 final int port = getPortFromSecurityType(); in updatePortFromSecurityType() local
312 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
DAccountSetupIncomingFragment.java397 final int port = recvAuth.mPort; in loadSettings() local
398 if (port != HostAuth.PORT_UNKNOWN) { in loadSettings()
399 mPortView.setText(Integer.toString(port)); in loadSettings()
433 return useSsl ? mServiceInfo.portSsl : mServiceInfo.port; in getPortFromSecurityType()
460 final int port = getPortFromSecurityType(sslSelected); in updatePortFromSecurityType() local
461 mPortView.setText(Integer.toString(port)); in updatePortFromSecurityType()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java610 public static byte validatePort(int port) { in validatePort() argument
611 if (Byte.MIN_VALUE <= port && port <= Byte.MAX_VALUE) { in validatePort()
612 return (byte) port; in validatePort()
615 "Port value should be within the range of a byte. Input is " + port); in validatePort()
649 public Builder setPhysicalPort(byte port) { in setPhysicalPort() argument
650 mPhysicalPort = port; in setPhysicalPort()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dinsituparsing.dot19 <td>"</td><td port="a">m</td><td>s</td><td>g</td><td bgcolor="yellow">\\0</td>
21 <td>"</td><td port="b">H</td><td>e</td><td>l</td><td>l</td><td>o</td><td bgcolor="yellow">\\n</td><…
23 <td>"</td><td port="c" bgcolor="yellow">s</td><td bgcolor="yellow">t</td><td bgcolor="yellow">a</td…
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java64 int port = 0; in processProxySettings() local
67 port = Integer.parseInt(portStr); in processProxySettings()
73 mIpConfiguration.setHttpProxy(new ProxyInfo(host, port, exclusionList)); in processProxySettings()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java112 Port(R.string.port, R.string.default_port, R.string.default_port),
363 int port; in validateAndSetResult() local
365 port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult()
370 if ((port < 1000) || (port > 65534)) { in validateAndSetResult()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java184 String port = parser.getAttributeValue(NAMESPACE, ATTR_PHYSICAL_PORT); in parsePhysicalDisplayAddress() local
187 portId = Long.parseLong(port); in parsePhysicalDisplayAddress()
189 throw new RuntimeException("Port " + port + " is not a number", e); in parsePhysicalDisplayAddress()

123