Commit Graph

468813 Commits

Author SHA1 Message Date
Terry Wang
1bc7be7fca Merge "Add @hide to Context.APP_SEARCH_SERVICE" 2020-02-13 22:50:17 +00:00
TreeHugger Robot
4e21e319cd Merge "Obfuscate visibility of notification-related events." 2020-02-13 22:46:52 +00:00
Eric Laurent
d2dc4ccad1 [automerger skipped] Merge "audioservice: fix persistency for volume per attributes" am: 2b6df36401 am: 6875f1b586 am: 7c07e8b58c -s ours
am skip reason: skipped by user elaurent

Change-Id: Idd51c896499ff4db4df272adb93ef89db4c99bc5
2020-02-13 22:45:09 +00:00
Philip P. Moltmann
87fd8bc84b Track noted app-ops for appop permissions
Test: Built
Bug: 10319596
Change-Id: Ia8e3dddbcd4aa28919ede9401bbf3d7d64e2ced5
2020-02-13 14:44:39 -08:00
TreeHugger Robot
5de200eb17 Merge "Added OWNERS file for inputmethod" 2020-02-13 22:36:46 +00:00
Etan Cohen
ee9f12795b Merge "[WIFICOND] Rename to nl80211" 2020-02-13 22:34:09 +00:00
Patrick Baumann
520bc6f210 Merge "Enables the App Enumeration Feature" 2020-02-13 22:32:44 +00:00
shubang
333a51344b Add a permission for Descrambler
Most of the broadcast features don't require descrambler.
Use another permission to minimized the access and protect scrambled
contents.

Bug: 139308734
Test: make;
Change-Id: I3cfcf22ee6b0c9218d3db966b3f441d491d8dd03
2020-02-13 14:26:10 -08:00
Amy
92726fb752 Moving TRM under a separate package
Change the TunerResourceManagerListener to ResourcesReclaimListener

Test: make framework-media-tv-trm-sources
Bug:
Change-Id: Id49bfead1b08b4d01adb1a3ae9f354da6d1a75b1
2020-02-13 14:20:06 -08:00
TreeHugger Robot
8eb3cbe1ba Merge "Fix functional test for startop." 2020-02-13 22:02:43 +00:00
Alec Mouri
c9d5f3d952 [ANativeWindow] Rename allocateBuffers to tryAllocateBuffers
Renaming was done in response to API feedback.

Bug: 148962594
Test: builds
Change-Id: I05b3e99800d967dda243b6e7af48f1b645909bdd
2020-02-13 13:58:50 -08:00
Benedict Wong
65e8d4e841 Merge "Implement Ikev2VpnRunner" am: b5bb5d4ba1 am: ac609b99bf
Change-Id: I0048c33ac9b5b60d2f64a90d7c5d9e5e829cf24d
2020-02-13 21:46:13 +00:00
TreeHugger Robot
6988e11c8d Merge "route prediction service session based on device config" 2020-02-13 21:41:38 +00:00
Joshua Tsuji
6b34e2b004 Adds currentlyResolvingConflicts to the coordinator.
This allows users to call onContentMoved with impunity, simplifying code.

Test: atest SystemUITests
Change-Id: Ica8f9ecc79c1a452cbcb004a1089538b23eb0603
2020-02-13 16:40:56 -05:00
Benedict Wong
ac609b99bf Merge "Implement Ikev2VpnRunner" am: b5bb5d4ba1
Change-Id: I9b966b52f78fa54dca9d8c3032ec26ed853ad572
2020-02-13 21:31:28 +00:00
Evgenii Stepanov
751fa188e9 Add android:allowNativeHeapPointerTagging.
android:allowNativeHeapPointerTagging in the app manifest disables heap
pointer tagging, even for targetsdklevel > 29.

Bug: 135754954
Test: atest CtsTaggingTestCases CtsTaggingDisabledTestCases
Change-Id: I51776809f35a6501c6c0ef2e3de1d4a319311553
2020-02-13 13:31:25 -08:00
Alec Mouri
8a82b141d1 [HWUI] use ANativeWindow_getLastQueuedBuffer api
Bug: 137012798
Test: builds
Change-Id: Ic33a21a73b0579726f47c53cc102fb91b5ead0d6
2020-02-13 13:28:36 -08:00
TreeHugger Robot
6e43bcfbc7 Merge "Add logging to content inflation pipeline" 2020-02-13 21:26:08 +00:00
Hai Zhang
5b53e904dc Generate fallback permission state if it is missing.
This can happen after rollback if a package is installed after
snapshot is taken for APEX update. We need to generate reasonable
states for these packages or they may become unusable due to missing
whitelisting or permission review.

Bug: 136503238
Test: presubmit and ag/10203950 when it's ready
Change-Id: Iafe71de1f2bfff2c624f96259e28605aec84fbda
2020-02-13 13:22:50 -08:00
Cindy Zhou
335c39e89f Enable CFI in libjni_pacprocessor
Bug: 147359729
Bug: 145990493
Test: Run proxy CTS tests on cuttlefish
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest

Change-Id: I9b82cf6eeb2e880484cd2e51815a2b70a753a1a6
2020-02-13 13:20:53 -08:00
Anna Malova
dc68d92603 Merge "Switch to WebViewFactoryProviderForR." 2020-02-13 21:18:23 +00:00
Eric Laurent
7c07e8b58c Merge "audioservice: fix persistency for volume per attributes" am: 2b6df36401 am: 6875f1b586
Change-Id: Ib9a4688e471ec4c7bfe747efd8a1580362dbd904
2020-02-13 21:16:40 +00:00
Benedict Wong
b5bb5d4ba1 Merge "Implement Ikev2VpnRunner" 2020-02-13 21:15:24 +00:00
Wale Ogunwale
ecf66058ea Added OWNERS file for inputmethod
Bug: N/A
Test: N/A
Change-Id: I0dd7bad55dec4f2332d7819d4ccb1e0da7a2d9b7
2020-02-13 13:14:24 -08:00
Derek Sollenberger
8c2f6b6e15 Move RenderNodeAnimator to android.graphics.animation package
A wrapper still exists at android.view.RenderNode animator
as it needs access to internals of the view that would violate
the package layering if moved into android.graphics.animation.

This CL also moves the Java and cpp files associated with creating
a native interpolator that can be run directly on the RenderThread.

Bug: 149293249
Test: CtsViewTestCases
Change-Id: I5260331fedbd634cf2f6d6d392941e7284527420
2020-02-13 16:14:06 -05:00
Julia Reynolds
0d07378e47 Allow system listeners to unsnooze
Also refactor to simplify data structure

Test: atest
Bug: 149386091
Change-Id: Iccc8ee440bdd02a74390713c3dfeffa49d1ba142
2020-02-13 16:07:52 -05:00
Alex Buynytskyy
17d9da0523 Incremental installations in adb, DataLoader/device side.
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest
Test: adb install --wait --incremental ~/v4/v4-only-original.apk
Bug: b/136132412 b/133435829
Change-Id: I41b72021e3c7703b57b3e14f58d5aab6c1271f04
2020-02-13 13:03:13 -08:00
Eric Laurent
6875f1b586 Merge "audioservice: fix persistency for volume per attributes" am: 2b6df36401
Change-Id: I98274b101226c1f322f96d0eac3f701eafc5f056
2020-02-13 21:02:52 +00:00
TreeHugger Robot
e0fc52af32 Merge "Fix typo in atoms.proto" 2020-02-13 21:01:57 +00:00
TreeHugger Robot
632d76a112 Merge "Notification statsd logs: Visibility changes." 2020-02-13 20:54:27 +00:00
Eric Laurent
2b6df36401 Merge "audioservice: fix persistency for volume per attributes" 2020-02-13 20:49:33 +00:00
Danning Chen
c4933eb5b7 Add a JobScheduler service to prune the People Service data on a daily basis
- Refactor the class EventStore to simplify the event history access methods
- Add the prune methods to delete the data for:
  - uninstalled packages
  - event data that exceeds the retention period
  - call events data for non-dialer packages
  - SMS events data for non-SMS-app packages
  - orphan events (the annotated locus ID or phone number have  changed in the associated shortcut)
- Change the package-level events to class-level for the app share events

Bug: 146522621
Test: Manually verify the behavior on device \
    atest com.android.server.people.data.DataManagerTest \
    atest com.android.server.people.data.PackageDataTest
Change-Id: I3f17ed269fe5cb05f1d3696e44dfb0bed951678f
2020-02-13 12:45:42 -08:00
Adrian Roos
1f0eb3f262 Merge "WM: Build policy with DisplayAreaPolicyBuilder (5/n)" 2020-02-13 20:41:28 +00:00
Patrick Baumann
7955e8ec47 Enables the App Enumeration Feature
This change enables the app enumeration feature by default. This change
is very likely to break some tests that manually install APKs. The fix
for them is generally easy: add the --force-queryable flag to the shell
command.

This change will also make some apps targetting R unable to see other
apps that are installed or sideloaded on the device.
go/app-visibility-playbook outlines the steps needed to re-gain that
visibility.

Fixes: 136675067
Test: atest AppEnumerationTests AppsFilterTest
Test: atest CtsCalendarProviderTestCases
Test: atest CtsAccountManagerTestCases
Test: atest CtsContentTestCases
Test: atest CtsPermission2TestCases
Test: atest CtsAppSecurityTests
Test: atest CtsAppTestCases
Change-Id: I9db3c0768416dd7ba24108b2a142a24672dab561
2020-02-13 20:35:48 +00:00
Curtis Belmonte
faebfd0ad8 Merge "Add internal API for credential text in BiometricPrompt" 2020-02-13 20:29:14 +00:00
Nick Chalko
a432c50d43 Merge "Initialize cec menu language correctly." 2020-02-13 20:26:45 +00:00
Nick Chalko
9bed717559 Initialize cec menu language correctly.
Change-Id: I777af17c0351df8610ad7198ce06b1e92e7e7666
Bug: 149098143
Test: atest HdmiControlServiceStaticTest HdmiControlServiceTest
2020-02-13 20:26:04 +00:00
TreeHugger Robot
80dc69b81e Merge "After data was successfully copied - mark package as able to receive new sharing requrests." 2020-02-13 20:25:54 +00:00
David Zeuthen
e8a6bffec0 Update counters for session encryption to start at 1.
The DIS version of 18013-5 now specifically says

  The first encryption with a key shall use a counter value of 1. For each
  following encryption the counter value shall be increased by 1.

in section '9.2.1.4 Mechanism". The previous version said

  The counter value is an unsigned integer, which starts at 0 for both
  the mDL and the mDL Reader. For each encryption the counter value shall
  be increased by 1.

which for some strange reason was interpreted by someone to mean that
counters should start at 1.

Update our implementation to use 1 as now called for by the standard.

Bug: 111446262
Test: atest android.security.identity.cts
Change-Id: I09d1216713d57b54036e4f9aa6677dfa5713133c
2020-02-13 15:24:09 -05:00
Derek Sollenberger
f5273a6bd9 Merge "Remove unnecessary UnsupportedAppUsage annotation" 2020-02-13 20:23:56 +00:00
TreeHugger Robot
83d4a6c093 Merge "Parse filterSettings in JNI" 2020-02-13 20:23:18 +00:00
TreeHugger Robot
7900e4d73e Merge "[Passpoint] Truncate IMSI from the SimCredential toString method" 2020-02-13 20:18:41 +00:00
TreeHugger Robot
651cb0c674 Merge "Exclude all directories instead of only known ones" 2020-02-13 20:14:55 +00:00
shafik
0f2c4d12eb Add intent to clear app cache
Adds a new public API intent action that should be used to launch a
dialog that prompts the user to clear app caches.
The intent can be used by apps holding MANAGE_EXTERNAL_STORAGE
permission or with OP_MANAGE_EXTERNAL_STORAGE allowed

Bug: 144341120
Test: build

Change-Id: Icc6de16da4f892f1ed46ffc89e51071647a17400
2020-02-13 20:13:46 +00:00
TreeHugger Robot
7de784c1eb Merge "Remove FLAG_SHOW_FOR_ALL_USERS to avoid crash" 2020-02-13 20:09:44 +00:00
Varun Shah
0cbb6b63ee Obfuscate visibility of notification-related events.
UsageStats will return obfuscated NOTIFICATION_SEEN or
NOTIFICATION_INTERRUPTION events to callers of #queryEvents
and #queryEventsForUser if they don't hold the MANAGE_NOTIFICATIONS
permission.

Additionaly, refactor the query API in UsageStats to take in flags as
defined in UsageEvents to make future obfuscation/visibility parameters
cleaner.

Also, add the MANAGE_NOTIFICATIONS permission to shell for CTS test.

Bug: 144724524
Test: atest android.app.usage.cts.UsageStatsTest
Test: atest com.android.server.people.data.UsageStatsQueryHelperTest
Test: atest android.content.pm.cts.shortcutmanager.ShortcutManagerUsageTest
Change-Id: I118de7e589ac8dd5924d3740c70903fa484b79b5
2020-02-13 12:01:13 -08:00
TreeHugger Robot
b82b55f30d Merge changes I04d5e59f,Ia5fa3517
* changes:
  Update overflow button on theme change
  Empty overflow UI
2020-02-13 20:00:59 +00:00
Winson Chung
75375e02f7 Enabling logs for nav mode & sysui flag updates
Bug: 148422894
Bug: 146964271
Change-Id: I3951544789d1c936d6ff6084da69b5907d77d8ab
2020-02-13 11:59:25 -08:00
Bill Yi
06ab5fa70f Import translations. DO NOT MERGE
Change-Id: Iaf6a5a84ff5337eadc78e048ecf6a283885a1dd2
Auto-generated-cl: translation import
2020-02-13 11:53:40 -08:00
Tarandeep Singh
684078890e Fix synchronization in updateImeTargetWindow
Use lock before accessing Window map and calling
DC.updateImeControlTarget().

Change-Id: I363e3a96fc6041df9b25c649de6bda0a70d40857
Fix: 149491593
Bug: 111084606
Test: atest CtsInputMethodTestCases
2020-02-13 11:52:43 -08:00