summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:22:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:22:02 +0000
commit4a4499ec9120b55ea238bfa1ad1169e81ce9caa8 (patch)
treea75ad047780c6d0b539c4d462af4cbe40ff4a6c1
parent5a0a5abca1925ab04da9df7a987180e9daed3014 (diff)
parent1b6ff55c18b2fcfa6fa1ad2dcc2003b2252a739b (diff)
downloadlibhwbinder-android14-mainline-sdkext-release.tar.gz
Snap for 10453563 from 1b6ff55c18b2fcfa6fa1ad2dcc2003b2252a739b to mainline-sdkext-releaseaml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: I2a3a4ec6d1b50d467590deb59e946f7c44c5ba02
-rw-r--r--Android.bp10
-rw-r--r--IPCThreadState.cpp2
-rw-r--r--vts/performance/Benchmark_throughput.cpp12
-rw-r--r--vts/performance/Latency.cpp12
4 files changed, 22 insertions, 14 deletions
diff --git a/Android.bp b/Android.bp
index 1ca91b3..8eee93b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -132,7 +132,7 @@ cc_library_static {
apex_available: [
"//apex_available:platform",
"com.android.neuralnetworks",
- "com.android.bluetooth",
+ "com.android.btservices",
"com.android.media",
"com.android.media.swcodec",
"com.android.tethering",
@@ -150,4 +150,12 @@ cc_defaults {
},
},
},
+ arch: {
+ // TODO(b/254713216): undefined symbol in BufferedTextOutput::getBuffer
+ riscv64: {
+ lto: {
+ thin: false,
+ },
+ },
+ },
}
diff --git a/IPCThreadState.cpp b/IPCThreadState.cpp
index aa050fc..8631644 100644
--- a/IPCThreadState.cpp
+++ b/IPCThreadState.cpp
@@ -1147,7 +1147,7 @@ status_t IPCThreadState::executeCommand(int32_t cmd)
tr.offsets_size/sizeof(binder_size_t), freeBuffer, this);
const void* origServingStackPointer = mServingStackPointer;
- mServingStackPointer = &origServingStackPointer; // anything on the stack
+ mServingStackPointer = __builtin_frame_address(0);
const pid_t origPid = mCallingPid;
const char* origSid = mCallingSid;
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));
}
}