Commit Graph

36 Commits

Author SHA1 Message Date
Luke Huang
6764eff395 Merge "Use IDnsResolver instead of INetd for resolver related binder commands" am: b9ef4dd299 am: 1711278ce2
am: ceb74821a3

Change-Id: I2d642b71df25934fddd8a1476b5d27457628b8e2
2019-03-29 02:24:24 -07:00
Luke Huang
b9ef4dd299 Merge "Use IDnsResolver instead of INetd for resolver related binder commands" 2019-03-29 08:45:19 +00:00
Luke Huang
6591477a5b Use IDnsResolver instead of INetd for resolver related binder commands
migrate resolver related commands from INetd to IDnsResolver

Bug: 126141549
Test: atest FrameworksNetTests ConnectivityServiceTest Nat464XlatTest
      atest DnsManagerTest
Change-Id: I559c0c1304d53dde408c062e1a52e742595e7cbe
2019-03-27 17:39:07 +08:00
Siarhei Vishniakou
4dfa47054e Move tag definitions into policy
Currently, the tags are defined in system/core.
Instead, reserve a range in system/core and define the tags in policy.

Next, we add a flag for interceptKeyBeforeQueueing.

Bug: 128933363
Test: adb logcat -b events, turn on screen, then press power button and
observe the logs.

Change-Id: I1fde2a2e7451ec67987ad3b09abc28be64410427
2019-03-26 12:56:08 -07:00
Siarhei Vishniakou
6f87741272 Move tag definitions into policy
Currently, the tags are defined in system/core.
Instead, reserve a range in system/core and define the tags in policy.

Next, we add a flag for interceptKeyBeforeQueueing.

Bug: 128933363
Test: adb logcat -b events, turn on screen, then press power button and
observe the logs.

Change-Id: I1fde2a2e7451ec67987ad3b09abc28be64410427
Merged-In: I1fde2a2e7451ec67987ad3b09abc28be64410427
2019-03-26 12:46:58 -07:00
Marco Nelissen
ec7ed1c990 Remove support for updatable media components in apk
Bug: 123250010
Test: boot, play video
Change-Id: I95f8d28cdb4ce0bef04711ba0e9322fe8bfd79d9
2019-02-04 16:02:35 +00:00
Peter Kalauskas
9590e009e9 Merge "Update android.hidl.manager-V1.0-java to V1.2" am: b9e216c2b6 am: e20b0fb677
am: d9c2837cad

Change-Id: Icf8910e23129481daa2ad9f5b42f0828ebe5b6d3
2019-01-31 14:39:43 -08:00
Peter Kalauskas
b9e216c2b6 Merge "Update android.hidl.manager-V1.0-java to V1.2" 2019-01-31 22:05:47 +00:00
Peter Kalauskas
65589e9563 Update android.hidl.manager-V1.0-java to V1.2
Test: Manual
Bug: 123307146
Change-Id: I8dcd291c187af2cb20fd9a8f09bd55e75a2762e1
2019-01-31 21:40:12 +00:00
Howard Chen
f17f42b0df Add the DynamicAndroid Service
Define the DynamicAndroid with AIDL.
  Add a java implementation.
  Start a service instance in the system server.
  Add a permission test.

Bug: 122015653
Test: Build & Test on a pixel phone with following command \
  ./frameworks/base/services/tests/runtests.py -e class com.android.server.DynamicAndroidTest

Merged-In: I2e54b6b71fac4a4c5a9c9c25ce6bdac74cddcfb7
Change-Id: I2e54b6b71fac4a4c5a9c9c25ce6bdac74cddcfb7
2019-01-31 15:10:21 +08:00
Howard Chen
0a94764738 Add the DynamicAndroid Service
Define the DynamicAndroid with AIDL.
  Add a java implementation.
  Start a service instance in the system server.
  Add a permission test.

Bug: 122015653
Test: Build & Test on a pixel phone with following command \
  ./frameworks/base/services/tests/runtests.py -e class com.android.server.DynamicAndroidTest

Change-Id: I2e54b6b71fac4a4c5a9c9c25ce6bdac74cddcfb7
2019-01-31 14:19:34 +08:00
Lorenzo Colitti
9dfc3c1b45 Merge changes from topic "netd-event-listener-aidl" am: 481251a0c2 am: 379029671a
am: 94cffb3a6c

Change-Id: I2b30cac46eb96e3a0425088f516176ce5ac4fd28
2018-12-11 23:13:42 -08:00
Lorenzo Colitti
31324cb4b2 Depend on the stable AIDL version of the netd metrics interface.
We used to include the AIDL file directly, but that does not
provide useful features such as getVersion() support and is
generally not the preferred approach.

Test: builds, boots
Test: atest FrameworksNetTests android.net.cts.ConnectivityManagerTest
Change-Id: I7ca56e4b440dc2321f5a7b77bac630a48e69100a
2018-12-12 01:03:55 +09:00
Luke Huang
e405415a62 Merge "Migrate INetd to stable aidl" am: 9677dde14a am: ef6b675a8c
am: c2126e2008

Change-Id: I9866b431cd5ddeb318e164fc2a897537a3a7a88d
2018-12-10 03:00:58 -08:00
Luke Huang
734c4cea3c Migrate INetd to stable aidl
Del the linking of old lib file and add new one.

Test: runtest frameworks-net passes
Change-Id: I7258f7c51718ff5f07e7bfe301b6c5f242b9da5a
2018-12-07 10:40:45 +00:00
Luke Huang
2ef88d1875 Move netd related file group to the end for avoiding conflict
This patch should change no functionality.

Test: builded pass
Change-Id: I8161a9a365c6bfcd92f4b7a8fd641ad3a483d09c
Merged-In: If3e387ae9fcc22da7a4feca30c20391e5b236728
2018-12-07 05:33:18 +00:00
Luke Huang
11937a9238 Move netd related file group to the end for avoiding conflict
This patch should change no functionality.

Test: builded pass
Change-Id: If3e387ae9fcc22da7a4feca30c20391e5b236728
2018-12-07 11:51:40 +08:00
Anton Hansson
b27f0fa222 Add gps_debug.conf module
Copy the gps_debug.conf from the device-specific folders to
a place closer to the code that uses it.

Bug: 112879252
Bug: 120066492
Test: make
Change-Id: I937e699cb9e891c511ca7b9f4740d45e19668c54
Merged-In: I937e699cb9e891c511ca7b9f4740d45e19668c54
Exempt-From-Owner-Approval: cp from internal
(cherry picked from commit 11905c6b2c)
2018-11-29 09:48:44 +00:00
Anton Hansson
11905c6b2c Add gps_debug.conf module
Copy the gps_debug.conf from the device-specific folders to
a place closer to the code that uses it.

Bug: 112879252
Bug: 120066492
Test: make
Change-Id: I937e699cb9e891c511ca7b9f4740d45e19668c54
2018-11-27 21:36:03 +00:00
Mårten Kongstad
06a1ac8229 Prepare for switch to idmap2
Prepare the idmap and asset managers for interfacing with idmap2 instead
of today's installd + idmap pipeline, but don't make the switch just
yet.

Instead, idmap2 runs as its own native daemon with an AIDL interface.
This removes the need for installd to fork and exec on each idmap call,
saving about 50 ms per call.

Bug: 78815803
Test: atest OverlayDeviceTests OverlayHostTests
Change-Id: I60852e15d99329896ff9de6559d1e7cd1c67e33d
2018-11-12 13:24:33 -08:00
Wale Ogunwale
db485dec8b Don't use WMS.mWindowMap to synchronize WM critical section (36/n)
Use new field WMS.mGlobalLock instead. This will make it easier to
switch the lock to the same object used by ActivityTaskManagerService
in an upcoming CL.

Test: Existing tests pass
Bug: 80414790
Change-Id: I4202e9028395d79cc60b01ed795528b469a16bf1
2018-11-04 01:26:51 +00:00
Nandana Dutt
d1773d6459 Merge "Add DumpstateOptions java implementation" am: 52502ef1a1 am: 8a9f23c8a1
am: 1d1184cf83

Change-Id: I556407ee455b92e3bae34dfa603e159b99f45080
2018-10-12 11:21:26 -07:00
Nandana Dutt
b3f7168136 Add DumpstateOptions java implementation
DumpstateOptions will be used to pass options to Dumpstate service
for specifying arguments for taking bugreports.

Test: m
Test: adb bugreport

Change-Id: I4dc9511f0be2f86239ea9094a3c527b6ce0d1d41
2018-10-11 17:05:35 +01:00
Luke Huang
f33cfcf50d Merge "Refactor tetherGetStats by using stable aidl structure" am: 335253df0f am: f81dce0f79
am: 7ec816b07c

Change-Id: Id3d6e57c10afb06271228b59a40cec91edaed7e4
2018-10-11 00:38:42 -07:00
Luke Huang
13b79e83aa Refactor tetherGetStats by using stable aidl structure
Use stable aidl structure instead of persistbundle

Test: runtest frameworks-net passes
Test: manual testing of tetherGetStats function works

Change-Id: I6835541d450446ba7993ac9f5b783d34229b79cb
2018-10-04 16:24:44 +08:00
Steven Moreland
9fb99abd78 Merge "services.core.unboosted: hidl manager->static_libs" into stage-aosp-master am: 3c6186c474
am: 39f3c39e74

Change-Id: I7821306a1a8f09511459a716305fbe1da1d83d91
2018-06-26 14:29:25 -07:00
Steven Moreland
1f58a288e7 services.core.unboosted: hidl manager->static_libs
Bug: 77307025
Test: boot device w/o hidl libs on boot classpath, no loading
  error

Change-Id: Iae2b0015a29de71c22e6bc31004613bbf4ca971b
2018-06-26 16:07:22 +00:00
Kevin Chyn
55a5b59a9b 3/n: Add face HIDL to build
Test: builds

Bug: 110385761
Change-Id: Id2345eb934158cdf2d1dc8ee32ba9e9a595a54a1
2018-06-19 19:27:05 -07:00
Andrew Scull
e6527c1285 Make us of the authsecret HAL.
Derive a secret from the primary user's synthetic password and pass it
to the HAL.

Bug: 71527305
Test: runtest frameworks-services -p com.android.server.locksettings
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy

Change-Id: If3ed5d56375e9fd81fcbb16b172e908804fd568a
2018-01-19 15:01:44 +00:00
Dongwon Kang
569da9ff5a Add MediaUpdateService in SystemServer
Test: play mp4 file and install & uninstall media update apk.
Bug: 67908547
Change-Id: I17f91a85994da9a43e08734f7e79311bee62eab1
2018-01-12 18:02:49 -08:00
Tomasz Wasilczyk
e4bdecc97d Merge changes from topic "radio-2.0"
* changes:
  Move HAL 1.x related service to its own directory.
  Initial implementation of HAL 2.0 counterpart for radio service.
2017-12-14 21:57:14 +00:00
Tomasz Wasilczyk
d65b3ca029 Initial implementation of HAL 2.0 counterpart for radio service.
Test: KitchenSink
Bug: 69958777
Change-Id: I7c697af76114e8c5d158ca592d2711b980101d60
2017-12-14 13:01:11 -08:00
Colin Cross
9933afb1f7 Merge "Make services.core the final priorityboosted jar" am: a0c1780d3c am: 93de069ec9
am: ff6fcaec0b

Change-Id: I6ba33f829ed72ee799b4855021ba1f136ea49bd4
2017-12-13 20:55:23 +00:00
Colin Cross
4c0b06b7ed Make services.core the final priorityboosted jar
Other module besides services depend on services.core, and after
I417409281c928ea667d937090d2a0d9d72a449a2 they were getting
the non-priorityboosted version of the jar.  Make services.core
a java_library that contains the output of the priorityboosting
java_genrule.

Test: m services
Change-Id: Ic9ca1b8f43f87b0d7d36b53bbc5136a331490c3e
2017-12-12 19:43:04 -08:00
Colin Cross
eb652a47a1 Convert services to Android.bp
See build/soong/README.md for more information.

Test: m checkbuild
Change-Id: I417409281c928ea667d937090d2a0d9d72a449a2
Merged-In: I417409281c928ea667d937090d2a0d9d72a449a2
Exempt-From-Owner-Approval: trivial conversion
(cherry-picked from commit e0b2ee52d2)
2017-12-12 23:22:25 +00:00
Colin Cross
e0b2ee52d2 Convert services to Android.bp
See build/soong/README.md for more information.

Test: m checkbuild
Exempt-From-Owner-Approval: trivial conversion
Change-Id: I417409281c928ea667d937090d2a0d9d72a449a2
2017-12-08 21:00:15 +00:00