Change *Service::SERVICE_PORT to *Service::PORT
Turning on the new AIDL lint for redeundant prefixes causes this to be
an error in this module.
Test: m com.android.microdroid.testservice-cpp
Bug: 268551304
Change-Id: Ibd63d0392c1f3c25c6c48f7e76ef08729b749313
diff --git a/tests/benchmark/src/native/benchmarkbinary.cpp b/tests/benchmark/src/native/benchmarkbinary.cpp
index 6cfc71d..5d93b93 100644
--- a/tests/benchmark/src/native/benchmarkbinary.cpp
+++ b/tests/benchmark/src/native/benchmarkbinary.cpp
@@ -185,8 +185,8 @@
Result<void> run_io_benchmark_tests() {
auto test_service = ndk::SharedRefBase::make<IOBenchmarkService>();
auto callback = []([[maybe_unused]] void* param) { AVmPayload_notifyPayloadReady(); };
- AVmPayload_runVsockRpcServer(test_service->asBinder().get(), test_service->SERVICE_PORT,
- callback, nullptr);
+ AVmPayload_runVsockRpcServer(test_service->asBinder().get(), test_service->PORT, callback,
+ nullptr);
return {};
}
} // Anonymous namespace