diff options
author | Steven Moreland <smoreland@google.com> | 2017-01-03 17:06:57 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-01-04 10:40:05 -0800 |
commit | b6438421923590b765905efe151e26129dce4094 (patch) | |
tree | f80ccca80838fb5e40d900165fc73d7d6c314a7f /light | |
parent | 5bf8664c7e0c6bf746d724ee1f07d98fa14f0cf2 (diff) | |
download | android_hardware_interfaces-b6438421923590b765905efe151e26129dce4094.tar.gz android_hardware_interfaces-b6438421923590b765905efe151e26129dce4094.tar.bz2 android_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 99120791f..9b9f54325 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; #define LIGHT_SERVICE_NAME "light" -#define ASSERT_OK(ret) ASSERT_TRUE(ret.getStatus().isOk()) -#define EXPECT_OK(ret) EXPECT_TRUE(ret.getStatus().isOk()) +#define ASSERT_OK(ret) ASSERT_TRUE(ret.isOk()) +#define EXPECT_OK(ret) EXPECT_TRUE(ret.isOk()) class LightHidlTest : public ::testing::Test { public: |