Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/tests/CoreTests/android/core/
DTestHttpClient.java49 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/telephony/java/com/android/internal/telephony/
DApnSetting.java39 public final String protocol; field in ApnSetting
58 String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) { in ApnSetting() argument
72 this.protocol = protocol; in ApnSetting()
126 String protocol, roamingProtocol; in fromString() local
132 protocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
141 protocol = a[14]; in fromString()
152 a[9],a[4],a[5],authType,typeArray,protocol,roamingProtocol,carrierEnabled,bearer); in fromString()
174 sb.append(", ").append(protocol); in toString()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
DForwarderManager.java65 String protocol; in getHostSchemePort() local
67 protocol = "https"; in getHostSchemePort()
70 protocol = "http"; in getHostSchemePort()
76 url = new URL(protocol, HOST_IP, port, "/"); in getHostSchemePort()
/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java42 public UsbInterface(int id, int Class, int subClass, int protocol, in UsbInterface() argument
47 mProtocol = protocol; in UsbInterface()
120 int protocol = in.readInt();
122 return new UsbInterface(id, Class, subClass, protocol, endpoints);
DUsbDevice.java55 int Class, int subClass, int protocol, Parcelable[] interfaces) { in UsbDevice() argument
61 mProtocol = protocol; in UsbDevice()
184 int protocol = in.readInt();
186 return new UsbDevice(name, vendorId, productId, clasz, subClass, protocol, interfaces);
/frameworks/base/voip/java/android/net/sip/
DSipProfile.java206 public Builder setProtocol(String protocol) in setProtocol() argument
208 if (protocol == null) { in setProtocol()
211 protocol = protocol.toUpperCase(); in setProtocol()
212 if (!protocol.equals(UDP) && !protocol.equals(TCP)) { in setProtocol()
214 "unsupported protocol: " + protocol); in setProtocol()
216 mProfile.mProtocol = protocol; in setProtocol()
DSimpleSessionDescription.java118 String protocol) { in newMedia() argument
119 Media media = new Media(type, port, portCount, protocol); in newMedia()
243 private Media(String type, int port, int portCount, String protocol) { in Media() argument
248 mProtocol = protocol; in Media()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnection.java93 String protocol; in onConnect() local
95 protocol = mApn.roamingProtocol; in onConnect()
97 protocol = mApn.protocol; in onConnect()
105 protocol, msg); in onConnect() local
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Daccessorychat.c148 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/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DAdditionalTextOutput.java54 String protocol = ""; in appendExceededDbQuotaMessage() local
60 protocol = url.getProtocol(); in appendExceededDbQuotaMessage()
72 output.append(protocol + ", " + host + ", " + port + "} "); in appendExceededDbQuotaMessage()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DApnSettingTest.java40 assertEquals(a1.protocol, a2.protocol); in assertApnSettingEqual()
/frameworks/base/core/java/android/net/http/
DAndroidHttpClient.java33 import org.apache.http.client.protocol.ClientContext;
47 import org.apache.http.protocol.BasicHttpProcessor;
48 import org.apache.http.protocol.HttpContext;
49 import org.apache.http.protocol.BasicHttpContext;
DConnection.java36 import org.apache.http.protocol.ExecutionContext;
37 import org.apache.http.protocol.HttpContext;
38 import org.apache.http.protocol.BasicHttpContext;
DCharArrayBuffers.java20 import org.apache.http.protocol.HTTP;
/frameworks/base/docs/html/guide/topics/usb/
Dadk.jd27 <a href="#accessory-protocol">Implementing the Android Accessory Protocol</a>
109 specifically designed to attach to Android-powered devices and adhere to a simple protocol
110 (Android accessory protocol) that allows them to detect Android-powered devices that support
138 to develop accessories that support the Android accessory protocol. For more information, see
195 runs on the ADK board and is written in C++. The sketch calls the Android accessory protocol
200 <li>The Android accessory protocol library, which is located in the
426 <h2 id="accessory-protocol">Implementing the Android Accessory Protocol</h2>
439 <li>Establish communication with the device if it supports the Android accessory protocol</li>
467 bulk transfer endpoints with its own communication protocol. There is no need to start the device
472 ADB (Android Debug Bridge) protocol, which exposes a second interface with two bulk endpoints for
[all …]
Dindex.jd17 implements the Android accessory protocol) through two modes: USB accessory and USB host. In USB
23 "http://accessories.android.com/demokit">Android accessory communication protocol</a>. In USB
/frameworks/base/services/jni/
Dcom_android_server_UsbHostManager.cpp74 uint8_t protocol = deviceDesc->bDeviceProtocol; in usb_device_added() local
113 deviceSubClass, protocol, interfaceArray, endpointArray); in usb_device_added()
/frameworks/base/docs/html/guide/topics/nfc/
Dindex.jd29 bytes using your own protocol stack. In these cases, Android provides support to detect
30 certain tag technologies and to open communication with the tag using your own protocol
/frameworks/base/core/java/android/webkit/
DHTML5VideoViewProxy.java415 String protocol = mUrl.getProtocol(); in start() local
416 if ("http".equals(protocol) || "https".equals(protocol)) { in start()
/frameworks/base/core/java/com/android/internal/http/multipart/
DMultipartEntity.java44 import org.apache.http.protocol.HTTP;
/frameworks/base/core/java/android/provider/
DContacts.java1303 public static String encodePredefinedImProtocol(int protocol) { in encodePredefinedImProtocol() argument
1304 return "pre:" + protocol; in encodePredefinedImProtocol()
1366 public static String lookupProviderNameFromId(int protocol) { in lookupProviderNameFromId() argument
1367 switch (protocol) { in lookupProviderNameFromId()
/frameworks/base/services/java/com/android/server/usb/
DUsbHostManager.java84 private boolean isBlackListed(int clazz, int subClass, int protocol) { in isBlackListed() argument
DUsbSettingsManager.java102 public DeviceFilter(int vid, int pid, int clasz, int subclass, int protocol) { in DeviceFilter() argument
107 mProtocol = protocol; in DeviceFilter()
168 private boolean matches(int clasz, int subclass, int protocol) { in matches() argument
171 (mProtocol == -1 || protocol == mProtocol)); in matches()
/frameworks/base/
Dpreloaded-classes2087 org.apache.http.client.protocol.RequestAddCookies
2088 org.apache.http.client.protocol.RequestDefaultHeaders
2089 org.apache.http.client.protocol.RequestProxyAuthentication
2090 org.apache.http.client.protocol.RequestTargetAuthentication
2091 org.apache.http.client.protocol.ResponseProcessCookies
2233 org.apache.http.protocol.BasicHttpContext
2234 org.apache.http.protocol.BasicHttpProcessor
2235 org.apache.http.protocol.HTTP
2236 org.apache.http.protocol.HttpContext
2237 org.apache.http.protocol.HttpProcessor
[all …]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DTestShellActivity.java707 String protocol = "";
713 protocol = url.getProtocol();
722 "exceededDatabaseQuotaForSecurityOrigin:{" + protocol +

123