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

Commit 93eda4d8 authored by Hsin-Yi Chen's avatar Hsin-Yi Chen Committed by android-build-merger
Browse files

Fix VTS paths on 32-bit target

am: dd716c36

Change-Id: I9cfddd95ef66f2deafea39407bd6da6d48280ca6
parents 472608a6 dd716c36
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -47,12 +47,14 @@ class NfcHidlBasicTest(base_test_with_webdb.BaseTestWithWebDbClass):
            self.dut.shell.one.Execute(
                "setprop vts.hal.vts.hidl.get_stub false")

        self.dut.hal.InitHidlHal(target_type="nfc",
                                 target_basepaths=["/system/lib64"],
        self.dut.hal.InitHidlHal(
            target_type="nfc",
            target_basepaths=self.dut.libPaths,
            target_version=1.0,
            target_package="android.hardware.nfc",
            target_component_name="INfc",
                                 bits=64)
            hw_binder_service_name="nfc_nci",
            bits=64 if self.dut.is64Bit else 32)

    def tearDownClass(self):
        """Turns off the framework-layer NFC service."""
+2 −2
Original line number Diff line number Diff line
@@ -44,11 +44,11 @@ class VibratorHidlTest(base_test_with_webdb.BaseTestWithWebDbClass):

        self.dut.hal.InitHidlHal(
            target_type="vibrator",
            target_basepaths=["/system/lib64"],
            target_basepaths=self.dut.libPaths,
            target_version=1.0,
            target_package="android.hardware.vibrator",
            target_component_name="IVibrator",
            bits=64)
            bits=64 if self.dut.is64Bit else 32)

    def tearDownClass(self):
        """ If profiling is enabled for the test, collect the profiling data