OSDN Git Service

Migrate suspend HAL interactions to new suspend control AIDL.
authorSantos Cordon <santoscordon@google.com>
Wed, 30 Jan 2019 01:39:44 +0000 (01:39 +0000)
committerSantos Cordon <santoscordon@google.com>
Tue, 5 Feb 2019 18:03:12 +0000 (18:03 +0000)
commita87857e5a4183f12d37d7dfaf3e9aa02ebc9ebd6
tree9846972cd1300997a0abecafa57d35cdd081b5cd
parentcefdee854057aa6dc5ef49b0b7d0616661f57b03
Migrate suspend HAL interactions to new suspend control AIDL.

Use the new Suspend Control Service AIDL definition to communicate with
the suspend HAL instead of using the HAL interface directly.

Bug: 121210355
Test: manual - verify auto-suspend loop is still processing.
Change-Id: I61cf05a8095f9d121fafb862def8239b325a7f43
Merged-In: I61cf05a8095f9d121fafb862def8239b325a7f43
services/core/jni/Android.bp
services/core/jni/com_android_server_am_BatteryStatsService.cpp
services/core/jni/com_android_server_power_PowerManagerService.cpp