/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 731 const char *address = ""; local 737 address = device_address; 742 return aps->setDeviceConnectionState(device, state, address, name);
|
H A D | IAudioFlinger.cpp | 456 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 D | AudioFlinger.cpp | 1818 const String8& address, 1865 address.string()); 1895 const String8& address, 1913 sp<PlaybackThread> thread = openOutput_l(module, output, config, *devices, address, flags); 2069 const String8& address, 2079 sp<RecordThread> thread = openInput_l(module, input, config, *devices, address, source, flags); 2093 const String8& address, 2121 &inStream, flags, address.string(), source); 2129 status, address.string()); 2143 &inStream, flags, address 1814 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 1891 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 2065 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 2089 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 D | AudioHwDevice.cpp | 40 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 D | AudioStreamOut.cpp | 116 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 D | PatchPanel.cpp | 241 String8 address = String8(patch->sinks[0].ext.device.address); local 248 address, 258 String8 address = String8(patch->sources[0].ext.device.address); local 283 address,
|
H A D | SpdifStreamOut.cpp | 51 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 D | Threads.cpp | 3358 char *address; local 3359 if (strcmp(patch->sinks[0].ext.device.address, "") != 0) { 3360 //FIXME: we only support address on first sink with HAL version < 3.0 3361 address = audio_device_address_to_parameter( 3363 patch->sinks[0].ext.device.address); 3365 address = (char *)calloc(1, 1); 3367 AudioParameter param = AudioParameter(String8(address)); 3368 free(address); 7330 char *address; local 7331 if (strcmp(patch->sources[0].ext.device.address, "") ! [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | Serializer.h | 119 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 D | AudioPolicyMix.cpp | 54 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 D | HwModule.cpp | 46 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 D | IOProfile.cpp | 31 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 D | Serializer.cpp | 275 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 D | AudioPolicyManager.cpp | 69 ALOGV("setDeviceConnectionStateInt() device: 0x%X, state %d, address %s name %s", 299 ALOGW("getDeviceConnectionState() undeclared device, type %08x, address: %s", 1094 const char *address = NULL; local 1097 address = policyMix->mDeviceAddress.string(); 1112 status_t status = startSource(outputDesc, stream, newDevice, address, &delayMs); 1124 address, 1138 const char *address, 1195 uint32_t muteWaitMs = setOutputDevice(outputDesc, device, force, 0, NULL, address); 1380 // handle legacy remote submix case where the address was not always specified 1381 String8 address local 1135 startSource(sp<AudioOutputDescriptor> outputDesc, audio_stream_type_t stream, audio_devices_t device, const char *address, uint32_t *delayMs) argument 1451 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 1664 String8 address = String8(""); local 1722 String8 address = String8(""); local 2078 String8 address = mixes[i].mDeviceAddress; local 2106 String8 address = mixes[i].mDeviceAddress; local 2171 String8 address = mixes[i].mDeviceAddress; local 3234 String8 address = devicesForType.size() > 0 ? devicesForType.itemAt(0)->mAddress local 3305 String8 address = inputDevices.size() > 0 ? inputDevices.itemAt(0)->mAddress local 3617 checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& outputs, const String8 address) argument 3863 checkInputsForDevice(const sp<DeviceDescriptor> devDesc, audio_policy_dev_state_t state, SortedVector<audio_io_handle_t>& inputs, const String8 address) argument 4598 setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, audio_devices_t device, bool force, int delayMs, audio_patch_handle_t *patchHandle, const char* address) argument 4834 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 D | AudioPolicyClientImpl.cpp | 43 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 D | RadioService.cpp | 633 const char *address) { 638 address, kRadioTunerAudioDeviceName); 632 notifyDeviceConnection(bool connected, const char *address) argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 66 * 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 D | BluetoothDevice.java | 39 * 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...] |
H A D | BluetoothGattCallbackWrapper.java | 39 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 D | BluetoothSocket.java | 115 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 D | HdmiDeviceInfo.java | 25 * 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 D | HdmiPortInfo.java | 24 * 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 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/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 178 contains(InetAddress address) 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...] |