/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/ |
D | AudioDeviceAttributes.java | 74 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/ |
D | AudioDeviceAttributes.java | 80 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 …]
|
D | AudioPort.java | 82 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()
|
D | AudioDevicePort.java | 154 String type = (mRole == ROLE_SOURCE ? in toString()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 40 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/ |
D | SoftOMXPlugin.cpp | 34 const char *mRole; member 206 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 32 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/ |
D | XMLParserTest.cpp | 364 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/ |
D | OMXHarness.cpp | 474 const char *mRole; in GetMimeFromComponentRole() member 498 if (!strcmp(componentRole, kRoleToMime[i].mRole)) { in GetMimeFromComponentRole()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 83 jfieldID mRole; member 925 gAudioPortFields.mRole); in convertAudioPortConfigToNative() 3160 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()
|