/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 final InetAddress address; field in class:LinkAddress 42 public LinkAddress(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; 54 this.address [all...] |
H A D | VpnService.java | 54 * conflict with each other. The system takes several actions to address 299 * Private method to validate address and prefixLength. 301 private void check(InetAddress address, int prefixLength) { argument 302 if (address.isLoopbackAddress()) { 303 throw new IllegalArgumentException("Bad address"); 305 if (address instanceof Inet4Address) { 309 } else if (address instanceof Inet6Address) { 319 * Add a network address to the VPN interface. Both IPv4 and IPv6 320 * addresses are supported. At least one address must be set before 323 * @throws IllegalArgumentException if the address i 325 addAddress(InetAddress address, int prefixLength) argument 344 addAddress(String address, int prefixLength) argument 354 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 | 94 String address = email.getPath(); 95 if (address != null) { 98 address += ", " + addr; 100 m.mHeaders.put(TO, address); 107 * Retrieve the To address line from the parsed mailto URL. This could be 108 * several email address that are comma-space delimited. 117 * Retrieve the CC address line from the parsed mailto URL. This could be 118 * 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/base/voip/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/base/voip/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/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 | 36 void connectWifiDisplay(String address); 42 void renameWifiDisplay(String address, String alias); 45 void forgetWifiDisplay(String address);
|
/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...] |
H A D | syn_filt_neon.s | 38 MOV r4, r3 @ copy mem[] address 39 MOV r5, r13 @ copy yy = y_buf address 60 ADD r4, r13, #32 @ yy[i] address 68 ADD r10, r4, r8, LSL #1 @ y[i], yy[i] address 95 ADD r5, r13, #160 @ yy[64] address
|
/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/services/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 148 * Display address, or null if none. 151 public String address; field in class:DisplayDeviceInfo 179 && Objects.equal(address, other.address); 199 address = other.address; 211 + ", address " + address
|
H A D | WifiDisplayAdapter.java | 166 public void requestConnectLocked(final String address, final boolean trusted) { argument 168 Slog.d(TAG, "requestConnectLocked: address=" + address + ", trusted=" + trusted); 173 if (!isRememberedDisplayLocked(address)) { 175 + "an unknown wifi display: " + address); 185 mDisplayController.requestConnect(address); 191 private boolean isRememberedDisplayLocked(String address) { argument 193 if (display.getDeviceAddress().equals(address)) { 215 public void requestRenameLocked(String address, String alias) { argument 217 Slog.d(TAG, "requestRenameLocked: address 240 requestForgetLocked(String address) argument 525 WifiDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int flags, String address, Surface surface) argument [all...] |
/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, 83 return address; 87 * Returns true if this is an alphanumeric address 99 * address 107 // - Originating address should be 4 bytes long and alphanumeric 119 // Remember, since the alpha address is stored in 7-bit compact form, 120 // the "line number" is really the top bit of the first address value 129 * address indicatin [all...] |
/frameworks/base/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/voip/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...] |
H A D | Rfc822Tokenizer.java | 26 * address list fields, and also provides a method for converting 47 StringBuilder address = new StringBuilder(); 65 if (address.length() > 0) { 67 address.toString(), 76 address.setLength(0); 135 address.append(c); 150 if (address.length() > 0) { 152 address.toString(), 306 * Terminates the specified address with a comma and space.
|
/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/core/java/android/view/ |
H A D | DisplayInfo.java | 47 * Display address, or null if none. 50 public String address; field in class:DisplayInfo 189 && Objects.equal(address, other.address) 215 address = other.address; 236 address = source.readString(); 258 dest.writeString(address); 321 + ", address " + address [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 \
|
/frameworks/compile/mclinker/ |
H A D | mcld-host-build.mk | 9 -Werror=address \
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEntry.java | 51 /** Destination for this contact entry. Would be an email address or a phone number. */ 113 * Construct a RecipientEntry from just an address that has been entered. 114 * This address has not been resolved to a contact and therefore does not 117 public static RecipientEntry constructFakeEntry(String address) { argument 118 return new RecipientEntry(ENTRY_TYPE_PERSON, address, address, 126 * i.e. the display name came from an email address or a phone number, we don't use it 135 * Construct a RecipientEntry from just an address that has been entered 136 * with both an associated display name. This address has not been resolved 139 public static RecipientEntry constructGeneratedEntry(String display, String address) { argument [all...] |
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 80 * The address of the other party 83 public static final String ADDRESS = "address"; 211 * @param address the address of the sender 220 Uri uri, String address, String body, String subject, 222 return addMessageToUri(resolver, uri, address, body, subject, 231 * @param address the address of the sender 241 Uri uri, String address, String body, String subject, 245 values.put(ADDRESS, address); 219 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 240 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 344 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 377 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 409 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 458 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument 1382 extractAddrSpec(String address) argument 1397 isEmailAddress(String address) argument [all...] |