Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d60c8f6a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libaudiohal: Remove unused protected methods from StreamHalAidl" am:...

Merge "libaudiohal: Remove unused protected methods from StreamHalAidl" am: ed74d224 am: b04b4fe0 am: 1eeadbc1

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/2532759



Change-Id: I9b466cc641deeb065d0882f83618d9b1429c36a0
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents bfd10ada 1eeadbc1
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -478,19 +478,6 @@ status_t StreamHalAidl::setHalThreadPriority(int priority __unused) {
    return OK;
}

status_t StreamHalAidl::getHalPid(pid_t *pid __unused) {
    ALOGD("%p %s::%s", this, getClassName().c_str(), __func__);
    TIME_CHECK();
    if (!mStream) return NO_INIT;
    ALOGE("%s not implemented yet", __func__);
    return OK;
}

bool StreamHalAidl::requestHalThreadPriority(pid_t threadPid __unused, pid_t threadId __unused) {
    // Obsolete, must be done by the HAL module.
    return true;
}

status_t StreamHalAidl::legacyCreateAudioPatch(const struct audio_port_config& port __unused,
                                               std::optional<audio_source_t> source __unused,
                                               audio_devices_t type __unused) {
+0 −4
Original line number Diff line number Diff line
@@ -199,10 +199,6 @@ class StreamHalAidl : public virtual StreamHalInterface, public ConversionHelper

    ~StreamHalAidl() override;

    status_t getHalPid(pid_t *pid);

    bool requestHalThreadPriority(pid_t threadPid, pid_t threadId);

    status_t getLatency(uint32_t *latency);

    status_t getObservablePosition(int64_t *frames, int64_t *timestamp);