diff options
author | Steven Moreland | 2017-01-03 19:06:57 -0600 |
---|---|---|
committer | Steven Moreland | 2017-01-04 12:40:05 -0600 |
commit | b6438421923590b765905efe151e26129dce4094 (patch) | |
tree | f80ccca80838fb5e40d900165fc73d7d6c314a7f /light | |
parent | 5bf8664c7e0c6bf746d724ee1f07d98fa14f0cf2 (diff) | |
download | platform-hardware-interfaces-b6438421923590b765905efe151e26129dce4094.tar.gz platform-hardware-interfaces-b6438421923590b765905efe151e26129dce4094.tar.xz platform-hardware-interfaces-b6438421923590b765905efe151e26129dce4094.zip |
Return<*> getStatus().isOk() -> isOk()
Bug: 31348667
Test: compiles
Change-Id: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
Diffstat (limited to 'light')
-rw-r--r-- | light/2.0/vts/functional/light_hidl_hal_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/light/2.0/vts/functional/light_hidl_hal_test.cpp b/light/2.0/vts/functional/light_hidl_hal_test.cpp index 99120791..9b9f5432 100644 --- a/light/2.0/vts/functional/light_hidl_hal_test.cpp +++ b/light/2.0/vts/functional/light_hidl_hal_test.cpp | |||
@@ -36,8 +36,8 @@ using ::android::sp; | |||
36 | 36 | ||
37 | #define LIGHT_SERVICE_NAME "light" | 37 | #define LIGHT_SERVICE_NAME "light" |
38 | 38 | ||
39 | #define ASSERT_OK(ret) ASSERT_TRUE(ret.getStatus().isOk()) | 39 | #define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) |
40 | #define EXPECT_OK(ret) EXPECT_TRUE(ret.getStatus().isOk()) | 40 | #define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) |
41 | 41 | ||
42 | class LightHidlTest : public ::testing::Test { | 42 | class LightHidlTest : public ::testing::Test { |
43 | public: | 43 | public: |