- May 08, 2018
-
-
David Brazdil authored
Check that they're sorted as expected and contain no duplicates. The sort order now uses: $ LC_COLLATE=C sort -f So that non-alphanumeric characters are not ignored, giving a more intuitive sort order. the '-f' means ignore case. Also sort the existing lists accordingly. Test: repo upload Bug: 64382372 Merged-In: I52b884da33a9a46455df6747a215683d9d3c3218 Change-Id: Icc124fd8ceb3f001a9c11bbf40e0a111910c6b39 (cherry picked from commit e5dc64d4)
-
Mathew Inwood authored
Keep the nitpickers happy. Test: m Bug: 77517571 Merged-In: I70374c05df3e366b5a0ce3bbb103dce28f48d4b8 Change-Id: I70374c05df3e366b5a0ce3bbb103dce28f48d4b8 (cherry picked from commit 5e986dcc)
-
Mathew Inwood authored
Update docs accordingly. Test: m Bug: 64382372 Merged-In: Ief8daf3badeb046b0461a3ebcd289e242d559070 Change-Id: Ief8daf3badeb046b0461a3ebcd289e242d559070 (cherry picked from commit 33d5138e)
-
Mathew Inwood authored
It seems pretty unlikely that we'd ever want to disallow access to the light greylist in P, since doing do would break do many apps. We don't need this policy here as an opt-in for apps now, since the StrictMode work will achieve the same thing. Instead, make a "just warn" policy which allows access to all APIs, but leaves the detection and logging logic in place. This gives us the option of disabling enforcement, but still gathering logs to find out which apps use which APIs. Bug: 77517571 Test: Boot device Test: Hardcode policy of HIDDEN_API_ENFORCEMENT_JUST_WARN and verify log Merged-In: I588f347716a79ac5887b74763c8afc16b3be699b Change-Id: I588f347716a79ac5887b74763c8afc16b3be699b (cherry picked from commit a6d02fb1)
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
- May 07, 2018
-
-
android-build-prod (mdb) authored
-
android-build-prod (mdb) authored
-
Aurimas Liutikas authored
Test: make -j SettingsLibTests Change-Id: I38fbd6af7eb5707d76fb930b4d685e30b26f45de Merged-In: I38fbd6af7eb5707d76fb930b4d685e30b26f45de (cherry picked from commit 41df109a)
-
Colin Cross authored
* changes: convert Uibench test to aapt2 Migrate PrintSpooler to aapt2. Migrate to AAPT2
-
- May 05, 2018
-
-
android-build-prod (mdb) authored
-
Dan Willemsen authored
See build/soong/README.md for more information. Test: cd frameworks/base/cmds/backup mma Change-Id: I88a45ae568f80228c70f3e4a4a1facaff9520587
-
- May 04, 2018
-
-
android-build-prod (mdb) authored
-
Andreas Gampe authored
-
Jack Yu authored
-
- May 03, 2018
-
-
Kirill Grouchnikov authored
Bug: NA Test: build Change-Id: Ibe70c6c15d8f72d40b1d6c2c43872d02a0bdb872 Merged-In: Ibe70c6c15d8f72d40b1d6c2c43872d02a0bdb872 (cherry picked from commit bffef1f0)
-
Aurimas Liutikas authored
Test: make -j PrintSpooler Change-Id: Iad4d4d477792f13fb92e3ee7f4f5fa781f3298c4 Merged-In: Iad4d4d477792f13fb92e3ee7f4f5fa781f3298c4 (cherry picked from commit 87f7ce4b)
-
Alan Viverette authored
Bug: 73128633 Test: make checkbuild Change-Id: I4b6b73299d1cae61994c34ebb77ca587c5ee64ff Merged-In: I4b6b73299d1cae61994c34ebb77ca587c5ee64ff (cherry picked from commit e3264ba6)
-
Andreas Gampe authored
The explicit option is no longer supported. Bug: 77288304 Test: m Test: device boots Test: ANR dumps work Change-Id: I1ffcf0593e1f6591d1b33882edf79381e59c2121
-
android-build-prod (mdb) authored
-
Stanley Tng authored
Correct "paramter" to "parameter". Correct "connectoin" to connection. Bug: 79198797 Test: Compile Change-Id: I98646eec66da2aaa6f74ae2db35ea914c6a105a1
-
android-build-prod (mdb) authored
-
David Brazdil authored
* changes: Remove hiddenapi-blacklist.txt Update hiddenapi-p-light-greylist.txt Add rule to build hidden API blacklist
-
David Brazdil authored
Create an empty file in the build rule instead. Do not merged this beyond AOSP. We have an implicitly built blacklist everywhere else. Bug: 64382372 Test: make Change-Id: I4e13e5daf635934a152d389a95bf45c482b5a87f Merged-In: Ifa912f8751025b7de24a982a1a227a9c27d18267
-
Erik Kline authored
-
David Brazdil authored
Test: N/A Change-Id: I68582cf087b2e92f10b86c7c5a8bcd095e80ffab
-
David Brazdil authored
Add a new Makefile rule 'hiddenapi-b-blacklist' which takes the manually published hiddenapi-p-light-greylist.txt and subtracts it from private-dex.txt built for the current branch. This is meant to provide an approximation of the blacklist in internal branches. Bug: 64382372 Test: make hiddenapi-aosp-blacklist Change-Id: I528a70cc6a71e988b53d94ca7ef81d6c181e5153
-
Erik Kline authored
Support keeping IpClient logs around and dumping them during dumpsys. Previously we got this benefit for wifi by virtue of WifiStateMachine's long-lived nature. Now that this is changing we need to be sure we have logs, and this method gets us Ethernet logs as well. Bug: 62476366 Bug: 77999594 Test: as follows - built - flashed - booted - runtest frameworks-net passes - dumpsys connmetrics [ipclient] works Merged-In: Ib4daf0902cae91acadbe9965de1fb73c96a47bec Merged-In: Ie947394fabcaca7fc1d067f095c2442ee2704593 Change-Id: I1136a83de8097fdb4130debe1eaf689be7132fe5 (cherry picked from commit 3f8306b8)
-
- May 02, 2018
-
-
android-build-prod (mdb) authored
-
Vitor Albuquerque authored
Calling UID is now checked in setBluetoothScoOn and only allow route to change if request comes from a system component. The check was not taking into account secondary users, hence causing failure to route audio to SCO when secondary users were active. This change makes sure we are checking the correct app id, without taking into account the user id. Bug: 74057977 Test: SCO call using Guest User Change-Id: I3e26dedb6333a85b315073fe4830c4d1b8070742
-
wangmingming1 authored
Test: Manual 1. setup a work profile 2. set a uninstall restriction on foo app for the work profile by calling set DevicePolicyManager.setUninstallBlocked() 3. observe adb uninstallation can return with 'DELETE_FAILED_OWNER_BLOCKED' message without blocking forever by using the following command line: `adb uninstall --user user-id-of-work-profile com.foo` Test: Manual 1. install lots of apks via adb 2. uninstall apks via adb Change-Id: I68706782ae547250433e3dd8ff285d4932473033 Merged-In: If89978c5a79ef998bde55c254ced4b6a3ff6e645 Signed-off-by:
wangmingming1 <wangmingming1@xiaomi.com>
-
Anton Hansson authored
-
David Brazdil authored
-
David Brazdil authored
P branch builds hidden API lists in a separate invocation of droiddoc which includes @SystemApi and @TestApi annotated class members in the public API. This patch creates the same build rule in the master branch, only with Soong instead of Makefile. Test: make out/soong/.intermediates/frameworks/base/hiddenapi-lists/android_common/private-dex.txt Merged-In: Ifa912f8751025b7de24a982a1a227a9c27d18267 Change-Id: I80860c2b9f7213db65d0a9ca65bd645187aa0ce0
-
David Brazdil authored
-
Remi NGUYEN VAN authored
The test is likely failing since go/ag/1344349 because of a bad copy-paste between patchsets 6 and 7. Test: test now passes Change-Id: I87341c4f4db1e7b61c3899368b24ea484fe8bfd1
-
Remi NGUYEN VAN authored
noteOp (introduced in go/ag/3897834) checks that the calling uid matches the calling package, which is not correct when using a fake calling package. Use the real package of the test so permissions are checked properly. The test currently only fails this way in pi-dev as noteOp is only used in pi-dev. Change-Id: I9ac3717af9335ba9efa0b8842a2df0d7b69ec9ab Test: Fixed test now passes in pi-dev Bug: b/78487385
-
android-build-prod (mdb) authored
* changes: Remove the unused file parsing function Use eBPF map data for per iface stats
-
- May 01, 2018
-
-
Chenbo Feng authored
With the new xt_bpf support for iface stats. We no longer need to parse the per interface stats from /proc/net/dev. And since the old xt_qtaguid code path also not depend on it, we can completly remove that helper function since no caller is depending on it now. Bug: 72111305 Test: runtest frameworks-net -c com.android.internal.net.NetworkStatsFactoryTest Change-Id: Icb7eaeef0eeb9fdffd32a90316c76ee05bafffbe
-