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

Commit 2d70375a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge changes I443ba0bc,I1d46e887,Idabc64be,I03a8bdb4

* changes:
  Fix arguments checking in AudioSystem::getDirectProfilesForAttributes
  Move audiosystem_tests of libaudioclient to presubmit
  Move libaudioclient tests to presubmit
  Fix typo in TEST_MAPPING
parents 5834d151 7b75108b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2317,7 +2317,7 @@ status_t AudioSystem::getDirectPlaybackSupport(const audio_attributes_t *attr,

status_t AudioSystem::getDirectProfilesForAttributes(const audio_attributes_t* attr,
                                                std::vector<audio_profile>* audioProfiles) {
    if (attr == nullptr) {
    if (attr == nullptr || audioProfiles == nullptr) {
        return BAD_VALUE;
    }

+3 −7
Original line number Diff line number Diff line
@@ -13,11 +13,9 @@
          "include-filter": "android.nativemedia.aaudio.AAudioTests#AAudioBasic.*"
        }
      ]
    }
  ],
  "postsubmit": [
    },
    {
      "name": "audieorecord_tests"
      "name": "audiorecord_tests"
    },
    {
      "name": "audioeffect_tests"
@@ -30,9 +28,7 @@
    },
    {
      "name": "trackplayerbase_tests"
    }
  ],
  "postsubmit": [
    },
    {
      "name": "audiosystem_tests"
    }