Searched defs:protocol (Results 1 - 25 of 29) sorted by relevance

12

/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
H A DProtocolHelper.java17 package com.android.phone.vvm.omtp.protocol;
30 public static OmtpMessageSender getMessageSender(VisualVoicemailProtocol protocol, argument
41 return protocol.createMessageSender(smsManager, (short) applicationPort, destinationNumber);
H A DCvvmProtocol.java17 package com.android.phone.vvm.omtp.protocol;
26 * A flavor of OMTP protocol with a different mobile originated (MO) format
H A DOmtpProtocol.java17 package com.android.phone.vvm.omtp.protocol;
H A DVisualVoicemailProtocolFactory.java17 package com.android.phone.vvm.omtp.protocol;
H A DVisualVoicemailProtocol.java17 package com.android.phone.vvm.omtp.protocol;
74 * Translate an OMTP IMAP command to the protocol specific one. For example, changing the TUI
79 * @returns Translated command, or {@code null} if not available in this protocol
91 * Given an VVM SMS with an unknown {@code event}, let the protocol attempt to translate it into
H A DVvm3EventHandler.java17 package com.android.phone.vvm.omtp.protocol;
H A DVvm3Protocol.java17 package com.android.phone.vvm.omtp.protocol;
53 * A flavor of OMTP protocol with a different provisioning process
H A DVvm3Subscriber.java17 package com.android.phone.vvm.omtp.protocol;
/packages/apps/Email/tests/src/com/android/email/service/
H A DEmailBroadcastProcessorServiceTests.java60 * Create a simple HostAuth with protocol
62 private HostAuth setupSimpleHostAuth(String protocol) { argument
63 HostAuth hostAuth = ProviderTestUtils.setupHostAuth(protocol, "name", false, mContext);
64 hostAuth.mProtocol = protocol;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountCredentials.java16 private static final String EXTRA_PROTOCOL = "protocol";
21 final String protocol) {
24 i.putExtra(EXTRA_PROTOCOL, protocol);
33 final String protocol = getIntent().getStringExtra(EXTRA_PROTOCOL);
39 AccountSetupCredentialsFragment.newInstance(emailAddress, protocol,
20 getAccountCredentialsIntent(final Context context, final String email, final String protocol) argument
H A DAccountSetupTypeFragment.java37 * called when the user has selected a protocol type for the account
38 * @param protocol {@link EmailServiceUtils.EmailServiceInfo#protocol}
40 void onChooseProtocol(String protocol); argument
60 if (EmailServiceUtils.isServiceAvailable(appContext, info.protocol)) {
73 button.setTag(info.protocol);
91 final String protocol = (String) v.getTag();
93 callback.onChooseProtocol(protocol);
H A DAccountSetupCredentialsFragment.java55 private static final String EXTRA_PROTOCOL = "protocol";
93 * Create a new instance of this fragment with the appropriate email and protocol
95 * @param protocol protocol of the service we're gathering credentials for
102 final String protocol, final String clientCert, final boolean passwordFailed,
107 b.putString(EXTRA_PROTOCOL, protocol);
173 final String protocol = getArguments().getString(EXTRA_PROTOCOL);
176 if (protocol != null) {
177 final EmailServiceInfo info = EmailServiceUtils.getServiceInfo(mAppContext, protocol);
185 // For now, we might not know what protocol w
101 newInstance(final String email, final String protocol, final String clientCert, final boolean passwordFailed, final boolean standalone) argument
[all...]
H A DSetupDataFragment.java55 // Cache incoming protocol and service info here
167 * Retrieve the service info for the incoming protocol
180 * Retrieve the protocol as previously set in setIncomingProtocol, but don't attempt to look at
189 * Retrieve the protocol as previously set in setIncomingProtocol, or from
204 public void setIncomingProtocol(final Context context, final String protocol) { argument
206 recvAuth.setConnection(protocol, recvAuth.mAddress, recvAuth.mPort, recvAuth.mFlags);
207 mIncomingProtocol = protocol;
H A DAccountSetupFinal.java136 // Account is pre-configured, but the user picked a different protocol
704 if (TextUtils.equals(info.protocol, "gmail")) {
771 // Reset the protocol choice in case the user has back-navigated here
873 // If the protocol isn't one we can use, and we're not diverting to gmail, try the alt
874 if (!info.isGmailStub && !EmailServiceUtils.isServiceAvailable(this, info.protocol)) {
876 info.protocol);
914 * Helper method to fill in some per-protocol defaults
929 * created and its protocol is set
1083 public void onChooseProtocol(String protocol) { argument
1084 mSetupData.setIncomingProtocol(this, protocol);
[all...]
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageShadowTask.java59 * @param protocol the blocking implementation that will keep this shadow
72 ImageShadowTask(ImageBackend.BlockSignalProtocol protocol, argument
74 mProtocol = protocol;
/packages/apps/Email/provider_src/com/android/email/service/
H A DPopImapSyncAdapterService.java85 private static boolean loadsFromServer(Context context, Mailbox m, String protocol) { argument
88 if (legacyImapProtocol.equals(protocol)) {
95 } else if (pop3Protocol.equals(protocol)) {
111 String protocol = account.getProtocol(context);
113 !loadsFromServer(context, mailbox, protocol)) {
141 if (protocol.equals(legacyImapProtocol)) {
H A DEmailServiceUtils.java89 public static void killService(Context context, String protocol) { argument
90 EmailServiceInfo info = getServiceInfo(context, protocol);
99 * Starts an EmailService by protocol
101 public static void startService(Context context, String protocol) { argument
102 EmailServiceInfo info = getServiceInfo(context, protocol);
140 EmailServiceUtils.getService(context, info.protocol);
155 public static boolean isServiceAvailable(Context context, String protocol) { argument
156 EmailServiceInfo info = getServiceInfo(context, protocol);
184 public String protocol; field in class:EmailServiceUtils.EmailServiceInfo
220 sb.append(protocol);
229 getService(Context context, String protocol) argument
257 getServiceInfo(Context context, String protocol) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DContactsUtils.java70 * ProviderNames from the predefined IM protocol id.
73 * @param protocol the protocol ID
74 * @return the provider name the IM app uses for the given protocol, or null if no
75 * provider is defined for the given protocol
78 public static String lookupProviderNameFromId(int protocol) { argument
79 switch (protocol) {
172 private static Intent getCustomImIntent(ImDataItem im, int protocol) { argument
178 if (protocol != Im.PROTOCOL_CUSTOM) {
180 host = ContactsUtils.lookupProviderNameFromId(protocol);
[all...]
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java85 return setupHostAuth("protocol", name, saveIt, context);
91 public static HostAuth setupHostAuth(String protocol, String name, boolean saveIt, argument
95 hostAuth.mProtocol = protocol;
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DContactsUtils.java200 * ProviderNames from the predefined IM protocol id.
203 * @param protocol the protocol ID
204 * @return the provider name the IM app uses for the given protocol, or null if no
205 * provider is defined for the given protocol
208 public static String lookupProviderNameFromId(int protocol) { argument
209 switch (protocol) {
232 * {@link Email} row. Returns null when missing protocol or data.
241 final int protocol = isEmail ? Im.PROTOCOL_GOOGLE_TALK : values.getAsInteger(Im.PROTOCOL);
245 if (protocol !
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DHostAuth.java167 public static String getSchemeString(String protocol, int flags, String clientAlias) { argument
195 return protocol + security;
354 public void setConnection(String protocol, String address, int port, int flags) { argument
355 setConnection(protocol, address, port, flags, null);
360 * @param protocol the mail protocol to use (e.g. "eas", "imap").
368 public void setConnection(String protocol, String address, argument
370 // Set protocol, security, and additional flags based on uri scheme
371 mProtocol = protocol;
549 String protocol
[all...]
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DDatabaseMessages.java880 public LocalDatabaseMessage(final long localId, final int protocol, final String uri, argument
883 mProtocol = protocol;
/packages/apps/Nfc/nci/jni/
H A DNativeNfcTag.cpp741 ALOGD ("%s: protocol: %d not ISO_DEP, do nothing", __FUNCTION__, natTag.mTechLibNfcTypes[0]);
1081 // For NFA, libnfcType is mapped to the protocol value received
1457 tNFC_PROTOCOL protocol = NfcTag::getInstance().getProtocol(); local
1458 if (NFA_PROTOCOL_T1T == protocol || NFA_PROTOCOL_ISO15693 == protocol
1459 || NFA_PROTOCOL_MIFARE == protocol)
1463 else if (NFA_PROTOCOL_T3T == protocol)
1467 else if (NFA_PROTOCOL_T2T == protocol)
1474 else if (NFA_PROTOCOL_ISO_DEP == protocol)
/packages/apps/Settings/src/com/android/settings/
H A DApnEditor.java585 * raw value of the protocol preference (e.g., "IPV4V6"). If unknown,
588 private String protocolDescription(String raw, ListPreference protocol) { argument
589 int protocolIndex = protocol.findIndexOfValue(raw);
681 String protocol = protocolDescription((String) newValue, mProtocol);
682 if (protocol == null) {
685 mProtocol.setSummary(protocol);
688 String protocol = protocolDescription((String) newValue, mRoamingProtocol);
689 if (protocol == null) {
692 mRoamingProtocol.setSummary(protocol);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DMessageData.java643 public static final boolean getIsMmsNotification(final int protocol) { argument
644 return (protocol == MessageData.PROTOCOL_MMS_PUSH_NOTIFICATION);
651 public static final boolean getIsSms(final int protocol) { argument
652 return protocol == (MessageData.PROTOCOL_SMS);

Completed in 284 milliseconds

12