Home
last modified time | relevance | path

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

/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DGbaActivity.java64 private int mProtocol; field in GbaActivity
123 .setProtocol(mProtocol) in initLayout()
205 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
209 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
213 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
217 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
221 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
225 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
229 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
233 mProtocol = UaSecurityProtocolIdentifier in initProtocol()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTuple.java46 private final int mProtocol; field in ProtocolPortTuple
52 mProtocol = protocol; in ProtocolPortTuple()
73 return mProtocol; in getProtocol()
93 return mProtocol == that.mProtocol in equals()
100 return (mProtocol * 31 + mPort) * 31 + mStatus; in hashCode()
105 return "ProtocolTuple{" + "mProtocol=" + mProtocol + ", mPort=" + mPort in toString()
/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/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.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/Settings/src/com/android/settings/network/apn/
DApnEditor.java116 ListPreference mProtocol; field in ApnEditor
464 return mProtocol; in getPreferenceFromFieldName()
512 mProtocol.setEnabled(false); in disableAllFields()
566 mProtocol.setValue(mApnData.getString(PROTOCOL_INDEX)); in fillUI()
628 mProtocol.setSummary(checkNull(protocolDescription(mProtocol.getValue(), mProtocol))); in fillUI() local
767 final String protocol = protocolDescription((String) newValue, mProtocol); in onPreferenceChange()
771 mProtocol.setSummary(protocol); in onPreferenceChange()
772 mProtocol.setValue((String) newValue); in onPreferenceChange()
1025 checkNotSet(mProtocol.getValue()), in validateAndSaveApnData()
1289 mProtocol = (ListPreference) findPreference(KEY_PROTOCOL); in initApnEditorUi()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java471 mApnEditorUT.mProtocol.setEntryValues(new CharSequence[]{"IP", "IPV6", "IPV4V6"}); in testOnViewStateRestored_customizedValueWithoutDefault_shouldShowCustomized()
475 assertThat(mApnEditorUT.mProtocol.getSummary()).isEqualTo("IPv4"); in testOnViewStateRestored_customizedValueWithoutDefault_shouldShowCustomized()
482 mApnEditorUT.mProtocol.setEntryValues(new CharSequence[]{"IP", "IPV6", "IPV4V6"}); in testOnViewStateRestored_customizedValueWithDefault_shouldShowDefault()
486 assertThat(mApnEditorUT.mProtocol.getSummary()).isEqualTo("IPv6"); in testOnViewStateRestored_customizedValueWithDefault_shouldShowDefault()
541 mApnEditorUT.mProtocol = new ListPreference(context); in setMockPreference()
/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/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java490 private final int mProtocol; field in NetworkDiagnostics.IcmpCheck
497 mProtocol = IPPROTO_ICMPV6; in IcmpCheck()
501 mProtocol = IPPROTO_ICMP; in IcmpCheck()
518 setupSocket(SOCK_DGRAM, mProtocol, TIMEOUT_SEND, TIMEOUT_RECV, 0); in run()