Home
last modified time | relevance | path

Searched refs:mPort (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DWebAddress.java46 private int mPort; field in WebAddress
72 mPort = -1; in WebAddress()
89 mPort = Integer.parseInt(t); in WebAddress()
112 if (mPort == 443 && mScheme.equals("")) { in WebAddress()
114 } else if (mPort == -1) { in WebAddress()
116 mPort = 443; in WebAddress()
118 mPort = 80; // default in WebAddress()
126 if ((mPort != 443 && mScheme.equals("https")) || in toString()
127 (mPort != 80 && mScheme.equals("http"))) { in toString()
128 port = ":" + Integer.toString(mPort); in toString()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepClient.java38 private final int mPort; field in SnepClient
51 mPort = SnepServer.DEFAULT_PORT; in SnepClient()
60 mPort = -1; in SnepClient()
69 mPort = SnepServer.DEFAULT_PORT; in SnepClient()
78 mPort = -1; in SnepClient()
87 mPort = -1; in SnepClient()
149 if (mPort == -1) { in connect()
153 if (DBG) Log.d(TAG, "about to connect to port " + mPort); in connect()
154 socket.connectToSap(mPort); in connect()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java65 public int mPort; field in HostAuth
99 mPort = PORT_UNKNOWN; in HostAuth()
227 mPort = cursor.getInt(CONTENT_PORT_COLUMN); in restore()
244 values.put(HostAuthColumns.PORT, mPort); in toContentValues()
261 json.put(HostAuthColumns.PORT, mPort); in toJson()
282 h.mPort = json.getInt(HostAuthColumns.PORT); in fromJson()
382 mPort = port; in setConnection()
383 if (mPort == PORT_UNKNOWN) { in setConnection()
386 mPort = useSSL ? 465 : 587; in setConnection()
437 dest.writeInt(mPort); in writeToParcel()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DHostAuthCompat.java19 private int mPort; field in HostAuthCompat
34 mPort = hostAuth.mPort; in HostAuthCompat()
53 hostAuth.mPort = mPort; in toHostAuth()
84 parcel.writeInt(mPort); in writeToParcel()
103 mPort = in.readInt(); in HostAuthCompat()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbBackend.java46 private UsbPort mPort; field in UsbBackend
74 mPort = ports[i]; in UsbBackend()
82 if (mPort != null) { in getCurrentMode()
128 if (mPort != null) { in setMode()
136 mUsbManager.setPortRoles(mPort, powerRole, dataRole); in setMode()
169 if (mPort != null) { in isModeSupported()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DDtaSnepClient.java53 private final int mPort; field in DtaSnepClient
66 mPort = DEFAULT_PORT; in DtaSnepClient()
75 mPort = -1; in DtaSnepClient()
288 if (mPort == -1) { in connect()
292 if (DBG) Log.d(TAG, "about to connect to port " + mPort); in connect()
293 socket.connectToSap(mPort); in connect()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java59 private final int mPort; field in MailTransport
78 mPort = port; in MailTransport()
88 return new MailTransport(mContext, mImapHelper, mNetwork, mHost, mPort, mFlags); in clone()
104 LogUtils.d(TAG, "*** IMAP open " + mHost + ":" + String.valueOf(mPort)); in open()
109 socketAddresses.add(new InetSocketAddress(mHost, mPort)); in open()
119 socketAddresses.add(new InetSocketAddress(inetAddresses[i], mPort)); in open()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java194 orig.mPort = 993; in testParceling()
241 assertEquals(1337, ha.mPort); in testDeserializeFromJSON()
257 before.mPort = 1337; in testSerializeAndDeserializeWithJSON()
274 assertEquals(before.mPort, after.mPort); in testSerializeAndDeserializeWithJSON()
DAccountTest.java74 ha.mPort = 543; in getHostAuthJSON()
/packages/apps/Settings/src/com/android/settings/
DApnEditor.java87 private EditTextPreference mPort; field in ApnEditor
189 mPort = (EditTextPreference) findPreference("apn_http_port"); in onCreate()
377 return mPort; in getPreferenceFromFieldName()
436 mPort.setEnabled(false); in disableAllFields()
492 mPort.setText(mCursor.getString(PORT_INDEX)); in fillUi()
564 mPort.setSummary(checkNull(mPort.getText())); in fillUi()
909 checkNotSet(mPort.getText()), in validateAndSave()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DEmailClientConnectionManager.java67 int port = hostAuth.mPort; in newInstance()
111 registry.register(new Scheme(schemeName, ssf, hostAuth.mPort)); in registerClientCert()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java97 hostAuth.mPort = 100; in setupHostAuth()
330 assertEquals(caller + " mPort", expect.mPort, actual.mPort); in assertHostAuthEqual()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupIncomingFragment.java397 final int port = recvAuth.mPort; in loadSettings()
539 sendAuth.setConnection(sendAuth.mProtocol, hostName, sendAuth.mPort, sendAuth.mFlags); in saveSettingsAfterSetup()
DSetupDataFragment.java206 recvAuth.setConnection(protocol, recvAuth.mAddress, recvAuth.mPort, recvAuth.mFlags); in setIncomingProtocol()
DAccountSetupOutgoingFragment.java258 final int port = sendAuth.mPort; in loadSettings()
DAccountSetupFinal.java887 recvAuth.mPort = in finishAutoSetup()
/packages/apps/Email/provider_src/com/android/email/mail/transport/
DMailTransport.java87 return mHostAuth.mPort; in getPort()