Home
last modified time | relevance | path

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

123

/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java172 for (byte port : mPhysicalPorts) { in init()
173 mCurrentUxRestrictions.put(port, createUnrestrictedRestrictions()); in init()
235 for (byte port : mPhysicalPorts) { in loadConfig()
236 configs.add(createDefaultConfig(port)); in loadConfig()
704 for (byte port : mCurrentUxRestrictions.keySet()) { in dump()
705 CarUxRestrictions restrictions = mCurrentUxRestrictions.get(port); in dump()
706 writer.printf("Port: 0x%02X UXR: %s\n", port, restrictions.toString()); in dump()
817 for (byte port : mPhysicalPorts) { in handleDispatchUxRestrictions()
818 CarUxRestrictionsConfiguration config = mCarUxRestrictionsConfigurations.get(port); in handleDispatchUxRestrictions()
826 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/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBluetoothSocketManagerBinder.java44 BluetoothDevice device, int type, ParcelUuid uuid, int port, int flag) { in connectSocket() argument
52 port, in connectSocket()
59 int type, String serviceName, ParcelUuid uuid, int port, int flag) { in createSocketChannel() argument
67 port, in createSocketChannel()
/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/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/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/Settings/src/com/android/settings/vpn2/
DConfigDialog.java148 int port = mProfile.proxy.getPort(); in onCreate() local
149 mProxyPort.setText(port == 0 ? "" : Integer.toString(port)); in onCreate()
588 int port = proxyPort.isEmpty() ? 0 : Integer.parseInt(proxyPort); in getProfile() local
589 profile.proxy = new ProxyInfo(proxyHost, port, null); in getProfile()
639 final String port = mProxyPort.getText().toString().trim(); in validateProxy() local
640 return Proxy.validate(host, port, "") == Proxy.PROXY_VALID; in validateProxy()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java110 int port = getPort(); in updateConnectivity() local
111 if (port <= 0) { in updateConnectivity()
114 ipAddress += ":" + port; in updateConnectivity()
DWirelessDebuggingFragment.java139 int port = intent.getIntExtra(AdbManager.WIRELESS_DEBUG_PORT_EXTRA, 0);
140 Log.i(TAG, "Got adbwifi port=" + port);
163 int port = intent.getIntExtra(AdbManager.WIRELESS_DEBUG_PORT_EXTRA, 0);
164 Log.i(TAG, "Got pairing code port=" + port);
165 String ipAddr = sAdbIpAddressPreferenceController.getIpv4Address() + ":" + port;
/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/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java684 public static byte validatePort(int port) { in validatePort() argument
685 if (Byte.MIN_VALUE <= port && port <= Byte.MAX_VALUE) { in validatePort()
686 return (byte) port; in validatePort()
689 "Port value should be within the range of a byte. Input is " + port); in validatePort()
717 public Builder setPhysicalPort(byte port) { in setPhysicalPort() argument
718 mPhysicalPort = port; in setPhysicalPort()
/packages/modules/DnsResolver/
Dgetaddrinfo.cpp715 int port; in get_port() local
742 port = str2number(servname); in get_port()
743 if (port >= 0) { in get_port()
745 if (port < 0 || port > 65535) return EAI_SERVICE; in get_port()
746 port = htons(port); in get_port()
763 port = sp->s_port; in get_port()
769 ((struct sockaddr_in*) (void*) ai->ai_addr)->sin_port = port; in get_port()
772 ((struct sockaddr_in6*) (void*) ai->ai_addr)->sin6_port = port; in get_port()
/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()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java80 public static IpSecUdpEncapResponse buildDummyIpSecUdpEncapResponse(int port) throws Exception { in buildDummyIpSecUdpEncapResponse() argument
84 port, in buildDummyIpSecUdpEncapResponse()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java101 public BaseApn(final String mmsc, final String proxy, final int port) { in BaseApn() argument
104 mMmsProxyPort = port; in BaseApn()
369 final int port = gservices.getInt(BugleGservicesKeys.MMS_PROXY_PORT, -1); in loadFromGservices() local
370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port)); in loadFromGservices()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensResolverActivity.java266 int port = a.getPort(); in buildIntentFilterForResolveInfo() local
268 port >= 0 ? Integer.toString(port) : null); in buildIntentFilterForResolveInfo()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port,
77 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init() argument
96 int ippPortNumber = ((port == IPP_PORT) ? ippPort() : port); in _init()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterDisplayProvider.java140 final byte port = ((DisplayAddress.Physical) display.getAddress()).getPort(); in getInstrumentClusterDisplay()
141 if (displayPort == port) { in getInstrumentClusterDisplay()

123