release-request-fca2b5ac-03eb-4055-a549-b4fc2b292b64-for-git_oc-release-4049993 snap-temp-L04900000068539456
Change-Id: Iecd53b6aeefcb7cd264fbb86030cfa35c223da67
diff --git a/vts/performance/Benchmark.cpp b/vts/performance/Benchmark.cpp
index 4601a0b..4068903 100644
--- a/vts/performance/Benchmark.cpp
+++ b/vts/performance/Benchmark.cpp
@@ -106,6 +106,8 @@
}
int main(int argc, char* argv []) {
+ setenv("TREBLE_TESTING_OVERRIDE", "true", true);
+
enum HwBinderMode {
kBinderize = 0,
kPassthrough = 1,
diff --git a/vts/performance/Benchmark_throughput.cpp b/vts/performance/Benchmark_throughput.cpp
index e50418b..42c1c6f 100644
--- a/vts/performance/Benchmark_throughput.cpp
+++ b/vts/performance/Benchmark_throughput.cpp
@@ -297,6 +297,8 @@
}
int main(int argc, char *argv[]) {
+ setenv("TREBLE_TESTING_OVERRIDE", "true", true);
+
enum HwBinderMode {
kBinderize = 0,
kPassthrough = 1,
diff --git a/vts/performance/Latency.cpp b/vts/performance/Latency.cpp
index c8edbca..7c99eb3 100644
--- a/vts/performance/Latency.cpp
+++ b/vts/performance/Latency.cpp
@@ -386,6 +386,8 @@
// The difference is sch-dbg tests binder transaction and this one test
// HwBinder transaction.
int main(int argc, char** argv) {
+ setenv("TREBLE_TESTING_OVERRIDE", "true", true);
+
vector<Pipe> client_pipes;
vector<Pipe> service_pipes;