These annotations have been relocated to frameworks/libs/modules-utils.
This CL removes the files and updates necessary build rules.
Bug: 183133670
Test: m
Merged-In: I834b9f5320e0b6fe8cb9feb7194c82085b805e07
Change-Id: I834b9f5320e0b6fe8cb9feb7194c82085b805e07
The services/api/{current,removed,lint-baseline}.txt files used to
contain information for the merged system server stubs. Those files are
now created by the rules in api/Android.bp
('services-system-server-current.txt' and 'services-system-server-removed.txt').
Test: m checkapi
Bug: 177640454
Change-Id: I365be0a45126a6a056d5219e24ef93020c034c87
Bug: 181964615
Make ComponentResolver a watched object, where changes are notified to
PackageManagerService. At the same time, make it snappable, since it
has state that is changed by PMS.
commit.
Test: atest
* FrameworksServicesTests:AppsFilterTest
* FrameworksServicesTests:PackageInstallerSessionTest
* FrameworksServicesTests:PackageManagerServiceTest
* FrameworksServicesTests:PackageManagerSettingsTests
* FrameworksServicesTests:ScanTests
* FrameworksServicesTests:UserSystemPackageInstallerTest
* PackageManagerServiceBootTest
* UserLifecycleTests#startUser
* UserLifecycleTests#stopUser
* UserLifecycleTests#switchUser
* android.appsecurity.cts.EphemeralTest
* android.appsecurity.cts.InstantAppUserTest
* FrameworksServicesTests:WatcherTest
* CtsContentTestCases:IntentFilterTest
* CtsDynamicMimeHostTestCases
* CtsRoleTestCases
Change-Id: Iccf02e4d32170ca91cf0976603a9bfc0b0627303
Bug: 181964615
Convert WatchedIntentResolver to use WatchedIntentFilter instead of
IntentFilter. WatchedIntentFilters are converted back to
IntentFilters when they are used in APIs. The final conversion to
WatchedIntentFilter in PackageManagerService happens in a follow-up
commit.
Test: atest
* FrameworksServicesTests:WatchedIntentHandlingTest
* FrameworksServicesTests:AppsFilterTest
* FrameworksServicesTests:PackageInstallerSessionTest
* FrameworksServicesTests:PackageManagerServiceTest
* FrameworksServicesTests:PackageManagerSettingsTests
* FrameworksServicesTests:ScanTests
* FrameworksServicesTests:UserSystemPackageInstallerTest
* PackageManagerServiceBootTest
* UserLifecycleTests#startUser
* UserLifecycleTests#stopUser
* UserLifecycleTests#switchUser
* android.appsecurity.cts.EphemeralTest
* android.appsecurity.cts.InstantAppUserTest
* FrameworksServicesTests:WatcherTest
* CtsContentTestCases:IntentFilterTest
* CtsDynamicMimeHostTestCases
* FrameworksServicesTests:WatcherTest
Change-Id: Iba80142b44268443221c22b5626fc53d60f2aa9f
This CL improves the ongoing call animation by:
1. Making sure that the status bar window matches its parent size during
the animation, so that the expanding view is not clipped.
2. Expanding the view below the other status bar text.
See b/183229367#comment8 and #comment11 for before/after videos.
Bug: 183229367
Test: Create an ongoing call notification, tap it
Change-Id: Idfd8a43109584a4b21ad0a3e5f5e2028a87a9c60
Add a listener to know when HDR layers are present on displays
which support HBM.
Pass both HDR and SDR brightness requests from DPC to
SurfaceFlinger. Lots and lots of scaffolding for this.
Bug: 175321409
Bug: 175821789
Test: atest com.android.server.display
Test: Manually verify that brightness levels are correct when in high
lux and HDR, low lux and HDR, and various luxes without HDR.
Change-Id: I530299455a7745fd57d44b1e8b20477674894e21
We now have two notions of profileable:
* profileable from shell: the user can profile the app using ADB-based
tools (e.g. Android Studio or shell) . This is off unless the app
opts in.
* profileable from platform services: trusted platform services can,
in accordance to the app installer's Terms Of Service profile the
app. This is the default unless the app opts out. This is enforced
by the profilers with information provided by the framework.
A new flag <profileable android:enable="false"/> can be used to opt out
of profiling in general. If this is not given, the app is considered
profilable by the platform, but the data will *not* be exposed to the
user via shell or adb. If profiles of the app should be given to the
user (e.g. for using Android Studio), <profileable
android:shell="true"/> can can still be used.
We write whether the app opted out or not to packages.list, to be
consumed by the profilers.
CTS-Coverage-Bug: 186720347
Test: m
Test: on userdebug: /data/system/packages.list for preinstalled, Play
Store installed app and sideloaded app.
Test: on user: atest CtsPerfettoTestCases.
Bug: 170284829
Change-Id: I8d4bbedc043976fd11a95a511bd95a05c7ced7b9
Mark app compat changes guarding the new opt-out rules for D2D transfers
as @Overridable. This allows enabdling / disabling the behaviour without
code changes.
Bug: 186833084
Test: m -j
Change-Id: I97396bd2a27c86ffccffec364cf57d9647bb760d
* Add authorization check in DPMS for API
methods to set the private DNS mode and
the recommended global proxy.
* When there is a unaffiliated user, it is
assumed that it is managed separately.
* These are device-wide policies that affect
all users, so should only be set when it is
the same managing entity and all users on
the device are affiliated.
Bug: 177926343
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest
atest com.android.cts.devicepolicy.DeviceOwnerTest#testProxyStaticProxyTest
Change-Id: I119a84988ad3cda42b709dbc6d63acf76b0031d6
Because we were not invalidating the view anymore, but clipping was done
in the drawChild call, the clipping was never updated.
Invalidating the view fixes this.
Test: swipe, observe no jank
Fixes: 186488568
Change-Id: I10b1e0ef52936ec7f67266686f086604a7d1f501
Given that system usages were added to the AudioAttributes, system
components need to use the API were applicable. AudioMixingRule was
missing this and thus the audio attribute usage base routing did not
work correctly. In particular the registration of the audio policy mixing
rules would not register the system usages based routing correctly.
Instead, the match usage rule would default to unknown usage instead of
the requested system usage.
Bug: 186661937
Bug: 186442942
Bug: 186158497
Test: build gcar_emu_x86 and run car kitchen sink to make sure routing
performed as expected.
Change-Id: I4aaedf1b6b9144bd2e84d2d7112b5ebcf744a8b2
Bug: 182486170
Fixes: 186168632
Test: visual
- shelf shape stays constant (top/bottom corners stay round)
- notification scrolling up from shelf first shows round
top/bottom corners, then "merges" top corners with notification
above if in same section; vice versa happens for scroll down
- on lockscreen, notif before shelf has round bottom corners
- no change while dozing/pulsing
Change-Id: I1ef915e3b91cb16e6277f8eaa1bff63dcc425dde
- Use userId in streaming policy getters.
- Check if PO or DO exist
- Return NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY if DPC is not
present.
Bug: 179910174
Bug: 179910177
Test: Builds successfully
Change-Id: I49191a4ddea45925772d39614f5d7f82657b26ee
China DTMB digital TV.
See SJ/T11368-2006
“Specification for multichannel digital audio coding technology”.
Test: atest AudioFormatTest
Bug: 185950819
Merged-In: Id6078e65941020a73f8a43017f480574c2a78999
Change-Id: Id6078e65941020a73f8a43017f480574c2a78999
Right now there is no timeout/expiration in the remote service. In cases
that the implementer of Rotation Resolver Service doesn't call back
and the pending callback blocks the following requests, we should
add an expiration of the pending callback in the remote service.
Bug: 186674250
Test: Manually tested the feature
Change-Id: I82f08155243e2205a2c95ae39c71c3118e9249ec