diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-03-05 00:31:57 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-03-05 00:31:57 +0000 |
commit | 45db897b21385e9db4f6d1a0af6573ca649bc88b (patch) | |
tree | a75ad047780c6d0b539c4d462af4cbe40ff4a6c1 | |
parent | b0eb9b871b2a4989d13cdf33214c45c289d90640 (diff) | |
parent | 8defdbb4ef1d88ebd76e1268f4f31733f258e817 (diff) | |
download | libhwbinder-android14-release.tar.gz |
Snap for 9690662 from 8defdbb4ef1d88ebd76e1268f4f31733f258e817 to udc-releaseandroid-vts-14.0_r1android-security-14.0.0_r8android-security-14.0.0_r7android-security-14.0.0_r6android-security-14.0.0_r5android-security-14.0.0_r4android-security-14.0.0_r3android-security-14.0.0_r2android-security-14.0.0_r1android-platform-14.0.0_r7android-platform-14.0.0_r6android-platform-14.0.0_r5android-platform-14.0.0_r4android-platform-14.0.0_r3android-platform-14.0.0_r2android-platform-14.0.0_r1android-cts-14.0_r1android-14.0.0_r28android-14.0.0_r2android-14.0.0_r15android-14.0.0_r14android-14.0.0_r13android-14.0.0_r1android14-security-releaseandroid14-s2-releaseandroid14-s1-releaseandroid14-releaseandroid14-platform-release
Change-Id: I773b78652d5cdb6d4249a363a1764490f605bfe6
-rw-r--r-- | vts/performance/Benchmark_throughput.cpp | 12 | ||||
-rw-r--r-- | vts/performance/Latency.cpp | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/vts/performance/Benchmark_throughput.cpp b/vts/performance/Benchmark_throughput.cpp index d197d2d..9011ba4 100644 --- a/vts/performance/Benchmark_throughput.cpp +++ b/vts/performance/Benchmark_throughput.cpp @@ -261,12 +261,12 @@ Pipe make_service(string service_name) { pid_t pid = fork(); if (pid) { /* parent */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { /* child */ - service_fx(service_name, move(get<1>(pipe_pair))); + service_fx(service_name, std::move(get<1>(pipe_pair))); /* never get here */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } @@ -275,13 +275,13 @@ Pipe make_worker(int num, int iterations, int service_count, bool get_stub) { pid_t pid = fork(); if (pid) { /* parent */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { /* child */ worker_fx(num, iterations, service_count, get_stub, - move(get<1>(pipe_pair))); + std::move(get<1>(pipe_pair))); /* never get here */ - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } diff --git a/vts/performance/Latency.cpp b/vts/performance/Latency.cpp index 13a93ad..c63602d 100644 --- a/vts/performance/Latency.cpp +++ b/vts/performance/Latency.cpp @@ -162,14 +162,14 @@ static Pipe makeServiceProces(string service_name) { pid_t pid = fork(); if (pid) { // parent - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { threadDumpPri("service"); // child - serviceFx(service_name, move(get<1>(pipe_pair))); + serviceFx(service_name, std::move(get<1>(pipe_pair))); // never get here ASSERT(0); - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } @@ -241,14 +241,14 @@ static Pipe makeClientProcess(int num, int iterations, int no_pair) { pid_t pid = fork(); if (pid) { // parent - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } else { // child threadDumpPri("client"); - clientFx(num, no_pair, iterations, move(get<1>(pipe_pair))); + clientFx(num, no_pair, iterations, std::move(get<1>(pipe_pair))); // never get here ASSERT(0); - return move(get<0>(pipe_pair)); + return std::move(get<0>(pipe_pair)); } } |