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

Commit 83dd0039 authored by Eric Laurent's avatar Eric Laurent Committed by Automerger Merge Worker
Browse files

Merge "audioflinger: add latency modes to dumpsys" into udc-dev am: 81166ec4

parents 77b0979a 81166ec4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -842,6 +842,8 @@ void AudioFlinger::dumpInternals(int fd, const Vector<String16>& args __unused)
    for (const auto& vibratorInfo : mAudioVibratorInfos) {
        dprintf(fd, "  - %s\n", vibratorInfo.toString().c_str());
    }
    dprintf(fd, "Bluetooth latency modes are %senabled\n",
            mBluetoothLatencyModesEnabled ? "" : "not ");
}

void AudioFlinger::dumpPermissionDenial(int fd, const Vector<String16>& args __unused)
+6 −0
Original line number Diff line number Diff line
@@ -6320,6 +6320,12 @@ void AudioFlinger::MixerThread::dumpInternals_l(int fd, const Vector<String16>&
    } else {
        dprintf(fd, "  No FastMixer\n");
    }

     dprintf(fd, "Bluetooth latency modes are %senabled\n",
            mBluetoothLatencyModesEnabled ? "" : "not ");
     dprintf(fd, "HAL does %ssupport Bluetooth latency modes\n", mOutput != nullptr &&
             mOutput->audioHwDev->supportsBluetoothVariableLatency() ? "" : "not ");
     dprintf(fd, "Supported latency modes: %s\n", toString(mSupportedLatencyModes).c_str());
}

uint32_t AudioFlinger::MixerThread::idleSleepTimeUs() const