/frameworks/base/media/java/android/media/ |
D | AudioDeviceAttributes.java | 72 private final @Role int mRole; field in AudioDeviceAttributes 83 mRole = deviceInfo.isSink() ? ROLE_OUTPUT : ROLE_INPUT; in AudioDeviceAttributes() 109 mRole = role; in AudioDeviceAttributes() 115 mRole = (nativeType & AudioSystem.DEVICE_BIT_IN) != 0 ? ROLE_INPUT : ROLE_OUTPUT; in AudioDeviceAttributes() 127 return mRole; in getRole() 152 return Objects.hash(mRole, mType, mAddress); in hashCode() 161 return ((mRole == that.mRole) in equals() 174 + " role:" + roleToString(mRole) in toString() 175 + " type:" + (mRole == ROLE_OUTPUT ? AudioSystem.getOutputDeviceName( in toString() 189 dest.writeInt(mRole); in writeToParcel() [all …]
|
D | AudioPort.java | 74 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()
|
D | AudioDevicePort.java | 136 String type = (mRole == ROLE_SOURCE ? in toString()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 36 mName(name), mType(type), mRole(role) {} in AudioPort() 44 audio_port_role_t getRole() const { return mRole; } in getRole() 76 return ((mType == AUDIO_PORT_TYPE_DEVICE) && (mRole == AUDIO_PORT_ROLE_SOURCE)) || in useInputChannelMask() 77 ((mType == AUDIO_PORT_TYPE_MIX) && (mRole == AUDIO_PORT_ROLE_SINK)); in useInputChannelMask() 93 audio_port_role_t mRole; variable
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeManager.java | 79 private @Role int mRole = ROLE_UNSPECIFIED; field in ClientModeManager 126 return mTargetRole == ROLE_UNSPECIFIED && mRole != ROLE_UNSPECIFIED; in isStopping() 334 return mRole; in getRole() 359 pw.println("mRole: " + mRole); in dump() 386 if (mRole != ROLE_CLIENT_PRIMARY) { in updateConnectModeState() 517 mRole = message.arg1; // could be any one of possible connect mode roles. in processMessage() 574 mRole = ROLE_UNSPECIFIED; in exit() 586 mRole = ROLE_CLIENT_SCAN_ONLY; in enter() 634 if (newRole != mRole) { in processMessage() 635 mRole = newRole; in processMessage()
|
D | SoftApManager.java | 124 private @Role int mRole = ROLE_UNSPECIFIED; field in SoftApManager 238 return mTargetRole == ROLE_UNSPECIFIED && mRole != ROLE_UNSPECIFIED; in isStopping() 243 return mRole; in getRole() 249 Preconditions.checkState(mRole == ROLE_UNSPECIFIED); in setRole() 252 mRole = role; in setRole() 282 pw.println("mRole: " + mRole); in dump() 855 mRole = ROLE_UNSPECIFIED; in exit()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 65 port->role = mRole; in toAudioPort() 105 ALOGI("%s Port[nm:%s, type:%d, role:%d]", indent, mName.c_str(), mType, mRole); in log() 114 mRole == other->getRole() && in equals() 123 if ((status = parcel->writeUint32(mRole)) != NO_ERROR) return status; in writeToParcel() 137 static_assert(sizeof(mRole) == sizeof(uint32_t)); in readFromParcel() 138 if ((status = parcel->readUint32(reinterpret_cast<uint32_t*>(&mRole))) != NO_ERROR) { in readFromParcel()
|
/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/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/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 267 private int mRole; field in BluetoothTestUtils.ConnectPanReceiver 272 mRole = role; in ConnectPanReceiver() 277 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 74 jfieldID mRole; member 852 gAudioPortFields.mRole); in convertAudioPortConfigToNative() 2612 gAudioPortFields.mRole = GetFieldIDOrDie(env, audioPortClass, "mRole", "I"); in register_android_media_AudioSystem()
|