Commit Graph

423128 Commits

Author SHA1 Message Date
joker.yang
d4ebd771a8 Remove LOCAL_SRC_FILES from RRO modules
If LOCAL_SRC_FILES is not empty then building rro package will fail.
Sometimes LOCAL_SRC_FILES will be not empty by mistake, so delete
LOCAL_SRC_FILES for all rro modules.

Bug: 136694299
Test: treehugger
Change-Id: I2555c97f4ae98f6949837a19b4db4877cb38b607
2019-07-08 15:15:49 -07:00
Marco Nelissen
292fdc1c93 Remove libexif usage from libmedia_jni.so
Test: manual, connect with MTP and PTP
Change-Id: I33128db25b8aae60df7854c61fc2a3873a1bced9
(cherry picked from commit f7ec16802c)
(cherry picked from commit efb865ace2)
(cherry picked from commit 5954d210d3)
2019-07-08 05:29:38 +00:00
Nikita Ioffe
6a36ad8b7e Merge "Rename ApexInfo.package{Name,Path} to module{Name,Path}" into stage-aosp-master 2019-07-04 15:31:05 +00:00
Mathew Inwood
fcb0f0c2de Merge "Add basic logic for new platform compatibilty framework."
am: c4cedf7b56

Change-Id: I2adc341bb00304d02566383451138f8ba8027a4d
2019-07-03 17:27:55 -07:00
Neil Fuller
8f8f4da0ca Merge "Remove the ability to turn off TimeDetectorService"
am: 71fd6f0113

Change-Id: I8b32782038657c504d30a2c4b1db1c4985546ed3
2019-07-03 17:20:50 -07:00
Mathew Inwood
c4cedf7b56 Merge "Add basic logic for new platform compatibilty framework." 2019-07-03 13:49:20 +00:00
Nikita Ioffe
b4eee2a17d Rename ApexInfo.package{Name,Path} to module{Name,Path}
This should resolve the confusion between internal name of APEXes that
comes from apex_manifest.json and packageName that comes from
AndroidManifest.xml.

Follow-up CLs:
* Rename package to module for all apexservice binder APIs.
* Rename package to module in apexd codebase.

Test: atest apexservice_test
Test: atest CtsStagedInstallHostTestCases
Bug: 132428457
Change-Id: If0bd3d368c7373ab0028211a8a4246a9821893af
Merged-In: If0bd3d368c7373ab0028211a8a4246a9821893af
(cherry picked from commit ec67395d7d)
2019-07-03 14:27:01 +01:00
Mathew Inwood
e188acc693 Add basic logic for new platform compatibilty framework.
This change includes the core logic for determining when a
compatibility change is enabled for a given app, and overriding this
for dev/testing. None of this code is integrated into the wider
system yet.

Follow on changes will:
- Read compatibilty changes from disk to construct CompatChange
  instances.
- Send the list of disabled changes to each new app process when they
  are created.
- Add a new `adb shell am` command for adding/removing package
  overrides.

See also go/gating-and-logging for more context.

Test: atest PlatformCompatTest
Bug: 135010838
Change-Id: Ie91b1fe899e1ccb154cd5b5d8e9666c5b163b522
2019-07-03 11:28:47 +01:00
Neil Fuller
71fd6f0113 Merge "Remove the ability to turn off TimeDetectorService" 2019-07-03 08:59:30 +00:00
Paul Hu
4e3ec1f018 Merge "Correct FrameworksNetTests-jni-defaults lib"
am: fa71b4f4a0

Change-Id: I53ca8c198b9d4bb0e743ee5010469a7375dc3cc4
2019-07-02 10:23:03 -07:00
Neil Fuller
e9efed97f7 Remove the ability to turn off TimeDetectorService
Remove the ability to turn off TimeDetectorService. After
http://r.android.com/1000492 it will be required in all cases.

Also remove [Old|New]NetworkTimeUpdateService as the expected
changes have not been implemented.

Bug: 133492648
Test: build only
Merged-In: Iad7ff59b19fa54750831819c68b7b733e5763902
Change-Id: Iad7ff59b19fa54750831819c68b7b733e5763902
2019-07-02 12:04:24 +00:00
Paul Hu
fa71b4f4a0 Merge "Correct FrameworksNetTests-jni-defaults lib" 2019-07-02 09:08:31 +00:00
TreeHugger Robot
ca4c520f19 Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into stage-aosp-master" into stage-aosp-master 2019-07-02 07:41:13 +00:00
Xin Li
0172a23b1a DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into
stage-aosp-master

Bug: 134405016
Change-Id: I0d1fc0e5f5f7fbd56d9f1032b806bfe82a5dd08b
2019-07-02 04:47:18 +00:00
Maciej Żenczykowski
e74fb60c29 Merge "Fix mobile data usage didn't get increased for xlat464 traffic"
am: e284b30c81

Change-Id: Ibf2a9fbd94b7ec3adac04087a0d0fd2e2313087a
2019-07-01 21:03:06 -07:00
Maciej Żenczykowski
e284b30c81 Merge "Fix mobile data usage didn't get increased for xlat464 traffic" 2019-07-02 03:46:29 +00:00
Nazanin Bakhshi
43f45f94d0 Merge "Add device identifier permission checks to TelephonyPermissions"
am: 1ca89a995b

Change-Id: I7f6d821d6596cf24960b2b136ff03b5e23ca5382
2019-07-01 17:36:49 -07:00
Nazanin Bakhshi
98969328f2 Merge "Store subscriber ID / IMSI into telephony database"
am: cf5e620a19

Change-Id: I83ed598520e7bc0f76cdb05ef861320605a1e4e3
2019-07-01 17:36:32 -07:00
Nazanin Bakhshi
1ca89a995b Merge "Add device identifier permission checks to TelephonyPermissions" 2019-07-01 23:26:18 +00:00
Nazanin Bakhshi
cf5e620a19 Merge "Store subscriber ID / IMSI into telephony database" 2019-07-01 23:26:18 +00:00
junyulai
669ef46c58 Fix mobile data usage didn't get increased for xlat464 traffic
Interface stats on stacked interfaces is usually clatd. For
xt_qtaguid supported device, the stats is already accounted
against its final egress interface by the kernel.
Framework side does not need to handle stats on statcked
interface at all.

However, on devices that support BPF offload, xlat464
packets are seen by the iptables rules as arriving on stack
interface only. Thus, add stack interface into accounting is
needed.

Bug: 136193260
Test: 1. atest FrameworksNetTests
      2. atest android.app.usage.cts.NetworkUsageStatsTest
      3. manual test on ipv6-only wifi network

Change-Id: I8ebbefbe4df00e40f4896a17fa52c8438d41286e
2019-07-01 14:17:47 -07:00
Michael Groover
94672cea7c Add device identifier permission checks to TelephonyPermissions
Bug: 131916175
Fixes: 136305129
Test: atest PhoneSubInfoControllerTest
Change-Id: Icca98347ab76b7c3468b95756a33a758a3abde37
Merged-In: I3c82c53ec89cd17b34a61166ccc9e9747388efac
2019-07-01 17:53:11 +00:00
Andreas Gampe
dd2fa79779 Merge changes Ia3ec6198,I211696c8
am: 9cbb19d0a8

Change-Id: Id6bf69626cf3d2c52980cb2f55b5121f3746e5fe
2019-07-01 09:44:47 -07:00
Andreas Gampe
9cbb19d0a8 Merge changes Ia3ec6198,I211696c8
* changes:
  Decouple downgrade and optimization processes.
  Add new atoms to log Downgraded Apps and Low Storage
2019-07-01 16:22:25 +00:00
Felix Lopez Luis
4bf2be9528 Decouple downgrade and optimization processes.
Extract the logic to downgrade apps from the logic to
optimize apps. This will make easier to add more logic for downgrade
applications as required for b/112144519

Bug: 112144519
Test: This change is cover by the integration tests in
BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java

Merged-In: Ia3ec6198bd8bac9871372ae87994ca0c596e36d7
Change-Id: Ia3ec6198bd8bac9871372ae87994ca0c596e36d7
2019-07-01 16:22:15 +00:00
Felix Lopez Luis
7ca1abd367 Add new atoms to log Downgraded Apps and Low Storage
Merged-In: I211696c836cb9c8a7b72e3693ecba3061ca599bf
Exempt-From-Owner-Approval: Cherry-pick
Change-Id: I211696c836cb9c8a7b72e3693ecba3061ca599bf
Bug-Id: b/120911106
Test: refactoring CL. Existing unit tests still pass.
2019-07-01 16:20:55 +00:00
paulhu
dc09e6e635 Correct FrameworksNetTests-jni-defaults lib
FrameworksNetTests-jni-defaults lib should only contain jni
dependencies. Remove static_libs/libs from it and update
FrameworksNetTests/FrameworksNetSmokeTests libs as well.

Bug: NA
Test: atest FrameworksNetSmokeTests FrameworksNetTests
Change-Id: I705e949e4c00035c9734b6a240529d1c2216eb6b
2019-07-01 09:29:13 +00:00
Bill Yi
bca28ead67 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 5924e5eee9 -s ours
am skip reason: subject contains skip directive

Change-Id: If66285b91e120c64f49e7d39c0093f2d18dd14b2
2019-06-30 17:34:30 -07:00
TreeHugger Robot
5924e5eee9 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-01 00:01:21 +00:00
Bill Yi
72291c890b Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2636f8a8fb5002a464776676a7b5fd21eafd6189
2019-06-30 10:55:16 -07:00
Bill Yi
ff1829fdfe [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 5de09b24e5 -s ours
am skip reason: subject contains skip directive

Change-Id: I142d13ec2b46bfa0142778c577922bca6f7b1965
2019-06-29 23:28:41 -07:00
TreeHugger Robot
5de09b24e5 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-30 05:41:31 +00:00
Bill Yi
a7f5fbcc2c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I2bc537499432a02f6a9ad5a41a1d29efd49abc3a
2019-06-29 20:11:40 -07:00
Patrick Baumann
966e5e3ff5 Merge "Call ActivityManagerService.enterSafeMode" into qt-dev
am: cfa47f6183

Change-Id: I4ce954d8dfd27c07b40ce113654d9922058a96cc
2019-06-29 20:08:47 -07:00
TreeHugger Robot
cfa47f6183 Merge "Call ActivityManagerService.enterSafeMode" into qt-dev 2019-06-30 02:33:16 +00:00
Bill Yi
a6d9bffb63 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 5e0da71b78 -s ours
am skip reason: subject contains skip directive

Change-Id: I3f61ddafc544e090c8cdf468c143c2470891c728
2019-06-29 12:25:59 -07:00
TreeHugger Robot
5e0da71b78 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-06-29 19:02:43 +00:00
Adam He
f57a060afc Merge "Fix delay_save and multiple required fields." into qt-dev
am: eea916967a

Change-Id: I5569851b4dcc81e82eb8ae83a4f0cb8adf4d5324
2019-06-29 11:49:42 -07:00
TreeHugger Robot
eea916967a Merge "Fix delay_save and multiple required fields." into qt-dev 2019-06-29 18:11:01 +00:00
Adam He
0df08228be Fix delay_save and multiple required fields.
Fixes: 136120151
Test: atest android.autofillservice.cts.SimpleSaveActivityTest#testDelayedSave
Change-Id: Ie0fd8ef0fbb8457fafc7cb5bed30813abaa0b893

Exempt-From-Owner-Approval: Felipe is no longer with the team
2019-06-29 17:21:45 +00:00
Bill Yi
ee6fa818a4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Iaff0280a44b8b0facfffb478fbe771a66dd2a06d
2019-06-29 07:33:22 -07:00
Lorenzo Colitti
736194dfbf Merge "Unit tests for new explicitlySelected behaviour." am: d1379a4a80
am: 10c1a704c0

Change-Id: Id77a5d6a58e7ab4fdaa0b7c15b824270863b83fd
2019-06-29 02:01:55 -07:00
Lorenzo Colitti
10c1a704c0 Merge "Unit tests for new explicitlySelected behaviour."
am: d1379a4a80

Change-Id: I2cb9d3571284f259c73641ca9fc9898c58df89f1
2019-06-29 01:48:36 -07:00
Lorenzo Colitti
d1379a4a80 Merge "Unit tests for new explicitlySelected behaviour." 2019-06-29 08:25:20 +00:00
Mathew Inwood
07f3dfc625 Merge "Restore some greylist entries." into qt-dev
am: 4c46902338

Change-Id: I1e1e60d2d47c24576ff8c9f41c0676e781348dbb
2019-06-28 23:32:29 -07:00
TreeHugger Robot
4c46902338 Merge "Restore some greylist entries." into qt-dev 2019-06-29 06:12:17 +00:00
Mehdi Alizadeh
71a1c2a2b9 Merge "Persists share targets after reading from Apps xml resource" into qt-dev
am: ffdf5b5639

Change-Id: I5621dabde0db72cea7f8b1c3335801e78ab5a2c5
2019-06-28 22:16:33 -07:00
Mehdi Alizadeh
ffdf5b5639 Merge "Persists share targets after reading from Apps xml resource" into qt-dev 2019-06-29 04:47:23 +00:00
Philip P. Moltmann
4f7f78cce5 Merge "Disable historical appops" into qt-dev
am: 16128cc7a2

Change-Id: I5f3701c4510057aa69dec50c3dbae6c8fce860e8
2019-06-28 20:48:36 -07:00
Eugene Susla
230c3cfaab Merge "[DO NOT MERGE] Guard against launching permission backup/restore twice per request" into qt-dev
am: 40c5864445

Change-Id: I42f6363f3037da833e70d31f8cda096dfe5832c8
2019-06-28 20:42:04 -07:00