Home
last modified time | relevance | path

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

/packages/apps/IM/src/com/android/im/service/
DAndroidSmsService.java70 public void sendSms(String dest, int port, byte[] data) { in sendSms() argument
71 sendSms(dest, port, data, null); in sendSms()
74 public void sendSms(String dest, int port, byte[] data, in sendSms() argument
78 log(dest + ":" + port + " >>> " + new String(data, "UTF-8")); in sendSms()
104 (short) port, data, in sendSms()
109 public void addSmsListener(String from, int port, SmsListener listener) { in addSmsListener() argument
110 ListenerList l = mListeners.get(port); in addSmsListener()
112 l = new ListenerList(port); in addSmsListener()
113 mListeners.put(port, l); in addSmsListener()
115 log("Register SMS receiver on port " + port); in addSmsListener()
[all …]
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java101 mPortField = (EditText)findViewById(R.id.port); in initView()
117 int port = -1; in populateFields() local
121 port = Proxy.getDefaultPort(); in populateFields()
125 port = Proxy.getPort(this); in populateFields()
134 String portStr = port == -1 ? "" : Integer.toString(port); in populateFields()
154 int validate(String hostname, String port) { in validate() argument
159 if (hostname.length() > 0 && port.length() == 0) { in validate()
163 if (port.length() > 0) { in validate()
169 portVal = Integer.parseInt(port); in validate()
187 int port = -1; in saveToDb() local
[all …]
/packages/apps/IM/src/com/android/im/engine/
DSmsService.java75 public void sendSms(String dest, int port, byte[] data); in sendSms() argument
90 public void sendSms(String dest, int port, byte[] data, in sendSms() argument
104 public void addSmsListener(String from, int port, SmsListener listener); in addSmsListener() argument
/packages/apps/Email/src/com/android/exchange/
DAbstractSyncService.java107 public abstract void validateAccount(String host, String userName, String password, int port, in validateAccount() argument
136 String userName, String password, int port, boolean ssl, boolean trustCertificates, in validate() argument
142 svc.validateAccount(host, userName, password, port, ssl, trustCertificates, context); in validate()
DIEmailService.aidl24 int port, boolean ssl, boolean trustCertificates) ; in validate() argument
DSyncManager.java272 int port, boolean ssl, boolean trustCertificates) throws RemoteException {
274 AbstractSyncService.validate(EasSyncService.class, host, userName, password, port,
DEasSyncService.java194 public void validateAccount(String hostAddress, String userName, String password, int port, in validateAccount() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DTestActivity.java462 static final int port = 6500; field in TestTcpServer
469 updateStatus("[server:] listen on port " + port); in run()
470 TestTcpSessionNotifier rsn = new TestTcpSessionNotifier(port); in run()
569 public TestTcpSessionNotifier(int port) throws IOException { in TestTcpSessionNotifier() argument
570 server = new ServerSocket(port); in TestTcpSessionNotifier()
DBluetoothOppTransfer.java596 public SocketConnectThread(String host, int port, int dummy) { in SocketConnectThread() argument
599 this.channel = port; in SocketConnectThread()
/packages/apps/Email/src/com/android/email/mail/store/
DExchangeStore.java224 int port = ssl ? 443 : 80; in checkSettings() local
226 .validate("eas", mHost, mUsername, mPassword, port, ssl, tssl); in checkSettings()
/packages/apps/Email/src/com/android/email/service/
DEmailServiceProxy.java187 final String password, final int port, final boolean ssl, in validate() argument
193 mReturn = mService.validate(protocol, host, userName, password, port, ssl, in validate()
/packages/apps/Mms/src/org/w3c/dom/smil/
DSMILMediaElement.java90 public void setPort(String port) in setPort() argument
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilMediaElementImpl.java223 public void setPort(String port) throws DOMException { in setPort() argument
224 this.setAttribute("port", port); in setPort()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java240 String port = parser.getAttributeValue(null, "port"); in getRow() local
241 if (port != null) { in getRow()
242 map.put(Telephony.Carriers.PORT, port); in getRow()