Searched refs:address (Results 1 - 25 of 182) sorted by relevance

12345678

/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
[all...]
H A DLinkAddress.java37 * Identifies an IP address on a network link.
41 * <li>An IP address and prefix length (e.g., {@code 2001:db8::1/64} or {@code 192.0.2.1/24}).
42 * The address must be unicast, as multicast addresses cannot be assigned to interfaces.
44 * of the address (e.g., {@code android.system.OsConstants.IFA_F_OPTIMISTIC}).
46 * the address is unique (e.g.,
53 * IPv4 or IPv6 address.
55 private InetAddress address; field in class:LinkAddress
73 * Utility function to determines the scope of a unicast address. Per RFC 4291 section 2.5 and
98 private void init(InetAddress address, int prefixLength, int flags, int scope) { argument
99 if (address
123 LinkAddress(InetAddress address, int prefixLength, int flags, int scope) argument
134 LinkAddress(InetAddress address, int prefixLength) argument
156 LinkAddress(String address) argument
169 LinkAddress(String address, int flags, int scope) argument
[all...]
H A DVpnService.java62 * conflict with each other. The system takes several actions to address
206 * Adds a network address to the VPN interface.
209 * address is already in use or cannot be assigned to the interface for any other reason.
211 * Adding an address implicitly allows traffic from that address family (i.e., IPv4 or IPv6) to
214 * @throws {@link IllegalArgumentException} if the address is invalid.
216 * @param address The IP address (IPv4 or IPv6) to assign to the VPN interface.
217 * @param prefixLength The prefix length of the address.
224 public boolean addAddress(InetAddress address, in argument
254 removeAddress(InetAddress address, int prefixLength) argument
311 check(InetAddress address, int prefixLength) argument
389 addAddress(InetAddress address, int prefixLength) argument
411 addAddress(String address, int prefixLength) argument
424 addRoute(InetAddress address, int prefixLength) argument
452 addRoute(String address, int prefixLength) argument
466 addDnsServer(InetAddress address) argument
488 addDnsServer(String address) argument
[all...]
H A DINetworkManagementEventObserver.aidl61 * An interface address has been added or updated.
64 * @param address The address.
66 void addressUpdated(String iface, in LinkAddress address);
69 * An interface address has been removed.
72 * @param address The address.
74 void addressRemoved(String iface, in LinkAddress 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/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/opt/net/voip/src/java/android/net/rtp/
H A DRtpStream.java63 * 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 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/base/core/java/android/bluetooth/
H A DBluetoothGattCallbackWrapper.java38 public void onClientConnectionState(int status, int clientIf, boolean connected, String address) argument
51 public void onGetService(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid) argument
56 public void onGetIncludedService(String address, int srvcType, int srvcInstId, argument
62 public void onGetCharacteristic(String address, int srvcType, int srvcInstId, argument
68 public void onGetDescriptor(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid, argument
74 public void onSearchComplete(String address, int status) throws RemoteException { argument
78 public void onCharacteristicRead(String address, int status, int srvcType, int srvcInstId, argument
84 public void onCharacteristicWrite(String address, int status, int srvcType, int srvcInstId, argument
89 public void onExecuteWrite(String address, int status) throws RemoteException { argument
93 public void onDescriptorRead(String address, in argument
99 onDescriptorWrite(String address, int status, int srvcType, int srvcInstId, ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, int descrInstId, ParcelUuid descrUuid) argument
105 onNotify(String address, int srvcType, int srvcInstId, ParcelUuid srvcUuid, int charInstId, ParcelUuid charUuid, byte[] value) argument
110 onReadRemoteRssi(String address, int rssi, int status) argument
119 onConfigureMTU(String address, int mtu, int status) argument
[all...]
H A DIBluetoothGattCallback.aidl29 in boolean connected, in String address);
32 void onGetService(in String address, in int srvcType, in int srvcInstId,
34 void onGetIncludedService(in String address, in int srvcType, in int srvcInstId,
37 void onGetCharacteristic(in String address, in int srvcType,
41 void onGetDescriptor(in String address, in int srvcType,
45 void onSearchComplete(in String address, in int status);
46 void onCharacteristicRead(in String address, in int status, in int srvcType,
50 void onCharacteristicWrite(in String address, in int status, in int srvcType,
53 void onExecuteWrite(in String address, in int status);
54 void onDescriptorRead(in String address, i
[all...]
H A DIBluetoothGattServerCallback.aidl27 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);
61 void onNotificationSent(in String address, in int status);
H A DIBluetoothGatt.aidl49 void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport);
50 void clientDisconnect(in int clientIf, in String address);
51 void refreshDevice(in int clientIf, in String address);
52 void discoverServices(in int clientIf, in String address);
53 void readCharacteristic(in int clientIf, in String address, in int srvcType,
57 void writeCharacteristic(in int clientIf, in String address, in int srvcType,
61 void readDescriptor(in int clientIf, in String address, in int srvcType,
66 void writeDescriptor(in int clientIf, in String address, in int srvcType,
71 void registerForNotification(in int clientIf, in String address, in int srvcType,
75 void beginReliableWrite(in int clientIf, in String address);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsAddress.java29 * 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/com/android/server/net/
H A DNetlinkTracker.java93 private void maybeLog(String operation, String iface, LinkAddress address) { argument
95 Log.d(TAG, operation + ": " + address + " on " + iface +
96 " flags " + address.getFlags() + " scope " + address.getScope());
107 public void addressUpdated(String iface, LinkAddress address) { argument
109 maybeLog("addressUpdated", iface, address);
112 changed = mLinkProperties.addLinkAddress(address);
121 public void addressRemoved(String iface, LinkAddress address) { argument
123 maybeLog("addressRemoved", iface, address);
126 changed = mLinkProperties.removeLinkAddress(address);
205 public final InetAddress address; field in class:DnsServerEntry
210 DnsServerEntry(InetAddress address, long expiry) argument
329 updateExistingEntry(InetAddress address, long expiry) argument
[all...]
H A DBaseNetworkObserver.java41 public void addressUpdated(String iface, LinkAddress address) { argument
46 public void addressRemoved(String iface, LinkAddress address) { argument
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceDiscoveryAction.java37 * <li>Gather "Physical address" and "device type" of all acknowledged devices
47 // State in which the action is waiting for gathering physical address of non-local devices.
139 private boolean verifyValidLogicalAddress(int address) { argument
140 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED;
143 private void queryPhysicalAddress(int address) { argument
144 if (!verifyValidLogicalAddress(address)) {
152 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS)) {
155 sendCommand(HdmiCecMessageBuilder.buildGivePhysicalAddress(getSourceAddress(), address));
167 private void queryOsdName(int address) { argument
191 queryVendorId(int address) argument
207 mayProcessMessageIfCached(int address, int opcode) argument
[all...]
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 DHdmiUtils.java71 * Check if the given logical address is valid. A logical address is valid
75 * @param address logical address
76 * @return true if the given address is valid
78 static boolean isValidAddress(int address) { argument
79 return (Constants.ADDR_TV <= address && address <= Constants.ADDR_SPECIFIC_USE);
83 * Return the device type for the given logical address.
85 * @param address logica
89 getTypeFromAddress(int address) argument
104 getDefaultDeviceName(int address) argument
[all...]
H A DHotplugDetectionAction.java45 // All addresses except for broadcast (unregistered address).
209 private void mayChangeRoutingPath(int address) { argument
210 HdmiDeviceInfo info = tv().getCecDeviceInfo(address);
216 private void mayCancelDeviceSelect(int address) { argument
224 if (action.getTargetAddress() == address) {
229 private void mayCancelOneTouchRecord(int address) { argument
232 if (action.getRecorderAddress() == address) {
238 private void mayDisableSystemAudioAndARC(int address) { argument
239 if (HdmiUtils.getTypeFromAddress(address) != HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) {
246 addAndStartAction(new RequestArcTerminationAction(localDevice(), address));
[all...]
/frameworks/base/media/java/android/media/
H A DAudioDevicePort.java27 * - the device address (e.g MAC adddress for AD2P sink).
38 int[] formats, AudioGain[] gains, int type, String address) {
44 mAddress = address;
55 * Get the device address. Address format varies with the device type.
57 * {@link AudioManager#DEVICE_IN_USB_DEVICE}) use an address composed of the ALSA card number
61 * use the MAC address of the bluetooth device in the form "00:11:22:AA:BB:CC" as reported by
63 * - Deivces that do not have an address will indicate an empty string "".
65 public String address() { method in class:AudioDevicePort
37 AudioDevicePort(AudioHandle handle, int[] samplingRates, int[] channelMasks, int[] formats, AudioGain[] gains, int type, String address) argument
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkAddressTest.java66 LinkAddress address;
69 address = new LinkAddress(V4_ADDRESS, 25);
70 assertEquals(V4_ADDRESS, address.getAddress());
71 assertEquals(25, address.getPrefixLength());
72 assertEquals(0, address.getFlags());
73 assertEquals(RT_SCOPE_UNIVERSE, address.getScope());
75 address = new LinkAddress(V6_ADDRESS, 127);
76 assertEquals(V6_ADDRESS, address.getAddress());
77 assertEquals(127, address.getPrefixLength());
78 assertEquals(0, address
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A Dresidu_asm_neon.s41 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 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/hardware/display/
H A DIDisplayManager.aidl42 void connectWifiDisplay(String address);
48 void renameWifiDisplay(String address, String alias);
51 void forgetWifiDisplay(String address);
/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, arc, mhl);
169 s.append("address
[all...]

Completed in 337 milliseconds

12345678