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

Commit 574bbe46 authored by Sungtak Lee's avatar Sungtak Lee
Browse files

media.c2 aidl: Add a test for GraphicsTracker

Add a test for GraphicsTracker. The test will verify the basic
assumptions and functional correctness of GraphicsTracker
implementation.

Test: m
Bug: 254050314
Change-Id: I0b937f6657aa373f5cf30137f140606a29105e79
parent 45246605
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,5 +25,8 @@
        }
      ]
    }
  ],
  "postsubmit": [
    { "name": "c2aidl_gtracker_test"}
  ]
}
+50 −0
Original line number Diff line number Diff line
/*
 * Copyright (C) 2023 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_av_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_av_license"],
}

cc_test {
    name: "c2aidl_gtracker_test",
    test_suites: ["device-tests"],
    defaults: [
        "libcodec2-aidl-client-defaults",
    ],

    header_libs: [
        "libcodec2_client_headers",
        "libcodec2_internal",
        "libcodec2_vndk_headers",
    ],

    srcs: [
        "GraphicsTracker_test.cpp",
    ],

    shared_libs: [
        "libbinder",
        "libcodec2_client",
        "libgui",
        "libnativewindow",
        "libui",
    ],
}
+820 −0

File added.

Preview size limit exceeded, changes collapsed.