458 Commits

Author SHA1 Message Date
Felipe Leme
179a9dccb0 Merge "Initial implementation of the IntelligenceService pipeline." 2018-11-06 20:57:16 +00:00
Felipe Leme
e348dc3486 Initial implementation of the IntelligenceService pipeline.
It's still full of TODOs, but at leats it now provides an end-to-end
workflow from the activity creation / destruction to the service implementation.

Test: mmm -j packages/experimental/FillService && \
      adb install -r ${OUT}/data/app/FillService/FillService.apk && \
      adb shell settings put secure intel_service foo.bar.fill/.AiaiService
Bug: 111276913

Change-Id: Id5daf7b8b51e97c74d9b6ec00f953ddb02b48e46
2018-11-06 10:01:02 -08:00
Roshan Pius
d84d668d45 Merge changes from topic "network_request_match_callback"
* changes:
  WifiManager: Network request match callback registration
  wifi(API): NetworkSpecifier for Wifi NetworkAgent
  wifi(API): Mark old API's deprecated
  wifi(API): New API surface for network suggestion
  wifi(API): New API surface for connection via NetworkRequest
2018-11-06 17:42:58 +00:00
Dario Freni
b1eeab34a6 Merge "Initial support for installing APEX via adb." 2018-11-06 10:18:38 +00:00
Kevin Chyn
8d45688b6d Merge "Add placeholders for IrisManager/Service" 2018-11-06 06:29:22 +00:00
Kevin Chyn
51676d293a Add placeholders for IrisManager/Service
With the system services in place, we can add SELinux policies

Bug: 116530289

Test: Builds
Change-Id: I0fd0dfbbbf258eb4a0ef9019247baaf323578959
2018-11-05 18:57:15 -08:00
Paul Duffin
5061977080 Merge "Remove sun.... libcore classes from light grey/vendor lists" am: 65b79f96cd am: 455c3da3e2
am: a98f107b27

Change-Id: I0625b63280a2560c8725dbeaa390b6e29725ae2b
2018-11-05 06:28:57 -08:00
Paul Duffin
a98f107b27 Merge "Remove sun.... libcore classes from light grey/vendor lists" am: 65b79f96cd
am: 455c3da3e2

Change-Id: I6d6cd4a67c61ed610759c6d798118bd7262d897d
2018-11-05 06:14:19 -08:00
Dario Freni
d8bf22e8c6 Initial support for installing APEX via adb.
Test: adb install package-signed.apex (succeeds)
adb install package-unsigned.apex (fails)
Change-Id: I3ac7971ce6923511a7d574291fe9002c5d55fa1b
2018-11-05 09:24:58 +00:00
Paul Duffin
a0cb5388a5 Remove sun.... libcore classes from light grey/vendor lists
Removes all the sun... libcore classes from the light grey/vendor
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: I8dadc9215e929c5047fdfe8241c430544e963c19
ge-Id: I2a9ed3fbfb0c703eafcf431b93f8a419c5ec83a3
2018-11-01 10:31:09 +00:00
Colin Cross
bd26d4363f Convert statsd and incidentd to Android.bp
am: 05c9e5c24a

Change-Id: Ic5b6353777baf66eb77f7fc6b9846fa4adbca186
2018-10-31 14:12:36 -07:00
Roshan Pius
3c38ee435a WifiManager: Network request match callback registration
Add and Implement the new network request match callback register/unregister
@hide methods to be used by settings UI.

Note: This uses the same pattern used for other callbacks to settings
like traffic state change, softap.

Bug: 113878056
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: Ia4964759c6b10790dda0fc61a41c4d95dab904c9
2018-10-31 09:23:15 -07:00
Colin Cross
05c9e5c24a Convert statsd and incidentd to Android.bp
See build/soong/README.md for more information.

Test: m checkbuild
Merged-In: I8c80878cec46c9299234c6f4c1e0e19efc0a221e
Change-Id: I8c80878cec46c9299234c6f4c1e0e19efc0a221e
2018-10-31 08:01:59 -07:00
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
Neil Fuller
08ecb4954a Merge "Remove explicit dependencies on core library" am: 03c766075d
am: 22f561340d

Change-Id: I1ef3a009fb96ef8b80833c3673423640904408a6
2018-10-24 14:39:55 -07:00
Neil Fuller
0e9ac83e04 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
Test: make docs and compare offline_sdk output
Bug: 113148576
Change-Id: If363aa99c8e230c0d63db6677241eb152a5b8fec
2018-10-20 09:20:00 +01: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