Searched defs:address (Results 1 - 25 of 140) sorted by relevance

123456

/frameworks/opt/net/voip/src/jni/rtp/
H A Dutil.cpp28 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/av/services/audioflinger/
H A DAudioHwDevice.cpp40 const char *address)
53 status_t status = outputStream->open(handle, devices, config, address);
78 status = outputStream->open(handle, devices, &originalConfig, address);
34 openOutputStream( AudioStreamOut **ppStreamOut, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, const char *address) argument
H A DSpdifStreamOut.cpp51 const char *address)
98 address);
47 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
H A DAudioStreamOut.cpp116 const char *address)
131 address);
154 address);
112 open( audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, const char *address) argument
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageCache.java23 * Cache for incoming message. It caches {@link HdmiCecMessage} with source address and opcode
45 * Return a {@link HdmiCecMessage} corresponding to the given {@code address} and
48 * @param address a logical address of source device
50 * @return null if has no {@link HdmiCecMessage} matched to the given {@code address} and {code
53 public HdmiCecMessage getMessage(int address, int opcode) { argument
54 SparseArray<HdmiCecMessage> messages = mCache.get(address);
63 * Flush all {@link HdmiCecMessage}s sent from the given {@code address}.
65 * @param address a logical address o
67 flushMessagesFrom(int address) argument
[all...]
H A DDelayedMessageBuffer.java103 * @param address logical address of CEC device which the messages to process
106 void processMessagesForDevice(int address) { argument
109 HdmiLogger.debug("Checking message for address:" + address);
111 if (message.getSource() != address) {
116 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) {
134 * @param address logical address of the device to be the active source
136 void processActiveSource(int address) { argument
[all...]
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c41 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/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsUsageMonitorShortCodeTest.java36 final String address; field in class:SmsUsageMonitorShortCodeTest.ShortCodeTest
41 this.address = destAddress;
468 assertEquals("country: " + test.countryIso + " number: " + test.address,
469 test.category, monitor.checkDestination(test.address, test.countryIso));
/frameworks/base/core/java/android/net/
H A DIpPrefix.java33 * <li>A starting IP address (IPv4 or IPv6). This is the first IP address of the prefix.
35 * in the IP address, starting from the most significant bit in network byte order, that
47 private final byte[] address; // network byte order field in class:IpPrefix
51 if (address.length != 4 && address.length != 16) {
53 "IpPrefix has " + address.length + " bytes which is neither 4 nor 16");
55 NetworkUtils.maskRawAddress(address, prefixLength);
59 * Constructs a new {@code IpPrefix} from a byte array containing an IPv4 or IPv6 address in
60 * network byte order and a prefix length. Silently truncates the address t
68 IpPrefix(byte[] address, int prefixLength) argument
83 IpPrefix(InetAddress address, int prefixLength) argument
178 contains(InetAddress address) argument
[all...]
H A DPacProxySelector.java133 public void connectFailed(URI uri, SocketAddress address, IOException failure) { argument
H A DLinkAddress.java39 * Identifies an IP address on a network link.
43 * <li>An IP address and prefix length (e.g., {@code 2001:db8::1/64} or {@code 192.0.2.1/24}).
44 * The address must be unicast, as multicast addresses cannot be assigned to interfaces.
46 * of the address (e.g., {@code android.system.OsConstants.IFA_F_OPTIMISTIC}).
48 * the address is unique (e.g.,
55 * IPv4 or IPv6 address.
57 private InetAddress address; field in class:LinkAddress
75 * Utility function to determines the scope of a unicast address. Per RFC 4291 section 2.5 and
98 * Utility function to check if |address| is a Unique Local IPv6 Unicast Address
104 if (address !
114 init(InetAddress address, int prefixLength, int flags, int scope) argument
139 LinkAddress(InetAddress address, int prefixLength, int flags, int scope) argument
150 LinkAddress(InetAddress address, int prefixLength) argument
172 LinkAddress(String address) argument
185 LinkAddress(String address, int flags, int scope) argument
[all...]
H A DWebAddress.java34 * 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");
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/jdwp/
H A DJDWPClassDataRetriever.java208 private static JPDATestOptions createTestOptions(String address) { argument
213 options.setTransportAddress(address);
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioStream.java51 * 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/
H A DSmsAddress.java31 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/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp31 String8 address,
53 } else if (mSupportedDevices.getDevice(device, address) == 0) {
30 isCompatibleProfile(audio_devices_t device, String8 address, uint32_t samplingRate, uint32_t *updatedSamplingRate, audio_format_t format, audio_format_t *updatedFormat, audio_channel_mask_t channelMask, audio_channel_mask_t *updatedChannelMask, uint32_t flags) const argument
H A DAudioPolicyMix.cpp54 status_t AudioPolicyMixCollection::registerMix(String8 address, AudioMix mix, argument
57 ssize_t index = indexOfKey(address);
59 ALOGE("registerPolicyMixes(): mix for address %s already registered", address.string());
64 add(address, policyMix);
73 status_t AudioPolicyMixCollection::unregisterMix(String8 address) argument
75 ssize_t index = indexOfKey(address);
77 ALOGE("unregisterPolicyMixes(): mix for address %s not registered", address.string());
85 status_t AudioPolicyMixCollection::getAudioPolicyMix(String8 address, argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbEndpoint.java43 public UsbEndpoint(int address, int attributes, int maxPacketSize, int interval) { argument
44 mAddress = address;
51 * Returns the endpoint's address field.
52 * The address is a bitfield containing both the endpoint number
57 * @return the endpoint's address
64 * Extracts the endpoint's endpoint number from its address
139 int address = in.readInt();
143 return new UsbEndpoint(address, attributes, maxPacketSize, interval);
/frameworks/base/core/java/android/text/util/
H A DRfc822Token.java22 * This class stores an RFC 822-like name, address, and comment,
30 * Creates a new Rfc822Token with the specified name, address,
33 public Rfc822Token(@Nullable String name, @Nullable String address, @Nullable String comment) { argument
35 mAddress = address;
48 * Returns the address part.
71 * Changes the address to the specified address.
73 public void setAddress(@Nullable String address) { argument
74 mAddress = address;
86 * the comment (in parentheses), and the address (i
[all...]
/frameworks/base/core/java/com/android/server/net/
H A DBaseNetworkObserver.java41 public void addressUpdated(String iface, LinkAddress address) { argument
46 public void addressRemoved(String iface, LinkAddress address) { argument
/frameworks/base/core/jni/
H A Dandroid_util_MemoryIntArray.cpp124 jint fd, jlong address, jint index, jboolean owner)
136 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index;
141 jint fd, jlong address, jint index, jint newValue, jboolean owner)
153 std::atomic_int* value = reinterpret_cast<std::atomic_int*>(address) + index;
123 android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index, jboolean owner) argument
140 android_util_MemoryIntArray_set(JNIEnv* env, jobject clazz, jint fd, jlong address, jint index, jint newValue, jboolean owner) argument
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java29 * - the device address (e.g MAC adddress for AD2P sink).
41 int[] formats, AudioGain[] gains, int type, String address) {
47 mAddress = address;
58 * Get the device address. Address format varies with the device type.
60 * {@link AudioManager#DEVICE_IN_USB_DEVICE}) use an address composed of the ALSA card number
64 * use the MAC address of the bluetooth device in the form "00:11:22:AA:BB:CC" as reported by
66 * - Deivces that do not have an address will indicate an empty string "".
68 public String address() { method in class:AudioDevicePort
90 if (mAddress == null && other.address() != null) {
93 if (!mAddress.equals(other.address())) {
39 AudioDevicePort(AudioHandle handle, String deviceName, int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, int[] formats, AudioGain[] gains, int type, String address) argument
[all...]
/frameworks/base/services/net/java/android/net/util/
H A DIpUtils.java142 public static String addressAndPortToString(InetAddress address, int port) { argument
144 (address instanceof Inet6Address) ? "[%s]:%d" : "%s:%d",
145 address.getHostAddress(), port);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallbackWrapper.java39 public void onClientConnectionState(int status, int clientIf, boolean connected, String address) argument
52 public void onSearchComplete(String address, List<BluetoothGattService> services, argument
57 public void onCharacteristicRead(String address, int status, int handle, byte[] value) argument
62 public void onCharacteristicWrite(String address, int status, int handle) throws RemoteException { argument
66 public void onExecuteWrite(String address, int status) throws RemoteException { argument
70 public void onDescriptorRead(String address, int status, int handle, byte[] value) throws RemoteException { argument
74 public void onDescriptorWrite(String address, int status, int handle) throws RemoteException { argument
78 public void onNotify(String address, int handle, byte[] value) throws RemoteException { argument
82 public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException { argument
91 public void onConfigureMTU(String address, in argument
[all...]
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiPortInfo.java24 * 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...]

Completed in 637 milliseconds

123456