Andy Yu 42842fda3e Refactoring GameManagerServiceShellCommand
- Refactoring cmdline command to set and reset
- create setfps function and jni call
- create fps bookkeeping logic
- create coresponding tests

BUG: b/204322816
Test: atest GameManagerServiceTests

Change-Id: I0cd71546b91f799a7969653401e284bdda059ec3
2022-01-12 18:56:34 -08:00

55 lines
1.4 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
cc_library_shared {
name: "libmockingservicestestjni",
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
"-Wthread-safety",
],
srcs: [
":lib_cachedAppOptimizer_native",
":lib_gameManagerService_native",
"onload.cpp",
],
include_dirs: [
"frameworks/base/libs",
"frameworks/native/services",
"frameworks/native/libs/math/include",
"frameworks/native/libs/ui/include",
"system/memory/libmeminfo/include",
],
shared_libs: [
"libandroid",
"libandroid_runtime",
"libbase",
"libbinder",
"libgralloctypes",
"libgui",
"libhidlbase",
"liblog",
"libmeminfo",
"libnativehelper",
"libprocessgroup",
"libutils",
"android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0",
"android.hardware.graphics.common@1.2",
"android.hardware.graphics.common-V3-ndk",
"android.hardware.graphics.mapper@4.0",
"android.hidl.token@1.0-utils",
],
}