Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h39 mName(name), mType(type), mRole(role), mFlags(AUDIO_OUTPUT_FLAG_NONE) {} in AudioPort()
47 audio_port_role_t getRole() const { return mRole; } in getRole()
59 if (mRole == AUDIO_PORT_ROLE_SOURCE && (flags & AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) != 0) { in setFlags()
95 return mProfiles.checkCompatibleProfile(samplingRate, channelMask, format, mType, mRole); in checkCompatibleAudioProfile()
126 return ((mType == AUDIO_PORT_TYPE_DEVICE) && (mRole == AUDIO_PORT_ROLE_SOURCE)) || in useInputChannelMask()
127 ((mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SINK)); in useInputChannelMask()
132 return (mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SOURCE) && in isDirectOutput()
152 audio_port_role_t mRole; variable
/frameworks/base/media/java/android/media/
DAudioPort.java74 protected final int mRole; field in AudioPort
91 mRole = role; in AudioPort()
118 return mRole; in role()
220 String role = Integer.toString(mRole); in toString()
221 switch (mRole) { in toString()
DAudioDevicePort.java104 String type = (mRole == ROLE_SOURCE ? in toString()
/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp34 const char *mRole; member
211 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp100 port->role = mRole; in toAudioPort()
377 ALOGI("%s Port[nm:%s, type:%d, role:%d]", indent, mName.string(), mType, mRole); in log()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp463 const char *mRole; in GetMimeFromComponentRole() member
487 if (!strcmp(componentRole, kRoleToMime[i].mRole)) { in GetMimeFromComponentRole()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java269 private int mRole; field in BluetoothTestUtils.ConnectPanReceiver
274 mRole = role; in ConnectPanReceiver()
279 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp73 jfieldID mRole; member
813 gAudioPortFields.mRole); in convertAudioPortConfigToNative()
2377 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()