Home
last modified time | relevance | path

Searched refs:mPort (Results 1 – 9 of 9) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbBackend.java57 private UsbPort mPort; field in UsbBackend
130 if (mPort != null) { in setPowerRole()
131 mPort.setRoles(role, newDataRole); in setPowerRole()
149 if (mPort != null) { in setDataRole()
150 mPort.setRoles(newPowerRole, role); in setDataRole()
155 return mPort != null && mPortStatus != null in areAllRolesSupported()
211 mPort = null; in updatePorts()
220 mPort = ports.get(i); in updatePorts()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java57 private UsbPort mPort; field in UsbBackend
130 if (mPort != null) { in setPowerRole()
131 mPort.setRoles(role, newDataRole); in setPowerRole()
149 if (mPort != null) { in setDataRole()
150 mPort.setRoles(newPowerRole, role); in setDataRole()
155 return mPort != null && mPortStatus != null in areAllRolesSupported()
211 mPort = null; in updatePorts()
220 mPort = ports.get(i); in updatePorts()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java92 EditTextPreference mPort; field in ApnEditor
214 mPort = (EditTextPreference) findPreference("apn_http_port"); in onCreate()
406 return mPort; in getPreferenceFromFieldName()
465 mPort.setEnabled(false); in disableAllFields()
496 mPort.setText(mApnData.getString(PORT_INDEX)); in fillUI()
568 mPort.setSummary(checkNull(mPort.getText())); in fillUI()
904 checkNotSet(mPort.getText()), in validateAndSaveApnData()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java91 EditTextPreference mPort; field in ApnEditor
271 mPort = (EditTextPreference) findPreference("apn_http_port"); in onCreate()
470 return mPort; in getPreferenceFromFieldName()
529 mPort.setEnabled(false); in disableAllFields()
560 mPort.setText(mApnData.getString(PORT_INDEX)); in fillUI()
634 mPort.setSummary(checkNull(mPort.getText())); in fillUI()
990 checkNotSet(mPort.getText()), in validateAndSaveApnData()
/packages/apps/Settings/src/com/android/settings/development/
DAdbIpAddressPreferenceController.java54 private int mPort; field in AdbIpAddressPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java526 mApnEditorUT.mPort = new EditTextPreference(context); in setMockPreference()