summaryrefslogtreecommitdiff
path: root/services/java/com/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Revert "Move service-connectivity to the tethering APEX"Pete Bentley2021-01-071-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 1532910-connectivity_jar_in_apex Reason for revert: Breaks boot tests: b/176969905 Reverted Changes: Ie41a5b569:Set setCurrentProxyScriptUrl as public Id7b6a4664:Move service-connectivity to the tethering APEX Ia7cb83834:Add service-connectivity to tethering APEX Change-Id: I1c369dd8a6527513f8fc1a5cacde59d78d104c7e (cherry picked from commit 3e157018f7745956e03bc82324ef4921366a43fc)
* | | | | Merge changes from topic "preinstall-overrides" am: 29ed176b46 am: ↵Andrei-Valentin Onea2021-01-071-0/+3
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1ebbf5086 am: dd1d1cbacc Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520701 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifbdca1201aa118e59b45f7dd89441a210fc2fa9c
| * | | | Merge changes from topic "preinstall-overrides"Andrei-Valentin Onea2021-01-071-0/+3
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | * changes: Add force_non_debuggable_final_build_for_compat Allow overriding compat config prior to install time.
| | * | | Allow overriding compat config prior to install time.Andrei Onea2020-12-301-0/+3
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user tries to apply an override for a package that is not yet installed, the override is put into a 'deferred' bucket, to be validated upon installation. Overrides are rechecked every time an app is installed, updated or deleted. If a deferred override is valid at install or update time, it gets promoted to a regular override. If a deferred override cannot be applied upon app installation or update, it remains deferred. If an app is deleted, all its overrides become deferred. When any of the reset commands are called for a given package, that removes both regular and deferred overrides. Bug: 158696818 Test: atest CompatConfigTest Test: atest OverrideValidatorImplTest Change-Id: I50eab62214d1325ec6185ddcfe9e8f425e11c98b
* | | | Merge changes from topic "connectivity_jar_in_apex" am: 60dfb880de am: ↵Lorenzo Colitti2021-01-071-3/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6feb97a95b am: 7a26ec1976 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532910 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I49964ba08c0983cd51fa06afe0be07a5c9bfaab1
| * | | Move service-connectivity to the tethering APEXRemi NGUYEN VAN2021-01-071-3/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of modularization of ConnectivityService and expansion of the Tethering module scope, move service-connectivity.jar into the tethering APEX, and load it from there. Bug: 171540887 Test: m, device boots and connectivity Change-Id: Id7b6a4664ae73224b9ab219c94f56d603a62ee5a
| * | Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li2020-12-021-7/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
* | | | Add Initial SearchUIManagerHyunyoung Song2020-12-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:162234997 Test: builds, locally ran cts tests CTS tests: ag/13129468 [Meeting notes with Svet/Sunny/Winson] go/aaplus-search-api [Design diagrams] go/aaplus-search-supl Change-Id: I4589cd411e124dc9d7ea132a71651f6b9f9656ae
* | | | Migrate DisplayFoldController fold state to be based on device state.Darryl L Johnson2020-12-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This modifies DisplayFoldController to base it's internal 'fold' state from being configured directly based on the lid switch (or the proximity sensor) to be based on the device state. Bug: 159401801 Test: Manual - fold/unfold and validate fold state Change-Id: Ib3ecc6326b1d73720d31fa94f33160cfaf1109cd
* | | | Implement setAlwaysOn to IVibratorManagerServiceLais Andrade2020-12-041-0/+4
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implementation supports synced CombinedVibrationEffect instances with prebaked effects only. This implementation adds some vibration checks from VibratorService to VibratorManager, and wires the implementation of VibratorController native service to IVibratorManager. Bug: 167946816 Bug: 131311651 Test: atest FrameworksServiceTests:VibratorManagerServiceTest Change-Id: I8da10c7903e91bba30b11fe46515121858fb5211
* | | Prepare switching font loading to system server.Kohsuke Yatoh2020-12-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, fonts are loaded in Zygote. This CL adds a preparation to switch it to system server and bindApplication(), so that system server will be able to update font map at runtime. (1) Zygote will be initialized without fonts. (2) System server will maintain a serialized font map in ashmem. (3) Apps will load font map from the ashmem in bindApplication(). The change is guarded by Typeface.ENABLE_LAZY_TYPEFACE_INITIALIZATION, and the new behavior is disabled by default. I tested with ENABLE_LAZY_TYPEFACE_INITIALIZATION = true. Bug: 172891184 Test: atest FrameworksCoreTests:TypefaceTest Test: atest CtsGraphicsTestCases Test: atest CtsTextTestCases Test: atest CtsWidgetTestCases Change-Id: I40832962a4b27f6160c4dc6268689c52f6a4dd33
* | | Merge "Initialize AIDL biometric HALs after BiometricService is started"TreeHugger Robot2020-11-121-3/+16
|\ \ \
| * | | Initialize AIDL biometric HALs after BiometricService is startedKevin Chyn2020-11-111-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 172291793 Test: On device with default AIDL HAL, notice it's registered with BiometricService Test: atest com.android.server.biometrics Change-Id: Ia7283cf9473ef1d33237f2b4788d81b79ae26824
* | | | Initial definition of DevicePolicySafetyChecker.Felipe Leme2020-11-111-2/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This object will be used to fail DevicePolicyManagers that cannot be executed on automotive when it's not safe to (for example, because the vehicle is moving). Test: atest CarDevicePolicyManagerTest#testLockNow_safe \ CarDevicePolicyManagerTest#testLockNow_unsafe Bug: 172376923 Change-Id: I7f910a7ee5efc7d647525db1687bd27e68cb7c0a
* | | Merge "profcollectd: Only start the forwarding service if enabled through ↵Yi Kong2020-11-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | device config" am: fb8f388ce7 am: f69edfbddf am: de81949fe4 am: ffbd8ee487 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1484896 Change-Id: I2ed9be0bfbb31d52d1f36db6653cc2baca51364f
| * | | Merge "profcollectd: Only start the forwarding service if enabled through ↵Yi Kong2020-11-031-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device config" am: fb8f388ce7 am: f69edfbddf am: de81949fe4 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1484896 Change-Id: Icac75d15493ab3b7c83fdb5d1c167244a98585f4
| | * | profcollectd: Only start the forwarding service if enabled through device configYi Kong2020-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Test: boot profcollect build Bug: 79161490 Change-Id: I8058594fd78327bbd0983c7f39391dc82e18e2a3
* | | | Merge "Add logic to forward foldable device state to native cameraserver."Darryl Johnson2020-11-031-6/+6
|\ \ \ \
| * | | | Add logic to forward foldable device state to native cameraserver.Darryl L Johnson2020-11-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds two methods to CameraServiceProxy to be used within system_server for setting camera device state flags. It also updates DisplayFoldController to leverage these methods. Bug: 153788656 Bug: 154038218 Bug: 159401801 Test: Trigger fold and verify camera's toggle Change-Id: I08392a62bc65d10a0715ef0d831c8bb919035a5d
* | | | | Merge "Add shell VcnManagementService" am: fa2c588ab5 am: 1ee8f22e8a am: ↵Benedict Wong2020-10-291-0/+20
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | e0eb89cf66 am: 3eda5ec4f9 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456942 Change-Id: Ib6d081351c2440945d094e7e97433f1e91e1fa8b
| * | | Merge "Add shell VcnManagementService" am: fa2c588ab5 am: 1ee8f22e8a am: ↵Benedict Wong2020-10-291-0/+20
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0eb89cf66 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456942 Change-Id: I774426130072afa26da857ee66b724f94b627cd7
| | * | Add shell VcnManagementServiceBenedict Wong2020-10-271-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a shell of the VcnManagementService and VcnManager Bug: 163431877 Test: Compiles, Boots Change-Id: I1f3d8ab9c9bff7d419ea6d3edaae3b6b41b1d775
| * | | Merge "Create service-connectivity.jar" am: bfceacea50 am: b91257f553 am: ↵Aaron Huang2020-10-201-14/+19
| |\| | | | |/ | |/| | | | | | | | | | | | | | | | 5b03885d43 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1351252 Change-Id: I9a04f911043e34c3de1bcac3647773c5adfde294
| | * Create service-connectivity.jarAaron Huang2020-10-161-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new target service-connectivity to split ConnectivityService from services.core. Add ConnectivityServiceInitializer for initializing ConnectivityService and add systemReady() in ConnectivityManager so that SystemServer can call systemReady() through ConnectivityManager which won't change current behavior. Bug: 158268939 Test: make target-java, make host-java atest FrameworksNetIntegrationTests atest FrameworksNetTests make, device can boot, atest CtsStrictJavaPackagesTestCases wifi and mobile data work. Change-Id: I99401772ba9c1c34adca20040da3c7c72d86ddd9 Merged-In: Ie732bfaf381404af0bb599ca2f421a96e7aa4257
| * | Introduce ProfcollectForwardingService am: a0bd2a99ee am: fbeb0d8002 am: ↵Yi Kong2020-09-111-0/+7
| |\| | | | | | | | | | | | | | | | | | | | | | 4914fdc68c am: 4e400a6f4e Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425268 Change-Id: Ic5961ad3b5c4aceaad32bca1ed86342fb00223f9
| | * Introduce ProfcollectForwardingServiceYi Kong2020-09-111-0/+7
| | | | | | | | | | | | | | | | | | | | | Bug: 79161490 Test: boot and observe logcat Change-Id: I0413c52f08b930b1e42971acc7f50e2e2da52f99 Merged-In: I0413c52f08b930b1e42971acc7f50e2e2da52f99
| * | Merge "Revert "Revert "SystemServer: Dynamically load wifi-service"" into ↵Roshan Pius2020-08-041-7/+16
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | rvc-qpr-dev am: b2c8cb2a53 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12282648 Change-Id: I4f0c4543aa511bc33d0c639488a03504aa265877
| | * Revert "Revert "SystemServer: Dynamically load wifi-service"Roshan Pius2020-08-031-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 10144846-revert-10103769-load_wifi_service_dynamically-XZNQJHXURR Reason for revert: Changes in build system to store uncompressed and aligned DEX files for java libs in APEXes. Reverted Changes: Icc0b680c2: Revert "SystemServer: Dynamically load wifi-servic... I83a2f93e3: Revert "product: Remove wifi-service off SystemSer... Bug: 148099857 Bug: 162371380 Bug: 162746981 Test: Compiles Change-Id: I6c3f36873cae476dc76fd353d20fb6bd2c177f0b
* | | Created a mechanism to dump service-less SystemServer state.Felipe Leme2020-10-231-3/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SystemServer has classes (like SystemServerInitThreadPool, SystemServiceManager, and even SystemServer itself) that are not associated with a service; hence, the state of these classes are not dumped in a bugreport. Test: adb shell dumpsys system_server_dumper Test: adb shell dumpsys system_server_dumper --list Test: adb shell dumpsys system_server_dumper --name SystemServer Bug: 159831354 Fixes: 163921395 Change-Id: I5719f7cd3a9022dc0ab12a3b3b22487e2b4866e0
* | | Create service-connectivity.jarAaron Huang2020-10-161-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new target service-connectivity to split ConnectivityService from services.core. Add ConnectivityServiceInitializer for initializing ConnectivityService and add systemReady() in ConnectivityManager so that SystemServer can call systemReady() through ConnectivityManager which won't change current behavior. Bug: 158268939 Test: make target-java, make host-java atest FrameworksNetIntegrationTests atest FrameworksNetTests make, device can boot, atest CtsStrictJavaPackagesTestCases wifi and mobile data work. Change-Id: Ie732bfaf381404af0bb599ca2f421a96e7aa4257
* | | Merge "Add system service for music recognition."Nick Moukhine2020-10-091-0/+13
|\ \ \
| * | | Add system service for music recognition.Nick Moukhine2020-09-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The client submits a RecognitionRequest via MusicRecognitionManager. System server opens an audio stream based on the request and sends it to a MusicRecognitionService (which is exposed by a system app). The result is passed back through system server to the original caller. Test: tracked in b/169662646 Bug: 169403302 Change-Id: I4c7fd9d9d72ddd5678867fd037cab6198bff2c2d
* | | | Add DeviceStateManagerService and stub implementation of policy.TreeHugger Robot2020-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: atest DeviceStateManagerServiceTest Bug: 159401801 Change-Id: Ib7f424e905c80812b36e0e0bb30771224ce56e34
* | | | Merge "Initial version of LocationTimeZoneManagerService"Neil Fuller2020-09-181-2/+12
|\ \ \ \
| * | | | Initial version of LocationTimeZoneManagerServiceNeil Fuller2020-09-171-2/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes an initial version of LocationTimeZoneManagerService, supporting / implementation classes and test infra. This commit is not final code (see various TODOs) but forms the scaffolding for later commits. The ControllerImpl only supports a single LocationTimeZoneProvider, and the "real" binder implementation is left for a later commit. Test: atest services/tests/servicestests/src/com/android/server/location/timezone/ Bug: 149014708 Change-Id: Icfba9a816e55a51ee555e08bb889848644539735
* / / / Initial commit of PowerStatsServiceMat Bevilacqua2020-09-141-0/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 164465661 Bug: 164466995 Bug: 167280723 Test: Verified PowerStatsService is functional on targets that have ODPM data. Change-Id: Ic555b380c566ea26bc2214374f142c5448ea2ee7
* | | Merge "[Media ML] Remove hidden API usage in SystemServer"Jin Seok Park2020-08-041-4/+6
|\ \ \
| * | | [Media ML] Remove hidden API usage in SystemServerJin Seok Park2020-08-041-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace calling MediaSessionService and MediaResourceMonitorService directly with calling string equivalents. Bug: 162734094 Test: build, boot and check service is running with adb command: "adb shell service list" Change-Id: I243b1dbeabcfeadd8927de51cd595fceb48d461b
* | | | Introduce ProfcollectForwardingServiceYi Kong2020-08-041-0/+7
|/ / / | | | | | | | | | | | | | | | Bug: 79161490 Test: boot and observe logcat Change-Id: I0413c52f08b930b1e42971acc7f50e2e2da52f99
* | | Merge "Initial splitting of Content Providers from AMS."TreeHugger Robot2020-07-271-1/+1
|\ \ \
| * | | Initial splitting of Content Providers from AMS.Varun Shah2020-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of many CLs for refactoring Content Provider related code from Activity Manager Service. This CL simply pulls out most of the CP code from AMS into its own class. There are no logic or lock-related changes in this particular CL. Bug: 156262145 Test: atest ContentProviderTest [all] Change-Id: I03310a1f06d354e15439a37f7aeffa543192dad3
* | | | Merge "Remove old code that isn't relevant anymore." am: 22e3e74e4b am: ↵Nicolas Geoffray2020-07-071-6/+0
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | 0642fc19f3 am: dd85ce6a50 am: 11f4874360 am: c21f8b9143 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354663 Change-Id: Ib3e7dbefdb78b3ad9c7b00766d563c7877f823ac
| * | Merge "Remove old code that isn't relevant anymore." am: 22e3e74e4b am: ↵Nicolas Geoffray2020-07-071-6/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0642fc19f3 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1354663 Change-Id: Ic39e4a46f50fd3ab18dba5c859ec39c9458191a0
| | * | Remove old code that isn't relevant anymore.Nicolas Geoffray2020-07-021-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to reduce the CorePlatformAPI surface. Test: m Bug: 154796679 Change-Id: I428fe21d764bf6897942d7e67d85297d826d3716
| * | | Merge "Use new package name for ZoneInfo and libcore.timezone" am: ↵vichang2020-06-301-2/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af6f8e2301 am: 64937407f2 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1346485 Change-Id: I5ded5092e4c7706f58417a5c97f3207524b44a95
| | * | Use new package name for ZoneInfo and libcore.timezoneVictor Chang2020-06-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 141747409 Test: None Merged-In: Id99a345ec024179295063c3644f72c062cb50554 Change-Id: Id99a345ec024179295063c3644f72c062cb50554
| * | | Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297Hunter Knepshield2020-06-181-0/+16
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802 Change-Id: I29f29e33157cec7f99d2966acc2a57940ff346d3
* | | | Use new package name for ZoneInfo and libcore.timezoneVictor Chang2020-06-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 141747409 Test: None Change-Id: Id99a345ec024179295063c3644f72c062cb50554
* | | | Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: ↵Hunter Knepshield2020-06-181-0/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7dad0b5cc am: 8a01758622 am: bc8fec3027 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802 Change-Id: Ie2dc8d2094be3f42eb13e561bda9aa4ef24332cc
| * \ \ \ Merge changes from topic "bugreport-stub" into rvc-dev am: 9568960297 am: ↵Hunter Knepshield2020-06-181-0/+16
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | | | | | | | | | | | | | a7dad0b5cc Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11856802 Change-Id: I38f827361f1f234e49c086953d0c0d7426e0d70f