Home
last modified time | relevance | path

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

/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()
326 message.mProtocol = PROTOCOL_SMS; in createSmsMessage()
353 message.mProtocol = (isNotification ? PROTOCOL_MMS_PUSH_NOTIFICATION : PROTOCOL_MMS); in createMmsMessage()
391 mProtocol = cursor.getInt(INDEX_PROTOCOL); in bind()
426 values.put(MessageColumns.PROTOCOL, mProtocol); in populate()
455 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/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.cpp56 mProtocol(NFC_PROTOCOL_UNKNOWN), in NfcTag()
104 mProtocol = NFC_PROTOCOL_UNKNOWN; in initialize()
196 tNFC_PROTOCOL NfcTag::getProtocol() { return mProtocol; } in getProtocol()
1213 if (mProtocol != NFC_PROTOCOL_T1T) { in getT1tMaxMessageSize()
1214 LOG(ERROR) << StringPrintf("%s: wrong protocol %u", fn, mProtocol); in getT1tMaxMessageSize()
1402 mProtocol = activated.activate_ntf.protocol; in connectionEventHandler()
1411 mProtocol = NFC_PROTOCOL_UNKNOWN; in connectionEventHandler()
DNfcTag.h425 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/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
698 String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
702 mProtocol.setSummary(protocol); in onPreferenceChange()
703 mProtocol.setValue((String) newValue); in onPreferenceChange()
955 checkNotSet(mProtocol.getValue()), in validateAndSaveApnData()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java113 ListPreference mProtocol; field in ApnEditor
282 mProtocol = (ListPreference) findPreference(KEY_PROTOCOL); in onCreate()
492 return mProtocol; in getPreferenceFromFieldName()
540 mProtocol.setEnabled(false); in disableAllFields()
594 mProtocol.setValue(mApnData.getString(PROTOCOL_INDEX)); in fillUI()
656 mProtocol.setSummary(checkNull(protocolDescription(mProtocol.getValue(), mProtocol))); in fillUI() local
784 final String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
788 mProtocol.setSummary(protocol); in onPreferenceChange()
789 mProtocol.setValue((String) newValue); in onPreferenceChange()
1041 checkNotSet(mProtocol.getValue()), in validateAndSaveApnData()
/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/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java537 mApnEditorUT.mProtocol = new ListPreference(context); in setMockPreference()