/frameworks/base/core/java/android/net/ |
H A D | LinkAddress.java | 28 * Identifies an address of a network link 33 * IPv4 or IPv6 address. 35 private InetAddress address; field in class:LinkAddress 42 private void init(InetAddress address, int prefixLength) { argument 43 if (address == null || prefixLength < 0 || 44 ((address instanceof Inet4Address) && prefixLength > 32) || 46 throw new IllegalArgumentException("Bad LinkAddress params " + address + 49 this.address = address; 53 public LinkAddress(InetAddress address, in argument 67 LinkAddress(String address) argument [all...] |
H A D | INetworkManagementEventObserver.aidl | 58 * An interface address has been added or updated 60 * @param address The address. 62 * @param flags The address flags. 63 * @param scope The address scope. 65 void addressUpdated(String address, String iface, int flags, int scope); 68 * An interface address has been removed 70 * @param address The address. 72 * @param flags The address flag [all...] |
H A D | VpnService.java | 55 * conflict with each other. The system takes several actions to address 301 * Private method to validate address and prefixLength. 303 private void check(InetAddress address, int prefixLength) { argument 304 if (address.isLoopbackAddress()) { 305 throw new IllegalArgumentException("Bad address"); 307 if (address instanceof Inet4Address) { 311 } else if (address instanceof Inet6Address) { 321 * Add a network address to the VPN interface. Both IPv4 and IPv6 322 * addresses are supported. At least one address must be set before 325 * @throws IllegalArgumentException if the address i 327 addAddress(InetAddress address, int prefixLength) argument 345 addAddress(String address, int prefixLength) argument 355 addRoute(InetAddress address, int prefixLength) argument 379 addRoute(String address, int prefixLength) argument 390 addDnsServer(InetAddress address) argument 409 addDnsServer(String address) argument [all...] |
H A D | MailTo.java | 95 String address = email.getPath(); 96 if (address != null) { 99 address += ", " + addr; 101 m.mHeaders.put(TO, address); 108 * Retrieve the To address line from the parsed mailto URL. This could be 109 * several email address that are comma-space delimited. 118 * Retrieve the CC address line from the parsed mailto URL. This could be 119 * several email address that are comma-space delimited.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsAddress.java | 31 public String address; field in class:SmsAddress 35 * Returns the address of the SMS message in String form or null if unavailable 38 return address; 42 * Returns true if this is an alphanumeric address 49 * Returns true if this is a network address 59 // So we just attempt to treat any message from an address length <= 4 62 return address.length() <= 4;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | util.cpp | 28 jniThrowNullPointerException(env, "address"); 35 const char *address = env->GetStringUTFChars(jAddress, NULL); local 36 if (!address) { 43 if (inet_pton(AF_INET, address, &(sin->sin_addr)) > 0) { 46 env->ReleaseStringUTFChars(jAddress, address); 51 if (inet_pton(AF_INET6, address, &(sin6->sin6_addr)) > 0) { 54 env->ReleaseStringUTFChars(jAddress, address); 58 env->ReleaseStringUTFChars(jAddress, address); 59 jniThrowException(env, "java/lang/IllegalArgumentException", "address");
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | RtpStream.java | 63 * Creates a RtpStream on the given local address. Note that the local 66 * @param address The network address of the local host to bind to. 67 * @throws SocketException if the address cannot be bound or a problem 70 RtpStream(InetAddress address) throws SocketException { argument 71 mLocalPort = create(address.getHostAddress()); 72 mLocalAddress = address; 75 private native int create(String address) throws SocketException; argument 78 * Returns the network address of the local host. 92 * Returns the network address o 153 associate(InetAddress address, int port) argument [all...] |
H A D | AudioStream.java | 51 * Creates an AudioStream on the given local address. Note that the local 54 * @param address The network address of the local host to bind to. 55 * @throws SocketException if the address cannot be bound or a problem 58 public AudioStream(InetAddress address) throws SocketException { argument 59 super(address);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothGattCallback.aidl | 28 in boolean connected, in String address); 29 void onScanResult(in String address, in int rssi, in byte[] advData); 30 void onGetService(in String address, in int srvcType, in int srvcInstId, 32 void onGetIncludedService(in String address, in int srvcType, in int srvcInstId, 35 void onGetCharacteristic(in String address, in int srvcType, 39 void onGetDescriptor(in String address, in int srvcType, 43 void onSearchComplete(in String address, in int status); 44 void onCharacteristicRead(in String address, in int status, in int srvcType, 48 void onCharacteristicWrite(in String address, in int status, in int srvcType, 51 void onExecuteWrite(in String address, i [all...] |
H A D | IBluetoothGattServerCallback.aidl | 27 void onScanResult(in String address, in int rssi, in byte[] advData); 29 in boolean connected, in String address); 32 void onCharacteristicReadRequest(in String address, in int transId, 37 void onDescriptorReadRequest(in String address, in int transId, 43 void onCharacteristicWriteRequest(in String address, in int transId, 51 void onDescriptorWriteRequest(in String address, in int transId, 60 void onExecuteWrite(in String address, in int transId, in boolean execWrite);
|
H A D | IBluetoothGatt.aidl | 38 void clientConnect(in int clientIf, in String address, in boolean isDirect); 39 void clientDisconnect(in int clientIf, in String address); 49 void refreshDevice(in int clientIf, in String address); 50 void discoverServices(in int clientIf, in String address); 51 void readCharacteristic(in int clientIf, in String address, in int srvcType, 55 void writeCharacteristic(in int clientIf, in String address, in int srvcType, 59 void readDescriptor(in int clientIf, in String address, in int srvcType, 64 void writeDescriptor(in int clientIf, in String address, in int srvcType, 69 void registerForNotification(in int clientIf, in String address, in int srvcType, 73 void beginReliableWrite(in int clientIf, in String address); [all...] |
H A D | BluetoothGatt.java | 159 boolean connected, String address) { 161 + " clientIf=" + clientIf + " device=" + address); 162 if (!address.equals(mDevice.getAddress())) { 186 public void onScanResult(String address, int rssi, byte[] advData) { 196 public void onGetService(String address, int srvcType, 198 if (DBG) Log.d(TAG, "onGetService() - Device=" + address + " UUID=" + srvcUuid); 199 if (!address.equals(mDevice.getAddress())) { 211 public void onGetIncludedService(String address, int srvcType, 215 if (DBG) Log.d(TAG, "onGetIncludedService() - Device=" + address 218 if (!address [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsAddress.java | 29 * the address digits are 4-bit DTMF codes or 8-bit codes. (See 39 * address type is a data network address or not. (See 3GPP2 69 * This field shall be set to the number of address digits 88 * NOTE: the parsed string address and the raw byte array values 89 * are stored in the parent class address and origBytes fields, 105 builder.append(", address=\"" + address + "\""); 117 private static byte[] parseToDtmf(String address) { argument 118 int digits = address 158 filterNumericSugar(String address) argument 175 filterWhitespace(String address) argument 196 parse(String address) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | IDisplayManager.aidl | 40 void connectWifiDisplay(String address); 46 void renameWifiDisplay(String address, String alias); 49 void forgetWifiDisplay(String address);
|
/frameworks/base/core/java/com/android/server/net/ |
H A D | BaseNetworkObserver.java | 39 public void addressUpdated(String address, String iface, int flags, int scope) { argument 44 public void addressRemoved(String address, String iface, int flags, int scope) { argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A D | residu_asm_neon.s | 41 ADD r9, r1, r7, LSL #1 @copy the address 47 SUB r8, r9, #2 @get the x[i-1] address 51 SUB r8, r9, #4 @load the x[i-2] address 55 SUB r8, r9, #6 @load the x[i-3] address 59 SUB r8, r9, #8 @load the x[i-4] address 63 SUB r8, r9, #10 @load the x[i-5] address 67 SUB r8, r9, #12 @load the x[i-6] address 71 SUB r8, r9, #14 @load the x[i-7] address 75 SUB r8, r9, #16 @load the x[i-8] address 79 SUB r8, r9, #18 @load the x[i-9] address [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbEndpoint.java | 44 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument 45 mAddress = address; 52 * Returns the endpoint's address field. 53 * The address is a bitfield containing both the endpoint number 58 * @return the endpoint's address 65 * Extracts the endpoint's endpoint number from its address 140 int address = in.readInt(); 144 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | DateIntervalFormat_Delegate.java | 43 /*package*/static String formatDateInterval(long address, long fromDate, long toDate) { argument 44 DateIntervalFormat_Delegate delegate = sManager.getDelegate((int)address); 70 /*package*/ static void destroyDateIntervalFormat(long address) { argument 71 sManager.removeJavaReferenceFor((int)address);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsAddress.java | 58 // An alphanumeric address 61 address = GsmAlphabet.gsm7BitPackedToString(origBytes, 74 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, 84 return address; 88 * Returns true if this is an alphanumeric address 102 * address 110 // - Originating address should be 4 bytes long and alphanumeric 122 // Remember, since the alpha address is stored in 7-bit compact form, 123 // the "line number" is really the top bit of the first address value 132 * address indicatin [all...] |
/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 41 static int set_address(struct sockaddr *sa, const char *address) { argument 44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr); 61 * is to have an interface configured with the given address and netmask 84 const char *address = env("INTERNAL_ADDR4"); local 120 /* Set the address. */ 121 if (!set_address(&ifr.ifr_addr, address) || 123 ALOGE("Cannot set address: %s", strerror(errno)); 138 fprintf(state, "%s/%s\n", address, env("INTERNAL_CIDR4"));
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 165 * Display address, or null if none. 168 public String address; field in class:DisplayDeviceInfo 213 && Objects.equal(address, other.address) 235 address = other.address; 252 if (address != null) { 253 sb.append(", address ").append(address);
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 63 * unicast address. The address is used in the origin field ("o=") and the 67 public SimpleSessionDescription(long sessionId, String address) { argument 68 address = (address.indexOf(':') < 0 ? "IN IP4 " : "IN IP6 ") + address; 71 System.currentTimeMillis(), address)); 74 mFields.parse("c=" + address); 147 * Returns the connection address or {@code null} if it is not present. 154 * Sets the connection address 157 setAddress(String address) argument 418 setAddress(String address) argument [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Token.java | 20 * This class stores an RFC 822-like name, address, and comment, 27 * Creates a new Rfc822Token with the specified name, address, 30 public Rfc822Token(String name, String address, String comment) { argument 32 mAddress = address; 44 * Returns the address part. 65 * Changes the address to the specified address. 67 public void setAddress(String address) { argument 68 mAddress = address; 80 * the comment (in parentheses), and the address (i [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 130 char address[65]; local 135 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { 138 if (strchr(address, ':')) { 139 // Add an IPv6 address. 140 if (inet_pton(AF_INET6, address, &ifr6.ifr6_addr) != 1 || 152 // Add an IPv4 address. 153 if (inet_pton(AF_INET, address, as_in_addr(&ifr4.ifr_addr)) != 1 || 174 ALOGD("Address added on %s: %s/%d", name, address, prefix); 179 ALOGE("Invalid address: %s/%d", address, prefi 209 char address[65]; local [all...] |
/frameworks/base/tests/CoreTests/ |
H A D | run_core_test.sh | 3 adb shell exec dalvikvm -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=3001 \
|