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

Commit c673a94a authored by sqian's avatar sqian
Browse files

Add radio 1.1 vts test folder.

Bug: 38034125
Test: compile; adb shell compiled_vts_binary
Change-Id: I05d4f03db40ac712f120ac0e3e52301a6252f041
Merged-In: I05d4f03db40ac712f120ac0e3e52301a6252f041
parent 1a31a9e4
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -70,3 +70,38 @@ cc_test {
        "-g",
    ],
}

cc_library_static {
    name: "RadioHidlHalUtilsBase",
    srcs : [
        "radio_hidl_hal_test.cpp",
        "radio_response.cpp"
    ],
    shared_libs: [
        "libbase",
        "liblog",
        "libcutils",
        "libhidlbase",
        "libhidltransport",
        "libnativehelper",
        "libutils",
        "android.hardware.radio@1.0",
    ],
    static_libs: ["VtsHalHidlTargetTestBase"],
    cflags: [
        "-O0",
        "-g",
    ],
}

cc_library_static {
    name: "RadioVtsTestUtilBase",
    srcs : [
        "vts_test_util.cpp"
    ],
}

cc_library_headers {
    name: "radio.util.header@1.0",
    export_include_dirs: ["."],
}
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#include <radio_hidl_hal_utils.h>
#include <radio_hidl_hal_utils_v1_0.h>

int main(int argc, char** argv) {
    ::testing::AddGlobalTestEnvironment(new RadioHidlEnvironment);
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#include <radio_hidl_hal_utils.h>
#include <radio_hidl_hal_utils_v1_0.h>

using namespace ::android::hardware::radio::V1_0;

+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#include <radio_hidl_hal_utils.h>
#include <radio_hidl_hal_utils_v1_0.h>

using namespace ::android::hardware::radio::V1_0;

+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

#include <radio_hidl_hal_utils.h>
#include <radio_hidl_hal_utils_v1_0.h>

/*
 * Test IRadio.getIccCardStatus() for the response returned.
Loading