/frameworks/base/core/java/android/net/ |
H A D | IpPrefix.java | 33 * <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 D | LinkAddress.java | 39 * 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 D | VpnService.java | 64 * conflict with each other. The system takes several actions to address 234 * Adds a network address to the VPN interface. 237 * address is already in use or cannot be assigned to the interface for any other reason. 239 * Adding an address implicitly allows traffic from that address family (i.e., IPv4 or IPv6) to 242 * @throws {@link IllegalArgumentException} if the address is invalid. 244 * @param address The IP address (IPv4 or IPv6) to assign to the VPN interface. 245 * @param prefixLength The prefix length of the address. 252 public boolean addAddress(InetAddress address, in argument 282 removeAddress(InetAddress address, int prefixLength) argument 379 check(InetAddress address, int prefixLength) argument 457 addAddress(InetAddress address, int prefixLength) argument 479 addAddress(String address, int prefixLength) argument 492 addRoute(InetAddress address, int prefixLength) argument 520 addRoute(String address, int prefixLength) argument 534 addDnsServer(InetAddress address) argument 556 addDnsServer(String address) argument [all...] |
H A D | INetworkManagementEventObserver.aidl | 61 * 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 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 | BluetoothGattCallbackWrapper.java | 38 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 D | IBluetoothGattCallback.aidl | 29 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 D | IBluetoothGatt.aidl | 49 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...] |
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); 61 void onNotificationSent(in String address, in int status); 62 void onMtuChanged(in String address, in int mtu);
|
/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/com/android/server/net/ |
H A D | NetlinkTracker.java | 93 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 D | BaseNetworkObserver.java | 41 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 D | DeviceDiscoveryAction.java | 37 * <li>Gather "Physical address" and "device type" of all acknowledged devices 48 // State in which the action is waiting for gathering physical address of non-local devices. 141 private boolean verifyValidLogicalAddress(int address) { argument 142 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED; 145 private void queryPhysicalAddress(int address) { argument 146 if (!verifyValidLogicalAddress(address)) { 154 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS)) { 157 sendCommand(HdmiCecMessageBuilder.buildGivePhysicalAddress(getSourceAddress(), address)); 169 private void queryOsdName(int address) { argument 193 queryVendorId(int address) argument 209 mayProcessMessageIfCached(int address, int opcode) argument [all...] |
H A D | DelayedMessageBuffer.java | 105 * @param address logical address of CEC device which the messages to process 108 void processMessagesForDevice(int address) { argument 111 HdmiLogger.debug("Checking message for address:" + address); 113 if (message.getSource() != address) { 118 && !mDevice.isInputReady(HdmiDeviceInfo.idForCecDevice(address))) { 136 * @param address logical address of the device to be the active source 138 void processActiveSource(int address) { argument [all...] |
H A D | HdmiCecMessageCache.java | 23 * 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 D | HdmiUtils.java | 71 * 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 D | HotplugDetectionAction.java | 46 // All addresses except for broadcast (unregistered address). 228 private void mayChangeRoutingPath(int address) { argument 229 HdmiDeviceInfo info = tv().getCecDeviceInfo(address); 235 private void mayCancelDeviceSelect(int address) { argument 243 if (action.getTargetAddress() == address) { 248 private void mayCancelOneTouchRecord(int address) { argument 251 if (action.getRecorderAddress() == address) { 257 private void mayDisableSystemAudioAndARC(int address) { argument 258 if (HdmiUtils.getTypeFromAddress(address) != HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM) { 265 addAndStartAction(new RequestArcTerminationAction(localDevice(), address)); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioDevicePort.java | 29 * - the device address (e.g MAC adddress for AD2P sink). 40 int[] formats, AudioGain[] gains, int type, String address) { 46 mAddress = address; 57 * Get the device address. Address format varies with the device type. 59 * {@link AudioManager#DEVICE_IN_USB_DEVICE}) use an address composed of the ALSA card number 63 * use the MAC address of the bluetooth device in the form "00:11:22:AA:BB:CC" as reported by 65 * - Deivces that do not have an address will indicate an empty string "". 67 public String address() { method in class:AudioDevicePort 39 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 D | LinkAddressTest.java | 69 LinkAddress address; 72 address = new LinkAddress(V4_ADDRESS, 25); 73 assertEquals(V4_ADDRESS, address.getAddress()); 74 assertEquals(25, address.getPrefixLength()); 75 assertEquals(0, address.getFlags()); 76 assertEquals(RT_SCOPE_UNIVERSE, address.getScope()); 78 address = new LinkAddress(V6_ADDRESS, 127); 79 assertEquals(V6_ADDRESS, address.getAddress()); 80 assertEquals(127, address.getPrefixLength()); 81 assertEquals(0, address [all...] |
/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 | 43 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 D | IDisplayManager.aidl | 42 void connectWifiDisplay(String address); 48 void renameWifiDisplay(String address, String alias); 51 void forgetWifiDisplay(String address);
|