Home
last modified time | relevance | path

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

1234

/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnSetting.java42 public final String protocol; field in ApnSetting
61 String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) { in ApnSetting() argument
75 this.protocol = protocol; in ApnSetting()
127 String protocol, roamingProtocol; in fromString() local
133 protocol = RILConstants.SETUP_DATA_PROTOCOL_IP; in fromString()
142 protocol = a[14]; in fromString()
153 a[9],a[4],a[5],authType,typeArray,protocol,roamingProtocol,carrierEnabled,bearer); in fromString()
176 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.java48 public UsbInterface(int id, int Class, int subClass, int protocol, in UsbInterface() argument
53 mProtocol = protocol; in UsbInterface()
126 int protocol = in.readInt();
128 return new UsbInterface(id, Class, subClass, protocol, endpoints);
DUsbDevice.java61 int Class, int subClass, int protocol, Parcelable[] interfaces) { in UsbDevice() argument
67 mProtocol = protocol; in UsbDevice()
190 int protocol = in.readInt();
192 return new UsbDevice(name, vendorId, productId, clasz, subClass, protocol, interfaces);
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java213 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()
DSimpleSessionDescription.java119 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/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/docs/html/tools/adk/
Dindex.jd14 <p>Accessories use the Android Open Accessory (AOA) protocol to communicate with Android
16 uses USB, make sure you understand how to implement the AOA protocol to establish communication
18 <a href="http://source.android.com/tech/accessories/index.html">Android Open Acessory protocol</a>.
Dadk.jd81 to develop accessories that support the Android accessory protocol. For more information, see
137 runs on the ADK board and is written in C++. The sketch calls the Android accessory protocol
142 <li>The Android accessory protocol library, which is located in the
362 <h2 id="firmware">How the ADK board implements the Android Accessory protocol</h2>
366 to implement the Android Accessory protocol. Even if you do not have the ADK board and shield,
381 <a href="#accessory-protocol">Implementing the Android Accessory Protocol</a>.</p>
468 protocol that the device supports (see <code>AndroidAccessory::getProtocol()</code>). Protocol
472 If the appropriate protocol version is returned, the board sends control request 52 (one
479 int protocol = getProtocol(addr);
480 if (protocol >= 1) {
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DApnSettingTest.java42 assertEquals(a1.protocol, a2.protocol); in assertApnSettingEqual()
/frameworks/native/opengl/libs/GLES_trace/
Ddev.make4 # generate protocol buffer files
/frameworks/base/core/java/android/net/http/
DAndroidHttpClient.java34 import org.apache.http.client.protocol.ClientContext;
48 import org.apache.http.protocol.BasicHttpContext;
49 import org.apache.http.protocol.BasicHttpProcessor;
50 import org.apache.http.protocol.HttpContext;
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/connectivity/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/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/volley/src/com/android/volley/toolbox/
DHttpHeaderParser.java24 import org.apache.http.protocol.HTTP;
/frameworks/base/docs/html/guide/topics/connectivity/usb/
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/volley/tests/src/com/android/volley/mock/
DMockHttpClient.java33 import org.apache.http.protocol.HttpContext;
/frameworks/base/core/java/com/android/internal/http/multipart/
DMultipartEntity.java44 import org.apache.http.protocol.HTTP;
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd.jd85 <p>The second parameter sets the service type, specifies which protocol and transport
87 "_&lt;protocol&gt;._&lt;transportlayer&gt;". In the
88 code snippet, the service uses HTTP protocol running over TCP. An application
221 // Service type is the string containing the protocol and
282 your application should look for, the discovery protocol to use, and the
/frameworks/base/core/java/android/webkit/
DHTML5VideoViewProxy.java479 String protocol = mUrl.getProtocol(); in start() local
480 if ("http".equals(protocol) || "https".equals(protocol)) { in start()
/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()

1234