Home
last modified time | relevance | path

Searched refs:mProtocol (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DHostAuthCompat.java17 private String mProtocol; field in HostAuthCompat
32 mProtocol = hostAuth.mProtocol; in HostAuthCompat()
51 hostAuth.mProtocol = mProtocol; in toHostAuth()
77 return "[protocol " + mProtocol + "]"; in toString()
82 parcel.writeString(mProtocol); in writeToParcel()
101 mProtocol = in.readString(); in HostAuthCompat()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java63 public String mProtocol; field in HostAuth
225 mProtocol = cursor.getString(CONTENT_PROTOCOL_COLUMN); in restore()
242 values.put(HostAuthColumns.PROTOCOL, mProtocol); in toContentValues()
259 json.put(HostAuthColumns.PROTOCOL, mProtocol); in toJson()
280 h.mProtocol = json.getString(HostAuthColumns.PROTOCOL); in fromJson()
371 mProtocol = protocol; in setConnection()
385 if (LEGACY_SCHEME_SMTP.equals(mProtocol)) { in setConnection()
435 dest.writeString(mProtocol); in writeToParcel()
463 mProtocol = in.readString(); in HostAuth()
495 && TextUtils.equals(mProtocol, that.mProtocol) in equals()
[all …]
DAccount.java526 return hostAuth.mProtocol; in getProtocol()
948 if (mHostAuthRecv != null && mHostAuthRecv.mProtocol != null) { in toString()
949 sb.append(mHostAuthRecv.mProtocol); in toString()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java100 private int mProtocol; field in MessageData
218 message.mProtocol = PROTOCOL_UNKNOWN; in createDraftMessage()
246 message.mProtocol = PROTOCOL_SMS; in createDraftSmsMessage()
262 message.mProtocol = PROTOCOL_MMS; in createDraftMmsMessage()
286 message.mProtocol = PROTOCOL_SMS; in createReceivedSmsMessage()
324 message.mProtocol = PROTOCOL_SMS; in createSmsMessage()
351 message.mProtocol = (isNotification ? PROTOCOL_MMS_PUSH_NOTIFICATION : PROTOCOL_MMS); in createMmsMessage()
389 mProtocol = cursor.getInt(INDEX_PROTOCOL); in bind()
424 values.put(MessageColumns.PROTOCOL, mProtocol); in populate()
453 insert.bindLong(INDEX_PROTOCOL, mProtocol); in getInsertStatement()
[all …]
DConversationMessageData.java62 private int mProtocol; field in ConversationMessageData
106 mProtocol = cursor.getInt(INDEX_PROTOCOL); in bind()
468 return (mProtocol == MessageData.PROTOCOL_MMS ||
469 mProtocol == MessageData.PROTOCOL_MMS_PUSH_NOTIFICATION);
473 return (mProtocol == MessageData.PROTOCOL_MMS_PUSH_NOTIFICATION);
477 return mProtocol == (MessageData.PROTOCOL_SMS);
481 return mProtocol;
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageShadowTask.java51 private final ImageBackend.BlockSignalProtocol mProtocol; field in ImageShadowTask
74 mProtocol = protocol; in ImageShadowTask()
84 return mProtocol; in getProtocol()
98 mProtocol.block(); in process()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp351 data->mProtocol = NFA_PROTOCOL_MASK_T1T; in importProtocolRoute()
353 data->mProtocol = NFA_PROTOCOL_MASK_T2T; in importProtocolRoute()
355 data->mProtocol = NFA_PROTOCOL_MASK_T3T; in importProtocolRoute()
357 data->mProtocol = NFA_PROTOCOL_MASK_ISO_DEP; in importProtocolRoute()
359 ALOGD_IF (sDebug, "%s: %s=0x%X", fn, id, data->mProtocol); in importProtocolRoute()
531 ALOGD ("%s: ee h=0x%X; protocol=0x%X", fn, proto->mNfaEeHandle, proto->mProtocol); in printDiagnostic()
553 ALOGD ("%s: ee h=0x%X; protocol=0x%X", fn, proto->mNfaEeHandle, proto->mProtocol); in printDiagnostic()
DRouteDataSet.h63 tNFA_PROTOCOL_MASK mProtocol; variable
67 mProtocol (0) in RouteDataForProtocol()
DNfcTag.cpp50 mProtocol(NFC_PROTOCOL_UNKNOWN), in NfcTag()
100 mProtocol = NFC_PROTOCOL_UNKNOWN; in initialize()
205 return mProtocol; in getProtocol()
1191 if (mProtocol != NFC_PROTOCOL_T1T) in getT1tMaxMessageSize()
1193 ALOGE ("%s: wrong protocol %u", fn, mProtocol); in getT1tMaxMessageSize()
1408 mProtocol = activated.activate_ntf.protocol; in connectionEventHandler()
1417 mProtocol = NFC_PROTOCOL_UNKNOWN; in connectionEventHandler()
DNfcTag.h393 tNFC_PROTOCOL mProtocol; variable
/packages/apps/Settings/src/com/android/settings/
DApnEditor.java88 private ListPreference mProtocol; field in ApnEditor
186 mProtocol = (ListPreference) findPreference(KEY_PROTOCOL); in onCreate()
187 mProtocol.setOnPreferenceChangeListener(this); in onCreate()
319 mProtocol.setValue(mCursor.getString(PROTOCOL_INDEX)); in fillUi()
381 mProtocol.setSummary( in fillUi()
382 checkNull(protocolDescription(mProtocol.getValue(), mProtocol))); in fillUi() local
497 String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
501 mProtocol.setSummary(protocol); in onPreferenceChange()
502 mProtocol.setValue((String) newValue); in onPreferenceChange()
648 values.put(Telephony.Carriers.PROTOCOL, checkNotSet(mProtocol.getValue())); in validateAndSave()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DHostAuthTests.java195 orig.mProtocol = "imap"; in testParceling()
239 assertEquals("IMAP", ha.mProtocol); in testDeserializeFromJSON()
255 before.mProtocol = "IMAP"; in testSerializeAndDeserializeWithJSON()
272 assertEquals(before.mProtocol, after.mProtocol); in testSerializeAndDeserializeWithJSON()
DAccountTest.java72 ha.mProtocol = "IMAP"; in getHostAuthJSON()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java68 testAuth.mProtocol = "pop3"; in testGetInstance()
81 testAuth.mProtocol = "imap"; in testGetInstance()
92 testAuth.mProtocol = "unknown"; in testGetInstance()
/packages/apps/Email/provider_src/com/android/email/mail/
DSender.java82 if (sendAuth.mProtocol != null && sendAuth.mProtocol.startsWith(xmlScheme)) { in findSender()
DStore.java112 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol); in createInstanceInternal()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java874 private final int mProtocol; field in DatabaseMessages.LocalDatabaseMessage
883 mProtocol = protocol; in LocalDatabaseMessage()
891 return mProtocol; in getProtocol()
922 mProtocol = in.readInt(); in LocalDatabaseMessage()
944 out.writeInt(mProtocol); in writeToParcel()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupIncomingFragment.java209 recvAuth.setConnection(recvAuth.mProtocol, domain, HostAuth.PORT_UNKNOWN, in onActivityCreated()
331 mBaseScheme = account.mHostAuthRecv.mProtocol; in configureEditor()
539 sendAuth.setConnection(sendAuth.mProtocol, hostName, sendAuth.mPort, sendAuth.mFlags); in saveSettingsAfterSetup()
612 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn()
DAccountSetupOutgoingFragment.java231 sendAuth.setConnection(sendAuth.mProtocol, domain, HostAuth.PORT_UNKNOWN, in loadSettings()
416 mSetupData.getAccount().getOrCreateHostAuthRecv(mAppContext).mProtocol; in onRequestSignIn()
DSetupDataFragment.java201 return recvAuth.mProtocol; in getIncomingProtocol()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java95 hostAuth.mProtocol = protocol; in setupHostAuth()
328 assertEquals(caller + " mProtocol", expect.mProtocol, actual.mProtocol); in assertHostAuthEqual()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DServiceStore.java54 return EmailServiceUtils.getService(mContext, mHostAuth.mProtocol); in getService()
/packages/apps/Email/tests/src/com/android/email/service/
DEmailBroadcastProcessorServiceTests.java64 hostAuth.mProtocol = protocol; in setupSimpleHostAuth()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java323 final EmailServiceInfo info = getServiceInfo(context, hostAuth.mProtocol); in setupAccountManagerAccount()
346 final String newProtocol = protocolMap.get(hostAuth.mProtocol); in updateAccountManagerType()
430 final String accountType = protocolMap.get(hostAuth.mProtocol + "_type"); in updateAccountManagerType()
/packages/apps/Email/provider_src/com/android/email/provider/
DAccountReconciler.java205 if (auth != null && TextUtils.equals(auth.mProtocol, in reconcileAccountsInternal()

12