Home
last modified time | relevance | path

Searched refs:mPortId (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrack.cpp195 mAnalyticsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
312 AudioSystem::removeAudioDeviceCallback(this, mOutput, mPortId); in ~AudioTrack()
320 __func__, mPortId, in ~AudioTrack()
630 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in start()
674 __func__, mPortId, in start()
735 ALOGE("%s(%d): status %d", __func__, mPortId, status); in start()
753 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in stop()
764 "%s(%d): called with %u frames delivered", __func__, mPortId, mReleased.value()); in stop()
805 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in flush()
838 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in pause()
[all …]
DAudioRecord.cpp89 mAnalyticsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
180 AudioSystem::removeAudioDeviceCallback(this, mInput, mPortId); in ~AudioRecord()
188 __func__, mPortId, mSessionId); in ~AudioRecord()
342 ALOGV("%s(%d): status %d", __func__, mPortId, status); in set()
379 ALOGV("%s(%d): sync event %d trigger session %d", __func__, mPortId, event, triggerSession); in start()
428 ALOGE("%s(%d): status %d", __func__, mPortId, status); in start()
450 ALOGV("%s(%d): mActive:%d\n", __func__, mPortId, mActive); in stop()
664 mPortId, mStatus, mActive, mSessionId); in dump()
708 ALOGE("%s(%d): Could not get audioflinger", __func__, mPortId); in createRecord_l()
736 __func__, mPortId, in createRecord_l()
[all …]
DIAudioFlingerClient.cpp55 data.writeInt32(ioDesc->mPortId); in ioConfigChanged()
80 ioDesc->mPortId = data.readInt32(); in onTransact()
DAudioSystem.cpp610 ioDesc->mIoHandle, ioDesc->mPortId, mAudioDeviceCallbacks.size()); in ioConfigChanged()
615 auto it2 = cbks.find(ioDesc->mPortId); in ioConfigChanged()
617 callbacks.emplace(ioDesc->mPortId, it2->second); in ioConfigChanged()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java105 private final int mPortId; field in HdmiDeviceInfo
173 mPortId = portId; in HdmiDeviceInfo()
213 mPortId = portId; in HdmiDeviceInfo()
238 mPortId = portId; in HdmiDeviceInfo()
264 mPortId = PORT_INVALID; in HdmiDeviceInfo()
330 return mPortId; in getPortId()
443 dest.writeInt(mPortId); in writeToParcel()
494 s.append("port_id: ").append(mPortId); in toString()
507 && mPortId == other.mPortId in equals()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiMhlLocalDeviceStub.java14 private final int mPortId; field in HdmiMhlLocalDeviceStub
18 mPortId = portId; in HdmiMhlLocalDeviceStub()
38 return mPortId; in getPortId()
DDeviceDiscoveryAction.java78 private int mPortId = Constants.INVALID_PORT_ID; field in DeviceDiscoveryAction.DeviceInfo
89 return new HdmiDeviceInfo(mLogicalAddress, mPhysicalAddress, mPortId, mDeviceType, in toHdmiDeviceInfo()
334 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress()
/frameworks/av/include/media/
DMicrophoneInfo.h44 mPortId = characteristic.id; in MicrophoneInfo()
77 RETURN_IF_FAILED(parcel->writeInt32(mPortId)); in writeToParcel()
106 RETURN_IF_FAILED(parcel->readInt32(&mPortId)); in readFromParcel()
150 return mPortId; in getPortId()
230 int32_t mPortId; variable
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h41 mFrameCount(0), mFrameCountHAL(0), mLatency(0), mPortId(AUDIO_PORT_HANDLE_NONE) in AudioIoDescriptor()
70 audio_port_handle_t mPortId; // valid for event AUDIO_CLIENT_STARTED variable
DAudioRecord.h566 audio_port_handle_t getPortId() const { return mPortId; }; in getPortId()
690 audio_port_handle_t mPortId; // Id from Audio Policy Manager variable
DAudioTrack.h934 audio_port_handle_t getPortId() const { return mPortId; }; in getPortId()
1193 audio_port_handle_t mPortId; // Id from Audio Policy Manager variable
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java163 private int mPortId; /* mPortId will correspond to the id in AudioPort */ field in MicrophoneInfo
205 return mPortId; in getId()
365 mPortId = portId; in setId()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp37 ss << "PortId: " << mPortId << " SessionId: " << mSessionId << " Uid: " << mUid; in toShortString()
45 mPortId, mSessionId, mUid); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h49 mPortId(portId), mUid(uid), mSessionId(sessionId), mAttributes(attributes), in mPortId() function
57 audio_port_handle_t portId() const { return mPortId; } in portId()
74 const audio_port_handle_t mPortId; // unique Id for this client
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp676 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerTestDPPlaybackReRouting
702 AUDIO_CHANNEL_IN_STEREO, 48000 /*sampleRate*/, AUDIO_INPUT_FLAG_NONE, &mPortId); in SetUp()
703 ASSERT_EQ(NO_ERROR, mManager->startInput(mPortId)); in SetUp()
711 mManager->stopInput(mPortId); in TearDown()
861 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerTestDPMixRecordInjection
887 48000 /*sampleRate*/, AUDIO_OUTPUT_FLAG_NONE, &mPortId, attr); in SetUp()
888 ASSERT_EQ(NO_ERROR, mManager->startOutput(mPortId)); in SetUp()
896 mManager->stopOutput(mPortId); in TearDown()
/frameworks/av/services/audioflinger/
DTrackBase.h85 audio_port_handle_t portId() const { return mPortId; } in portId()
311 audio_port_handle_t mPortId; // unique ID for this track used by audio policy variable
DTracks.cpp106 mPortId(portId), in TrackBase()
642 AudioSystem::releaseOutput(mPortId); in destroy()
744 mPortId, in appendDump()
2182 AudioSystem::stopInput(mPortId); in stop()
2207 AudioSystem::stopInput(mPortId); in destroy()
2219 AudioSystem::releaseInput(mPortId); in destroy()
2254 mPortId, in appendDump()
2744 mPortId, in appendDump()
DThreads.h108 mEvent(event), mPid(pid), mPortId(portId) {} in IoConfigEventData()
116 const audio_port_handle_t mPortId; variable
1832 audio_port_handle_t mPortId; variable
DThreads.cpp686 ioConfigChanged(data->mEvent, data->mPid, data->mPortId); in processConfigEvents_l()
2585 desc->mPortId = portId; in ioConfigChanged()
8216 desc->mPortId = portId; in ioConfigChanged()
8512 mPortId(AUDIO_PORT_HANDLE_NONE), in MmapThread()
8546 AudioSystem::releaseOutput(mPortId); in disconnect()
8548 AudioSystem::releaseInput(mPortId); in disconnect()
8564 mPortId = portId; in configure()
8601 client.clientUid, mStandby, mPortId, *handle); in start()
8608 if (*handle == mPortId) { in start()
8727 if (handle == mPortId) { in stop()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1154 data->mPortId); in threadLoop()
1160 svc->doStopOutput(data->mPortId); in threadLoop()
1166 data->mPortId); in threadLoop()
1172 svc->doReleaseOutput(data->mPortId); in threadLoop()
1445 data->mPortId = portId; in stopOutputCommand()
1456 data->mPortId = portId; in releaseOutputCommand()
DAudioPolicyService.h551 audio_port_handle_t mPortId;
556 audio_port_handle_t mPortId;
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt23159 Landroid/hardware/hdmi/HdmiDeviceInfo;->mPortId:I
39088 Landroid/media/MicrophoneInfo;->mPortId:I