Loading media/libaudiohal/tests/CoreAudioHalAidl_test.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -201,6 +201,9 @@ class ModuleMock : public ::aidl::android::hardware::audio::core::BnModule, ndk::ScopedAStatus getAAudioHardwareBurstMinUsec(int32_t*) override { return ndk::ScopedAStatus::ok(); } ndk::ScopedAStatus prepareToDisconnectExternalDevice(int32_t) override { return ndk::ScopedAStatus::ok(); } bool mIsScreenTurnedOn = false; ScreenRotation mScreenRotation = ScreenRotation::DEG_0; Loading Loading
media/libaudiohal/tests/CoreAudioHalAidl_test.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -201,6 +201,9 @@ class ModuleMock : public ::aidl::android::hardware::audio::core::BnModule, ndk::ScopedAStatus getAAudioHardwareBurstMinUsec(int32_t*) override { return ndk::ScopedAStatus::ok(); } ndk::ScopedAStatus prepareToDisconnectExternalDevice(int32_t) override { return ndk::ScopedAStatus::ok(); } bool mIsScreenTurnedOn = false; ScreenRotation mScreenRotation = ScreenRotation::DEG_0; Loading