summaryrefslogtreecommitdiff
path: root/services/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | systemserver: start displayoffload serviceYifei Zhang2021-08-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Now based on config.enable_sidekick_graphics Test: build pass, boot test Bug: 179179780 Bug: 196075234 Change-Id: I032d2cc13f8911c19410f3f3faebef4566825eb9 (cherry picked from commit 511490ab8e7a6b334fab8f613e79f66ba819fc1c)
* | | | | | | Merge "Start blob store service synchronously." into sc-v2-dev am: ↵Sudheer Shanka2021-08-311-10/+3
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | / / / / | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | 6ef8d6193c am: 7fe1e687ca Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15717104 Change-Id: I0fc91f8360b3991f267de1944e44eb848476c5a8
| * | | | | Merge "Start blob store service synchronously." into sc-v2-dev am: 6ef8d6193cSudheer Shanka2021-08-311-10/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15717104 Change-Id: I674044c4637537977836a8f849da45e659c53b18
| | * | | | | Start blob store service synchronously.Sudheer Shanka2021-08-311-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting the service asynchronously is resulting in a race condition when accessing a shared data structure. We could add a lock to guard this data structure but this is resulting in a slightly worse performance than starting the service synchronously. Bug: 194428627 Bug: 179687249 Test: treehugger verification Change-Id: Ib4d610e8a221f94a3dcc8475371b4a05e5582149
* | | | | | | UwbService: Move to packages/modules/UwbRoshan Pius2021-08-101-1/+3
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, load the uwb system service jar from uwb apex. Bug: 194906542 Test: Compiles Change-Id: Iffc8988c56ba3199c5159563b06120a84a0632dd
* | | | | | Merge "Initialize the IRS as a SystemService."Kweku Adams2021-08-031-0/+8
|\ \ \ \ \ \
| * | | | | | Initialize the IRS as a SystemService.Kweku Adams2021-07-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 158300259 Test: Flash device and check logcat for IRS startup Change-Id: Icf0bfc5a09b9d430f64660a8aacd27be5ce50775
* | | | | | | Merge "Add a new boolean resource to reset the AirPlane mode after during ↵Gaurav Bhola2021-07-301-0/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| / / / / / | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | boot." into sc-v2-dev am: f89a8fdefc am: cf1a9bb8e3 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15401462 Change-Id: Ie9b7bb058f60056811df84ef77c0eb85359ad935
| * | | | | Merge "Add a new boolean resource to reset the AirPlane mode after during ↵Gaurav Bhola2021-07-301-0/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boot." into sc-v2-dev am: f89a8fdefc Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15401462 Change-Id: Ic23eddad3f5bf76802407e23bb842bf96c0b9a02
| | * | | | Add a new boolean resource to reset the AirPlane mode after during boot.Gaurav Bhola2021-07-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This resource is added specifically to be used for automotive devices where if the device exits from safemode and boots into normal mode, the airplane mode remains enabled. And there is no UI on automotive devices to disable the Airplane mode. - The value will be overlayed to true for automotive devices. Bug: 182523956 Test: Override the config and check if airplane mode is disabled in the normal mode. Change-Id: I829ed8b5aa436a7bc3b75e6308ff507035150586 Merged-In: I829ed8b5aa436a7bc3b75e6308ff507035150586
| | * | | | Merge "Add System.runFinalization() call" into sc-dev am: 84209e128dHans Boehm2021-07-091-0/+1
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15245491 Change-Id: Ib8553e733744f7bfe5aaa750fb5e4947d9d25b52
| | | * | | Add System.runFinalization() callHans Boehm2021-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lone calls to System.gc() generally don't do anything. Runtime.getRuntime().gc() would force a GC, but it would be ineffective without waiting for reference processing and finalization to complete. Adding the runFinalization() call implicitly makes the preceding GC call effective. Bug: 183912710 Test: Treehugger Change-Id: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646 Merged-In: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646
| | | * | | Merge "RESTRICT AUTOMERGE: Revert "Register ART Service with the System ↵Christian Wailes2021-05-241-5/+0
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Server"" into sc-dev
| | | | * | | RESTRICT AUTOMERGE: Revert "Register ART Service with the System Server"Chris Wailes2021-05-191-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 09724a755f477301128b5d817757cbc0d5ff2538. Test: m Bug: 184281926 Change-Id: I6aa8eff8ab09ef8ebab58bb22f65203cb4349a48
* | | | | | | Merge "Temporarily disable wearable system services."Josh Yang2021-07-201-1/+7
|\ \ \ \ \ \ \
| * | | | | | | Temporarily disable wearable system services.Josh Yang2021-07-201-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wearable system service code has been disabled due to compile issues. We need to temporarily disable these services in system server to unblock system bring up. Bug: 191419780 Bug: 191493915 Fix: 191493915 Fix: 191419780 Test: class not found error is gone. Change-Id: I177f04ff1ff5b43c242367d9741e829550ed8e36
* | | | | | | | Merge "Add service for applying per-app compat overrides delivered via ↵Tom Natan2021-07-121-0/+6
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device Config." into sc-v2-dev am: b51de11ce9 am: 1ce29c2bcc Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15143496 Change-Id: I7d92ce277c05c642cf6c76930a3867df184a3e47
| * | | | | | | Merge "Add service for applying per-app compat overrides delivered via ↵Tom Natan2021-07-121-0/+6
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | / / | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Device Config." into sc-v2-dev am: b51de11ce9 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15143496 Change-Id: I38795ff17ea2fc5747aec5fbefccb6cbf8e3d315
| | * | | | | Add service for applying per-app compat overrides delivered via Device Config.tomnatan2021-07-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL only adds the listener on device config changes, package added/changed/removed support will be added in a follow up. Bug: 190024878 Test: atest FrameworksMockingServicesTests:AppCompatOverridesServiceTest Test: atest FrameworksMockingServicesTests:AppCompatOverridesParserTest Change-Id: Ifda798abca5ed97cd4699dfd1244053ab2796586
| | * | | | | RESTRICT AUTOMERGE: Revert "Register ART Service with the System Server"Chris Wailes2021-05-261-5/+0
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 09724a755f477301128b5d817757cbc0d5ff2538. Test: m Bug: 184281926 Merged-In: I6aa8eff8ab09ef8ebab58bb22f65203cb4349a48 Change-Id: I6aa8eff8ab09ef8ebab58bb22f65203cb4349a48
* | | | | | Merge "Add System.runFinalization() call" am: 8df5d94b98 am: 7358684565 am: ↵Hans Boehm2021-07-091-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ad0828a9b am: 57fa4cc366 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1760810 Change-Id: I8c5119f0353447471ef43fc3a6dbe1217e0449fe
| * | | | | Merge "Add System.runFinalization() call" am: 8df5d94b98 am: 7358684565Hans Boehm2021-07-091-0/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | / | | | |_|/ | | |/| | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1760810 Change-Id: I96f6ce06333ae3527d5b43fcdb7e31edd434fd47
| | * | | Add System.runFinalization() callHans Boehm2021-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lone calls to System.gc() generally don't do anything. Runtime.getRuntime().gc() would force a GC, but it would be ineffective without waiting for reference processing and finalization to complete. Adding the runFinalization() call implicitly makes the preceding GC call effective. Bug: 183912710 Test: Treehugger Change-Id: I0f4806b8e3f9ca898eb7ea1b1c8de14aa94e2646
| | * | | Merge "Add memtrackproxy system server service"Kalesh Singh2021-04-071-0/+11
| | |\ \ \
| | | * | | Add memtrackproxy system server serviceKalesh Singh2021-04-071-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Serve memtrackproxy service from system server. This service enforces access control on requests for memory usage stats to the memtrack HAL based on the call context's PID and UID. Bug: 177664629 Test: memtrackproxy_test Change-Id: I10829ffcf4e5b2813d4c622268b0b59da6f171b6 Merged-In: I10829ffcf4e5b2813d4c622268b0b59da6f171b6
| | * | | | Register ART Service with the System ServerChris Wailes2021-03-301-0/+5
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL causes the System Server to create and load the ART Local Manager. Test: Build and flash Bug: 177273468 Merged-In: I9734160f1cd4fd9fc363b3af50e27ec8973be557 Change-Id: I9734160f1cd4fd9fc363b3af50e27ec8973be557
| | * | | Merge changes from topic "cow_pdb"Howard Chen2021-03-171-4/+1
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Support copy-on-write persistent data block when running a DSU Support PersistentDataBlockService in DSU
| * | | | | fdtrack: add stats logging.Josh Gao2021-05-191-0/+20
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: http://b/183008833 Bug: http://b/183018597 Test: adb shell 'setprop persist.sys.debug.fdtrack_interval 10; stop; start' && statsd_testdrive 352 Change-Id: Ibc2293f8f1c7f0f29a166ac8dc93afc8dfd8b7de Merged-In: Ibc2293f8f1c7f0f29a166ac8dc93afc8dfd8b7de (cherry picked from commit 53731ea9ab0c131fb51e891946a17895571973d1)
* | | | | Remove multi-client IMEWilson Wu2021-06-161-8/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Design doc: go/multi-session-ime-removal We no longer require this mechanism to support multi-clients IME, remove it completely. Bug: 173341412 Test: atest CtsInputMethodTestCases Change-Id: I0bdc8fe3d32ccabc8ea7996fc689543c3f99331a
* | | | Merge "Clear updated font files in safe mode." into sc-dev am: 7c4e5a69b0TreeHugger Robot2021-05-141-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13743173 Change-Id: I15c7b2a3bfae8165a75eb76dc9614c09aced035e
| * | | Merge "Clear updated font files in safe mode." into sc-devTreeHugger Robot2021-05-141-1/+1
| |\ \ \
| | * | | Clear updated font files in safe mode.Kohsuke Yatoh2021-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 176939176 Bug: 181536798 Bug: 187190639 Test: atest FrameworksServicesTests:UpdatableFontDirTest Test: atest UpdatableSystemFontTest Test: manually triggered safe mode and confirmed updated fonts are removed. Change-Id: I946a7df383a27bbfda2931a916ca28d8ee14feb6
* | | | | Merge "Create Java interface to SensorService." into sc-dev am: f9e526df48Michael Wright2021-05-061-18/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14426684 Change-Id: Iceef6d9c449ba1e95b1812792c74fe1aafb4a022
| * | | | Create Java interface to SensorService.Michael Wright2021-05-041-18/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for adding some system_server-only, non-binder APIs, which mean we need to keep a handle to the actual class and not just the binder interface. Bug: 175793106 Test: boots, sensors work Change-Id: I83dcaee53ac52e95aa238a8fa9b875caeeddc725
* | | | Merge changes I165d67bd,I4442db15 into sc-dev am: bbddf477afIlya Matyukhin2021-04-271-11/+0
|\| | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14208890 Change-Id: Iba0f79e7fda737c8adbe25d61cd7dfbc9ee0948a
| * | | Consolidate registration of HIDL and AIDL HALsIlya Matyukhin2021-04-261-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL establishes a single flow of registration for both HIDL and AIDL HALs. The registration of both is done on a separate thread to avoid blocking system server. Previously, only AIDL registration was done on a separate thread. Bug: 184677066 Test: atest CtsBiometricsTestCases Test: atest AuthServiceTest Test: atest Fingerprint21Test Test: atest Face10Test Change-Id: I4442db15a7b690bb34c6eb7e8793ab4411cbd6d2
* | | | Merge "Remove the signature protection for sensor privacy permissions" into ↵Evan Severson2021-04-201-7/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sc-dev am: f55d0c0d27 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14070065 Change-Id: Id73b7f767ed88f31455e87df69c819cbdb9309bb
| * | | Merge "Remove the signature protection for sensor privacy permissions" into ↵Evan Severson2021-04-201-7/+8
| |\ \ \ | | | | | | | | | | | | | | | sc-dev
| | * | | Remove the signature protection for sensor privacy permissionsEvan Severson2021-04-141-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only a couple distinguished packages will need to hold these permissions. We can grant via role for these cases. Previously system ui was started assuming the system server was initialized enough but the problem was that the role service may not have finished granting all permissions. If we start sys ui after system services have finished onUserStarting then we can _probably_ safely assume the state of user 0 is initiallized. Test: Wipe & reboot; dumpsys package com.android.systemui Test: atest SystemUiTests Bug: 184303952 Change-Id: I160ac8e0f2fbc36a76e8f2ee99d73e613ddc3c11
* | | | | Merge changes from topic "uwb_aosp_service" into sc-dev am: 9bed14ecc8Roshan Pius2021-04-141-0/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14064871 Change-Id: I29d48ed2e4bd3333b9319e4f2c4fb9809d870151
| * | | | Uwb: Create a new Uwb system serviceRoshan Pius2021-04-131-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This thin AOSP service layer will trampoline all API calls to the vendor UWB service. In follow up CL's, i. The AOSP service will perform all the permission checks necessary for this API surface before forwarding the call to the vendor UWB service. ii. Similarly, it will perform necessary permission checks + noteOp before forwarding the ranging callbacks from the vendor service back to the apps. Bug: 183904955 Test: atest android.uwb.cts.UwbManagerTest Test: atest com.android.server.uwb Change-Id: I2b367d1b6accc2f4e075cacb5c8e3c51f1faf5db
* | | | Merge "Remove translation service feature." into sc-dev am: 279a38e147Joanne Chung2021-04-121-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14112447 Change-Id: I387a396331301693d4a6e584d187303f00ce2eef
| * | | Remove translation service feature.Joanne Chung2021-04-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the Translation uses feature to determine if we need to start the translation system service. But our case is like the content capture not the autofill, the autofill can have the feature without any service defined and the user can install one later. But translation isn't, we should need to check config instead of feature. The feature will not be used anymore, it's safe to delete it. If we leave the removal to next OS, it is painful to delete it. Bug: 183360041 Test: atest CtsTranslationTestCases Change-Id: Ib6886a17965937abf064e526c36c67428af7398f
* | | | ADPF: Add HintManagerService am: 25318b7316Jimmy Shiu2021-04-111-0/+5
|\| | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699261 Change-Id: I413d8a107177e313aa6d5c22c15d3667ba0eb177
| * | | ADPF: Add HintManagerServiceJimmy Shiu2021-04-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual test, run bouncy ball Test: atest HintManagerServiceTest Test: adb shell dumpsys hint Bug: 158791282 Change-Id: I50b19ab7629f006decbcddd653fb67588fc4160b Signed-off-by: Wei Wang <wvw@google.com>
* | | | Merge "Stats: updated the order of service registration" into sc-dev am: ↵Vova Sharaienko2021-04-081-4/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b18d752be Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14021964 Change-Id: I209afe113ede5cce0ca71eabada5b89fb793005f
| * | | Merge "Stats: updated the order of service registration" into sc-devVova Sharaienko2021-04-081-4/+8
| |\ \ \
| | * | | Stats: updated the order of service registrationVova Sharaienko2021-04-071-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stats need to be registered prior sensors service start Bug: 183916090 Test: build, flash & boot Change-Id: I4d6eb1adbb0d57e42489ec85829b777e8a27069c
* | | | | Merge "Activity recognition source app op tracking" into sc-dev am: 64b26b5c49Svetoslav Ganov2021-04-081-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14083130 Change-Id: Iedefa5b30107d993f08a86f677f3e6e2b20849dd
| * | | | Merge "Activity recognition source app op tracking" into sc-devSvetoslav Ganov2021-04-081-1/+1
| |\ \ \ \ | | |/ / / | |/| | |