/frameworks/base/tests/CoreTests/android/core/ |
D | TestHttpClient.java | 49 import org.apache.http.protocol.BasicHttpProcessor; 50 import org.apache.http.protocol.HttpContext; 51 import org.apache.http.protocol.BasicHttpContext; 52 import org.apache.http.protocol.ExecutionContext; 53 import org.apache.http.protocol.HttpRequestExecutor; 54 import org.apache.http.protocol.RequestConnControl; 55 import org.apache.http.protocol.RequestContent; 56 import org.apache.http.protocol.RequestExpectContinue; 57 import org.apache.http.protocol.RequestTargetHost; 58 import org.apache.http.protocol.RequestUserAgent;
|
/frameworks/base/services/net/java/android/net/util/ |
D | IpUtils.java | 83 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv4() argument 84 int partial = protocol + transportLen; in pseudoChecksumIPv4() 93 ByteBuffer buf, int headerOffset, int protocol, int transportLen) { in pseudoChecksumIPv6() argument 94 int partial = protocol + transportLen; in pseudoChecksumIPv6() 110 private static short transportChecksum(ByteBuffer buf, int protocol, in transportChecksum() argument 118 sum = pseudoChecksumIPv4(buf, ipOffset, protocol, transportLen); in transportChecksum() 120 sum = pseudoChecksumIPv6(buf, ipOffset, protocol, transportLen); in transportChecksum() 126 if (protocol == IPPROTO_UDP && sum == 0) { in transportChecksum()
|
D | ConnectivityPacketSummary.java | 165 final int protocol = asUint(mPacket.get()); in parseIPv4() local 176 if (protocol == IPPROTO_UDP) { in parseIPv4() 181 sj.add("proto").add(asString(protocol)); in parseIPv4() 195 final int protocol = asUint(mPacket.get()); in parseIPv6() local 204 if (protocol == IPPROTO_ICMPV6) { in parseIPv6() 208 sj.add("proto").add(asString(protocol)); in parseIPv6()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataProfile.java | 36 public final String protocol; field in DataProfile 74 DataProfile(int profileId, String apn, String protocol, int authType, in DataProfile() argument 82 this.protocol = protocol; in DataProfile() 110 this(profileId, apn.apn, apn.protocol, in DataProfile() 121 return "DataProfile=" + profileId + "/" + apn + "/" + protocol + "/" + authType in toString()
|
D | ApnSetting.java | 66 public final String protocol; field in ApnSetting 123 String protocol, String roamingProtocol, boolean carrierEnabled, int bearer, in ApnSetting() argument 146 this.protocol = protocol; in ApnSetting() 164 apn.mmsPort, apn.user, apn.password, apn.authType, apn.types, apn.protocol, in ApnSetting() 226 String protocol, roamingProtocol; in fromString() local 240 protocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString() 248 protocol = a[14]; in fromString() 277 a[9],a[4],a[5],authType,typeArray,protocol,roamingProtocol,carrierEnabled,0, in fromString() 325 sb.append(", ").append(protocol); in toString() 535 && protocol.equals(other.protocol) in equals() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | ProtocolPortTuple.java | 51 public ProtocolPortTuple(int protocol, int port, int status) { in ProtocolPortTuple() argument 52 mProtocol = protocol; in ProtocolPortTuple() 65 int protocol = payload.get(); in parse() local 69 return new ProtocolPortTuple(protocol, port, status); in parse()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipProfile.java | 213 public Builder setProtocol(String protocol) in setProtocol() argument 215 if (protocol == null) { in setProtocol() 218 protocol = protocol.toUpperCase(); in setProtocol() 219 if (!protocol.equals(UDP) && !protocol.equals(TCP)) { in setProtocol() 221 "unsupported protocol: " + protocol); in setProtocol() 223 mProfile.mProtocol = protocol; in setProtocol()
|
D | SimpleSessionDescription.java | 119 String protocol) { in newMedia() argument 120 Media media = new Media(type, port, portCount, protocol); in newMedia() 244 private Media(String type, int port, int portCount, String protocol) { in Media() argument 249 mProtocol = protocol; in Media()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbInterface.java | 54 int Class, int subClass, int protocol) { in UsbInterface() argument 60 mProtocol = protocol; in UsbInterface() 173 int protocol = in.readInt(); 175 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol);
|
D | UsbDevice.java | 70 int protocol, @Nullable String manufacturerName, @Nullable String productName, in UsbDevice() argument 77 mProtocol = protocol; in UsbDevice() 299 int protocol = in.readInt(); 305 UsbDevice device = new UsbDevice(name, vendorId, productId, clasz, subClass, protocol,
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | usb.c | 156 uint16_t protocol = -1; in usb_device_added() local 158 ACCESSORY_GET_PROTOCOL, 0, 0, &protocol, sizeof(protocol), 1000); in usb_device_added() 162 fprintf(stderr, "device supports protocol version %d\n", protocol); in usb_device_added() 163 if (protocol >= 2) { in usb_device_added()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbInterfaceDescriptor.java | 89 byte protocol = getProtocol(); in report() 101 canvas.writeListItem("Protocol: " + protocol + ": " + ReportCanvas.getHexString(protocol)); in report()
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 148 uint16_t protocol; in usb_device_added() local 150 ACCESSORY_GET_PROTOCOL, 0, 0, &protocol, sizeof(protocol), 0); in usb_device_added() 152 printf("device supports protocol version %d\n", protocol); in usb_device_added()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | KeepalivePacketData.java | 40 public final int protocol; field in KeepalivePacketData 79 this.protocol = OsConstants.ETH_P_IP; in KeepalivePacketData() 81 this.protocol = OsConstants.ETH_P_IPV6; in KeepalivePacketData()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothHidDeviceCallback.java | 103 public void onSetProtocol(BluetoothDevice device, byte protocol) { in onSetProtocol() argument 104 Log.d(TAG, "onSetProtocol: device=" + device + " protocol=" + protocol); in onSetProtocol()
|
D | IBluetoothHidDeviceCallback.aidl | 28 void onSetProtocol(in BluetoothDevice device, in byte protocol); in onSetProtocol() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | InformationElementUtil.java | 415 public ArrayList<Integer> protocol; field in InformationElementUtil.Capabilities 450 protocol.add(ScanResult.PROTOCOL_WPA2); in parseRsnElement() 589 protocol.add(ScanResult.PROTOCOL_WPA); in parseWpaOneElement() 642 protocol = new ArrayList<Integer>(); in from() 669 private String protocolToString(int protocol) { in protocolToString() argument 670 switch (protocol) { in protocolToString() 724 boolean isWEP = (protocol.isEmpty()) && isPrivacy; in generateCapabilitiesString() 729 for (int i = 0; i < protocol.size(); i++) { in generateCapabilitiesString() 730 capabilities += "[" + protocolToString(protocol.get(i)); in generateCapabilitiesString()
|
D | TelephonyUtil.java | 292 public SimAuthRequestData(int networkId, int protocol, String ssid, String[] data) { in SimAuthRequestData() argument 294 this.protocol = protocol; in SimAuthRequestData() 300 public int protocol; field in TelephonyUtil.SimAuthRequestData
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ProtocolPortTupleTest.java | 46 private ByteBuffer getTestBuffer(int protocol, int port, int status) { in getTestBuffer() argument 49 buffer.put((byte) protocol); in getTestBuffer()
|
D | ANQPParserTest.java | 209 private static byte[] getHSConnectionCapabilityPayload(int protocol, int port, int status) { in getHSConnectionCapabilityPayload() argument 211 stream.write((byte) protocol); in getHSConnectionCapabilityPayload() 471 int protocol = 12; in parseHSConnectionCapabilityElement() local 476 statusList.add(new ProtocolPortTuple(protocol, port, status)); in parseHSConnectionCapabilityElement() 480 getHSConnectionCapabilityPayload(protocol, port, status)); in parseHSConnectionCapabilityElement()
|
/frameworks/native/cmds/bugreportz/ |
D | readme.md | 1 # bugreportz protocol 4 the simple protocol defined below.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataProfileTest.java | 88 assertEquals(mApn1.protocol, dp.protocol); in testCreateFromApnSetting()
|
/frameworks/base/core/java/android/net/ |
D | Network.java | 280 String protocol = url.getProtocol(); in openConnection() local 284 if (protocol.equals("http")) { in openConnection() 286 } else if (protocol.equals("https")) { in openConnection() 291 throw new MalformedURLException("Invalid URL or unrecognized protocol " + protocol); in openConnection()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
D | Policy.java | 92 int protocol = (int) MOManager.getLong(instance, TAG_IPProtocol, null); in Policy() local 102 mRequiredProtos.put(protocol, ports); in Policy()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbHostManager.java | 218 int Class, int subClass, int protocol) { in addUsbInterface() argument 225 mNewInterface = new UsbInterface(id, altSetting, name, Class, subClass, protocol); in addUsbInterface()
|