/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 1026 status_t AudioSystem::listAudioPorts(audio_port_role_t role, argument 1034 return aps->listAudioPorts(role, type, num_ports, ports, generation);
|
H A D | IAudioPolicyService.cpp | 521 virtual status_t listAudioPorts(audio_port_role_t role, argument 534 data.writeInt32(role); 1155 audio_port_role_t role = (audio_port_role_t)data.readInt32(); local 1170 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 1610 const char *role = getComponentRole(isEncoder, mime); local 1611 if (role == NULL) { 1614 status_t err = setComponentRole(mOMX, mNode, role); 1616 ALOGW("[%s] Failed to set standard component role '%s'.", 1617 mComponentName.c_str(), role); 1700 const sp<IOMX> &omx, IOMX::node_id node, const char *role) { 1705 role, OMX_MAX_STRINGNAME_SIZE - 1); 7816 const char *role = getComponentRole(isEncoder, mime.c_str()); local 7817 if (role == NULL) { 7837 err = setComponentRole(omx, node, role); 1699 setComponentRole( const sp<IOMX> &omx, IOMX::node_id node, const char *role) argument [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 207 status_t Harness::setRole(IOMX::node_id node, const char *role) { argument 214 strncpy((char *)params.cRole, role, OMX_MAX_STRINGNAME_SIZE - 1); 772 " [ component role ]\n\n" 774 "and role, tool will test all available OMX components "
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPort.h | 38 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : argument 39 mName(name), mType(type), mRole(role), mFlags(AUDIO_OUTPUT_FLAG_NONE) {}
|
H A D | IOProfile.h | 36 IOProfile(const String8 &name, audio_port_role_t role) argument 37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role) {}
|
H A D | Serializer.h | 93 static const char role[]; member in struct:android::MixPortTraits::Attributes 117 static const char role[]; /**< <device role: sink or source>. */ member in struct:android::DevicePortTraits::Attributes 118 static const char roleSource[]; /**< <attribute role source value>. */
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 151 audio_port_role_t role) 155 sp<IOProfile> profile = new IOProfile(String8(root->name), role); 171 if (role == AUDIO_PORT_ROLE_SINK) { 181 if (role == AUDIO_PORT_ROLE_SINK) { 210 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output"); 213 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output", 150 loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role) argument
|
H A D | Serializer.cpp | 217 const char MixPortTraits::Attributes::role[] = "role"; member in class:android::MixPortTraits::Attributes 229 string role = getXmlAttribute(child, Attributes::role); local 230 if (role.empty()) { 231 ALOGE("%s: No %s found", __FUNCTION__, Attributes::role); 234 ALOGV("%s: Role=%s", __FUNCTION__, role.c_str()); 235 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK; 253 // Source role 257 // Sink role 274 const char DevicePortTraits::Attributes::role[] = "role"; member in class:android::DevicePortTraits::Attributes 293 string role = getXmlAttribute(root, Attributes::role); local [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 2326 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, argument 2336 ALOGV("listAudioPorts() role %d type %d num_ports %d ports %p", role, type, *num_ports, ports); 2347 if (role == AUDIO_PORT_ROLE_SINK || role == AUDIO_PORT_ROLE_NONE) { 2358 if (role == AUDIO_PORT_ROLE_SOURCE || role == AUDIO_PORT_ROLE_NONE) { 2371 if (role == AUDIO_PORT_ROLE_SINK || role == AUDIO_PORT_ROLE_NONE) { 2377 if (role [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 584 status_t AudioPolicyService::listAudioPorts(audio_port_role_t role, argument 595 return mAudioPolicyManager->listAudioPorts(role, type, num_ports, ports, generation);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealth.java | 37 * <p> How to connect to a health device which is acting in the source role. 139 * @param dataType The dataType of the Source role of Health Profile to which 156 * SOURCE role.This is an asynchronous call and so 162 * @param dataType The dataType of the Source role of Health Profile. 170 public boolean registerAppConfiguration(String name, int dataType, int role, argument 173 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; 178 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); 555 private boolean checkAppParam(String name, int role, int channelType, argument 557 if (name == null || (role != SOURCE_ROLE && role ! [all...] |
H A D | BluetoothHealthAppConfiguration.java | 37 * Constructor to register the SINK role 55 * @param role {@link BluetoothHealth#SOURCE_ROLE} or 59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument 63 mRole = role; 120 * Return the role associated with this application configuration. 147 int role = in.readInt(); 149 return new BluetoothHealthAppConfiguration(name, type, role,
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 66 * Power role: This USB port can act as a source (provide power). 71 * Power role: This USB port can act as a sink (receive power). 76 * Data role: This USB port can act as a host (access data services). 81 * Data role: This USB port can act as a device (offer data services). 116 * Combines one power and one data role together into a unique value with 121 * @param powerRole The desired power role: {@link UsbPort#POWER_ROLE_SOURCE} 122 * or {@link UsbPort#POWER_ROLE_SINK}, or 0 if no power role. 123 * @param dataRole The desired data role: {@link UsbPort#DATA_ROLE_HOST} 124 * or {@link UsbPort#DATA_ROLE_DEVICE}, or 0 if no data role. 150 public static String powerRoleToString(int role) { argument 164 dataRoleToString(int role) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 604 static bool useInChannelMask(audio_port_type_t type, audio_port_role_t role) argument 606 return ((type == AUDIO_PORT_TYPE_DEVICE) && (role == AUDIO_PORT_ROLE_SOURCE)) || 607 ((type == AUDIO_PORT_TYPE_MIX) && (role == AUDIO_PORT_ROLE_SINK)); 647 nAudioPortConfig->role = (audio_port_role_t)env->GetIntField(jAudioPort, 658 ALOGV("convertAudioPortConfigToNative handle %d role %d type %d", 659 nAudioPortConfig->id, nAudioPortConfig->role, nAudioPortConfig->type); 669 bool useInMask = useInChannelMask(nAudioPortConfig->type, nAudioPortConfig->role); 743 0, // role 760 bool useInMask = useInChannelMask(nAudioPortConfig->type, nAudioPortConfig->role); 923 ALOGV("convertAudioPortFromNative id %d role [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 269 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { argument 272 mRole = role; 1104 int mask, role; 1111 role = BluetoothPan.LOCAL_PANU_ROLE; 1115 role = BluetoothPan.LOCAL_NAP_ROLE; 1128 ConnectPanReceiver receiver = getConnectPanReceiver(device, role, mask); 1141 if (role == BluetoothPan.LOCAL_PANU_ROLE) { 1209 int mask, role; 1216 role = BluetoothPan.LOCAL_PANU_ROLE; 1220 role 1432 getConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioMixPort.java | 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks,
|
H A D | AudioPort.java | 79 AudioPort(AudioHandle handle, int role, String name, argument 84 mRole = role; 106 * Get the audio port role 108 public int role() { method in class:AudioPort 210 String role = Integer.toString(mRole); 213 role = "NONE"; 216 role = "SOURCE"; 219 role = "SINK"; 223 + ", mRole: " + role
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | PanProfile.java | 159 void setLocalRole(BluetoothDevice device, int role) { argument 160 mDeviceRoleMap.put(device, role);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |