Include full namespacing on asBinder calls
Change-Id: Id8a5ec411f2beb6ebd9bee6c3d377f5d3d70c4bc
Test: Updated unit tests pass
Bug: 26413068
diff --git a/generate_cpp_unittest.cpp b/generate_cpp_unittest.cpp
index 1ebc129..cb72ec1 100644
--- a/generate_cpp_unittest.cpp
+++ b/generate_cpp_unittest.cpp
@@ -173,7 +173,7 @@
if (((_aidl_ret_status) != (::android::OK))) {
goto _aidl_error;
}
-_aidl_ret_status = _aidl_data.writeStrongBinder(IFooType::asBinder(f));
+_aidl_ret_status = _aidl_data.writeStrongBinder(::foo::IFooType::asBinder(f));
if (((_aidl_ret_status) != (::android::OK))) {
goto _aidl_error;
}
@@ -449,7 +449,7 @@
if (!_aidl_status.isOk()) {
break;
}
-_aidl_ret_status = _aidl_reply->writeStrongBinder(IFooType::asBinder(_aidl_return));
+_aidl_ret_status = _aidl_reply->writeStrongBinder(::foo::IFooType::asBinder(_aidl_return));
if (((_aidl_ret_status) != (::android::OK))) {
break;
}