Commit Graph

25 Commits

Author SHA1 Message Date
Jim Miller
163c7d3f0d Link framework with static library to satisfy javac build dependency
The build dependency works for Jack, but not for javac.
The fix is to include a static library in LOCAL_STATIC_JAVA_LIBRARIES.

Test: compiles with no errors for the fast build target, fingerprint work on device.

Fixes bug 34352319

Change-Id: I23ed5b3be4e60aca85dc1e33bbbc3156bee57c1d
2017-01-17 15:05:52 -08:00
Jim Miller
40e4645e6e Rewrite FingerprintService to use HIDL 2.1
Bug: 33199080
Test: Fingerprint enroll, remove, unlock, fingerprint arbitration.

Change-Id: I8b98236ba81f053527ee74c8a189af1adfd17d55
2017-01-17 11:45:41 -08:00
Neil Fuller
505d8262ab resolve merge conflicts of 46c39f6c36 to master
Change-Id: Ica5ee627b6884800ad3be172f5d2d10b6ba02052
2017-01-11 16:15:13 +00:00
Neil Fuller
01c003a2eb Switch ConfigUpdater to the new version of timezone updater code
This switches to the updater2 version that uses a different bundle
format and more thought given to versioning. The new version also
inspects some of the files in the bundle to make sure they are
valid.

Test: Manual testing
Bug: 31008728
Change-Id: I4e68ebd11dd86caa31ec520528c938f8c29eae4a
2017-01-04 16:16:21 +00:00
Jeff Sharkey
0dd0dafdb9 Merge "Initial Binder interface for installd." am: 19fc36fa33 am: 2ab7bff525 am: 48eb4e390e
am: 043c4c575c

Change-Id: I49ba073ba2c955dd3467303bdf9f7ab14eb5ba71
2016-12-06 00:42:18 +00:00
Jeff Sharkey
2ab7bff525 Merge "Initial Binder interface for installd."
am: 19fc36fa33

Change-Id: I22e910b705327eafa5c158ec43d6d86eb0b429d0
2016-12-06 00:23:56 +00:00
Jeff Sharkey
70b4d101fe Initial Binder interface for installd.
Start using new installd Binder interface, with a quick-disable
switch if something breaks.

Test: builds, boots
Bug: 13758960, 30944031
Change-Id: Ia6e55d49595c96ae928aefc8a6606ee690e58764
2016-12-05 11:47:21 -07:00
Donghyun Cho
bc6e372b25 tv.cec: Update framework code to call Treble HAL
Bug: 32073236
Test: Checked CEC features works on fugu after applying Treble HAL
Change-Id: I26df037594e2505bd8f2d2bb6222cba5ddca2906
2016-11-08 14:12:03 +09:00
Glen Kuhne
0719940ce4 Move ipconnectivity.proto to services-proto.jar
Moved ipconnectivity.proto from services.core.jar to
framework-protos.jar.
Replaced 'mergeFrom' MessageNano base class calls, with 'parseFrom'
IpConnectivityLog calls.

This solves an issue where the services.jar would conflict with
duplicate nano proto base class definitions in other .jars
(wifi-service.jar).

Bug: 32261442
Test: Existing unit tests pass
Change-Id: I49100935fcae2e85e12eaa7f3462864f3a340b97
2016-10-26 10:18:46 -07:00
Steven Moreland
8b9ec4fa0b Updating light service for hidl.
Bug: 32022100
Test: end to end
Change-Id: I3c35551ffbbd272df4291f74455ba9562373f517
2016-10-12 16:14:42 -07:00
Ruchi Kandoi
0d43404a07 power: PowerHAL support for HIDL interfaces.
Bug: 31177288
Change-Id: I3ce5a71958f47d26855513cf7523922e80dd25d2
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-10-10 14:10:09 -07:00
Hugo Benichi
7b6171821d Add ipconnectivity.proto to services jar am: 50a84c6210
am: 446a3847b4

Change-Id: I1fc947f98715a7a352753d85cd4ef4970be2b027
2016-09-23 00:18:31 +00:00
Hugo Benichi
50a84c6210 Add ipconnectivity.proto to services jar
This patch moves ipconnectivity.proto and companion serialization
classes from /vendor/google/app/ConnectivityMetrics into the framework
services jar.

This will allow to implement a dumpsys interface for IpConnectivity
metrics events defined in android.net.metrics that output metrics as
a serialized proto.

Bug: 31254800
Change-Id: Ia4449103fd7222c9d899352fea2dce47a790a49c
2016-09-22 22:21:41 +09:00
Michal Karpinski
cc6b37d9e2 Rename the DnsEventListenerService to NetdEventListenerService
The service will be extended to include listening for connect events as well.

Test: this is just a renaming change

Bug: 29748723
Change-Id: I4e50e24d1bfb0b5ead4010cc7df3434d38b753d8
2016-09-21 16:17:26 +09:00
Alan Leung
880721b38b Enable boost-locked-region-priority
Enable jack.transformations.boost-locked-region-priority compiler pass
that had shown to increase performance in AmSlam by 10% or so.

bug: 28610549
Change-Id: If1b76787acd272882647ede7e831cb1ba376e578
2016-05-19 08:27:19 +00:00
Robin Lee
c6184685d8 Merge "Move UidRange aidl declaration to system/netd" into nyc-dev 2016-04-19 19:19:43 +00:00
Robin Lee
106069412d Move UidRange aidl declaration to system/netd
Which owns the native UidRange.cpp, so it makes more sense for the
declaration to live there since frameworks/base depends on netd but not
vice versa.

Bug: 26694104
Change-Id: I0efda77713ee6f0ec8070fb0e09a694b95f6cd25
2016-04-18 15:26:47 +01:00
Lorenzo Colitti
43724734d7 Metrics logging for DNS queries.
Bug: 28204408
Change-Id: I05fc9b580aa20d99e8766057e17a38b5eb6267e8
2016-04-15 16:54:39 +09:00
Lorenzo Colitti
58967baff3 Use native netd binder interface in NetworkManagementService.
Bug: 27239233
Change-Id: Idf0cfee82ec5007fde0237d944ab0c2b53ff4a7b
2016-03-17 17:47:23 +09:00
Jorim Jaggi
7bd633e275 Incremental local builds for services
If INCREMENTAL_BUILDS is set to true. Speeds up incremental builds
by about 30%.

Change-Id: Ib0b385357e6e77e3596348e321d25944eef49bdb
2016-01-29 04:03:27 +00:00
Lorenzo Colitti
8bf977d562 ConnectivityManager API for for packet keepalives.
Bug: 21405946
Change-Id: Ie1f8f8bee684fe2bb1092a9f1bc9f5dc29b1defc
2015-07-18 17:00:13 +00:00
Neil Fuller
cea283535c resolved conflicts for merge of 962a11ad to master
Change-Id: I8c6ac62d7267629c019997bb343d863aa56264eb
2015-03-31 11:15:39 +01:00
Neil Fuller
5a680f2e27 An updater for all timezone data on a device
The existing one, being deleted here, did not work properly: it only
updated the file used by libcore and bionic, it did not update the ICU
data.

Most of the installation logic exists in code in libcore/tzdata that is
independent of the server code so that it can be tested.

Bug: 19941636
Change-Id: Id0985f8c5be2f12858ee8bf52acf52bdb2df8741
2015-03-26 15:16:32 +00:00
Jorim Jaggi
b10e33ff80 Split up android.policy into framework.jar and services.jar 1/3
Change-Id: Ifd69f1f3dd308a7e17a1442e2f3950da8b03cec4
2015-02-10 14:56:02 +01:00
Adam Lesinski
898c13df7b Check feature bits before loading optional services
At startup, we check with PackageManager whether a system service is
available before attempting to load it. A system service is available
if its associated feature (similar to hardware features) is present.
This does not remove unavailable services from the compiled jar.

Change-Id: I13571805083aa4e65519a74acb52efd17b9fb3d7
2014-02-05 19:26:40 +00:00