Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java117 private final int mPortId; field in HdmiDeviceInfo
198 mPortId = PORT_INVALID; in HdmiDeviceInfo()
220 this.mPortId = builder.mPortId; in HdmiDeviceInfo()
233 this.mId = idForMhlDevice(mPortId); in HdmiDeviceInfo()
236 this.mId = idForHardware(mPortId); in HdmiDeviceInfo()
359 return mPortId; in getPortId()
482 dest.writeInt(mPortId); in writeToParcel()
535 s.append("port_id: ").append(mPortId); in toString()
553 && mPortId == other.mPortId in equals()
569 mPortId, in hashCode()
[all …]
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp96 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)record->mPortId); in gather()
185 __func__, mPortId, mSessionId); in ~AudioRecord()
207 AudioSystem::removeAudioDeviceCallback(this, mInput, mPortId); in stopAndJoinCallbacks()
363 ALOGV("%s(%d): status %d", __func__, mPortId, status); in set()
404 ALOGV("%s(%d): sync event %d trigger session %d", __func__, mPortId, event, triggerSession); in start()
465 ALOGE("%s(%d): status %d", __func__, mPortId, status); in start()
495 ALOGV("%s(%d): mActive:%d\n", __func__, mPortId, mActive); in stop()
682 __func__, mPortId, deviceId, mSelectedDeviceId); in setInputDevice()
742 mPortId, mStatus, mActive, mSessionId); in dump()
789 errorMessage = StringPrintf("%s(%d): Could not get audioflinger", __func__, mPortId); in createRecord_l()
[all …]
DAudioTrack.cpp216 mMetricsItem->setInt32(MM_PREFIX "portId", (int32_t)track->mPortId); in gather()
371 __func__, mPortId, in ~AudioTrack()
393 AudioSystem::removeAudioDeviceCallback(this, mOutput, mPortId); in stopAndJoinCallbacks()
757 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in start()
814 __func__, mPortId, in start()
874 ALOGE("%s(%d): status %d", __func__, mPortId, status); in start()
905 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in stop()
916 "%s(%d): called with %u frames delivered", __func__, mPortId, mReleased.value()); in stop()
965 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in flush()
1061 ALOGV("%s(%d): prior state:%s", __func__, mPortId, stateToString(mState)); in pause()
[all …]
/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.java79 private int mPortId = Constants.INVALID_PORT_ID; field in DeviceDiscoveryAction.DeviceInfo
93 .setPortId(mPortId) in toHdmiDeviceInfo()
348 current.mPortId = getPortId(current.mPhysicalAddress); in handleReportPhysicalAddress()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h50 mIoHandle(ioHandle), mPatch(patch), mPortId(portId) {} in AudioIoDescriptor()
60 mPortId(portId) {} in mIoHandle()
71 audio_port_handle_t getPortId() const { return mPortId; } in getPortId()
105 const audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; variable
DAudioRecord.h604 audio_port_handle_t getPortId() const { return mPortId; }; in getPortId()
740 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; variable
DAudioTrack.h1137 audio_port_handle_t getPortId() const { return mPortId; }; in getPortId()
1440 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; // Id from Audio Policy Manager variable
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java164 private int mPortId; /* mPortId will correspond to the id in AudioPort */ field in MicrophoneInfo
206 return mPortId; in getId()
369 mPortId = portId; in setId()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DClientDescriptor.cpp41 ss << "PortId: " << mPortId << " SessionId: " << mSessionId << " Uid: " << mUid; in toShortString()
48 mPortId, mSessionId, mUid, mActive ? "Active" : "Inactive"); in dump()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp648 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerFuzzerDPPlaybackReRouting
666 mManager->stopInput(mPortId); in ~AudioPolicyManagerFuzzerDPPlaybackReRouting()
701 &mPortId); in initialize()
703 ret = mManager->startInput(mPortId); in initialize()
762 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerFuzzerDPMixRecordInjection
780 mManager->stopOutput(mPortId); in ~AudioPolicyManagerFuzzerDPMixRecordInjection()
816 nullptr /*output*/, &mPortId, attr); in initialize()
817 ret = mManager->startOutput(mPortId); in initialize()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h52 mPortId(portId), mUid(uid), mSessionId(sessionId), mAttributes(attributes), in mPortId() function
68 audio_port_handle_t portId() const { return mPortId; } in portId()
93 const audio_port_handle_t mPortId; // unique Id for this client
/frameworks/av/services/audioflinger/
DTracks.cpp124 mPortId(portId), in TrackBase()
905 AudioSystem::releaseOutput(mPortId); in destroy()
1006 mPortId, in appendDump()
1301 if (audioManager && mPortId != AUDIO_PORT_HANDLE_NONE) { in start()
1308 status_t result = audioManager->portEvent(mPortId, in start()
1312 __func__, mPortId, result); in start()
1668 if (audioManager && mPortId != AUDIO_PORT_HANDLE_NONE) { in processMuteEvent_l()
1674 result = audioManager->portEvent(mPortId, PLAYER_UPDATE_MUTED, mMuteEventExtras); in processMuteEvent_l()
1678 ALOGI("%s(%d): processed mute state for port ID %d from %d to %d", __func__, id(), mPortId, in processMuteEvent_l()
1683 mPortId, result); in processMuteEvent_l()
[all …]
DTrackBase.h61 audio_port_handle_t portId() const final { return mPortId; } in portId()
371 audio_port_handle_t mPortId; // unique ID for this track used by audio policy variable
DThreads.h139 mEvent(event), mPid(pid), mPortId(portId) {} in IoConfigEventData()
147 const audio_port_handle_t mPortId; variable
2335 audio_port_handle_t mPortId GUARDED_BY(mutex());
DThreads.cpp887 ioConfigChanged_l(data->mEvent, data->mPid, data->mPortId); in processConfigEvents_l()
10183 mPortId(AUDIO_PORT_HANDLE_NONE), in MmapThread()
10207 localPortId = mPortId; in disconnect()
10232 mPortId = portId; in configure_l()
10278 client.attributionSource.uid, mStandby, mPortId, *handle); in start()
10286 if (*handle == mPortId) { in start()
10439 if (handle == mPortId) { in stop()
10929 dprintf(fd, " Session: %d port Id: %d\n", mSessionId, mPortId); in dumpInternals_l()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp2063 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerTestMMapPlaybackRerouting
2085 &outputFlags, &mSelectedDeviceId, &mPortId, {}, in TEST_P()
2104 &outputFlags, &mSelectedDeviceId, &mPortId, {}, in TEST_P()
2135 &outputFlags, &mSelectedDeviceId, &mPortId, {}, in TEST_F()
2144 mManager->releaseOutput(mPortId); in TEST_F()
2147 mPortId = AUDIO_PORT_HANDLE_NONE; in TEST_F()
2151 &outputFlags, &mSelectedDeviceId, &mPortId, {}, in TEST_F()
2180 &outputFlags, &mSelectedDeviceId, &mPortId, {}, in TEST_F()
2202 audio_port_handle_t mPortId = AUDIO_PORT_HANDLE_NONE; member in AudioPolicyManagerTestDPMixRecordInjection
2231 k48000SamplingRate, AUDIO_OUTPUT_FLAG_NONE, nullptr /*output*/, &mPortId, attr); in SetUp()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1837 data->mPortId); in threadLoop()
1843 svc->doStopOutput(data->mPortId); in threadLoop()
1849 data->mPortId); in threadLoop()
1855 svc->doReleaseOutput(data->mPortId); in threadLoop()
2180 data->mPortId = portId; in stopOutputCommand()
2191 data->mPortId = portId; in releaseOutputCommand()
DAudioPolicyService.h700 audio_port_handle_t mPortId;
705 audio_port_handle_t mPortId;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt20272 Landroid/hardware/hdmi/HdmiDeviceInfo;->mPortId:I
28953 Landroid/media/MicrophoneInfo;->mPortId:I