Commit Graph

424807 Commits

Author SHA1 Message Date
Chalard Jean
6f41ae928a Merge "Fix TestNetworkAgentWrapper flakiness" 2019-09-25 08:58:34 +00:00
Treehugger Robot
1ae4c5b781 Merge "Add documentation for *.sysprop" 2019-09-25 03:01:21 +00:00
Treehugger Robot
1c3acc8f8a Merge "Move NetworkStack AIDLs to NetworkStack folder" 2019-09-25 02:05:06 +00:00
Oscar Shu
54bb8a1625 Merge "Followup to CL 1103896" 2019-09-24 22:06:27 +00:00
Treehugger Robot
a96bafd7a2 Merge "AppOpsService: Watch op mode changes when an AppOp restriction dies" 2019-09-24 20:22:30 +00:00
Bruno Martins
8e0636d9e7 AppOpsService: Watch op mode changes when an AppOp restriction dies
On binder death, ensure that any associated watched ops are not left
dangling in an active state.

Test: manual, ops states are now propagated properly after apps are killed
Change-Id: I060d9fabc555e609ad529c612fcb7712f0cea0a6
Merged-In: Ied66c7f49e1c483870048563d08fb57410f004ef
2019-09-24 18:31:21 +00:00
Martin Stjernholm
80fd44500c Merge "Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change." 2019-09-24 17:40:05 +00:00
Jiyong Park
09c730b197 Add documentation for *.sysprop
Bug: 141246285
Test: N/A
Change-Id: Ia90dd8fc75a9caa3b90c4e3adfb1252a5b1c19c4
2019-09-24 14:52:36 +09:00
Mike Ma
a11beeca12 Merge "Add an API to dump incident report for dumpstate" 2019-09-24 01:07:25 +00:00
Mike Ma
15f83a3118 Add an API to dump incident report for dumpstate
Instead of just relying on the regular iteration through the system
services inside dumpstate, add another API to IIncidentManager
dedicated for dumpstate.

- It is only callable by dumpstate() (check the calling uid)
- It has the same behavior as the current call inside dump()

Advantages:
- More explicit function name, right next to takeIncidentReport will
  make it easier to keep them in sync.
- Nobody else can call it, make security easier.
- If dumpstate calls it explicitly, it can skip the 10 second timeout
- The regular dump() call should provide debugging data about
  incidentd itself, for example timestamps for the most recent N
  incident reports taken and the current state of the work directory,
  allowing us to debug incidentd itself.

Bug: 137493082
Test: Manually trigger a bug report, and verify
      /proto/incident_log.proto in the zip file.

Change-Id: I19139c765b53ede63d3beb3ea3ac40ada1aba42d
Merged-In: I19139c765b53ede63d3beb3ea3ac40ada1aba42d
2019-09-23 16:20:53 -07:00
Treehugger Robot
d708ea7b4a Merge changes Iea1d2ae2,I1d3c8e48
* changes:
  Build java_sdk_libraries with much less sources
  Add RequiresApi annotations to LocationProvider
2019-09-23 22:04:11 +00:00
John Reck
6c5f83aaa3 Merge "TextureVuew rebind GL texture, if AHB content has changed" 2019-09-23 20:00:14 +00:00
Mathieu Chartier
eeee6f90d1 Merge "Add test for boot image profile collection" 2019-09-23 16:34:38 +00:00
Steven Moreland
4a17a712f5 Merge "Host users of libutils trace use libcutils." 2019-09-23 16:23:06 +00:00
Jean-Michel Trivi
5620ad16b9 Merge "AudioService: add TEST_MAPPING for pre-submit tests" 2019-09-23 15:59:40 +00:00
Ömer Nebil Yaveroğlu
d21dfe4242 Merge " Create integrity directory and OWNERS" 2019-09-23 11:24:43 +00:00
Jean-Michel Trivi
62d0cd93bf AudioService: add TEST_MAPPING for pre-submit tests
Run AudioManager and AudioFocus CTS tests whenever a class
in audio service is changed.

Bug: 139315190
Test: verify this change caused those tests to be run during presubmit
Change-Id: I17a49fad6856ae28ef1951d64a43b04f44be4079
Merged-In: I17a49fad6856ae28ef1951d64a43b04f44be4079
2019-09-21 11:03:25 -07:00
Treehugger Robot
8012f3df57 Merge "Deprecate redundant IMS APIs in TelephonyManager." 2019-09-21 08:27:35 +00:00
xshu
b483607abe Followup to CL 1103896
Optimizes the logic that ensures the default randomized MAC is not
returned.

Bug: 137796328
Test: atest MacAddressTest
Change-Id: Ie95d7a020bfac8850b8a67e4d396de77db22e1db
2019-09-20 16:56:54 -07:00
Mathieu Chartier
feca77fc81 Add test for boot image profile collection
Test that the expected properties are set.

Test that saving the system server profile contains both the boot image
profile and system server profile.

The test requires root to run.

Bug: 139883463
Test: atest BootImageProfileTest

(cherry picked from commit f7849d916a)

Change-Id: Id7fa4ecc507864c2855da276025be076e5768df1
Merged-In: I6bb39337ba07be58b7dc2b314a8ee92154256f17
2019-09-20 16:42:06 -07:00
Stan Iliev
419b4095ba TextureVuew rebind GL texture, if AHB content has changed
Bug: 138674291
Test: Ran apps with TextureView and CTS
Change-Id: Ieecf7daf160761de719356644ddaeda8f9c068e1
2019-09-20 14:20:23 -07:00
Steven Moreland
598bda8624 Host users of libutils trace use libcutils.
Reducing device/host differences. This is now required since libutils
Trace.h always calls the libcutils functions, instead of before where
it only called these functions on device.

Bug: 124524556
Test: build & boot
Change-Id: Ic096ed7caf8ca59292b3427a16c4e2545d12dfd9
2019-09-20 11:27:59 -07:00
Martin Stjernholm
5bbffbc827 Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change.
Test: Boot
Bug: 135753770
Change-Id: I930027fb0ad18d9d06165bbfbfe54d88bc28530d
2019-09-20 16:14:22 +01:00
Treehugger Robot
ff044e701f Merge "aapt2: disable leak detection" 2019-09-20 09:58:45 +00:00
Chalard Jean
3da8e0f80f Fix TestNetworkAgentWrapper flakiness
The underlying issue here is that before aosp/986824 the call to
waitForIdle is the local ConnectivityServiceTest function, but
after that patch TestNetworkAgentWrapper has an identically
named member that only wait for its own handler.

Bug: 141341704
Test: ConnectivityServiceTest --generate-new-metrics 100
Change-Id: I38709cc69ec7a261c1c6e008abe03d2882e2083d
2019-09-20 17:19:31 +09:00
Treehugger Robot
6265eea819 Merge "Document that SystemProperties.set() can throw RuntimeException" 2019-09-20 05:53:03 +00:00
Treehugger Robot
134fe7616b Merge "WiredAccessoryManager: fix connected state logic for Extcon" 2019-09-20 01:07:07 +00:00
Brad Ebinger
ba2cdfb222 Merge "Allow ImsService to return network error codes" 2019-09-19 23:31:07 +00:00
Brad Ebinger
8d1f9f55b0 Allow ImsService to return network error codes
Adds new API for SMS over IMS that allows the ImsService
to pass 3GPP TS 24.011 error codes from the network for
better debugging/metrics collection.

Test: manual
Bug: 138239529
Merged-In: I5d1f41b90595238011eb0d1dc0ae0415157bb469
Change-Id: I5d1f41b90595238011eb0d1dc0ae0415157bb469
2019-09-19 21:15:27 +00:00
Treehugger Robot
f26f9b3f80 Merge "Add jji@google.com to am/OWNERS file." 2019-09-19 20:22:35 +00:00
Steven Moreland
2700afda04 aapt2: disable leak detection
When building with SANATIZE_HOST=address and ASAN_OPTIONS="" in order to
test that leaks are removed from AIDL, was hitting leaks here.
Explicitly setting ASAN_OPTIONS here so that we can detect leaks in
other host tools.

Bug: 141312058
Test: AIDL's runtests_asan.sh
Change-Id: Ibc599ab75bbf63eab1c7747d17952390a7967e87
2019-09-19 18:18:23 +00:00
Tom Cherry
39373b2e81 Document that SystemProperties.set() can throw RuntimeException
Bug: 140148206
Test: n/a
Change-Id: I32df2ed4979edcc0d9abc46830ebd3defc431c57
2019-09-19 08:41:44 -07:00
Treehugger Robot
e25075b2fb Merge "Exposing flickerlib classes and layer tracing to sysui" 2019-09-19 13:42:49 +00:00
Treehugger Robot
385291c36d Merge "Use filter_packages to unbunden metalava" 2019-09-19 13:24:46 +00:00
Treehugger Robot
d6b817cd51 Merge "Mirror fs-verity ownership UID to Java" 2019-09-19 00:26:31 +00:00
Hui Yu
baa60b261c Add jji@google.com to am/OWNERS file.
Bug: NA
Test: NA
Change-Id: I5c5f0d1e75a66e772c95304a3dbd936a471e9a17
2019-09-18 14:57:59 -07:00
Victor Hsieh
3c68afee05 Mirror fs-verity ownership UID to Java
This has been done in system/core, so mirroring for later use.
https://android-review.googlesource.com/c/platform/system/core/+/1115493

Test: compile
Bug: 112038744
Change-Id: I2d7f5d38caae0b6ada1f208b3d71d937d527716e
2019-09-18 14:33:54 -07:00
Treehugger Robot
cb783ea2ee Merge "Bugreport progress notification should use the bug icon." 2019-09-18 18:37:38 +00:00
Brad Ebinger
c9a0702a26 Merge "Expose ConnectionService Handler to remove flaky tests" 2019-09-18 17:56:29 +00:00
Treehugger Robot
63e2a95b87 Merge "Use UnlockMethodCache#canSkipBouncer in user switcher" 2019-09-18 17:11:28 +00:00
Song Pan
cbbe832cfa Create integrity directory and OWNERS
Integrity component will live in System Server, which can be called by
PackageManagerService to check the integrity of an install. This commit
sets up the directory and OWNERS access.

Test: N/A
Change-Id: I5610ea575c455c3301ace4d816033d88eb349b12
2019-09-18 16:19:35 +01:00
Anna Trostanetski
3cadf0d9ea Merge "Implement stats logging for Compatibility API." 2019-09-18 12:25:47 +00:00
Treehugger Robot
3dc68a9585 Merge "Add isApplicationOnUicc API" 2019-09-18 02:00:54 +00:00
Treehugger Robot
e6901bc862 Merge "Add new onSmsStatusReportReceived() without message reference" 2019-09-17 22:28:35 +00:00
Steven Moreland
b0e6033182 Merge "HwBinder: don't rely on kernel headers." 2019-09-17 21:49:31 +00:00
Eric Laurent
2973d42da0 WiredAccessoryManager: fix connected state logic for Extcon
Bug: 134120683
Test: make
Change-Id: I618031968a4131ee153994deca55d192cbc598b3
Merged-In: I618031968a4131ee153994deca55d192cbc598b3
2019-09-17 20:00:28 +00:00
Brad Ebinger
99f17ced8f Expose ConnectionService Handler to remove flaky tests
Test: atest TelecomUnitTests
Change-Id: Ibb80b5739083ad9f85ee06f4d9f0017f4cb605bd
2019-09-17 10:44:11 -07:00
Amit Mahajan
eeeb74a093 Merge "Fix descriptions for default SIM in global preferences" 2019-09-17 17:18:04 +00:00
Christopher Ferris
539d37679c Merge "Use bionic platform headers." 2019-09-17 16:33:25 +00:00
Jiyong Park
b1d2701f76 Build java_sdk_libraries with much less sources
This change fixes a regression that java_sdk_libraries under
frameworks/base were built with all framework sources.

Bug: 141149570
Test: m
Change-Id: Iea1d2ae20ca1c5b514a52d8b2a22e8a1d7543efd
2019-09-17 23:17:47 +09:00