Searched defs:address (Results 1 - 25 of 143) sorted by path

123456

/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/av/services/audioflinger/
H A DAudioFlinger.cpp1827 const String8& address,
1874 address.string());
1904 const String8& address,
1922 sp<PlaybackThread> thread = openOutput_l(module, output, config, *devices, address, flags);
2078 const String8& address,
2088 sp<RecordThread> thread = openInput_l(module, input, config, *devices, address, source, flags);
2102 const String8& address,
2130 &inStream, flags, address.string(), source);
2138 status, address.string());
2152 &inStream, flags, address
1823 openOutput_l(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t devices, const String8& address, audio_output_flags_t flags) argument
1900 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
2074 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
2098 openInput_l(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t devices, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
[all...]
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 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
H A DPatchPanel.cpp275 String8 address = String8(patch->sinks[0].ext.device.address); local
282 address,
292 String8 address = String8(patch->sources[0].ext.device.address); local
317 address,
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 DThreads.cpp3520 char *address; local
3521 if (strcmp(patch->sinks[0].ext.device.address, "") != 0) {
3522 //FIXME: we only support address on first sink with HAL version < 3.0
3523 address = audio_device_address_to_parameter(
3525 patch->sinks[0].ext.device.address);
3527 address = (char *)calloc(1, 1);
3529 AudioParameter param = AudioParameter(String8(address));
3530 free(address);
7611 char *address; local
7612 if (strcmp(patch->sources[0].ext.device.address, "") !
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSerializer.h119 static const char address[]; /**< optional: device address, char string less than 64. */ member in struct:android::DevicePortTraits::Attributes
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
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...]
H A DHwModule.cpp46 audio_devices_t device, String8 address)
54 devDesc->mAddress = address;
109 audio_devices_t device, String8 address)
116 devDesc->mAddress = address;
298 String8 address = (device_address == NULL) ? String8("") : String8(device_address); local
299 // handle legacy remote submix case where the address was not always specified
300 if (device_distinguishes_on_address(device) && (address.length() == 0)) {
301 address = String8("0");
310 DeviceVector deviceList = declaredDevices.getDevicesFromTypeAddr(device, address);
324 devDesc->mAddress = address;
45 addOutputProfile(String8 name, const audio_config_t *config, audio_devices_t device, String8 address) argument
108 addInputProfile(String8 name, const audio_config_t *config, audio_devices_t device, String8 address) argument
[all...]
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 DSerializer.cpp275 const char DevicePortTraits::Attributes::address[] = "address"; member in class:android::DevicePortTraits::Attributes
311 string address = getXmlAttribute(root, Attributes::address); local
312 if (!address.empty()) {
313 ALOGV("%s: address=%s for %s", __FUNCTION__, address.c_str(), name.c_str());
314 deviceDesc->mAddress = String8(address.c_str());
331 ALOGV("%s: adding device tag %s type %08x address %s", __FUNCTION__,
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp72 ALOGV("setDeviceConnectionStateInt() device: 0x%X, state %d, address %s name %s",
305 ALOGW("getDeviceConnectionState() undeclared device, type %08x, address: %s",
1110 const char *address = NULL; local
1113 address = policyMix->mDeviceAddress.string();
1128 status_t status = startSource(outputDesc, stream, newDevice, address, &delayMs);
1140 address,
1154 const char *address,
1218 uint32_t muteWaitMs = setOutputDevice(outputDesc, device, force, 0, NULL, address);
1414 // handle legacy remote submix case where the address was not always specified
1415 String8 address local
1151 startSource(sp<AudioOutputDescriptor> outputDesc, audio_stream_type_t stream, audio_devices_t device, const char *address, uint32_t *delayMs) argument
1485 getInputForDevice(audio_devices_t device, String8 address, audio_session_t session, uid_t uid, audio_source_t inputSource, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, AudioMix *policyMix) argument
1705 String8 address = String8(""); local
1763 String8 address = String8(""); local
2130 String8 address = mixes[i].mDeviceAddress; local
2158 String8 address = mixes[i].mDeviceAddress; local
2223 String8 address = mixes[i].mDeviceAddress; local
3286 String8 address = devicesForType.size() > 0 ? devicesForType.itemAt(0)->mAddress local
3357 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress local
3669 checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& outputs, const String8 address) argument
3915 checkInputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& inputs, const String8 address) argument
4655 setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, bool force, int delayMs, audio_patch_handle_t *patchHandle, const char* address) argument
4891 getInputProfile(audio_devices_t device, String8 address, uint32_t& samplingRate, audio_format_t& format, audio_channel_mask_t& channelMask, audio_input_flags_t flags) argument
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp43 const String8& address,
52 return af->openOutput(module, output, config, devices, address, latencyMs, flags);
103 const String8& address,
113 return af->openInput(module, input, config, device, address, source, flags);
39 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
99 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/av/services/radio/
H A DRadioService.cpp633 const char *address) {
638 address, kRadioTunerAudioDeviceName);
632 notifyDeviceConnection(bool connected, const char *address) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java66 * instantiate a {@link BluetoothDevice} using a known MAC address, and create
108 * Default MAC address reported to a client that does not have the
540 * address.
543 * available to validate a Bluetooth address.
545 * hardware address, even if this adapter has never seen that device.
547 * @param address valid Bluetooth MAC address
548 * @throws IllegalArgumentException if address is invalid
550 public BluetoothDevice getRemoteDevice(String address) { argument
551 return new BluetoothDevice(address);
565 getRemoteDevice(byte[] address) argument
2170 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
643 * Bluetooth MAC address must be upper case, such as "00:11:22:33:AA:BB",
645 * @param address valid Bluetooth MAC address
647 * @throws IllegalArgumentException address is invalid
650 /*package*/ BluetoothDevice(String address) { argument
652 if (!BluetoothAdapter.checkBluetoothAddress(address)) {
[all...]
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...]
H A DBluetoothSocket.java115 private String mAddress; /* remote address */
254 * Construct a BluetoothSocket from address. Used by native code.
259 * @param address remote device that this socket can connect to
264 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
266 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null, false, false);
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiDeviceInfo.java25 * CEC, this container includes basic information such as logical address, physical address and
28 * devices for which only port ID, physical address are meaningful.
63 * Logical address used to indicate the source comes from internal device. The logical address
69 * Physical address used to indicate the source comes from internal device. The physical address
74 /** Invalid physical address (routing path) */
158 * @param logicalAddress logical address of HDMI-CEC device
159 * @param physicalAddress physical address o
284 idForCecDevice(int address) argument
[all...]
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...]
/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/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 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...]

Completed in 524 milliseconds

123456