Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java33 private final int mRole; field in BluetoothHealthAppConfiguration
46 mRole = BluetoothHealth.SINK_ROLE; in BluetoothHealthAppConfiguration()
63 mRole = role; in BluetoothHealthAppConfiguration()
74 mRole == config.getRole() && in equals()
85 result = 31 * result + mRole; in hashCode()
93 ",mDataType = " + mDataType + ", mRole = " + mRole + ",mChannelType = " + in toString()
126 return mRole; in getRole()
162 out.writeInt(mRole); in writeToParcel()
/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()
99 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()
151 audio_port_role_t mRole; variable
/frameworks/base/media/java/android/media/
DAudioPort.java70 protected final int mRole; field in AudioPort
84 mRole = role; in AudioPort()
109 return mRole; in role()
210 String role = Integer.toString(mRole); in toString()
211 switch (mRole) { in toString()
DAudioDevicePort.java101 String type = (mRole == ROLE_SOURCE ? in toString()
/frameworks/av/media/libstagefright/omx/
DSoftOMXPlugin.cpp34 const char *mRole; member
180 roles->push(String8(kComponents[i].mRole)); in getRolesOfComponent()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp105 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.cpp427 const char *mRole; in GetMimeFromComponentRole() member
451 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.cpp58 jfieldID mRole; member
649 gAudioPortFields.mRole); in convertAudioPortConfigToNative()
1827 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()