Commit Graph

443 Commits

Author SHA1 Message Date
Kenny Root
61fd360f50 Add ADB transport skeleton
This adds the AIDL definition for ADB transports. For instance USB is
one type of ADB transport and the only one supported now.

Bug: 63820489
Test: make
Change-Id: Id422a814567021ab4b1097c2792a95c42bfccf74
2018-10-31 16:11:01 +09:00
Kenny Root
f74bfdee01 Add empty AdbService to SystemServer
Create skeleton service to migrate functions from UsbService in later
change.

Bug: 63820489
Test: make
Change-Id: I07672fe87cfae188fe77c173fc49119e182c6b05
2018-10-31 16:11:01 +09:00
Colin Cross
b7fddfc6a6 Merge "Convert statsd and incidentd to Android.bp" 2018-10-30 23:28:28 +00:00
Colin Cross
bc2dc31c4d Convert statsd and incidentd to Android.bp
See build/soong/README.md for more information.

Fixes: 110563449
Test: m checkbuild
Change-Id: I8c80878cec46c9299234c6f4c1e0e19efc0a221e
2018-10-30 13:30:23 -07:00
TreeHugger Robot
64f878e0a9 Merge "Add RoleManager into the system." 2018-10-30 10:03:39 +00:00
Hai Zhang
b777668584 Add RoleManager into the system.
A role is a unique name within the system associated with certain
privileges. There can be multiple applications qualifying for a role,
but only a subset of them can become role holders. To qualify for a
role, an application must meet certain requirements, including
defining certain components in its manifest. Then the application will
need user consent to become the role holder.

Upon becoming a role holder, the application may be granted certain
privileges that are role specific. When an application loses its role,
these privileges will also be revoked.

Bug: 110557011
Test: build
Change-Id: Icd453a3b032857a8fd157048de8b9609f04e28b8
2018-10-27 11:14:32 -07:00
Amit Mahajan
5af89dfbd5 Merge "Initial RCS CL." 2018-10-19 23:40:29 +00:00
Neil Fuller
2a74c36d3e Remove explicit dependencies on core library
These dependencies appear not to be necessary.

Test: make api-stubs-docs-update-current-api and inspect api/current.txt
Bug: 113148576
Change-Id: If363aa99c8e230c0d63db6677241eb152a5b8fec
2018-10-18 23:19:46 +01:00
Nan Zhang
2024cd8baa Merge "Enable lint_as_errors for frameworks/base docs" am: 6622d0957d am: dd298a4b0f
am: be558d6e58

Change-Id: I088ded6935705e1d6dadda7cd922bd84f0ff2299
2018-10-12 19:14:57 -07:00
Nan Zhang
be558d6e58 Merge "Enable lint_as_errors for frameworks/base docs" am: 6622d0957d
am: dd298a4b0f

Change-Id: I0aa3f754d172c4d07c55cc04cac03744b9183e58
2018-10-12 19:00:45 -07:00
Nan Zhang
b03396ef2f Enable lint_as_errors for frameworks/base docs
Add back various error/warning related args while running doclava for
frameworks/base docs.

Test: m -j docs
Bug: b/116163454
Change-Id: I9cbe3f0bd1b6acfe0b6e2c6567c78bb70f892c77
2018-10-12 14:48:12 -07: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
TreeHugger Robot
d2aa51e481 Merge "Move/rename stats_enums.proto's directory/name" 2018-10-12 18:16:52 +00:00
Nandana Dutt
1d1184cf83 Merge "Add DumpstateOptions java implementation" am: 52502ef1a1
am: 8a9f23c8a1

Change-Id: I392c2c6bdb522efa708b82174debf3a18167c0bc
2018-10-12 11:07:59 -07:00
Nandana Dutt
52502ef1a1 Merge "Add DumpstateOptions java implementation" 2018-10-12 17:31:39 +00:00
Neil Fuller
c83ed07391 Merge "Remove explicit dependencies on "core" libraries" am: 18f9a2c24d am: d252f61f66
am: ad3947bb43

Change-Id: I4eec960d3925bd6c30ac91f072883af8fddbd825
2018-10-12 03:36:23 -07:00
Neil Fuller
ad3947bb43 Merge "Remove explicit dependencies on "core" libraries" am: 18f9a2c24d
am: d252f61f66

Change-Id: Ia66748d28ecb846d190b9dacb004a734c11bc54c
2018-10-12 03:22:04 -07:00
Neil Fuller
18f9a2c24d Merge "Remove explicit dependencies on "core" libraries" 2018-10-12 09:49:03 +00:00
Howard Ro
9a862de7e9 Move/rename stats_enums.proto's directory/name
Migrate stats_enums.proto to core/proto/android/stats/ directory for the
consistency with other enums file imported in atoms.proto

Test: mma
Change-Id: I79f068889ac5c34c6fd8c5966687669efb37d180
2018-10-11 23:52:09 -07:00
Sooraj Sasindran
e3630c858a Merge "Introduce AlternativeNetwork APIs" am: 98966bcbb6
am: 10211c1f68

Change-Id: Idb3a45b52567451df01afef5e4131a6426b487dc
2018-10-11 16:28:54 -07:00
Sooraj Sasindran
98966bcbb6 Merge "Introduce AlternativeNetwork APIs" 2018-10-11 22:58:32 +00:00
Amit Mahajan
7d496bc030 Initial RCS CL.
This CL adds RcsManager with a dummy API.

Test: build
Bug: 109759350
Change-Id: Ib10a38fac9182ca010d3895431e419f5c1958d59
2018-10-11 14:43:09 -07:00
Neil Fuller
1823d88066 Remove ResponseCache from apache-http am: 0a7b572079
am: ad4230a16b

Change-Id: I3df3a1e997dc593ced63e9572aaaee0c81ff6039
2018-10-11 10:47:52 -07:00
Neil Fuller
ad4230a16b Remove ResponseCache from apache-http
am: 0a7b572079

Change-Id: Ie6dc414ce7419474a24062fdf7ae57182b892048
2018-10-11 10:28:10 -07:00
Sooraj Sasindran
32e446bf00 Introduce AlternativeNetwork APIs
Introduce AlternativeNetwork APIs

Bug: 113106744
Test: Verified using test app to make api calls
Change-Id: I134d1aef40f014378fd1364e0bfec6926fe2093e
Merged-In: I7f470cd6028a12cc66a660d58720f803271d38eb
2018-10-11 16:45:08 +00:00
Treehugger Robot
73e8858e4b Merge "Remove ResponseCache from apache-http" 2018-10-11 16:37:03 +00: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
Neil Fuller
066ca17372 Remove explicit dependencies on "core" libraries
The dependencies are unnecessary since bouncycastle, okhttp
and conscrypt are included in the "standard libraries".

Test: build
Bug: 113148576
Change-Id: Ic8d15d911decbdd6391db8c1231b845353586a54
2018-10-11 16:57:18 +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
7ec816b07c Merge "Refactor tetherGetStats by using stable aidl structure" am: 335253df0f
am: f81dce0f79

Change-Id: I69fd29655d672e42a2af991de613c54105f751d5
2018-10-10 23:23:22 -07:00
Luke Huang
335253df0f Merge "Refactor tetherGetStats by using stable aidl structure" 2018-10-11 05:58:22 +00:00
Neil Fuller
0a7b572079 Remove ResponseCache from apache-http
It is not clear why ResponseCache was included: it doesn't
relate to apache-http. Its inclusion causes
obscure problems related to switching over to building
against "core platform API" stubs so it is being removed
here.

Bug: 117169648
Bug: 113148576
Test: build
Change-Id: If2ce6d49b59207254e8217a5d8bfb393bd2e8c92
2018-10-09 12:03:52 +01:00
Philip P. Moltmann
fca922976a Merge "Require permission to read USB device's serial number." 2018-10-08 20:22:07 +00:00
Sooraj Sasindran
e9bcb328bd Merge "Rename ANAS to ANS" 2018-10-06 03:41:26 +00:00
Shuo Qian
bc905712fc Merge "Add Parcelable EmergencyNumber and APIs" am: 379ca95c89 am: e414f5ed16
am: ffdf4d26ec

Change-Id: I4106b0a3e519c2a89db29196edfe05a6a515125d
2018-10-05 16:22:13 -07:00
Shuo Qian
ffdf4d26ec Merge "Add Parcelable EmergencyNumber and APIs" am: 379ca95c89
am: e414f5ed16

Change-Id: Ic3f48cc3df90edde8c5ed1941a4e5a6f4e7ab572
2018-10-05 16:08:31 -07:00
Shuo Qian
379ca95c89 Merge "Add Parcelable EmergencyNumber and APIs" 2018-10-05 22:29:36 +00:00
sqian
ff1dc37540 Add Parcelable EmergencyNumber and APIs
Test: unit test
Bug: 112657134
Change-Id: If926291e3f6fb6d2a3acd3d28d2ead85fbf01364
2018-10-04 17:07:57 -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
Sooraj Sasindran
15d5bf1ed6 Rename ANAS to ANS
Rename ANAS to ANS

Bug: 117156243
Test: verified using developer options to enable and disable
Change-Id: I7fe454a5a0eee339461db064c683972846e11cc5
2018-10-03 10:09:02 -07:00
Kevin Chyn
b7b54a6039 Move biometric setting observer from KeyguardUpdateMonitor to BiometricService
Fixes: 116872423

Test: with additional logging, do
      adb shell settings put secure face_unlock_keyguard_enabled 1 (or 0)
Test: content observer updates when user changes
Test: clients receive the current state upon registering

Change-Id: Id37381a8c263b29a0b91abb5241d74bb52364d63
2018-10-01 15:40:43 -07:00
Makoto Onuki
8426a06516 Merge "Add API surface for "keep SMS app running"." 2018-09-27 14:30:41 +00:00
Makoto Onuki
df7e481b20 Add API surface for "keep SMS app running".
Bug: 109809543
Test: build & boot
Change-Id: Ie9ebf1f34052394a92c3f260413c18596709d3a3
2018-09-26 11:51:06 -07:00
TreeHugger Robot
dfc12dba82 Merge "Export lib3 to AOSP (System server part)" 2018-09-26 16:53:28 +00:00
Neil Fuller
013239edfb Merge "Make ext.jar only dependent on public SDK APIs" am: c457d8c95a am: 1f30b816d8
am: 3701764e81

Change-Id: I4952ddacd81bb3fc78b72bc9fc845f962f11a060
2018-09-26 06:49:50 -07:00
Neil Fuller
3701764e81 Merge "Make ext.jar only dependent on public SDK APIs" am: c457d8c95a
am: 1f30b816d8

Change-Id: I01daf30a865d16e29de80e39f61752b6931681ae
2018-09-26 06:30:38 -07:00
Neil Fuller
c457d8c95a Merge "Make ext.jar only dependent on public SDK APIs" 2018-09-26 08:12:46 +00:00
Hall Liu
abdaf5b51f Merge "Add the EMBMS group call API" am: 52a8fdb7bd am: 6c6c859c6a
am: 210a4862f6

Change-Id: I3e7f4f0feb7b675a5870b9367fe788f58246d6fa
2018-09-25 15:02:39 -07:00
Hall Liu
210a4862f6 Merge "Add the EMBMS group call API" am: 52a8fdb7bd
am: 6c6c859c6a

Change-Id: I7e98519115c67eaa49694a3514b80fc54afcc17b
2018-09-25 14:47:25 -07:00
Hall Liu
52a8fdb7bd Merge "Add the EMBMS group call API" 2018-09-25 20:38:23 +00:00