/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 = AudioSystem.isInputDevice(nativeType) ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes() 195 mRole = ada.getRole(); in AudioDeviceAttributes() 211 return mRole; in getRole() 284 return Objects.hash(mRole, mType, mAddress, mName, mAudioProfiles, mAudioDescriptors); in hashCode() 293 return ((mRole == that.mRole) in equals() 312 return ((mRole == that.mRole) in equalTypeAddress() 325 + " role:" + roleToString(mRole) 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 | 176 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() 98 return ((mType == AUDIO_PORT_TYPE_DEVICE) && (mRole == AUDIO_PORT_ROLE_SOURCE)) || in useInputChannelMask() 99 ((mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SINK)); in useInputChannelMask() 104 return (mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SOURCE) && in isDirectOutput() 111 && (((mRole == AUDIO_PORT_ROLE_SOURCE) && in isMmap() 113 || ((mRole == AUDIO_PORT_ROLE_SINK) && in isMmap() 146 audio_port_role_t mRole; variable 157 port->role = mRole; in toAudioPortBase()
|
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/ |
D | SecureChannel.java | 66 private Role mRole; field in SecureChannel 345 mRole = Role.INITIATOR; in initiateHandshake() 417 mRole = Role.RESPONDER; in exchangeHandshake() 482 sendMessage(MessageType.PRE_SHARED_KEY, constructToken(mRole, mPreSharedKey)); in exchangePreSharedKey() 484 byte[] expectedAuthToken = constructToken(mRole == Role.INITIATOR in exchangePreSharedKey() 513 byte[] localChallenge = constructToken(mRole, mConnectionContext.getSessionUnique()); in exchangeAttestation() 520 byte[] expectedChallenge = constructToken(mRole == Role.INITIATOR in exchangeAttestation() 559 .put((byte) (Role.INITIATOR.equals(mRole) ? 0 : 1)) in constructHandshakeInitMessage()
|
/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() 218 ALOGI("%s Port[nm:%s, type:%d, role:%d]", indent, mName.c_str(), mType, mRole); in log() 227 mRole == other->getRole() && in equals() 238 legacy2aidl_audio_port_role_t_AudioPortRole(mRole)); in writeToParcelable() 264 mRole = VALUE_OR_RETURN_STATUS( in readFromParcelable()
|
/frameworks/av/media/libstagefright/xmlparser/test/ |
D | XMLParserTest.cpp | 407 for (auto &mRole : mParser.getRoleMap()) { in TEST_F() local 409 const string &roleName = mRole.first; in TEST_F() 411 const MediaCodecsXmlParser::RoleProperties &properties = mRole.second; in TEST_F()
|
/frameworks/base/core/java/android/app/ |
D | ForegroundServiceTypePolicy.java | 1237 final String mRole; field in ForegroundServiceTypePolicy.RolePermission 1241 mRole = role; in RolePermission() 1249 final List<String> holders = rm.getRoleHoldersAsUser(mRole, in checkPermission()
|
/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 | 100 jfieldID mRole; member 985 static_cast<audio_port_role_t>(env->GetIntField(jAudioPort, gAudioPortFields.mRole)); in convertAudioPortConfigToNative() 3594 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()
|