/packages/apps/Email/tests/src/com/android/email/service/ |
H A D | EmailBroadcastProcessorServiceTests.java | 60 * 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 D | AccountCredentials.java | 16 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 D | AccountSetupTypeFragment.java | 37 * 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 D | AccountSetupCredentialsFragment.java | 55 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 D | SetupDataFragment.java | 55 // 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 D | AccountSetupFinal.java | 136 // 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 D | ImageShadowTask.java | 59 * @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 D | PopImapSyncAdapterService.java | 85 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 D | EmailServiceUtils.java | 89 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 D | ContactsUtils.java | 63 * ProviderNames from the predefined IM protocol id. 66 * @param protocol the protocol ID 67 * @return the provider name the IM app uses for the given protocol, or null if no 68 * provider is defined for the given protocol 71 public static String lookupProviderNameFromId(int protocol) { argument 72 switch (protocol) { 157 private static Intent getCustomImIntent(ImDataItem im, int protocol) { argument 163 if (protocol != Im.PROTOCOL_CUSTOM) { 165 host = ContactsUtils.lookupProviderNameFromId(protocol); [all...] |
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | ProviderTestUtils.java | 85 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 D | ContactsUtils.java | 200 * 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 D | HostAuth.java | 167 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/Settings/src/com/android/settings/ |
H A D | ApnEditor.java | 384 * raw value of the protocol preference (e.g., "IPV4V6"). If unknown, 387 private String protocolDescription(String raw, ListPreference protocol) { argument 388 int protocolIndex = protocol.findIndexOfValue(raw); 484 String protocol = protocolDescription((String) newValue, mProtocol); 485 if (protocol == null) { 488 mProtocol.setSummary(protocol); 491 String protocol = protocolDescription((String) newValue, mRoamingProtocol); 492 if (protocol == null) { 495 mRoamingProtocol.setSummary(protocol);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | DatabaseMessages.java | 880 public LocalDatabaseMessage(final long localId, final int protocol, final String uri, argument 883 mProtocol = protocol;
|
/packages/apps/Nfc/nci/jni/ |
H A D | NativeNfcTag.cpp | 741 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/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | MessageData.java | 643 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);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseContactsProvider2Test.java | 410 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument 412 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, chatMode, 416 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument 418 return insertStatusUpdate(protocol, customProtocol, handle, presence, status, 0, chatMode, 422 protected Uri insertStatusUpdate(int protocol, String customProtocol, String handle, argument 425 values.put(StatusUpdates.PROTOCOL, protocol); 481 protected Uri insertImHandle(long rawContactId, int protocol, String customProtocol, argument 486 values.put(Im.PROTOCOL, protocol); 1599 int protocol = Im.PROTOCOL_GOOGLE_TALK; 1602 values.put(StatusUpdates.PROTOCOL, protocol); [all...] |
H A D | ContactsProvider2Test.java | 5038 private void assertStatusUpdate(Cursor c, int protocol, String customProtocol, int presence, argument 5041 values.put(StatusUpdates.PROTOCOL, protocol);
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
H A D | EmailProvider.java | 1815 // Query to get the protocol for a message. Temporary to switch between new and old upsync 1832 * Query to get the protocol and email address for an account. Note that this uses 1859 final String protocol = c.getString(INDEX_PROTOCOL); 1861 if (context.getString(R.string.protocol_eas).equals(protocol) && 1865 getAccountManagerAccount(context, emailAddress, protocol); 2014 final String protocol = c.getString(INDEX_PROTOCOL); 2016 .equals(protocol); 3340 // If we don't know the protocol or the protocol doesn't support it, don't allow moving 3376 String protocol 5746 getAccountManagerAccount(final Context context, final String emailAddress, final String protocol) argument [all...] |