• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1java_library_static {
2    name: "services.core.unboosted",
3
4    aidl: {
5        include_dirs: [
6            "frameworks/native/aidl/binder",
7            "system/core/storaged/binder",
8            "system/netd/server/binder",
9            "system/vold/binder",
10        ],
11    },
12    srcs: [
13        "java/**/*.java",
14        ":netd_aidl",
15        ":netd_metrics_aidl",
16        ":installd_aidl",
17        ":storaged_aidl",
18        ":vold_aidl",
19        ":mediaupdateservice_aidl",
20        "java/com/android/server/EventLogTags.logtags",
21        "java/com/android/server/am/EventLogTags.logtags",
22    ],
23
24    libs: [
25        "services.net",
26        "android.hardware.light-V2.0-java",
27        "android.hardware.power-V1.0-java",
28        "android.hardware.tv.cec-V1.0-java",
29        "android.hidl.manager-V1.0-java",
30    ],
31
32    static_libs: [
33        "time_zone_distro",
34        "time_zone_distro_installer",
35        "android.hardware.authsecret-V1.0-java",
36        "android.hardware.broadcastradio-V2.0-java",
37        "android.hardware.health-V1.0-java",
38        "android.hardware.health-V2.0-java",
39        "android.hardware.weaver-V1.0-java",
40        "android.hardware.biometrics.fingerprint-V2.1-java",
41        "android.hardware.oemlock-V1.0-java",
42        "android.hardware.tetheroffload.control-V1.0-java",
43        "android.hardware.vibrator-V1.0-java",
44        "android.hardware.configstore-V1.0-java",
45        "android.hardware.contexthub-V1.0-java",
46    ],
47}
48
49java_genrule {
50    name: "services.core.priorityboosted",
51    srcs: [":services.core.unboosted"],
52    tools: ["lockedregioncodeinjection"],
53    cmd: "$(location lockedregioncodeinjection) " +
54        "  --targets \"Lcom/android/server/am/ActivityManagerService;,Lcom/android/server/wm/WindowHashMap;\" " +
55        "  --pre \"com/android/server/am/ActivityManagerService.boostPriorityForLockedSection,com/android/server/wm/WindowManagerService.boostPriorityForLockedSection\" " +
56        "  --post \"com/android/server/am/ActivityManagerService.resetPriorityAfterLockedSection,com/android/server/wm/WindowManagerService.resetPriorityAfterLockedSection\" " +
57        "  -o $(out) " +
58        "  -i $(in)",
59    out: ["services.core.priorityboosted.jar"],
60}
61
62java_library {
63    name: "services.core",
64    static_libs: ["services.core.priorityboosted"],
65}
66