Home
last modified time | relevance | path

Searched refs:mRole (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DAudioDeviceAttributes.java74 int mRole; field in AudioDeviceAttributes
85 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes()
106 mRole = role; in AudioDeviceAttributes()
112 mRole = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
125 return mRole; in getRole()
150 return Objects.hash(mRole, mType, mAddress); in hashCode()
159 return ((mRole == that.mRole) in equals()
172 + " role:" + roleToString(mRole) in toString()
173 + " type:" + (mRole == ROLE_OUTPUT ? AudioSystem.getOutputDeviceName( in toString()
/frameworks/base/media/java/android/media/
DAudioDeviceAttributes.java80 private final @Role int mRole; field in AudioDeviceAttributes
103 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes()
153 mRole = role; in AudioDeviceAttributes()
180 mRole = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes()
196 return mRole; in getRole()
260 return Objects.hash(mRole, mType, mAddress, mName, mAudioProfiles, mAudioDescriptors); in hashCode()
269 return ((mRole == that.mRole) in equals()
288 return ((mRole == that.mRole) in equalTypeAddress()
301 + " role:" + roleToString(mRole) in toString()
302 + " type:" + (mRole == ROLE_OUTPUT ? AudioSystem.getOutputDeviceName(mNativeType) in toString()
[all …]
DAudioPort.java82 protected final int mRole; field in AudioPort
100 mRole = role; in AudioPort()
122 mRole = role; in AudioPort()
164 return mRole; in role()
280 String role = Integer.toString(mRole); in toString()
281 switch (mRole) { in toString()
DAudioDevicePort.java154 String type = (mRole == ROLE_SOURCE ? in toString()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h40 mName(name), mType(type), mRole(role) {} in AudioPort()
48 audio_port_role_t getRole() const { return mRole; } in getRole()
95 return ((mType == AUDIO_PORT_TYPE_DEVICE) && (mRole == AUDIO_PORT_ROLE_SOURCE)) || in useInputChannelMask()
96 ((mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SINK)); in useInputChannelMask()
101 return (mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SOURCE) && in isDirectOutput()
108 && (((mRole == AUDIO_PORT_ROLE_SOURCE) && in isMmap()
110 || ((mRole == AUDIO_PORT_ROLE_SINK) && in isMmap()
143 audio_port_role_t mRole; variable
154 port->role = mRole; in toAudioPortBase()
/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp34 const char *mRole; member
206 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp32 if (mRole == AUDIO_PORT_ROLE_SOURCE && in setFlags()
210 ALOGI("%s Port[nm:%s, type:%d, role:%d]", indent, mName.c_str(), mType, mRole); in log()
219 mRole == other->getRole() && in equals()
230 legacy2aidl_audio_port_role_t_AudioPortRole(mRole)); in writeToParcelable()
256 mRole = VALUE_OR_RETURN_STATUS( in readFromParcelable()
/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp364 for (auto &mRole : mParser.getRoleMap()) { in TEST_F() local
366 const string &roleName = mRole.first; in TEST_F()
368 const MediaCodecsXmlParser::RoleProperties &properties = mRole.second; in TEST_F()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp474 const char *mRole; in GetMimeFromComponentRole() member
498 if (!strcmp(componentRole, kRoleToMime[i].mRole)) { in GetMimeFromComponentRole()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp83 jfieldID mRole; member
925 gAudioPortFields.mRole); in convertAudioPortConfigToNative()
3160 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()