Searched defs:address (Results 76 - 100 of 140) sorted by relevance

123456

/frameworks/base/core/java/android/net/
H A DLinkProperties.java204 * Returns all the addresses on this link. We often think of a link having a single address,
207 * prefix lengths for each address. This is a simplified utility alternative to
236 private int findLinkAddressIndex(LinkAddress address) { argument
238 if (mLinkAddresses.get(i).isSameAddressAs(address)) {
247 * same address/prefix does not already exist. If it does exist it is replaced.
248 * @param address The {@code LinkAddress} to add.
249 * @return true if {@code address} was added or updated, false otherwise.
252 public boolean addLinkAddress(LinkAddress address) { argument
253 if (address == null) {
256 int i = findLinkAddressIndex(address);
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java54 * 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...]
H A DHdmiCecLocalDeviceTv.java115 // List of the logical address of local CEC devices. Unmodifiable, thread-safe.
125 // other CEC devices since they might not have logical address.
591 int address = message.getSource();
594 if (updateCecSwitchInfo(address, type, path)) return true;
602 if (!isInDeviceList(address, path)) {
608 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo(address, path, getPortId(path), type,
609 Constants.UNKNOWN_VENDOR_ID, HdmiUtils.getDefaultDeviceName(address));
611 startNewDeviceAction(ActiveSource.of(address, path), type);
634 boolean updateCecSwitchInfo(int address, int type, int path) { argument
635 if (address
1392 isLocalDeviceAddress(int address) argument
1482 removeCecDevice(int address) argument
1922 processDelayedMessages(int address) argument
1928 processDelayedActiveSource(int address) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_hdmi_HdmiCecController.cpp50 // Add a logical address to device.
51 int addLogicalAddress(cec_logical_address_t address);
52 // Clear all logical address registered to the device.
54 // Get physical address of device.
202 int HdmiCecController::addLogicalAddress(cec_logical_address_t address) { argument
203 return mDevice->add_logical_address(mDevice, address);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiInfo.java46 * Default MAC address reported to a client that does not have the
343 * @return the BSSID, in the form of a six-byte MAC address: {@code XX:XX:XX:XX:XX:XX}
416 * Record the MAC address of the WLAN interface
417 * @param macAddress the MAC address in {@code XX:XX:XX:XX:XX:XX} form
429 * @return true if {@link #getMacAddress()} has a real MAC address.
487 public void setInetAddress(InetAddress address) { argument
488 mIpAddress = address;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java56 * The postfix strings of address.
455 private EncodedStringValue appendAddressType(EncodedStringValue address) { argument
459 int addressType = checkAddressType(address.getString());
460 temp = EncodedStringValue.copy(address);
465 // Ipv4 address.
468 // Ipv6 address.
528 // Value-length (Address-present-token Encoded-string-value | Insert-address-token)
538 // Insert-address-token = <Octet 129>
1136 * Check address type.
1138 * @param address addres
1146 checkAddressType(String address) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java521 * Add an email address to be used in the "to" field of the final Intent.
523 * @param address Email address to send to
527 public IntentBuilder addEmailTo(String address) { argument
531 mToAddresses.add(address);
561 * Add an email address to be used in the "cc" field of the final Intent.
563 * @param address Email address to CC
567 public IntentBuilder addEmailCc(String address) { argument
571 mCcAddresses.add(address);
607 addEmailBcc(String address) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java66 * instantiate a {@link BluetoothDevice} using a known MAC address, and create
105 * Default MAC address reported to a client that does not have the
537 * address.
540 * available to validate a Bluetooth address.
542 * hardware address, even if this adapter has never seen that device.
544 * @param address valid Bluetooth MAC address
545 * @throws IllegalArgumentException if address is invalid
547 public BluetoothDevice getRemoteDevice(String address) { argument
548 return new BluetoothDevice(address);
562 getRemoteDevice(byte[] address) argument
2173 checkBluetoothAddress(String address) argument
[all...]
H A DBluetoothDevice.java39 * it, such as the name, address, class, and bonding state.
42 * address. Objects of this class are immutable. Operations on this class
43 * are performed on the remote Bluetooth hardware address, using the
50 * of a known MAC address (which you can get through device discovery with
640 * Bluetooth MAC address must be upper case, such as "00:11:22:33:AA:BB",
642 * @param address valid Bluetooth MAC address
644 * @throws IllegalArgumentException address is invalid
647 /*package*/ BluetoothDevice(String address) { argument
649 if (!BluetoothAdapter.checkBluetoothAddress(address)) {
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java318 * Returns true if the Bluetooth Adapter's name and address is
327 * Retrieve the Bluetooth Adapter's name and address and save it in
331 if (DBG) Slog.d(TAG, "Loading stored name and address");
335 // if the valid flag is not set, don't load the address and name
336 if (DBG) Slog.d(TAG, "invalid bluetooth name and address stored");
345 * Save the Bluetooth name and address in the persistent store.
348 * @param address
350 private void storeNameAndAddress(String name, String address) { argument
358 if (address != null) {
359 Settings.Secure.putString(mContentResolver, SECURE_SETTINGS_BLUETOOTH_ADDRESS, address);
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java595 for (LinkAddress address : mConfig.addresses) {
596 lp.addLinkAddress(address);
597 allowIPv4 |= address.getAddress() instanceof Inet4Address;
598 allowIPv6 |= address.getAddress() instanceof Inet6Address;
605 InetAddress address = route.getDestination().getAddress();
606 allowIPv4 |= address instanceof Inet4Address;
607 allowIPv6 |= address instanceof Inet6Address;
613 InetAddress address = InetAddress.parseNumericAddress(dnsServer);
614 lp.addDnsServer(address);
615 allowIPv4 |= address instanceo
1158 addAddress(String address, int prefixLength) argument
1167 removeAddress(String address, int prefixLength) argument
1258 jniAddAddress(String interfaze, String address, int prefixLen) argument
1259 jniDelAddress(String interfaze, String address, int prefixLen) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java255 public void requestConnect(String address) { argument
257 if (device.deviceAddress.equals(address)) {
497 final String address = device.deviceAddress;
498 if (mDesiredDevice != null && mDesiredDevice.deviceAddress.equals(address)) {
505 && mAdvertisedDisplay.getDeviceAddress().equals(address)) {
723 Slog.i(TAG, "Failed to get local interface address for communicating "
974 // The address is the same but some other property such as the
1002 Slog.w(TAG, "Could not obtain address of network interface "
1015 Slog.w(TAG, "Could not obtain address of network interface "
H A DDisplayManagerService.java486 private void connectWifiDisplayInternal(String address) { argument
489 mWifiDisplayAdapter.requestConnectLocked(address);
518 private void renameWifiDisplayInternal(String address, String alias) { argument
521 mWifiDisplayAdapter.requestRenameLocked(address, alias);
526 private void forgetWifiDisplayInternal(String address) { argument
529 mWifiDisplayAdapter.requestForgetLocked(address);
1252 public void connectWifiDisplay(String address) { argument
1253 if (address == null) {
1254 throw new IllegalArgumentException("address must not be null");
1261 connectWifiDisplayInternal(address);
1283 renameWifiDisplay(String address, String alias) argument
1299 forgetWifiDisplay(String address) argument
[all...]
/frameworks/base/services/net/java/android/net/ip/
H A DIpManager.java644 // an IPv4 address and nothing else.
683 // Partial configurations (e.g., only an IPv4 address with no DNS
700 // If the previous link properties had a global IPv6 address and an
831 private boolean setIPv4Address(LinkAddress address) { argument
833 ifcg.setLinkAddress(address);
850 Log.e(mTag, "ALERT: Failed to clear IPv4 address on interface " + mInterfaceName, e);
1192 Log.e(mTag, "Failed to set IPv4 address!");
1202 // a) initial address acquisition succeeds,
1207 // but never when initial address acquisition fails. The latter
/frameworks/base/telecomm/java/android/telecom/
H A DTelecomManager.java289 * alternative address to dial which is different from the one specified and displayed to
290 * the user. This alternative address is referred to as the gateway address.
297 * original address to dial for the call. This is used when an alternative gateway address is
298 * provided to recall the original address.
488 * Indicates that the address or number of a call is allowed to be displayed for caller ID.
493 * Indicates that the address or number of a call is blocked by the other party.
498 * Indicates that the address or number of a call is not specified or known by the carrier.
503 * Indicates that the address o
1405 placeCall(Uri address, Bundle extras) argument
[all...]
H A DRemoteConnection.java143 * Indicates that the address (e.g., phone number) of this {@code RemoteConnection} has
147 * @param address The new address of the {@code RemoteConnection}.
148 * @param presentation The presentation requirements for the address.
151 public void onAddressChanged(RemoteConnection connection, Uri address, int presentation) {} argument
767 * Obtains the address of this {@code RemoteConnection}.
769 * @return The address (e.g., phone number) to which the {@code RemoteConnection}
777 * Obtains the presentation requirements for the address of this {@code RemoteConnection}.
779 * @return The presentation requirements for the address. See
1282 void setAddress(final Uri address, fina argument
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp208 // Here we should never get an private address, but some buggy proxy
209 // servers do give us one. To solve this, we replace the address when
213 unsigned char *address = local
215 if (address[0] == 10 ||
216 (address[0] == 172 && (address[1] >> 4) == 1) ||
217 (address[0] == 192 && address[1] == 168)) {
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java267 * @param destinationAddress the address to send the message to
268 * @param scAddress is the service center address or null to use
427 * @param destinationAddress the address to send the message to
428 * @param scAddress is the service center address or null to use
517 * @param destinationAddress the address to send the message to
518 * @param scAddress is the service center address or null to use
1193 * @param address the destination(source) address of the sent(received) message
1202 public Uri importTextMessage(String address, int type, String text, long timestampMillis, argument
1208 address, typ
1362 addTextMessageDraft(String address, String text) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp731 const char *address = ""; local
737 address = device_address;
742 return aps->setDeviceConnectionState(device, state, address, name);
H A DIAudioFlinger.cpp456 const String8& address,
468 data.writeString8(address);
530 const String8& address,
543 data.writeString8(address);
1138 String8 address(data.readString8());
1143 &devices, address, &latencyMs, flags);
1185 String8 address(data.readString8());
1190 &device, address, source, flags);
452 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
526 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp129 Bitmap::Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, argument
135 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
141 Bitmap::Bitmap(void* address, void* context, FreeFunc freeFunc, argument
144 mPixelStorage.external.address = address;
147 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
153 Bitmap::Bitmap(void* address, int fd, argument
156 mPixelStorage.ashmem.address = address;
159 mPixelRef.reset(new WrappedPixelRef(this, address, inf
[all...]
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java93 /* A map from a HDMI logical address to the matching TV input ID. */
792 private AudioDevicePort findAudioDevicePort(int type, String address) { argument
801 if (port.type() == type && port.address().equals(address)) {
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java200 /** Extracts the network address portion and canonicalizes
202 * Network address portion is everything up to DTMF control digit
242 * Extracts the network address portion and canonicalize.
246 * in the address portion, not just the first position.
799 * FIXME(mkf) support alphanumeric address type
989 * Return true iff the network portion of <code>address</code> is,
991 * destination address.
993 public static boolean isWellFormedSmsAddress(String address) { argument
995 PhoneNumberUtils.extractNetworkPortion(address);
1011 private static boolean isDialable(String address) { argument
1020 isNonSeparator(String address) argument
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp847 __eglMustCastToProperFunctionPointerType address; member in struct:android::extention_map_t
2036 return map[i].address;
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp63 __eglMustCastToProperFunctionPointerType address; member in struct:android::extention_map_t
233 return map[i].address;
962 * address of the forwarder corresponding to that hook set.

Completed in 393 milliseconds

123456