| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Bug: 244154558
Test: manual
Change-Id: I5a86639cd571e14e9a9f5d5ded631b5a7c08db7e
(cherry picked from commit ede0a767c26f144e38b4a0c1c2f530b05ffd29a8)
Merged-In: I5a86639cd571e14e9a9f5d5ded631b5a7c08db7e
|
| |
|
|
|
|
|
|
|
| |
AccountManagerService.
Bug: 169762606
Test: atest AccountManagerServiceTest
Change-Id: I80fabf3a64c55837db98ff316e7e5420129c001b
(cherry picked from commit 0adcadb0b28310bac568def4da2cbaf16843bcea)
|
| |
|
|
|
|
|
|
| |
Bug: 217388602
Bug: 218875965
Test: atest EnterpriseResourcesTests
Test: manual
Change-Id: I8af03136e67057d171e97cb5a43187aa6c7f4fe7
|
| |
|
|
|
|
|
| |
Bug: 188410712
Bug: 211422509
Test: manual
Change-Id: Ia27b22b6cad14c8b62f3415a4967e479c21eb30c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: 152453213
Tag: #refactor
This commit prepares PropertyInvalidatedCache to function as a system
api. Specifically, the methods recompute() and bypass() which may be
overridden by clients are now public (instead of protected). This
forces an update to all existing clients, to accommodate the change in
method visibility.
Two small changes have been made as cleanup:
1. The awkwardly named debugCompareQueryResults() is now
resultEquals(), which is more or less consistent with how other
equality tests are named in Android. This name change affects two
clients.
2. PackageManager has changed to use resultEquals() instead of
maybeCheckConsistency(). This provides a simpler and more
consistent use of the APIs. maybeCheckConsistency() has been made
private.
Test: atest PropertyInvalidatedCacheTests
Change-Id: I4110f8e887a4fd8c784141e8892557a9d1b80a94
|
| |
|
|
|
|
| |
Test: manual
Bug: 207388203, 205130113
Change-Id: I25eeaa9e7f0b79703949bd91eb8cca04034e5ba7
|
| |
|
|
|
|
| |
Test: existing CTS tests
Bug: 182164206
Change-Id: Ia2855a4df24e53710fac29242aafc25bd8e32578
|
| |\
| |
| |
| |
| |
| |
| |
| | |
c6a9f2e81c am: 48cecd59d5 am: d9f8d109dc am: 975e9651d2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1793485
Change-Id: I7e33663db36e5f2060f222715d90ddfff7b1574c
|
| | |\
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1793485
Change-Id: Ifd1c48036dbc7f7a48ae24ce13553f71f1eb794c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For now AIDL doesn't support Map<String,Integer>, there's no way to fix
it with typed map.
Bug: 192615532
Test: m
Change-Id: Id0011372a0997b4ab9aa700a7c4f8746bff29189
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
Do not cache wildcard users (UserManager)
Do not cache wildcard users (PackageManager)
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 186778818
PropertyInvalidatedCache queries that contain wildcard user IDs are no
longer cached. Some simple multi-user tests show that no current
caches use wildcard user IDs, so the change has no effect on
performance. The bypass() mechanism is used to avoid the cache when
necessary.
Test: atest
* FrameworksServicesTests:UserManagerServiceCreateProfileTest
Change-Id: I68868b7f4142417d98b101504cb38c829b220e47
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
Test: not needed
Bug: 136458050
Change-Id: I0f0b171d627eeb35f78f541b5a6317f6f82cafc6
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: d89db71a24 am: 0a0ffb2839
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1734374
Change-Id: Iac528a6d10f49deb1430bd697883f0db2ba594eb
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1734374
Change-Id: I46c573107f841687d48a8a725a979948cb4a8964
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 174932174
Change-Id: Ia9e2566cf3279b5b8364de02989a247f0414f485
Test: none
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 180401296
Merged-In: I1a16808426934f4a8d12410576d769443e4c2a04
Change-Id: I247a99c33c62cd1d000b7e50d1dda8b14df229d7
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 172841550
Test: manual
Change-Id: I1a16808426934f4a8d12410576d769443e4c2a04
Merged-In: I3cd5a94386f15cf60a7fe3095b00815e4a6485ae
(cherry picked from commit 6ff42dd2d264cd89acdf45cf403147a870a14086)
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
See comment here for the discussion on solution
https://b.corp.google.com/issues/169762606#comment14
Change-Id: If212df3a3b7be1de0fb26b8e88b2fcbb8077c253
Bug: 169762606
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add metrics for addAccount, addAccountExplicitly,
startAddAccountSession, and getAuthToken
Bug: 182980755
Test: verified manually using
make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive 103
Change-Id: I6cc0f9cb7a4b1e53d22ddcef0f03e7d42587b42e
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1573324
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I429557a8537fb6417fcb9539978964ade75c8dee
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1573324
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibe2c5fd92070b1aebdc46755c8667b3ed22348ab
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: n/a
Change-Id: I6113011e6ab0997285d5b7a86303fc60a3b98a2b
Exempt-From-Owner-Approval: Previously approved
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
Merged-In: I034d45f1afcdd07c0b12e2db7e4134b695ec5c70
Change-Id: I329407db7c9ed7d2b512e505df6e50c4f471fafa
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Activity can be used only in two cases.
1) Calling uid matches uid grantee.
2) Calling uid is is system. This flow is used by getToken methods with
notifyAuthFailure=true.
Test: Existing CTS tests
Bug: 158480899
Change-Id: I1421c333b6cebb4f7cddcdd8766298f6872e933b
(cherry picked from commit 10d8a114bbd91c07f2feb5009328b16203ff50b1)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 169763814
Test: manual
Change-Id: I15dd22791fcc61ef02b06ad51d9e4409d11c0181
(cherry picked from commit f45dcfe1f5ed74dcec15799f2abd9e5ecbbed4b7)
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
7f2257fa0f am: 683623e8b0 am: be186dc33e am: 88e38a7d1c am: 37ff5c9d04
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13191817
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5b0f76a2f9ea938e219a00e46e103c915bd5c739
|
| | | |\ \ \ \
| | | |_|_|/
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
7f2257fa0f am: 683623e8b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13191817
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I9307ed863c033d169fb91994e976a94ca9267bf0
|
| | | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
7f2257fa0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13191817
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2f86ac2f6302f63f1dc3d11d93c1a99434ec4fb6
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: 172841550
Test: manual
Change-Id: I1a16808426934f4a8d12410576d769443e4c2a04
Merged-In: I3cd5a94386f15cf60a7fe3095b00815e4a6485ae
|
| | |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
qt-dev am: a064b69f18 am: f0263a9369 am: 4290008125 am: 5ec7e0d4f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029782
Change-Id: If6ed2031eb08dc339a225b184b80d6403e6fad2a
|
| | |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 3f47c701f1 am: 765788de9a am: 3be814cbff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029378
Change-Id: Ic7e3689b65a2cf9edba1355eed3daa6a0647b3cf
|
| | |\ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
into pi-dev am: 888ba5ee1a am: 1d3492e181 am: 427ee435bd am: 5c9473a962 am: c91980e20e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13028859
Change-Id: I2d5424f4ac3a53a58ed8779b66d2d93c3670e60f
|
| | |\ \ \ \ \ \ \ \
| | | |_|_|_|_|/ /
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
eb80316624
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468245
Change-Id: I60222cb1879651cf283e385519b5c4d156ab68a1
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
|
| | |\ \ \ \ \ \ \ \
| | |/ / / / / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
pi-dev am: 5409071886 am: 9bca2e2c06 am: 36fabac3e9 am: 4b9ee68510 am: 50f534a82e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12933114
Change-Id: I3cb3c2c8f6f87bc5313bbc85e0b2817e15df4db3
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
addAccount that requires synchronous execution."
|
| | | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
that requires synchronous execution.
Bug: 175382142
Change-Id: I5c2032e91c47d8cd78e9d2c110737d8ad9ba2749
|
| |/ / / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bug: 172841550
Test: manual
Change-Id: I3cd5a94386f15cf60a7fe3095b00815e4a6485ae
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
- Add getLaunchedFromUid and getLaunchedFromPackage into Activity
because they are used in several places.
- Move getActivityClassForToken to ActivityTaskManagerInternal#
getActivityName because it is only used in system server.
- Remove getPackageForToken because it is no longer used.
Bug: 174041144
Bug: 174040691
Test: CtsWindowManagerDeviceTestCases
Change-Id: Iac1581ac2271baf1ab1625ced6cc1f42bf05eaf5
|
| |\ \ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
qt-dev am: a064b69f18 am: f0263a9369 am: 4290008125 am: de121ad5cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029782
Change-Id: I03d5431b03bd40ce5a72f385b382f1a62f4158b0
|
| | |\ \ \ \ \ \ \ \
| | |_|_|_|/ / / /
| |/| | | | / / /
| | | |_|_|/ / /
| | |/| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-dev am: a064b69f18 am: f0263a9369
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029782
Change-Id: If1903ef712d1d297cea648a6d78213127ddd3fd6
|
| | | |\ \ \ \ \ \
| | | | |_|_|/ /
| | | |/| | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
qt-dev am: a064b69f18
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029782
Change-Id: Ibf0233c8e736166a6357d622a5f5763cca64c07a
|
| | | | |\ \ \ \ \ |
|
| | | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Activity can be used only in two cases.
1) Calling uid matches uid grantee.
2) Calling uid is is system. This flow is used by getToken methods with
notifyAuthFailure=true.
Test: Existing CTS tests
Bug: 158480899
Change-Id: I1421c333b6cebb4f7cddcdd8766298f6872e933b
|
| |\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
am: 3f47c701f1 am: 765788de9a am: 364db883ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029378
Change-Id: I0e002fdc58070bdb780bd33b7aea90f95d58436b
|
| | |\| | | | | | |
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
am: 3f47c701f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029378
Change-Id: I59ea6157c2646c0398111718cff4af51cd4245d8
|
| | | |\| | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13029378
Change-Id: I5259ff89a5491f6cf3c5bb0eeb12fb66ef47d494
|
| | | | |/ / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: 169763814
Test: manual
Change-Id: I15dd22791fcc61ef02b06ad51d9e4409d11c0181
|
| | |\| | | | |
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
into pi-dev am: 888ba5ee1a am: 1d3492e181 am: 427ee435bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13028859
Change-Id: I7a2396510c5333088d5c8e16dbb277c3b895e3ce
|