/frameworks/base/services/core/jni/ |
H A D | com_android_server_connectivity_Vpn.cpp | 131 char address[65]; local 136 while (sscanf(addresses, " %64[^/]/%d %n", address, &prefix, &chars) == 2) { 139 if (strchr(address, ':')) { 140 // Add an IPv6 address. 141 if (inet_pton(AF_INET6, address, &ifr6.ifr6_addr) != 1 || 153 // Add an IPv4 address. 154 if (inet_pton(AF_INET, address, as_in_addr(&ifr4.ifr_addr)) != 1 || 175 ALOGD("Address added on %s: %s/%d", name, address, prefix); 180 ALOGE("Invalid address: %s/%d", address, prefi 221 const char *address = jAddress ? env->GetStringUTFChars(jAddress, NULL) : NULL; local [all...] |
/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/base/core/java/android/bluetooth/ |
H A D | BluetoothGatt.java | 172 boolean connected, String address) { 174 + " clientIf=" + clientIf + " device=" + address); 175 if (!address.equals(mDevice.getAddress())) { 205 public void onGetService(String address, int srvcType, 207 if (VDBG) Log.d(TAG, "onGetService() - Device=" + address + " UUID=" + srvcUuid); 208 if (!address.equals(mDevice.getAddress())) { 220 public void onGetIncludedService(String address, int srvcType, 224 if (VDBG) Log.d(TAG, "onGetIncludedService() - Device=" + address 227 if (!address.equals(mDevice.getAddress())) { 246 public void onGetCharacteristic(String address, in [all...] |
H A D | BluetoothGattServer.java | 86 public void onScanResult(String address, int rssi, byte[] advData) { 87 if (VDBG) Log.d(TAG, "onScanResult() - Device=" + address + " RSSI=" +rssi); 96 boolean connected, String address) { 98 + " serverIf=" + serverIf + " device=" + address); 100 mCallback.onConnectionStateChange(mAdapter.getRemoteDevice(address), status, 132 public void onCharacteristicReadRequest(String address, int transId, 140 BluetoothDevice device = mAdapter.getRemoteDevice(address); 158 public void onDescriptorReadRequest(String address, int transId, 169 BluetoothDevice device = mAdapter.getRemoteDevice(address); 190 public void onCharacteristicWriteRequest(String address, in [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); 50 * server address. Each parameter occupies one line in the file, and it can be 62 * is to have an interface configured with the given address and netmask 86 const char *address = env("INTERNAL_ADDR4"); local 101 /* Set the address. */ 102 if (!set_address(&ifr.ifr_addr, address) || 104 ALOGE("Cannot set address: %s", strerror(errno)); 119 fprintf(state, "%s/%s\n", address, env("INTERNAL_CIDR4"));
|
/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/hardware/hdmi/ |
H A D | HdmiPortInfo.java | 24 * HDMI-CEC, MHL, ARC(Audio Return Channel), and physical address assigned to each port. 48 * @param address physical address of the port 53 public HdmiPortInfo(int id, int type, int address, boolean cec, boolean mhl, boolean arc) { argument 56 mAddress = address; 81 * Returns the port address. 83 * @return port address 135 int address = source.readInt(); 139 return new HdmiPortInfo(id, type, address, cec, mhl, arc); 169 s.append("address [all...] |
/frameworks/base/core/java/android/net/ |
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.
|
H A D | NetworkUtils.java | 64 * the IP address information. 74 * the IP address information. 143 * Convert a IPv4 address from an integer to an InetAddress. 144 * @param hostAddress an int corresponding to the IPv4 address in network byte order 160 * Convert a IPv4 address from an InetAddress to an integer 161 * @param inetAddr is an InetAddress corresponding to the IPv4 address 162 * @return the IP address as an integer in network byte order 196 * representation of a V4 or V6 address. Avoids doing a DNS lookup on failure 208 * Writes an InetAddress to a parcel. The address may be null. This is likely faster than 211 protected static void parcelInetAddress(Parcel parcel, InetAddress address, in argument 260 getNetworkPart(InetAddress address, int prefixLength) argument [all...] |
H A D | WebAddress.java | 34 * browser address widget. 69 public WebAddress(String address) throws ParseException { argument 70 if (address == null) { 74 // android.util.Log.d(LOGTAG, "WebAddress: " + address); 82 Matcher m = sAddressPattern.matcher(address); 113 throw new ParseException("Bad address");
|
H A D | LinkProperties.java | 152 * Returns all the addresses on this link. We often think of a link having a single address, 155 * prefix lengths for each address. This is a simplified utility alternative to 184 private int findLinkAddressIndex(LinkAddress address) { argument 186 if (mLinkAddresses.get(i).isSameAddressAs(address)) { 195 * same address/prefix does not already exist. If it does exist it is replaced. 196 * @param address The {@code LinkAddress} to add. 197 * @return true if {@code address} was added or updated, false otherwise. 200 public boolean addLinkAddress(LinkAddress address) { argument 201 if (address == null) { 204 int i = findLinkAddressIndex(address); [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/core/java/com/android/server/display/ |
H A D | WifiDisplayAdapter.java | 178 public void requestConnectLocked(final String address) { argument 180 Slog.d(TAG, "requestConnectLocked: address=" + address); 187 mDisplayController.requestConnect(address); 238 public void requestRenameLocked(String address, String alias) { argument 240 Slog.d(TAG, "requestRenameLocked: address=" + address + ", alias=" + alias); 245 if (alias.isEmpty() || alias.equals(address)) { 250 WifiDisplay display = mPersistentDataStore.getRememberedWifiDisplay(address); 252 display = new WifiDisplay(address, displa 266 requestForgetLocked(String address) argument 351 findAvailableDisplayLocked(String address) argument 590 WifiDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int flags, String address, Surface surface) argument [all...] |
H A D | DisplayDeviceInfo.java | 200 * Display address, or null if none. 203 public String address; field in class:DisplayDeviceInfo 257 && Objects.equal(address, other.address) 284 address = other.address; 306 if (address != null) { 307 sb.append(", address ").append(address);
|
/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/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
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/compile/libbcc/lib/ExecutionEngine/ |
H A D | ELFObjectLoaderImpl.cpp | 129 uintptr_t address = reinterpret_cast<uintptr_t>(section->getBuffer()); local 131 LOG_FATAL_IF(address > 0xFFFFFFFFFFFFFFFFu, "Out of bound address for Elf64_Addr"); 132 section_header_table[i].sh_addr = static_cast<llvm::ELF::Elf64_Addr>(address); 134 LOG_FATAL_IF(address > 0xFFFFFFFFu, "Out of bound address for Elf32_Addr"); 135 section_header_table[i].sh_addr = static_cast<llvm::ELF::Elf32_Addr>(address);
|
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 155 * The address of the other party. 158 public static final String ADDRESS = "address"; 329 * @param address the address of the sender 339 Uri uri, String address, String body, String subject, 342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); 350 * @param address the address of the sender 361 Uri uri, String address, String body, String subject, 363 return addMessageToUri(subId, resolver, uri, address, bod 338 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 360 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport) argument 382 addMessageToUri(ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 406 addMessageToUri(int subId, ContentResolver resolver, Uri uri, String address, String body, String subject, Long date, boolean read, boolean deliveryReport, long threadId) argument 522 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 542 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 582 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 600 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 627 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 645 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date) argument 691 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument 712 addMessage(int subId, ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument 1913 extractAddrSpec(String address) argument 1929 isEmailAddress(String address) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_MemoryFile.cpp | 74 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, 84 env->SetByteArrayRegion(buffer, destOffset, count, (const jbyte *)address + srcOffset); 93 jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, 103 env->GetByteArrayRegion(buffer, srcOffset, count, (jbyte *)address + destOffset); 73 android_os_MemoryFile_read(JNIEnv* env, jobject clazz, jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument 92 android_os_MemoryFile_write(JNIEnv* env, jobject clazz, jobject fileDescriptor, jlong address, jbyteArray buffer, jint srcOffset, jint destOffset, jint count, jboolean unpinned) argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ParcelableConnection.java | 55 Uri address, 69 mAddress = address; 160 Uri address = source.readParcelable(classLoader); 178 address, 51 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IMms.aidl | 74 * @param address the destination address of the message 82 Uri importTextMessage(String callingPkg, String address, int type, String text, 143 * @param address the destination address of message 147 Uri addTextMessageDraft(String callingPkg, String address, String text);
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 51 * Display address, or null if none. 54 public String address; field in class:DisplayInfo 264 && Objects.equal(address, other.address) 299 address = other.address; 332 address = source.readString(); 365 dest.writeString(address); 505 if (address != null) { 506 sb.append(", address ") [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecController.java | 54 * Interface to report allocated logical address. 58 * Called when a new logical address is allocated. 60 * @param deviceType requested device type to allocate logical address 61 * @param logicalAddress allocated logical address. If it is 63 * it failed to allocate logical address for the given device type 72 // Predicate for whether the given logical address is remote device's one or not. 75 public boolean apply(Integer address) { 76 return !isAllocatedLocalDeviceAddress(address); 80 // Predicate whether the given logical address is system audio's one or not 83 public boolean apply(Integer address) { 424 isAllocatedLocalDeviceAddress(int address) argument 519 isAcceptableAddress(int address) argument [all...] |