clang-format many files.
Test: Format-only changes; treehugger suffices.
Change-Id: I23cde3f0bbcac13bef555d13514e922c79d5ad48
diff --git a/Benchmark.cpp b/Benchmark.cpp
index dfe3366..7fbf92e 100644
--- a/Benchmark.cpp
+++ b/Benchmark.cpp
@@ -28,8 +28,8 @@
#include <thread>
-#include <sys/time.h>
#include <sys/resource.h>
+#include <sys/time.h>
#include <unistd.h>
using android::base::ReadFileToString;
@@ -50,12 +50,12 @@
// RAII class for boosting device performance during benchmarks.
class PerformanceBoost {
-private:
+ private:
int orig_prio;
int orig_ioprio;
IoSchedClass orig_clazz;
-public:
+ public:
PerformanceBoost() {
errno = 0;
orig_prio = getpriority(PRIO_PROCESS, 0);
@@ -87,8 +87,8 @@
};
static status_t benchmarkInternal(const std::string& rootPath,
- const android::sp<android::os::IVoldTaskListener>& listener,
- android::os::PersistableBundle* extras) {
+ const android::sp<android::os::IVoldTaskListener>& listener,
+ android::os::PersistableBundle* extras) {
status_t res = 0;
auto path = rootPath;
@@ -179,7 +179,7 @@
}
void Benchmark(const std::string& path,
- const android::sp<android::os::IVoldTaskListener>& listener) {
+ const android::sp<android::os::IVoldTaskListener>& listener) {
std::lock_guard<std::mutex> lock(kBenchmarkLock);
acquire_wake_lock(PARTIAL_WAKE_LOCK, kWakeLock);