- Sep 30, 2019
-
-
Brad Ebinger authored
am: 4a54c2fa Change-Id: I890a913c18332669dee8f21baf81db78a50a0fb0
-
Brad Ebinger authored
-
Shuo Qian authored
Add Telecom shell command: "adb shell telecom set-system-dialer" Test: PhoneStateListener cts Bug: 135204580 Merged-In: I5eaada6a671606642a849f0ff6fe964332d80d5f Change-Id: I5eaada6a671606642a849f0ff6fe964332d80d5f
-
Ryan Mitchell authored
am: 5491eb92 Change-Id: I13967aeb1c57ef196820a9f3beecd53fc490d91e
-
Jeffrey Vander Stoep authored
am: 20bdc266 Change-Id: Idb8ecfa8313ed6c795af7fe97961ef002384580d
-
Ryan Mitchell authored
-
Jeffrey Vander Stoep authored
-
Jeff Vander Stoep authored
Add unit tests to verify that bug has been fixed. Re-enable testGetConnectionOwnerUid() unit tests in presubmit. These were disabled due to test flakiness caused by expected failures passing as a result of other sockets on the system. This is fixed by checking that failures do not have the UID of the calling process instead of INVALID_UID since previously some Qualcomm telephony sockets were causing lookup successes. Test: atest InetDiagSocketTest#testGetConnectionOwnerUid Test: ls -1 /proc/<pid of system_server>/fd | wca Test: atest --generate-new-metrics 200 InetDiagSocketTest#testGetConnectionOwnerUid To verify flakes have been cleaned up. Bug: 141603906 Bug: 141459241 Change-Id: Ib76674f10e4bd24952c557bac7b9c65fba42fdb2
-
Tobias Thierer authored
am: 6ed8fce3 Change-Id: If95ba459b29a3fd2eede6390bbab18f95f762587
-
Tobias Thierer authored
am: fd9657d0 Change-Id: I4e416a3e4b9fc0c9c7b4f4b624a86cd40233d97a
-
Tobias Thierer authored
am: 878c77b7 Change-Id: Ic8f8c2c1fc10809e3245ee6b729e69a4ecb30ffa
-
Tobias Thierer authored
* changes: MimeMapImpl.createDefaultInstance() -> DefaultMimeMapFactory.create(). Make MimeMap final and introduce MimeMap.Builder. Move default MimeMap implementation to frameworks.
-
- Sep 28, 2019
-
-
Howard Chen authored
am: 417aed2c Change-Id: I3382c8a7aca1fadb9e7ef37d050b52e1fff69155
-
Treehugger Robot authored
* changes: Use Ashmem to reduce buffer copies Clean up usage on deprecated GSID methods
-
jungshik authored
-
Bowgo Tsai authored
am: 62031438 Change-Id: Id09ffdb7f16a5b7886632ccf31a96ecc6243c9a7
-
Treehugger Robot authored
-
- Sep 27, 2019
-
-
Stan Iliev authored
am: fc733e1d Change-Id: Ic1308ec895badad285cc90a370de8d844cad4250
-
Treehugger Robot authored
* changes: Improve integer aligned coordinate detection Improve logic when to use filtering in readback and TextureView
-
Tobias Thierer authored
The class no longer implements MimeMap, so the name MimeMapImpl no longer made sense. Test: Treehugger Bug: 136256059 Change-Id: I2cbc70a7769232b704a9bdfde2def832c1e292b8
-
Nataniel Borges authored
am: f2a739d5 Change-Id: I189755fcce0f1576870d252dbe1f4f30a7aa6ea4
-
Nataniel Borges authored
am: d051c3b7 Change-Id: Ie1e7143488dcd4a29287b5802d32359c0c3f0839
-
Nataniel Borges authored
am: 4bfe8160 Change-Id: Ia0c5764de88d26e8bf5df5e8b09108f610845821
-
Nataniel Borges authored
am: 89888bf1 Change-Id: I751551f28763adf691d64c17362c79c0061baa94
-
Anna Trostanetski authored
am: e8e63908 Change-Id: Ib6ef1c746f26ceb384f7ed586bfc769a05da271c
-
Tobias Thierer authored
This CL topic introduces a new @CorePlatformApi MimeMap.Builder and uses it to make MimeMap a concrete, final, immutable type. This has the following advantages: - Consistency of behavior of MimeMap implementations with regards to lower-casing and treatment of null is trivial to guarantee because there is only one implementation. - The @CorePlatformApi surface now makes more sense. The responsibility for lower-casing and treatment of null was previously split between MimeMap in libcore and MimeMapImpl in frameworks/base, which is why MimeMap.toLowerCase() and MimeMap.isNullOrEmpty() were in the @CorePlatformApi. - Most of the logic now lives in libcore / ART module. frameworks/base now has minimal logic. This makes it easier to write (in a follow-up CL) a CTS test that asserts all the default mappings, because that test can now duplicate that small amount of logic in order to read from a copy of the same data files. Note: The semantics of the @CorePlatformApi Builder.put(String, List<String>) are fairly complex, which isn't great. This was done because: - By following the semantics of the *mime.types file format, it allows us to minimize the logic in frameworks/base. - It's simpler than having multiple overloads of put() for mimeType -> file extension mapping and vice versa, and for whether or not any existing mapping should be overwritten. If we had named classes for MimeType and FileExtension with appropriate case-insensitive equals and hashCode semantics, then we could instead have API such as builder.asMimeToExtensionMap().put(...) but existing API (e.g. Intent.getType(), android.webkit.MimeTypeMap) has set precedent for treating these as Strings. Bug: 136256059 Test: atest CtsLibcoreTestCases Test: atest CtsMimeMapTestCases Change-Id: I9a185a689745726dd79b15117892001461fa4a0d
-
Tobias Thierer authored
This is the second attempt to submit this CL. The first attempt regressed on app startup because RuntimeInit installed the custom MimeMap from commonInit() which runs post-fork of the zygote, but that was fixed by installing it pre-fork. This CL topic moves the default MimeMap implementation to frameworks. Libcore starts with a minimal implementation sufficient to pass CtsLibcoreTestCases, but frameworks can inject the real implementation. Before this CL topic, the data files and logic (MimeMapImpl) were part of core-*.jar on device; after this CL, they instead live in framework.jar. Tests from MimeMapTest that check behavior of that default implementation also move to a non-libcore CTS test. Planned work for follow-up CL: 1. Make CTS more opinionated, with a plan to assert that all of the default mappings are present. How exactly the expectated mapping will be bundled in CTS is still TBD. 2. Add a vendor.mime.types file (defaults to empty) where vendors can add additional mappings; I plan to make it such that mappings in that file are parsed last but never override any earlier mappings, as if each mime type / file extension was prefixed with '?'. 3. Perhaps enforce that public APIs android.webkit.MimeTypeMap and java.net.URLConnection.getFileNameMap() behave consistently with MimeMap.getDefault(). Test: atest CtsLibcoreTestCases Test: atest CtsMimeMapTestCases Test: Checked that CtsLibcoreTestCases still passes on a build that is missing the MimeMap.setDefault() call from RuntimeInit.java. Test: Checked that app startup time does not regress as part of this CL topic - see http://b/136256059#comment17 Bug: 136256059 Change-Id: I716914bf1a7e6205e539f0551f010615dacb17a8
-
Treehugger Robot authored
* changes: New FlickerTests: Run split screen tests at 0 and 90 degrees New FlickerTests: Start app warm and cold at both 0 and 90 degrees New FlickerTests: Start IME alongside the app (0 and 90 degrees) New FlickerTests: Start IME tests with app rotated by 90 degrees
-
Anna Trostanetski authored
-
atrost authored
Limit 1 log per app launch as the statd logs as this is spamming logs. Consider increasing in the future to once every x minutes/seconds if needed. Bug: 138374585 Bug: 141714588 Test: flash device Change-Id: I3ed696fb557527d807d03aecc64c0207d7b93f08
-
Lorenzo Colitti authored
am: 0e45bfab Change-Id: Ia6d480739fadaa7b3277d9b6e9abc303b8e551b4
-
Treehugger Robot authored
-
- Sep 26, 2019
-
-
Treehugger Robot authored
-
Jeongik Cha authored
am: a828ee64 Change-Id: I2b636d0c54c932342586de47a38c16e93bf978e8
-
Treehugger Robot authored
* changes: Consider overlay in system_ext as system's Support /system_ext partition
-
Grace Jia authored
Test: manual Merged-In: Idf44886158dcebf96e8bdffd98be3621f496deaa Change-Id: Idf44886158dcebf96e8bdffd98be3621f496deaa
-
Tobias Thierer authored
am: 52efd460 Change-Id: I5bc25ca924624283126a584917f5adb6ff6eed03
-
Tobias Thierer authored