Home | History | Annotate | Download | only in contacts

Lines Matching defs:protocol

66      * ProviderNames from the predefined IM protocol id.
69 * @param protocol the protocol ID
70 * @return the provider name the IM app uses for the given protocol, or null if no
71 * provider is defined for the given protocol
74 public static String lookupProviderNameFromId(int protocol) {
75 switch (protocol) {
162 private static Intent getCustomImIntent(ImDataItem im, int protocol) {
168 if (protocol != Im.PROTOCOL_CUSTOM) {
170 host = ContactsUtils.lookupProviderNameFromId(protocol);
200 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : im.getProtocol();
202 if (protocol == Im.PROTOCOL_GOOGLE_TALK) {
221 intent = getCustomImIntent(im, protocol);