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

Commit 8c5f7bec authored by Siarhei Vishniakou's avatar Siarhei Vishniakou Committed by Yu-Ting Tseng
Browse files

Move BlockingQueue.h to libinput

This is already useful in several places, and it's going to be also
useful in the future when InputConsumer is refactored.

So let's move it to include/input.

Bug: 311142655
Test: m inputflinger_blocking_queue_fuzzer
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3782af62ea590e8945f2175a90aa2b6f4995814d)
Merged-In: Idfc492c6bfc3cccab7e0b0d12b21a41a954cc44b

Change-Id: Ie662961b77d331cd62b529bae0fd66e56a69bd19
parent 99a0f114
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ cc_test {
    cpp_std: "c++20",
    host_supported: true,
    srcs: [
        "BlockingQueue_test.cpp",
        "IdGenerator_test.cpp",
        "InputChannel_test.cpp",
        "InputDevice_test.cpp",
+3 −4
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#include "../BlockingQueue.h"

#include <input/BlockingQueue.h>

#include <gtest/gtest.h>
#include <thread>
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
#include <unordered_map>

#include <aidl/android/hardware/input/processor/IInputProcessor.h>
#include "BlockingQueue.h"
#include <input/BlockingQueue.h>
#include "InputListener.h"
namespace android {

+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ cc_test {
    ],
    srcs: [
        "AnrTracker_test.cpp",
        "BlockingQueue_test.cpp",
        "CapturedTouchpadEventConverter_test.cpp",
        "CursorInputMapper_test.cpp",
        "EventHub_test.cpp",
Loading