Commit graph

8 commits

Author SHA1 Message Date
Tri Vo
f8398ee24c Remove libsuspend from VNDK.
Only platform should ever have access to libsuspend

Test: presubmit
Change-Id: I5d58aeb98d5e777d81d4d65f7a62fe2fb50a72d4
2018-08-14 13:39:55 -07:00
Steve Paik
d5dc807475 Fix logging in libsuspend
ALOGV --> LOG(VERBOSE)
ALOGE --> PLOG(ERROR)

Also cpp-ify file handling

Bug: 70669809
Test:  Logs work
Change-Id: Idbaf3dccb495cdcd11f411c70784d19d1faa13a5
2018-01-08 13:35:35 -08:00
Steve Paik
db88774631 Convert autosuspend_wakeup_count.c to cpp
Change this file to cpp before cleaning it up.

Bug: 70669809
Test:  Suspend works
Change-Id: Ice927dbb205447a94f33b417e32f7c2cd79613eb
2017-12-20 17:02:31 -08:00
Justin Yun
6a7e882316 Mark the modules as VNDK in Android.bp
As a VNDK module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.

The 'vndk' tag for VNDK module is formated as below:
vndk: {
        enabled: true,
},

VNDK modules will be installed both in system/lib(64) as normal and
in system/lib(64)/vndk as a vendor variant.

Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Merged-In: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
Change-Id: Icecb22ed2ed0f58c3168605d4cf64815e2dda750
(cherry picked from commit 9b0ed72942)
2017-09-14 08:35:16 +00:00
Jayant Chowdhary
e9a9a28e4c Merge "Mark libsuspend vendor_available." am: 6e2d24ab5a am: 1c8e482995
am: 89fc3a6525

Change-Id: I77469e8a33fcee1eeba37ceebbb39ccfc0a047c3
2017-05-25 17:29:13 +00:00
Jayant Chowdhary
e37259ec8b Mark libsuspend vendor_available.
libsuspend belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I2243c6d8710b6b2f80375849e82afba28a735507
2017-05-24 14:44:30 -07:00
Tim Murray
021d60be98 libsuspend: remove autosleep and earlysuspend
autosleep and earlysuspend are long-deprecated, so remove them to make
libsuspend slightly more comprehensible.

Test: builds and still suspends on marlin

bug 32621856

Change-Id: I66a904c3fce0111fb5e9d1ab9d205c97617ae210
2016-11-02 15:49:56 -07:00
Dan Willemsen
45f05240c2 Convert more Android.mk files to Android.bp
These modules have their dependencies satisfied, and aren't doing
anything strange.

Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
2016-07-13 17:41:45 -07:00