- May 27, 2020
-
-
Cody Kesting authored
-
Baligh Uddin authored
-
Treehugger Robot authored
-
Baligh Uddin authored
BUG: 156286599 Test: TH and Forrest (mainline_modules) Merged-In: I0009d286205d7942c2d681936bfba38e074700d2 Change-Id: I8a3d00da1528dee22839ac0997505d20c8bfe10e
-
Treehugger Robot authored
-
Zach Johnson authored
-
Zach Johnson authored
Exempt-From-Owner-Approval: dianne approved, but from her android.com account instead of google.com account Test: compile Bug: 156757711 Merged-In: I330b8cc5aeb14ebcc15fb88c605ac72770497040 Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
-
Brad Ebinger authored
-
- May 26, 2020
-
-
Brad Ebinger authored
-
Brad Ebinger authored
When notifying the framework of an incoming call, a lock is held in both the MmTelFeature and MmTelFeatureConnection. This can cause a deadlock if the MmTelFeatureConnection is also processing an event, such as sending/acknowleging an SMS message. Remove the lock around the listener methods to the framework, since it is not needed. Bug: 155083563 Fixes: 155819733 Test: atest CtsTelephonyTestCases:ImsServiceTest FrameworksTelephonyTests Change-Id: I39f7192c6f79e215ef989797870f5f501197cd08 Merged-In: I39f7192c6f79e215ef989797870f5f501197cd08
-
Brad Ebinger authored
Bug: 155320231 Fixes: 155819930 Test: atest FrameworksTelephonyTests Change-Id: I6f1896ae163e77cff30e89a5b01b41162fc58200 Merged-In: I6f1896ae163e77cff30e89a5b01b41162fc58200
-
Orion Hodson authored
* changes: Avoid potential fd leaks from jniCreateFileDescriptor (2/2) Avoid potential fd leak from jniCreateFileDescriptor (1/2)
-
Paul Duffin authored
-
Treehugger Robot authored
-
Heemin Seog authored
-
Paul Duffin authored
Avoids direct access to the stub sources and instead access them via tags passed to the java_sdk_library. Bug: 155164730 Test: m checkapi Change-Id: I93dfb8bfac60bd7ab628292667c8d7a9d5e8eb82
-
Neil Fuller authored
-
Neil Fuller authored
Add checks during boot in case the persist.sys.timezone property is set to a bad ID. This can happen in the rare case of a mainline rollback: i.e. if a device has been set to a new ID and then the update is rolled back. Using GMT as a fallback probably works without this change (it does in java.util.TimeZone), but relies on all code, including native code that uses persist.sys.timezone directly, knowing to interpret a bad ID as "GMT". This commit makes that choice more explicit and defensive. This change also removes the possibility of IOException, which is never thrown, from some ZoneInfoDb methods. Bug: 155738410 Test: boot with a valid id, verify persist.sys.timezone is unchanged Test: boot with an invalid id set, verify persist.sys.timezone is "GMT" Merged-In: I6dc0f4f81848efbbaec6a11a62014471a0ef01fd Change-Id: I6dc0f4f81848efbbaec6a11a62014471a0ef01fd Exempt-From-Owner-Approval: Approved / landed internally
-
Lorenzo Colitti authored
-
Paul Duffin authored
Defaults shared library to false as the majority of framework modules should not be usable as a shared library. The exception is ike but it does not currently use the defaults and will override this setting when it does. (cherry picked from f657ae3e) Bug: 156723295 Bug: 155164730 Test: m droid and flash Change-Id: I3e78994a9855110b02c3d71944ff38b986208e9a Merged-In: I3e78994a9855110b02c3d71944ff38b986208e9a
-
markchien authored
Bug: 156866746 Test: atest TetheringTests, TetheringCoverageTests Change-Id: I7c539f1f4a447b5913164b222601c6113c6fe645
-
- May 25, 2020
-
-
Ramy Medhat authored
-
Ramy Medhat authored
This CL makes explicit the source files read implicitly when building android.test.mock.stubs.source.test. The list of source files added was obtained by using ag/11062343 to dump all implicitly read files during the execution of a metalava command. Test: m out/soong/.intermediates/frameworks/base/test-mock/android.test.mock.stubs.source.test/android_common/check_current_api.timestamp with RBE_METALAVA=1 to make sure their are no api mismatches when using the RBE result. Change-Id: Ib131a13731e0e97cba0c34e19c454d3086858948
-
Mark Chien authored
-
- May 24, 2020
-
-
markchien authored
If upstream is cellular, set the TTL in Router Advertisements to "network-set TTL - 1" for carrier requirement. For other non-cellular upstream, set TTL as "network-set TTL + 1" to preventing arbitrary distinction between tethered and untethered traffic. Bug: 154776299 Test: atest TetheringTests Change-Id: I7f2696a642f96c6aafb5613b980bf5bcdd08bbda
-
Lorenzo Colitti authored
-
- May 21, 2020
-
-
Cody Kesting authored
-
Chavi Weingarten authored
-
Liz Kammer authored
-
Cody Kesting authored
This change adds a comment to CS#simulateDataStall to explain why the Data Stall is wrapped in a DataStallReportParcelable before being passed to the ConnectivityDiagnostics handler. This approach is taken to ensure that simulated data stalls are handled the exact same as Data Stalls received directly from NetworkMonitor (including Data Stalls detected by methods that the platform does not understand). Bug: 156294356 Test: atest ConnectivityDiagnosticsManager Change-Id: I751054418bf328c72b977a1cc99c27cb9b8ab7ba
-
Ryan Mitchell authored
Cherry picks the rest of Id9d10e16f32533da1b67ab72ac846791526e7a76. When the --rename-resources-package flag is used, only rename the package name within the resources.arsc. Generate the R.java under the package name defined by the manifest unless --custom-package is used. Test: manual Bug: 147434671 Merged-In: Iab30ff9d3d136fa1e5464913f8d493df22c5c1c4 Change-Id: I896b8c69793cff714a950081fd8521e4acf0cf25
-
chaviw authored
The syncInputTransaction can trigger a performSurfacePlacement which could result in a callback to the client. In that case, the calling PID will be incorrect since we didn't clear the calling identity before requesting the performSurfacePlacement. Bug: 154665556 Test: Hard to reproduce. Existing tests pass Change-Id: Id7c35d356cfc435e2de225e4e0d3979751c5c7d4 Merged-In: Id7c35d356cfc435e2de225e4e0d3979751c5c7d4
-
Orion Hodson authored
Fixes corner case leaks in JNI code under com.android.server. Bug: 155706035 Test: m Change-Id: I5b3a79911a33a0e04c019943c438a433cf04465b
-
Orion Hodson authored
Fixes corner case leaks in android_os_{Parcel,SharedMemory}.cpp. Bug: 155706035 Test: m Change-Id: I91ec2c7c3f29e7232fc2baa2dce6fc3c14ce271b
-
Lorenzo Colitti authored
This is only necessary when learning the NAT64 prefix from the RA, because if the NAT64 prefix is learned from DNS, the DNS resolver already knows the prefix and automatically enables DNS64 synthesis. The DNS resolver needs to be informed of the prefix any time clat is running on a prefix learned from an RA. This is simple to implement: just set the prefix when starting clat if prefix discovery is not running, and clear the prefix when stopping clat if prefix discovery was not running. This ensures that the prefix is cleared iff it was set. Bug: 156914456 Test: new unit test coverage Change-Id: If8ad2d30712a6df3e207c8d3e8a129705242191e
-
satayev authored
-
Lorenzo Colitti authored
This is not particularly likely to happen unless the pref64 RA is sent by a different router than the main RA. But more tests are always good, and this additional coverage will be more useful in an upcoming change. Bug: 150648313 Test: test-only change Change-Id: I3316d49d42100800740afadc4edf0a13a4d8377c
-
Mark Chien authored
-
Treehugger Robot authored
-
Chiachang Wang authored
-