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

Commit c24483a9 authored by Harry Cutts's avatar Harry Cutts
Browse files

TouchpadInputMapper: log when producing usage atoms

This should help us debug the flaky CTS tests for this atom.

Bug: 329725372
Test: check the log line appears when running the test:
      $ atest 'android.input.cts.hostside.InputAtomsTest#testTouchpadUsageAtom_FingerAndPalmCounts'
Change-Id: I23346b4904f83abb6cc5a07b687bb0a9802c6bfa
parent 297f8926
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -198,6 +198,7 @@ private:
    }

    void produceAtomsLocked(AStatsEventList& outEventList) const REQUIRES(mLock) {
        ALOGI("Producing touchpad usage atoms for %zu counters", mCounters.size());
        for (auto& [id, counters] : mCounters) {
            auto [busId, vendorId, productId, versionId] = id;
            addAStatsEvent(&outEventList, android::util::TOUCHPAD_USAGE, vendorId, productId,