This allows benchmarking system server when not sitting at the device. To use it, launch the NonInteractiveSystemServerBenchmarkActivity and then wait awhile. The benchmark results will be available at /sdcard/Android/data/com.android.startop.test/files/benchmark.csv Change-Id: If7697657228f6e631846fdb79a5a5acfdaf7fe65
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
//
|
|
// Copyright (C) 2019 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
//
|
|
|
|
android_app {
|
|
name: "startop_test_app",
|
|
srcs: [
|
|
"src/ComplexLayoutInflationActivity.java",
|
|
"src/CPUIntensive.java",
|
|
"src/EmptyActivity.java",
|
|
"src/FrameLayoutInflationActivity.java",
|
|
"src/LayoutInflationActivity.java",
|
|
"src/NonInteractiveSystemServerBenchmarkActivity.java",
|
|
"src/SystemServerBenchmarkActivity.java",
|
|
"src/SystemServerBenchmarks.java",
|
|
"src/TextViewInflationActivity.java",
|
|
],
|
|
sdk_version: "26", // Android O (8.0) and higher
|
|
}
|