Home
last modified time | relevance | path

Searched refs:mProtocol (Results 1 – 25 of 33) 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/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceFilter.java41 public final int mProtocol; field in UsbDeviceFilter
73 mProtocol = protocol; in UsbDeviceFilter()
168 && (mProtocol == -1 || protocol == mProtocol)); in matches()
223 || mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
233 || filter.mProtocol != mProtocol) { in equals()
260 || device.getDeviceProtocol() != mProtocol) { in equals()
287 ^ ((mClass << 16) | (mSubclass << 8) | mProtocol)); in hashCode()
294 + ",mProtocol=" + mProtocol + ",mManufacturerName=" + mManufacturerName 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/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/Nfc/nci/jni/
DRouteDataSet.cpp332 data->mProtocol = NFA_PROTOCOL_MASK_T1T; in importProtocolRoute()
334 data->mProtocol = NFA_PROTOCOL_MASK_T2T; in importProtocolRoute()
336 data->mProtocol = NFA_PROTOCOL_MASK_T3T; in importProtocolRoute()
338 data->mProtocol = NFA_PROTOCOL_MASK_ISO_DEP; in importProtocolRoute()
342 data->mProtocol); in importProtocolRoute()
504 proto->mNfaEeHandle, proto->mProtocol); in printDiagnostic()
525 proto->mNfaEeHandle, proto->mProtocol); in printDiagnostic()
DRouteDataSet.h57 tNFA_PROTOCOL_MASK mProtocol; variable
65 mProtocol(0) {} in RouteDataForProtocol()
DNfcTag.cpp53 mProtocol(NFC_PROTOCOL_UNKNOWN), in NfcTag()
96 mProtocol = NFC_PROTOCOL_UNKNOWN; in initialize()
189 tNFC_PROTOCOL NfcTag::getProtocol() { return mProtocol; } in getProtocol()
1141 if (mProtocol != NFC_PROTOCOL_T1T) { in getT1tMaxMessageSize()
1142 LOG(ERROR) << StringPrintf("%s: wrong protocol %u", fn, mProtocol); in getT1tMaxMessageSize()
1330 mProtocol = activated.activate_ntf.protocol; in connectionEventHandler()
1339 mProtocol = NFC_PROTOCOL_UNKNOWN; in connectionEventHandler()
DNfcTag.h373 tNFC_PROTOCOL mProtocol; variable
/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/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/Settings/src/com/android/settings/network/
DApnEditor.java114 ListPreference mProtocol; field in ApnEditor
225 mProtocol = (ListPreference) findPreference(KEY_PROTOCOL); in onCreate()
428 return mProtocol; in getPreferenceFromFieldName()
476 mProtocol.setEnabled(false); in disableAllFields()
528 mProtocol.setValue(mApnData.getString(PROTOCOL_INDEX)); in fillUI()
590 mProtocol.setSummary(checkNull(protocolDescription(mProtocol.getValue(), mProtocol))); in fillUI() local
695 String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
699 mProtocol.setSummary(protocol); in onPreferenceChange()
700 mProtocol.setValue((String) newValue); in onPreferenceChange()
951 checkNotSet(mProtocol.getValue()), in validateAndSaveApnData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java114 ListPreference mProtocol; field in ApnEditor
225 mProtocol = (ListPreference) findPreference(KEY_PROTOCOL); in onCreate()
428 return mProtocol; in getPreferenceFromFieldName()
476 mProtocol.setEnabled(false); in disableAllFields()
528 mProtocol.setValue(mApnData.getString(PROTOCOL_INDEX)); in fillUI()
590 mProtocol.setSummary(checkNull(protocolDescription(mProtocol.getValue(), mProtocol))); in fillUI() local
695 String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
699 mProtocol.setSummary(protocol); in onPreferenceChange()
700 mProtocol.setValue((String) newValue); in onPreferenceChange()
951 checkNotSet(mProtocol.getValue()), in validateAndSaveApnData()
/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()
/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/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/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()

12