summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Phoenix2017-01-20 16:00:22 -0600
committerChris Phoenix2017-01-20 20:34:13 -0600
commiteb1cdbb6220b74c2949023a0b108aa87a6772bd0 (patch)
treeb1ddb170ed5d90b74cc02a943d71525afee73ac9
parentcd912948cf37642400107963c562cf278562c129 (diff)
downloadplatform-hardware-interfaces-eb1cdbb6220b74c2949023a0b108aa87a6772bd0.tar.gz
platform-hardware-interfaces-eb1cdbb6220b74c2949023a0b108aa87a6772bd0.tar.xz
platform-hardware-interfaces-eb1cdbb6220b74c2949023a0b108aa87a6772bd0.zip
bootctrl HAL uses "default" service name
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: Idadbd59b3194a6b54e91a4beb9e295e1d00bc237
-rw-r--r--boot/1.0/vts/functional/boot_hidl_hal_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/1.0/vts/functional/boot_hidl_hal_test.cpp b/boot/1.0/vts/functional/boot_hidl_hal_test.cpp
index 3413a93c..36142dff 100644
--- a/boot/1.0/vts/functional/boot_hidl_hal_test.cpp
+++ b/boot/1.0/vts/functional/boot_hidl_hal_test.cpp
@@ -35,7 +35,7 @@ using ::android::sp;
35class BootHidlTest : public ::testing::Test { 35class BootHidlTest : public ::testing::Test {
36 public: 36 public:
37 virtual void SetUp() override { 37 virtual void SetUp() override {
38 boot = IBootControl::getService("bootctrl"); 38 boot = IBootControl::getService();
39 ASSERT_NE(boot, nullptr); 39 ASSERT_NE(boot, nullptr);
40 } 40 }
41 41