Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/util/
DEmailAddress.java69 public EmailAddress(final String user, final String host) { in EmailAddress() argument
70 this(user, host, false); in EmailAddress()
80 public EmailAddress(final String user, final String host, final boolean i18n) { in EmailAddress() argument
83 setHost(host); in EmailAddress()
102 host = emailString.substring(atIndex + 1); in parseEmail()
109 return user + "@" + host; in toString()
118 if ((user == null) || (host == null)) { in isValidInternal()
122 if ((user.length() == 0) || (host.length() == 0)) { in isValidInternal()
127 if (ANY_WHITESPACE.indexIn(host) >= 0) { in isValidInternal()
132 if (host.length() < 4) { in isValidInternal()
[all …]
DYouTubeUtil.java49 final String host = uri.getHost(); in getYoutubePreviewImageLink() local
50 if (YOUTUBE_HOST_1.equalsIgnoreCase(host) in getYoutubePreviewImageLink()
51 || YOUTUBE_HOST_2.equalsIgnoreCase(host) in getYoutubePreviewImageLink()
52 || YOUTUBE_HOST_3.equalsIgnoreCase(host) in getYoutubePreviewImageLink()
53 || YOUTUBE_HOST_4.equalsIgnoreCase(host) in getYoutubePreviewImageLink()
54 || YOUTUBE_HOST_5.equalsIgnoreCase(host)) { in getYoutubePreviewImageLink()
DDebugUtils.java108 public static void showDebugOptions(final Activity host) { in showDebugOptions() argument
109 final AlertDialog.Builder builder = new AlertDialog.Builder(host); in showDebugOptions()
112 host, android.R.layout.simple_list_item_1); in showDebugOptions()
154 new DebugSmsMmsDumpTask(host, in showDebugOptions()
162 new DebugSmsMmsDumpTask(host, in showDebugOptions()
170 UIIntents.get().launchDebugMmsConfigActivity(host); in showDebugOptions()
200 public DebugSmsMmsDumpTask(final Activity host, final String action) { in DebugSmsMmsDumpTask() argument
201 mHost = host; in DebugSmsMmsDumpTask()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java94 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
95 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
96 if (!(host.getTag() instanceof ItemInfo)) return; in onInitializeAccessibilityNodeInfo()
97 ItemInfo item = (ItemInfo) host.getTag(); in onInitializeAccessibilityNodeInfo()
102 if (UninstallDropTarget.supportsDrop(host.getContext(), item)) { in onInitializeAccessibilityNodeInfo()
105 if (InfoDropTarget.supportsDrop(host.getContext(), item)) { in onInitializeAccessibilityNodeInfo()
117 if (!getSupportedResizeActions(host, (LauncherAppWidgetInfo) item).isEmpty()) { in onInitializeAccessibilityNodeInfo()
129 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument
130 if ((host.getTag() instanceof ItemInfo) in performAccessibilityAction()
131 && performAction(host, (ItemInfo) host.getTag(), action)) { in performAccessibilityAction()
[all …]
DOverviewScreenAccessibilityDelegate.java55 public boolean performAccessibilityAction(View host, int action, Bundle args) { in performAccessibilityAction() argument
56 if (host != null) { in performAccessibilityAction()
58 int index = mWorkspace.indexOfChild(host); in performAccessibilityAction()
61 movePage(mWorkspace.indexOfChild(host) + 1, host); in performAccessibilityAction() local
64 movePage(mWorkspace.indexOfChild(host) - 1, host); in performAccessibilityAction() local
69 return super.performAccessibilityAction(host, action, args); in performAccessibilityAction()
84 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
85 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
87 int index = mWorkspace.indexOfChild(host); in onInitializeAccessibilityNodeInfo()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
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()
121 verifyHostname(sslSocket, host); 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()
132 verifyHostname(sslSocket, host); in createSocket()
138 public Socket createSocket(String host, int i, InetAddress inetAddress, int i2) throws in createSocket() argument
140 final SSLSocket sslSocket = (SSLSocket)mFactory.createSocket(host, i, inetAddress, i2); in createSocket()
144 verifyHostname(sslSocket, host); in createSocket()
DSSLSocketFactory.java285 final String host, in connectSocket() argument
292 if (host == null) { in connectSocket()
318 remoteAddress = new InetSocketAddress(nameResolver.resolve(host), port); in connectSocket()
320 remoteAddress = new InetSocketAddress(host, port); in connectSocket()
327 hostnameVerifier.verify(host, sslsock); in connectSocket()
379 final String host, in createSocket() argument
385 host, in createSocket()
389 hostnameVerifier.verify(host, sslSocket); in createSocket()
DCertificateRequestor.java45 String host = i.getStringExtra(EXTRA_HOST); in onCreate() local
52 host, port, in onCreate()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleLinearLayoutManager.java76 RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) { in onInitializeAccessibilityNodeInfoForItem() argument
78 super.onInitializeAccessibilityNodeInfoForItem(recycler, state, host, info); in onInitializeAccessibilityNodeInfoForItem()
81 final int position = this.getPosition(host); in onInitializeAccessibilityNodeInfoForItem()
82 final LocaleDragCell dragCell = (LocaleDragCell) host; in onInitializeAccessibilityNodeInfoForItem()
113 RecyclerView.State state, View host, int action, Bundle args) { in performAccessibilityActionForItem() argument
116 final int position = this.getPosition(host); in performAccessibilityActionForItem()
151 return super.performAccessibilityActionForItem(recycler, state, host, action, args); in performAccessibilityActionForItem()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java47 public CameraPreview(final CameraPreviewHost host) { in CameraPreview() argument
48 Assert.notNull(host); in CameraPreview()
49 Assert.notNull(host.getView()); in CameraPreview()
50 mHost = host; in CameraPreview()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java499 void run(CertInstaller host); in run() argument
510 public void run(CertInstaller host) { in run() argument
515 host.extractPkcs12InBackground(mPassword); in run()
520 public void run(CertInstaller host) { in run() argument
521 host.mNextAction = null; in run()
522 host.installOthers(); in run()
533 public void run(CertInstaller host) { in run() argument
534 host.onExtractionDone(mSuccess); in run()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java292 String host = apn.getMmsProxy(); in requestRoute() local
293 if (TextUtils.isEmpty(host)) { in requestRoute()
295 host = uri.getHost(); in requestRoute()
300 for (final InetAddress addr : InetAddress.getAllByName(host)) { in requestRoute()
313 Log.w(MmsService.TAG, "Unknown host " + host); in requestRoute()
DUtils.java166 String host = ""; in redactUrlForNonVerbose() local
170 host = url.getHost(); in redactUrlForNonVerbose()
176 sb.append(protocol).append("://").append(host) in redactUrlForNonVerbose()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DContactsUtils.java176 String host = im.getCustomProtocol(); in getCustomImIntent() local
183 host = ContactsUtils.lookupProviderNameFromId(protocol); in getCustomImIntent()
185 if (TextUtils.isEmpty(host)) { in getCustomImIntent()
188 final String authority = host.toLowerCase(); in getCustomImIntent()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java503 private final String host; field in BluetoothOppTransfer.SocketConnectThread
518 public SocketConnectThread(String host, int port, int dummy) { in SocketConnectThread() argument
520 this.host = host; in SocketConnectThread()
531 this.host = null; in SocketConnectThread()
542 this.host = null; in SocketConnectThread()
573 s.connect(new InetSocketAddress(host, channel), CONNECT_WAIT_TIMEOUT); in run()
/packages/apps/Contacts/src/com/android/contacts/editor/
DViewSelectedFilter.java47 ViewGroup host, View child,AccessibilityEvent event) { in onRequestSendAccessibilityEvent() argument
51 return super.onRequestSendAccessibilityEvent(host, child, event); in onRequestSendAccessibilityEvent()
/packages/apps/Dialer/src/com/android/dialer/list/
DContentChangedFilter.java31 …public boolean onRequestSendAccessibilityEvent (ViewGroup host, View child, AccessibilityEvent eve… in onRequestSendAccessibilityEvent() argument
37 return super.onRequestSendAccessibilityEvent(host,child,event); in onRequestSendAccessibilityEvent()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java194 String host = im.getCustomProtocol(); in DataAction() local
198 host = ContactsUtils.lookupProviderNameFromId(protocol); in DataAction()
201 if (!TextUtils.isEmpty(host) && !TextUtils.isEmpty(data)) { in DataAction()
202 final String authority = host.toLowerCase(); in DataAction()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DSimSelectorItemView.java66 public void setHostInterface(final HostInterface host) { in setHostInterface() argument
67 mHost = host; in setHostInterface()
DConversationMessageAdapter.java50 final ConversationMessageViewHost host, in ConversationMessageAdapter() argument
55 mHost = host; in ConversationMessageAdapter()
DConversationActivityUiState.java91 public void setHost(final ConversationActivityUiStateHost host) { in setHost() argument
92 mHost = host; in setHost()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DContactsUtils.java243 String host = values.getAsString(Im.CUSTOM_PROTOCOL); in buildImIntent() local
247 host = ContactsUtils.lookupProviderNameFromId(protocol); in buildImIntent()
250 if (!TextUtils.isEmpty(host) && !TextUtils.isEmpty(data)) { in buildImIntent()
251 final String authority = host.toLowerCase(); in buildImIntent()
/packages/inputmethods/LatinIME/tools/dicttool/
DAndroid.mk27 LATINIME_HOST_NATIVE_LIBNAME := liblatinime-aosp-dicttool-host
81 LOCAL_STATIC_JAVA_LIBRARIES := jsr305lib latinime-common-host
/packages/apps/Email/src/com/android/email/view/
DCertificateSelector.java67 public void setHostCallback(HostCallback host) { in setHostCallback() argument
68 mHost = host; in setHostCallback()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridView.java54 public void setHost(final AttachmentGridHost host) { in setHost() argument
55 mHost = host; in setHost()

123